/* 1. Global Styles and Resets */
* {
    margin: 0; /* Remove default spacing */
    padding: 0;
    box-sizing: border-box; /* Makes padding not add to width */
}
:root {
    --primary-color: #213682;
    --not-color: #C19771; /* Teal color for accents */
    --secondary-color: #C1977150; /* Light gray for backgrounds */
    --font-family: 'Sora', Arial, Helvetica, sans-serif; /* Clean font */
}
body {
    font-family: 'Sora', Arial, Helvetica, sans-serif; /* Clean font */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6; /* Better readability */
    color: var(--primary-color); /* Dark text for contrast */
    background-color: #FFFEFE; /* Light gray background */
}

a {
    text-decoration: none; /* No underlines on links */
    color: var(--primary-color); /* Blue links */
}

ul {
    list-style: none; /* No bullets */
}

div.logo li {
    list-style: none; /* No bullets for logo if wrapped in li */
}

.container, header,
.hero, #why-us,
#how-it-works .inner-box,
.info, .ready-container,
footer .footer-inne {
    width: min(100%, 1920px); /* Max width for content */
    margin: 0 auto; /* Center horizontally */
    box-sizing: border-box; /* Include padding in width */
}
.hero-wrapper .header,
.hero {
    max-width: 1920px;   /* <--- sama täällä */
}

/* 2. Header Styles */
/* Update Hero Wrapper for Fade */
.hero-wrapper {
    background-image: url('../images/office.jpg'); /* Keep your path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Already there - needed for ::before */
    overflow: hidden; /* Prevents fade from spilling out */
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  /* Slightly taller for noticeability */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.97)10%,
        rgba(255, 255, 255, 0.9)30%,
        rgba(255, 255, 255, 0.85) 60%,
        rgba(255, 255, 255, 0.5) 100%
    ); /* Reversed: Starts solid at top, fades to transparent downward */
    z-index: 1;
}

/* Ensure content is above the fade */
.hero-wrapper > * {
    position: relative;
    z-index: 2; /* Keeps header and hero text on top */
}
.header {
    background-color: transparent; /* Now shows the image underneath */
    box-shadow: none; /* Remove shadow if it clashes - or keep for depth */
    padding: 1rem 2rem; /* Keep padding */
    position: relative; /* Or sticky if you want it fixed on scroll */
    display: flex; /* Flex for logo and links */
    justify-content: space-between; /* Space between logo and links */
    align-items: center; /* Vertically center items */
}

.logo h1 {
    font-size: 1.5rem; /* Logo size */
    color: var(--primary-color); /* Blue logo */
}

.top-links {
    display: flex; /* Horizontal list */
    gap: 1.5rem; /* Space between links */
}

.top-links li a {
    font-weight: bold; /* Bold links */
    transition: color 0.3s; /* Smooth hover */
}

.top-links li a:hover {
    color: var(--primary-color); /* Darker blue on hover */
}

/* 3. Hero Section */
.hero {
    background-color: transparent; /* Transparent to show wrapper's image */
    text-align: center;
    padding: 6rem 2rem; /* Adjust if needed for vertical spacing */
    color: var(--primary-color); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 40vh;  /* Ensures room for image/fade */
}

.hero h1 {
    font-size: 3rem; /* Big headline */
    margin-bottom: 1rem;
}

.hero input, .hero select, .hero button {
    height: 45px;
    padding: 0.5rem 1rem;
    border-radius: 4px; /* Pyöristys kuten mallissa */
    border: 1px solid grey; /* Kevyt reuna */
    font-family: 'Sora', Arial, Helvetica, sans-serif; /* Clean font */
    font-size: 1rem; /* Sopiva koko kentille */
    font-weight: 500;
}
.hero input {
    min-width: 250px; /* Leveämpi sijainnille, jos tarvitsee */
}

.hero button {
    background-color: var(--not-color); /* Vihreä, kuten mallin CTA */
    color: #fff;
    cursor: pointer;
}
.hero button:hover {
    background-color: var(--primary-color); /* Tummempi vihreä hoverissa */
}

/* ======================================
   YHDISTETTY HYÖDYT + KEITÄ OLEMME -OSIO
   ====================================== */

.about-benefits {
    margin: 4rem 0;
    margin-bottom: 6rem;
}

.about-benefits .benefits-column {
    max-width: 1180px;
    margin: 0 auto;
}
/* Vasen palsta */
.benefits-column h2 {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
    text-align: center;
    color : var(--primary-color);
}

.benefits-intro {
    margin-bottom: 1.75rem;
    color: black;
    line-height: 1.6;
    text-align: center;
}

