* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #000000;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ─── HEADER ─────────────────────────────────────────────── */

header {
    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    gap: 16px;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #000000;
    font-family: Georgia, "Times New Roman", serif;
    flex-shrink: 0;
}

.logo .last-name {
    color: #0f3d36;
}

nav {
    display: flex;
    gap: 32px;
    font-size: 15px;
    color: #525252;
}

/* Header CTA — hide on mobile to keep header clean */
.header-cta {
    flex-shrink: 0;
}

/* Hamburger button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: #000000;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

/* Animate hamburger → X */
.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e5e5e5;
    background: #ffffff;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    padding: 16px 24px;
    font-size: 16px;
    color: #525252;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 14px 24px;
    border: 1px solid #000000;
    background: #000000;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-outline {
    background: #ffffff;
    color: #000000;
}

/* ─── HERO ────────────────────────────────────────────────── */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 80px 30px;
    align-items: start;
}

h1 {
    font-size: 56px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
}

.hero p.lead {
    margin-top: 24px;
    font-size: 20px;
    color: #404040;
    line-height: 1.6;
}

.button-row {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.tag {
    border: 1px solid #d4d4d4;
    padding: 6px 10px;
    font-size: 14px;
    color: #000000;
    background: #ffffff;
}

.photo-box {
    border: 1px solid #e5e5e5;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a3a3a3;
    font-size: 18px;
}

/* ─── SECTIONS ────────────────────────────────────────────── */

section.standard {
    padding: 64px 30px;
}

section.with-top-border {
    border-top: 1px solid #e5e5e5;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
}

/* ─── GRIDS ───────────────────────────────────────────────── */

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.video-card,
.service-card {
    border: 1px solid #e5e5e5;
    background: #ffffff;
}

.video-thumb {
    aspect-ratio: 16 / 10;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #737373;
    font-size: 42px;
}

.video-title {
    padding: 16px;
    font-size: 16px;
    font-weight: 500;
}

.service-card-inner {
    padding: 24px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
}

.service-text {
    margin-top: 12px;
    color: #525252;
    line-height: 1.6;
    font-size: 16px;
}

/* ─── TESTIMONIAL ─────────────────────────────────────────── */

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 24px;
}

.quote-mark {
    color: #a3a3a3;
    font-size: 42px;
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 22px;
    line-height: 1.65;
    margin: 0;
}

.testimonial-author {
    margin-top: 24px;
    font-size: 14px;
    color: #737373;
}

/* ─── CTA ─────────────────────────────────────────────────── */

.cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ─── TABLET  (600px – 900px) ─────────────────────────────── */

@media (max-width: 900px) {
    /* Header: hide desktop nav and CTA, show hamburger */
    nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero: stack to single column */
    .hero {
        grid-template-columns: 1fr;
        padding: 48px 30px;
        gap: 32px;
    }

    /* Move photo above text on mobile so it doesn't just sit at the bottom */
    .hero .photo-box {
        order: -1;
        height: 280px;
    }

    h1 {
        font-size: 38px;
    }

    h2,
    .cta-title {
        font-size: 26px;
    }

    /* 2-column grids on tablet */
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-text {
        font-size: 18px;
    }

    .cta-row {
        flex-direction: column;
        align-items: center;
    }
}

/* ─── MOBILE  (max 480px) ─────────────────────────────────── */

@media (max-width: 480px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        padding: 32px 20px;
    }

    h1 {
        font-size: 30px;
    }

    .hero p.lead {
        font-size: 17px;
    }

    h2,
    .cta-title {
        font-size: 22px;
    }

    /* Full-width buttons stacked on very small screens */
    .button-row {
        flex-direction: column;
    }

    .button-row .btn {
        width: 100%;
        text-align: center;
    }

    /* 1-column grids on mobile */
    .video-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .hero .photo-box {
        height: 220px;
    }

    section.standard {
        padding: 40px 20;
    }

    .testimonial {
        padding: 48px 16px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .cta-title {
        font-size: 20px;
    }
}