/* =========================================
   HOITOSTUDIO.FI
   Sivuston ulkoasu
========================================= */

:root {
    --text: #30352f;
    --muted: #6d716a;
    --green: #66765e;
    --green-dark: #53624d;
    --green-light: #e9ede5;
    --cream: #faf9f5;
    --light: #f0f1eb;
    --line: #e2e2da;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.8rem);
    letter-spacing: -0.045em;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.25rem;
}

h1 span,
h2 span {
    font-style: italic;
    font-weight: 400;
}

.eyebrow {
    margin-bottom: 18px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green);
}


/* NAVIGAATIO */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 249, 245, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.logo span {
    color: var(--green);
    font-weight: 500;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.9rem;
}

nav a {
    transition: opacity 0.2s ease;
}

nav a:hover {
    opacity: 0.65;
}

.nav-button {
    padding: 11px 20px;
    color: var(--white);
    background: var(--green);
    border-radius: 50px;
}

.nav-button:hover {
    opacity: 1;
    background: var(--green-dark);
}


/* PAINIKKEET */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.button-primary {
    color: var(--white);
    background: var(--green);
}

.button-primary:hover {
    background: var(--green-dark);
}

.button-secondary {
    border: 1px solid #c7c9c0;
    background: transparent;
}

.button-white {
    color: var(--text);
    background: var(--white);
}

.button-whatsapp {
    color: var(--white);
    background: #5b8b63;
}


/* HERO */

.hero {
    padding: 90px 0 110px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 80px;
}

.hero-content {
    max-width: 650px;
}

.hero-text {
    max-width: 560px;
    margin: 28px 0 35px;
    font-size: 1.2rem;
    color: var(--muted);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-contact a:hover {
    color: var(--green);
}

.hero-image img {
    height: 600px;
    object-fit: cover;
    border-radius: 180px 180px 20px 20px;
    background: var(--green-light);
}


/* SECTIONS */

.section {
    padding: 110px 0;
}

.section-light {
    background: var(--light);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-heading > p:last-child {
    margin-top: 20px;
    color: var(--muted);
}


/* PALVELUT */

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.service-number {
    margin-bottom: 55px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #8a9782;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--muted);
}


/* HINNASTO */

.price-list {
    max-width: 850px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid #d7d9d1;
}

.price-row h3 {
    margin-bottom: 5px;
}

.price-row p {
    color: var(--muted);
    font-size: 0.9rem;
}

.price-row strong {
    white-space: nowrap;
    font-size: 1.4rem;
    font-weight: 500;
}

.price-note {
    margin-top: 30px;
    color: var(--muted);
    font-size: 0.9rem;
}


/* LIINA */

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    align-items: center;
    gap: 90px;
}

.about-image img {
    max-height: 650px;
    object-fit: cover;
    border-radius: 4px;
    background: var(--green-light);
}

.about-content > p:not(.eyebrow) {
    margin-bottom: 20px;
    color: var(--muted);
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    border-bottom: 1px solid var(--green);
}

.text-link:hover {
    color: var(--green);
}


/* AJANVARAUS */

.booking-section {
    padding: 120px 0;
    text-align: center;
    background: var(--green);
    color: var(--white);
}

.booking-content {
    max-width: 720px;
}

.booking-content .eyebrow {
    color: #dce2d7;
}

.booking-content h2 {
    margin-bottom: 20px;
}

.booking-content > p:not(.eyebrow) {
    margin-bottom: 35px;
    color: #e3e7df;
}


/* YHTEYSTIEDOT */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.contact-item h3 {
    margin-bottom: 12px;
}

.contact-item p {
    color: var(--muted);
}

.contact-item a:hover {
    color: var(--green);
}


/* KARTTA */

.map-section {
    padding: 0 0 110px;
    background: var(--cream);
}

.map-container {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: 0 12px 35px rgba(48, 53, 47, 0.08);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 430px;
    border: 0;
}


/* YHTEYDENOTTO */

.contact-cta {
    padding: 75px 0;
    background: var(--green-light);
}

.contact-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.contact-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* FOOTER */

.footer {
    padding: 40px 0;
    color: #dce0d8;
    background: #30352f;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer p {
    margin-top: 5px;
    color: #bfc4bc;
    font-size: 0.85rem;
}


/* TABLETTI */

@media (max-width: 900px) {

    nav a:not(.nav-button) {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-image img {
        height: 500px;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* PUHELIN */

@media (max-width: 600px) {

    .nav-container {
        min-height: 70px;
    }

    .nav-button {
        padding: 9px 15px;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .section {
        padding: 75px 0;
    }

    .hero-image img {
        height: 420px;
        border-radius: 100px 100px 15px 15px;
    }

    .service-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .price-row {
        align-items: flex-start;
    }

    .price-row strong {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-contact {
        flex-direction: column;
        gap: 2px;
    }

    .hero-contact span {
        display: none;
    }

    .map-container {
        border-radius: 0;
    }

    .map-container iframe {
        height: 350px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}