.about-benefits .benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem;
}

.about-benefits .benefit-item {
    padding: 1.4rem 1.2rem;
    text-align: center;
    border: 4px solid var(--not-color);
    border-radius: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    background-color: white;
}
.about-benefits .benefit-item p, h3 {
    color: black;
}

.about-benefits .benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.about-benefits .benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.about-benefits .benefit-icon i {
    font-size: 1.7rem;
    color: var(--primary-color);
}

.about-benefits .benefit-item h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
    color: var(--primary-color)
}

/* Oikea palsta */
/* Oikea puoli: teksti selkeäksi kolumniksi */

.about-copy .eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.35rem;
}

.about-copy h2 {
    font-size: 1.9rem;
    margin-bottom: 0.8rem;
}

.about-copy p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

/* Badge-rivi: vasenreunasta, ei kelluvaa keskisoppaa */
.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 1.5rem;
}

.about-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--primary-color);
    font-size: 0.9rem;
    color: black;
}

.about-badges .badge i {
    font-size: 1rem;
    color: var(--primary-color);
}

/* KEITÄ OLEMME - COFFEE-LAYOUT, RESPONSIVE */
.half-image {
    /* keskitys ja max-leveys, “tilaa karsitaan reunoista” */
    max-width: 1200px;
    width: min(1200px, 100% - 6rem);
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    align-items: center;
    column-gap: 2rem;
    position: relative;
}

/* Tekstiboksi = kehys */
.about-copy {
    background: #ffffff;
    border: 5px solid var(--not-color);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
    padding: 3.25rem 3.5rem;
    padding-right: 4rem;
    max-width: 620px;
    position: relative;
    z-index: 1;
}

/* Kuva, joka “syö” kehystä */
.about-photo {
    position: relative;
    z-index: 2;

    /* negatiivinen marginaali hoitaa päällekkäisyyden,
       skaalautuu clampilla kun ruutu kaventuu */
    margin-left: clamp(-5rem, -6vw, -2.5rem);
}

.about-photo img {
    width: 100%;
    display: block;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.65);
}


/* 5. How It Works */
#how-it-works {
    margin: auto;
    max-width: 1400px;
    padding: 0.5rem 2rem;
    text-align: center;
    padding-bottom: 2.5rem;
    padding-top: 3rem;
}

.inner-box {
    background-color: white; /* White background for inner box */
    padding: 1rem;
    padding-bottom: 2.5rem;
    border-radius: 30px; /* Pyöristetyt reunat – pehmentää eroa */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45); /* Varjo nostaa osion esiin */
    border: 4px solid var(--not-color); /* Kehys korostaa osion */
}

#how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.steps {
    display: flex; /* Display steps in a row */
    justify-content: space-between; /* Space between steps */
    align-items: flex-start; /* Align items at the start */
    position: relative; /* Position relative for absolute children */
}

.step {
    text-align: center; /* Center align text */
    margin: 0px; /* Space around each step */
    flex: 1; /* Allow steps to grow equally */
    position: relative; /* Position relative for the connector */
    color: black;
    max-width: 250px;
}

.step i {
    color: var(--primary-color); /* Icon color */
}

.curve {
  width: 150px; /* säädä etäisyyttä vaiheiden välillä */
  height: 40px;
  position: relative;
  top: 30px; /* siirtää viivaa ylöspäin */
}
.curve-down{
  width: 150px;
  height: 40px;
  position: relative;
  top: 80px; /* siirtää viivaa alemmas */
}

.curve path, .curve-down path {
  stroke: black;             /* viivan väri */
  stroke-width: 2;          /* paksuus */
  stroke-dasharray: 4 6;    /* tekee pisteviivan */
  fill: none;
}
.step-title {
    font-weight: bold; /* Bold title */
    margin: 10px 0; /* Space above and below title */
}

.step-description {
    font-size: 0.9rem; /* Smaller font for description */
    color: #6c757d; /* Gray color for description */
}
/* 6. Testimonials */
#testimonials {
    padding: 3rem 2rem 4rem;
    margin-top: 2rem;
    text-align: center;
    font-style: italic; /* Italic for quotes */
}

#testimonials blockquote {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 0.75rem;
    color: black
}

#testimonials p {
    font-size: 1rem;
    color: #6c757d; /* Gray for author */
}

/* 7. Footer */
footer {
    text-align: left;
    padding: 1.5rem 1rem;
    background-color: var(--primary-color);
    color: White;
    font-size: 0.95rem;
}

/* footer content layout */
.footer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    align-items: start;
}

.footer-col h4 {
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
}

