@charset "utf-8";
/* CSS Document - Modernized */

:root {
    --accent: #1a73e8; /* Luottamusta herättävä, raikas sininen */
    --accent-dark: #1557b0;
    --accent-light: #e8f0fe;
    --bg: #f8fafc;
    --card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --container-max-width: 1140px;
    --border-radius: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { 
    box-sizing: border-box; 
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    color: var(--text-main);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { 
    max-width: var(--container-max-width); 
    margin: 0 auto; 
    padding: 32px 24px; 
}

section {
    padding-bottom: 60px;
}

h1, h2, h3 {
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Navigaatio - Sticky & Glassmorphism */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: var(--container-max-width);
    margin: auto;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.brand:hover {
    opacity: 0.85;
}

.brand img.logo {
    width: auto;
    height: 56px;
    max-width: 220px;
    display: block;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 15px;
}

nav a:hover { 
    color: var(--accent);
    background: var(--accent-light);
}

nav a.active {
    color: var(--accent);
    font-weight: 600;
    background: var(--accent-light);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-main);
    transition: var(--transition);
    padding: 8px;
}

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .brand img.logo { height: 48px; }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        box-shadow: var(--shadow-md);
        padding: 0;
        gap: 0;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    nav.show {
        max-height: 400px;
        padding: 16px 0;
    }
    
    nav a {
        display: block;
        padding: 16px 32px;
        width: 100%;
        border-radius: 0;
        border-left: 4px solid transparent;
    }
    
    nav a:hover, nav a.active {
        background: var(--bg);
        border-left: 4px solid var(--accent);
    }
}

/* Hero-osio */
.hero {
    position: relative;
    background-size: cover;    
    background-position: center;
    color: #fff;
    padding: 120px 24px;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin: 0 0 20px;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero .lead {
    font-size: clamp(18px, 3vw, 22px);
    color: #e2e8f0;
    margin-bottom: 32px;
    font-weight: 400;
}

.hero ul {
    text-align: left;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px 32px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 32px;
    font-size: 16px;
}

.hero ul li {
    margin-bottom: 12px;
    list-style-type: "✓ ";
    color: #f8fafc;
}

.hero ul li:last-child { margin-bottom: 0; }

/* Painikkeet (CTA) */
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid var(--accent);
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.3);
}

.cta:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

/* Palvelut Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
    list-style: none;
    padding: 0;
}

.card {
    background: var(--card);
    padding: 32px 24px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 115, 232, 0.1);
}

.card h3 { 
    margin: 0 0 16px;
    color: var(--accent-dark);
    font-size: 20px;
}

.card .muted { 
    color: var(--text-muted); 
    font-size: 15px; 
    margin: 0;
    flex-grow: 1;
}

.card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.card a:hover {
    text-decoration: underline;
}

/* Asiakaspalaute */
.review {
    margin-top: 40px;
    background: var(--card);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    border-left: 6px solid var(--accent);
}

.review img {
    width: 100%;
    border-radius: var(--border-radius);
    display: block;
    max-width: 100%;
    height: auto;
    box-shadow: var(--shadow-md);
}

.review-text {
    flex: 1;
    min-width: 280px;
}

.review p {
    font-size: 18px;
    color: var(--text-main);
    font-style: italic;
    line-height: 1.7;
    margin-top: 0;
}

.review .author {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 16px;
    font-style: normal;
    margin-bottom: 12px;
}

.stars {
    color: #fbbc04;
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

/* UKK (FAQ) Haitari */
.faq-item {
    background: var(--card);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    padding: 20px 24px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: var(--bg);
}

.faq-item summary::after {
    content: "+";
    font-size: 24px;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p, .faq-item ol {
    margin: 0;
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.faq-item ol {
    padding-left: 44px;
    padding-bottom: 24px;
}

.faq-item ol li {
    margin-bottom: 8px;
}

/* Aloita ottamalla yhteyttä -osio */
.aloita-yhteydenotto {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    text-align: center;
    padding: 80px 24px;
    border-radius: var(--border-radius);
    margin-top: 80px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.aloita-yhteydenotto::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.05)" stroke-width="2" fill="none"/></svg>');
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.aloita-yhteydenotto h2, .aloita-yhteydenotto p, .aloita-yhteydenotto a {
    position: relative;
    z-index: 1;
}

.aloita-yhteydenotto h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #ffffff;
}

.aloita-yhteydenotto p {
    font-size: 18px;
    margin-bottom: 32px;
    color: var(--accent-light);
}

.aloita-yhteydenotto .aloita-btn {
    background: #fff;
    color: var(--accent-dark);
    font-size: 18px;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.aloita-yhteydenotto .aloita-btn:hover {
    background: var(--bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Scroll to top */
#scroll-to-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--text-main);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

footer {
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 60px;
    text-align: center;
}