:root {
    --primary: #1a365d;
    --secondary: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* NAVIGATION */
nav {
    position: sticky;
    top: 0;
    background: var(--white);
    /* background: #2F4F4F; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo { font-weight: bold; font-size: 1.3rem; color: var(--primary); text-decoration: none; }

.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: #333; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 15px; }

/* LANG SWITCH */
.lang-switch button {
    background: none; border: 1px solid var(--primary);
    cursor: pointer; padding: 4px 10px; border-radius: 4px; font-weight: bold;
}
.lang-switch button.active { background: var(--primary); color: white; }

/* HAMBURGER */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background: var(--primary); }

/* SECTIONS */
section { padding: 4rem 5%; max-width: 1100px; margin: auto; }
.hero { background: var(--bg-light); text-align: center; padding: 6rem 5%; }

/* EXPERT CARDS */
/* .expert-card {
    background: var(--white); border: 1px solid #e2e8f0;
    border-radius: 12px; padding: 2rem; margin-bottom: 2rem;
}
.expert-header { display: flex; align-items: center; gap: 20px; margin-bottom: 1.5rem; }
.expert-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: #eee; }
.expert-cv { background: var(--bg-light); padding: 1.5rem; border-left: 4px solid var(--primary); margin-top: 1rem; } */

/* Palvelun otsikko ja kuvaus */
.service-title {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.service-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #444;
}

/* Asiantuntijaboksi kortin sisällä */
.expert-profile-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.expert-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.expert-img {
    width: 80px;  /* Hieman pienempi koko tässä asettelussa */
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.expert-header-text strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary);
}

.expert-header-text h4 {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 1px;
}

.expert-cv {
    font-size: 0.95rem;
    font-style: italic;
    color: #555;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Mobiiliasettelu */
@media (max-width: 768px) {
    .expert-header {
        flex-direction: row; /* Pidetään kuva ja nimi rinnakkain myös mobiilissa, koska kuva on pienempi */
        text-align: left;
    }
}

/* FOOTER */
footer { background: var(--primary); color: var(--white); padding: 4rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.footer-col a { color: #cbd5e1; text-decoration: none; display: block; margin-bottom: 5px; }
.footer-bottom { text-align: center; margin-top: 2rem; font-size: 0.8rem; opacity: 0.7; }

/* MOBILE */
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: white; flex-direction: column; padding: 1rem 0; text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .expert-header { flex-direction: column; text-align: center; }
}