.footer-col p, .footer-col a {
    color: #e8f6f6;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* bottom row */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-bottom small {
    color: rgba(255,255,255,0.85);
}
/* yhteistiedot.html*/
.image-section {
    background-image: url('../images/desk.jpg'); /* Keep your path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Already there - needed for ::before */
    overflow: hidden; /* Prevents fade from spilling out */
}

.image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  /* Slightly taller for noticeability */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.8)10%,
        rgba(255, 255, 255, 0.6)30%,
        rgba(255, 255, 255, 0.4) 60%,
        rgba(255, 255, 255, 0.3) 100%
    ); /* Reversed: Starts solid at top, fades to transparent downward */
    z-index: 1;
}

/* Ensure content is above the fade */
.image-section > * {
    position: relative;
    z-index: 2; /* Keeps header and hero text on top */
}

/* Varmista, että header + mobiilivalikko on kaiken muun yläpuolella */
.image-section > .header {
    z-index: 9999;
}

main h1 {
    text-align: center;
    font-size: 3rem;
}

.portrait {
    text-align: left; /* Center the content */
}
.portrait h2 {
    font-size: 50px; /* Teal color for heading */
}
.contact-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: space-between;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    background-color: #FFFDF8;

    /* max 960px leveä, muuten aina ~2rem sivumarginaali */
    width: min(960px, calc(100% - 4rem));
    margin: 2.5rem auto 6rem;
}
.contact-info p {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
    justify-content: left; /* Center items horizontally */
    margin: 5px 0; /* Add some vertical spacing */
    color: black;
}

.contact-info i {
    margin-right: 8px; /* Space between icon and text */
    color: #1B3A4B; /* Optional: color for the icons */
}

.contact-form {
    background-color: #fff; /* Valkoinen lomake taustaksi */
    padding-bottom: 2rem;
    padding-top: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 8px; /* Pyöristetyt reunat */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Kevyt varjo nostamaan lomaketta */
    max-width: 600px; /* Rajoitettu leveys, jotta ei levene liikaa */
    margin: 0 auto; /* Keskitys */
}
.contact-form h3 {
    margin-bottom: 1rem;
}

.contact-form input, .contact-form textarea {
    width: 100%; /* Täysi leveys kentille */
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form label {
    color: black;
}
.contact-form button {
    font-size: 1rem;
    background-color: var(--not-color); /* Vihreä nappi CTA:ksi */
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background-color: var(--primary-color); /* Tummempi vihreä hoverissa */
}

#price-result {
    background-color: #FFFEFE; /* Vaalea tausta tulokselle */
    margin: 0 auto;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.212);
    text-align: center;
    color: var(--primary-color); /* Vihreä teksti onnistumiselle */
    width: min(960px, calc(100% - 4rem));
}
#price-result.active {
    display: block; /* Näytä kun sisältö asetettu */
}

#price-result h2 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}
/* FAQ-osio */
.info {
    display: flex;
    justify-content: space-between;
    background-image: url('../images/1.jpg'); /* Keep your path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    padding: 2rem;
    position: relative; /* Already there - needed for ::before */
    overflow: hidden; /* Prevents fade from spilling out */
    gap: 1rem;
}

.info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  /* Slightly taller for noticeability */
    background: linear-gradient(
        to bottom,
        rgba(40, 101, 126, 0.5) 100%
    ); /* Reversed: Starts solid at top, fades to transparent downward */
    z-index: 1;
}
.info > * {
    position: relative;
    z-index: 2; /* Keeps header and hero text on top */
}
.infotext-section h2 {
    color: #ffffff; /* White text for contrast */
    font-size: 3rem;
    padding-left: 1rem;
}
.infotext-section p {
    color: #ffffff; /* White text for contrast */
    font-size: 1.5rem;
    padding-left: 1rem;
    margin-top: 2rem;
}

.faq-section {
    width: 80%;
    margin-left: 1rem;
}
.faq-item {
    overflow: hidden;
    border-bottom: 1px solid #ddd; /* Viiva jokaisen kysymyksen alle */
    padding: 1rem 0;
}

.faq-item:last-child {
    border-bottom: None; /* Vikan jälkee ei viivaa */
    padding-bottom: 0;
}
.faq-item summary {
    display: flex;
    justify-content: space-between;
    padding: 1.4rem 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: White;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-item summary::marker {
    content: "";
}

.faq-item summary::after {
    content: "\f078"; /* FontAwesome chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.2rem;
    color: White; 
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    content: "\f077"; /* FontAwesome chevron-up */
    rotate: 180deg;
}

.faq-answer p {
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.7;
    color: white;
}

/*Valmis aloittamaan osio*/

.ready-section {
    padding: 4rem 2rem;
    text-align: center;
}

.ready-container {
    max-width: 900px;
    margin: 0 auto;
}

.ready-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.ready-section p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.ready-buttons {
    margin: 2rem 0;
}

.ready-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    margin: 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.ready-btn.primary {
    background: var(--not-color);
    color: white;
}

.ready-btn.primary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.ready-benefits {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.benefit {

    min-width: 226px;
}
.benefit i {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.benefit p {
    color: #333;
    font-weight: 600;
    margin: 0;
}
/*toimistosiivous.html*/
.hero-hallway-wrapper {
    background-image: url('../images/hallway.jpg'); /* Keep your path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Already there - needed for ::before */
    overflow: hidden; /* Prevents fade from spilling out */
}

.hero-hallway-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  /* Slightly taller for noticeability */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.97)10%,
        rgba(255, 255, 255, 0.9)30%,
        rgba(255, 255, 255, 0.85) 60%,
        rgba(255, 255, 255, 0.5) 100%
    ); /* Reversed: Starts solid at top, fades to transparent downward */
    z-index: 1;
}

/* Ensure content is above the fade */
.hero-hallway-wrapper > * {
    position: relative;
    z-index: 2; /* Keeps header and hero text on top */
}
.service-content {
    padding: 4rem 0 5rem;
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    
    margin-bottom: 1rem;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto;
    text-align: left;
}

.check-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 3px solid var(--not-color);
}

.check-item h4 {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.check-item p{ 
    text-align: center;
    color: black;
}

.portrait-image {
    max-width: 250px;
    height: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Kevyt varjo */
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}
/* ------------------------------- */
/* MOBILE & TABLET RESPONSIVE      */
/* ------------------------------- */

/* Pakolliset peruskorjaukset: estää sivuttaisylivuodon ja helpottaa laskentaa */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden; /* laastari + estää puhelimen sivuttaisvenytyksen */
}


/* Default desktop behavior */
.hamburger {
    display: none; /* hide hamburger on desktop */
}

.close-menu {
    display: none; /* näkyy vain kun menu auki mobiilissa */
}

/* Tablet / pientä desktopia (1200px ja alle) */
@media (max-width: 1200px) {

    .hero {
        padding: 4rem 1.75rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .about-benefits {
        margin: 3.5rem 0 5rem;
    }

    .about-benefits .benefits-column {
        padding: 0 1.75rem;
    }

    /* 3 -> 2 korttia vierekkäin */
    .about-benefits .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }

    .half-image {
        width: min(1100px, 100% - 3rem);
        column-gap: 1.75rem;
    }

    .about-copy {
        padding: 2.6rem 2.5rem 2.8rem;
        max-width: none;
    }

    #how-it-works {
        padding: 2.5rem 1.75rem 3rem;
    }

    .inner-box {
        padding: 1.5rem 1.75rem 2.5rem;
    }

    .checklist-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        margin: 2.5rem auto 0;
    }

    .service-content {
        padding: 3.5rem 1.75rem 4rem;
    }

    .contact-container {
        width: min(960px, 100% - 3rem);
    }

    .footer-inner {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

/* Half-image: piilota kuvasarake alle 1325px ja lukitse keskitys
   TAMA BLOKKI ON TARKOITUKELLA 1200-blokin JALKEEN, jotta se voittaa sen */
@media (max-width: 1325px) {

    .half-image {
        width: min(900px, 100% - 2rem);
        margin-left: auto;
        margin-right: auto;

        /* jos half-image on grid */
        grid-template-columns: 1fr;

        /* jos half-image joskus on flex */
        justify-content: center;
    }

    /* kuva oikeasti pois + ei saa varata tilaa */
    .half-image .about-photo,
    .half-image .left-half-image {
        display: none !important;
        width: 0 !important;
        margin: 0 !important;
    }

    /* tappaa kaikki vanhat desktop-siirrot jotka aiheuttaa sivuttaisylivuotoa */
    .half-image .about-copy,
    .about-copy {
        transform: none !important;
        margin: 0 auto !important;
        max-width: 100% !important;
    }
}

/* Puhelin (900px ja alle) */
@media (max-width: 900px) {

    /* GENERAL */
    body {
        font-size: 0.95rem;
    }

    .container {
        width: 100%;
    }

    h1, h2 {
        text-align: center;
    }

    /* HEADER + MOBILE MENU */
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;

        /* varmistaa, ettei menu jää minkaan kortin taakse (yhteystiedot-sivu) */
        position: relative;
        z-index: 9999;
    }

    /* Piilotetaan linkit, kunnes menu avataan */
    .top-links {
        display: none;
        flex-direction: column;
        gap: 3rem;
        position: fixed;
        inset: 0;
        background: white;
        padding: 1.5rem 1.5rem;
        z-index: 99999;
    }

    .top-links li a {
        font-size: 1.8rem;
        font-weight: 600;
    }

    /* Close-nappi vain kun menu on auki */
    .mobile-menu-open .close-menu {
        display: block;
        font-size: 40px;
        cursor: pointer;
        list-style: none;
        align-self: flex-end;
    }

    /* Avoin menu */
    .mobile-menu-open .top-links {
        display: flex;
    }

    .mobile-menu-open .hamburger {
        display: none;
    }

    .mobile-menu-open .hero {
        display: none;
    }

    /* Hamburger nappi näkyviin */
    .hamburger {
        display: block;
        font-size: 30px;
        cursor: pointer;
        position: relative;
        z-index: 100000;
    }

    /* HERO */
    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 3.5rem 1.25rem 3rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    #price-form {
        display: flex;
        flex-direction: column;
        width: 260px;
        gap: 0.5rem;
    }

    #price-form input,
    #price-form select,
    #price-form button {
        font-size: 1rem;
    }

    /* HYODYT-OSIO */
    .about-benefits {
        margin: 3rem 0 3.5rem;
    }

    .about-benefits .benefits-column {
        padding: 0 1.5rem;
    }

    .benefits-intro {
        text-align: center;
    }

    .about-benefits .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-benefits .benefit-item {
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }

    /* KEITA OLEMME - kuva pois, teksti keskelle, ei ylivuotoa */
    .half-image {
        grid-template-columns: 1fr !important;
        width: min(640px, 100% - 1.5rem) !important;
        margin: 0 auto 3.5rem;
        row-gap: 1.75rem;
    }

    .half-image .about-photo,
    .half-image .left-half-image {
        display: none !important;
    }

    .eyebrow {
        text-align: center;
    }
    .about-copy {
        padding: 2rem 1.25rem !important;
        max-width: 100% !important;
        transform: none !important;
        margin: 0 auto !important;
        box-shadow: 0 10px 25px rgba(15,23,42,0.12);
    }

    /* NAIN SE TOIMII */
    #how-it-works {
        padding: 2.5rem 1rem 3rem;
    }

    .inner-box {
        border-radius: 24px;
        padding: 1.5rem 1.25rem 2rem;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .curve,
    .curve-down {
        display: none;
    }

    .step {
        max-width: 260px;
    }

    /* TESTIMONIAL */
    #testimonials {
        padding: 2.5rem 1.5rem 3rem;
    }

    /* TOIMISTOSIIVOUS - PALVELUSISALTO */
    .service-content {
        padding: 3rem 1.5rem 3.5rem;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .checklist-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2.5rem auto 0;
    }

    /* FAQ */
    .info {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 2.5rem 1.25rem;
        min-height: auto;
        gap: 1.75rem;
    }

    .infotext-section h2 {
        font-size: 2rem;
        padding-left: 0;
    }

    .infotext-section p {
        font-size: 1rem;
        padding-left: 0;
    }

    .faq-section {
        width: 100%;
        margin-left: 0;
        padding: 0;
    }

    .faq-item summary {
        padding: 1rem 0;
        font-size: 1rem;
        text-align: left;
    }

    .faq-answer p {
        padding: 0.75rem 0;
        font-size: 0.95rem;
    }

    /* READY SECTION */
    .ready-section {
        padding: 3rem 1.5rem 4rem;
    }

    .ready-container {
        max-width: 640px;
    }

    .ready-benefits {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    /* YHTEYSTIEDOT-SIVU */
    main h1 {
        font-size: 2.3rem;
        padding: 0 1rem;
    }

    .contact-container {
        flex-direction: column-reverse;
        gap: 2.5rem;
        width: min(640px, 100% - 2rem);
        margin: 2rem auto 4rem;
        padding: 1.75rem 1.5rem 2rem;
    }

    #left-section,
    #right-section {
        width: 100%;
    }

    .portrait-image {
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    .portrait {
        text-align: center;
    }

    .contact-info p {
        justify-content: center;
    }

    .contact-form {
        margin: 0;
        padding: 1.5rem 1.25rem 2rem;
    }

    #price-result {
        width: min(640px, 100% - 2rem);
        margin: 1.5rem auto;
    }

    /* FOOTER */
    .footer-inner {
        display: flex;
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 0 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0 1.5rem 0.5rem;
    }
}





