:root {
    --bg: #fafaf7;
    --surface: #ffffff;
    --ink: #17211c;
    --muted: #5d6b62;
    --line: #dfe7df;
    --green: #1f6b4e;
    --green-dark: #134833;
    --amber: #f4b63f;
    --amber-dark: #8a5a0a;
    --blue: #234f74;
    --shadow: 0 24px 70px rgba(21, 39, 30, .14);
    --max: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

section {
    scroll-margin-top: 90px;
}

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

a {
    color: inherit;
}

.container {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.skip-link,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    z-index: 999;
    margin: 12px;
    padding: 10px 14px;
    background: var(--ink);
    color: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 10px max(20px, calc((100vw - var(--max)) / 2));
    background: #ffffff;
    border-bottom: 1px solid rgba(223, 231, 223, .9);
    box-shadow: 0 10px 30px rgba(23, 33, 28, .07);
}

.site-header.simple {
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    text-decoration: none;
}

.brand img {
    width: 126px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--green-dark);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: #eaf3ee;
}

.site-nav .nav-cta {
    background: var(--green);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.nav-toggle span:not(.visually-hidden) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: calc(100vh - 76px);
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--bg);
    color: var(--ink);
}

.hero-media,
.hero-media::after,
.hero-media video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}

.hero-media {
    left: 47%;
    overflow: hidden;
}

.hero-media::after {
    content: "";
    left: 0;
    width: 100%;
    z-index: 1;
    background:
        linear-gradient(90deg, var(--bg) 0%, rgba(250, 250, 247, .86) 13%, rgba(250, 250, 247, .4) 31%, rgba(250, 250, 247, 0) 54%),
        linear-gradient(0deg, rgba(250, 250, 247, .82) 0%, rgba(250, 250, 247, 0) 22%);
}

.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transform: scale(1.08);
    transform-origin: 50% 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(940px, calc(100% - 40px));
    margin: 0 auto;
    padding: 9vh 0 7vh;
}

.eyebrow,
.section-kicker {
    margin: 0 0 12px;
    color: var(--amber);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-kicker {
    color: var(--amber-dark);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 20px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: .98;
    letter-spacing: 0;
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    font-size: 21px;
    line-height: 1.2;
}

.hero-lead {
    max-width: 690px;
    color: var(--muted);
    font-size: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    background: var(--amber);
    color: #211604;
}

.button.secondary {
    background: rgba(255, 255, 255, .72);
    color: var(--green-dark);
    border: 1px solid var(--line);
}

.button.small {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 14px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 820px;
    margin: 42px 0 0;
    background: rgba(31, 107, 78, .16);
    border: 1px solid rgba(31, 107, 78, .16);
    box-shadow: 0 18px 50px rgba(23, 33, 28, .1);
}

.hero-stats div {
    padding: 18px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(10px);
}

.hero-stats dt {
    font-size: 27px;
    font-weight: 900;
}

.hero-stats dd {
    margin: 2px 0 0;
    color: var(--muted);
}

.section-band {
    padding: 82px 0;
    background: #eef5ef;
}

.intro-grid,
.comparison-grid,
.faq-grid,
.region,
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.intro-grid {
    align-items: center;
}

.intro-grid > p {
    align-self: center;
    margin: 0;
}

.intro-grid p:last-child,
.comparison-grid p,
.contact-info p {
    color: var(--muted);
    font-size: 18px;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 76px 0;
}

.benefits article,
.steps article,
.contact-form,
.faq details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.benefits article {
    padding: 28px;
    box-shadow: 0 10px 35px rgba(20, 39, 28, .06);
}

.benefits .icon {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--green);
    font-weight: 900;
}

.benefits p,
.steps p,
.faq p,
.footer-grid p {
    color: var(--muted);
}

.video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #122019;
    border: 1px solid rgba(20, 39, 28, .12);
    box-shadow: 0 18px 44px rgba(20, 39, 28, .14);
}

.video-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #122019;
}

.portrait-video {
    width: min(100%, 340px);
    justify-self: end;
}

.portrait-video video {
    aspect-ratio: 9 / 16;
    max-height: 540px;
}

.autoplay-video::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 64%, rgba(18, 32, 25, .18));
}

.comparison {
    background: #f7f3e8;
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-list p {
    margin: 0;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .66);
    border: 1px solid #e6dcc6;
    border-radius: 8px;
}

.check-list strong,
.check-list span {
    display: block;
}

.check-list span {
    margin-top: 3px;
    color: var(--muted);
}

.process {
    padding: 86px 0;
}

.section-heading {
    max-width: 740px;
    margin-bottom: 34px;
}

.section-heading.wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: none;
    align-items: end;
}

.section-heading.wide p:last-child {
    color: var(--muted);
    font-size: 18px;
}

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

.steps article {
    padding: 24px;
}

.steps span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #eaf3ee;
    color: var(--green);
    font-weight: 900;
}

.realizations {
    background: #eef5ef;
}

.realizations-heading {
    max-width: 860px;
}

.realizations-heading p:last-child {
    color: var(--muted);
    font-size: 18px;
}

.realizations-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
    gap: 18px;
    align-items: stretch;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 34px rgba(20, 39, 28, .07);
}

.gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .25s ease;
}

.gallery figure:hover img {
    transform: scale(1.04);
}

.gallery figcaption {
    display: grid;
    gap: 5px;
    padding: 12px 14px 14px;
}

.gallery figcaption strong {
    color: var(--ink);
    font-size: 16px;
}

.gallery figcaption span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.38;
}

.realization-video {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 34px rgba(20, 39, 28, .07);
}

.realization-video .video-frame {
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.realization-video .portrait-video {
    justify-self: stretch;
}

.realization-video-caption {
    display: grid;
    align-content: center;
    gap: 5px;
    min-height: 0;
    padding: 14px;
}

.realization-video-caption strong {
    color: var(--ink);
    font-size: 16px;
}

.realization-video-caption span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.38;
}

.realizations-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    margin-top: 28px;
    padding: 26px;
    border-radius: 8px;
    background: #13231a;
    color: #fff;
}

.realizations-cta h3 {
    margin-bottom: 8px;
}

.realizations-cta p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
}

.region {
    padding: 82px 0;
    align-items: center;
}

.region p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 18px;
}

.region ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.region li {
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-weight: 800;
}

.faq {
    background: #f6f8f3;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq details {
    padding: 18px 20px;
}

.faq summary {
    cursor: pointer;
    font-weight: 850;
}

.faq p {
    margin: 12px 0 0;
}

.contact {
    padding: 88px 0;
}

.contact-links {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-links a,
.footer-grid a {
    color: var(--green-dark);
    font-weight: 800;
    text-decoration: none;
}

.contact-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 39, 28, .06);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.contact-links a::after {
    content: "";
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eaf3ee;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 2.25L8.25 6L4.5 9.75' fill='none' stroke='%231f6b4e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
}

.contact-links a:hover,
.contact-links a:focus-visible {
    border-color: rgba(31, 107, 78, .42);
    box-shadow: 0 16px 36px rgba(20, 39, 28, .11);
    transform: translateY(-1px);
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #cfdad2;
    border-radius: 8px;
    padding: 12px 13px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(29, 107, 79, .16);
    border-color: var(--green);
}

.consent {
    grid-template-columns: 18px 1fr;
    align-items: start;
    color: var(--muted) !important;
    font-weight: 650 !important;
}

.consent input {
    margin-top: 4px;
}

.honeypot {
    position: absolute;
    left: -5000px;
}

.form-message {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.form-message.success {
    background: #e7f4ea;
    color: #176034;
}

.form-message.error {
    background: #fff0e7;
    color: #9a3f00;
}

.site-footer {
    padding: 42px 0;
    background: #13231a;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-grid div {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-grid a {
    color: #dff2e9;
}

.legal {
    max-width: 860px;
    padding: 76px 0;
}

.legal h1 {
    color: var(--ink);
    font-size: clamp(38px, 6vw, 60px);
}

.legal h2 {
    margin-top: 36px;
    font-size: 28px;
}

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

.cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    width: min(680px, calc(100% - 36px));
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.cookie-banner a {
    color: var(--green-dark);
    font-weight: 800;
}

.cookie-banner div {
    display: flex;
    gap: 8px;
}

.cookie-banner .button.secondary {
    background: #f7faf7;
    border-color: var(--line);
    color: var(--green-dark);
}

@media (max-width: 980px) {
    .benefits,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid,
    .comparison-grid,
    .realizations-layout,
    .realization-video,
    .faq-grid,
    .region,
    .contact,
    .section-heading.wide {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (min-width: 761px) and (max-width: 1100px) {
    .hero {
        min-height: 760px;
        align-items: end;
    }

    .hero-media {
        left: 0;
        bottom: auto;
        height: 430px;
        overflow: hidden;
    }

    .hero-media::after {
        background:
            linear-gradient(180deg, rgba(250, 250, 247, .04) 0%, rgba(250, 250, 247, .32) 48%, var(--bg) 82%),
            linear-gradient(90deg, rgba(250, 250, 247, .02), rgba(250, 250, 247, .25));
    }

    .hero-media video {
        height: 100%;
        object-position: 50% 48%;
        transform: scale(1.02);
        transform-origin: 50% 48%;
    }

    .hero-content {
        padding: 330px 0 54px;
    }
}

@media (max-width: 760px) {
    .site-header {
        min-height: 70px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        inset: 70px 12px auto 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .site-nav.open,
    .site-nav.always-visible {
        display: flex;
    }

    .site-nav.always-visible {
        position: static;
        flex-direction: row;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .hero {
        min-height: 700px;
        align-items: end;
    }

    .hero-media::after {
        background:
            linear-gradient(180deg, rgba(250, 250, 247, .04) 0%, rgba(250, 250, 247, .3) 46%, var(--bg) 80%),
            linear-gradient(90deg, rgba(250, 250, 247, .02), rgba(250, 250, 247, .25));
    }

    .hero-media {
        left: 0;
        bottom: auto;
        height: 460px;
        overflow: hidden;
    }

    .hero-media video {
        height: 100%;
        object-position: 50% 48%;
        transform: scale(1.02);
        transform-origin: 50% 48%;
    }

    .hero-stats,
    .gallery,
    .footer-grid,
    .cookie-banner,
    .realizations-cta {
        grid-template-columns: 1fr;
    }

    .benefits,
    .steps {
        grid-template-columns: 1fr;
    }

    .benefits article {
        display: grid;
        grid-template-columns: 42px 1fr;
        column-gap: 16px;
        align-items: start;
        padding: 22px;
    }

    .benefits .icon {
        grid-row: 1 / span 2;
        margin-bottom: 0;
        padding-top: 2px;
    }

    .benefits h3 {
        margin-bottom: 8px;
    }

    .benefits p {
        margin-bottom: 0;
    }

    .steps article {
        display: grid;
        grid-template-columns: 42px 1fr;
        column-gap: 16px;
        align-items: start;
        padding: 22px;
    }

    .steps span {
        grid-row: 1 / span 2;
        margin-bottom: 0;
    }

    .steps h3 {
        margin-bottom: 8px;
    }

    .steps p {
        margin-bottom: 0;
    }

    .hero-content {
        padding: 350px 0 44px;
    }

    .hero-lead {
        font-size: 18px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 52px;
    }

    .section-band,
    .process,
    .region,
    .contact {
        padding: 60px 0;
    }

    .realization-video {
        padding: 0;
    }

    .portrait-video,
    .realization-video .video-frame {
        width: min(100%, 320px);
        justify-self: center;
    }

    .realization-video .portrait-video,
    .realization-video .video-frame {
        width: 100%;
        justify-self: stretch;
    }

    .video-frame video {
        max-height: 560px;
    }

    .cookie-banner div {
        justify-content: stretch;
    }

    .cookie-banner .button {
        flex: 1;
    }
}

@media (hover: none) and (pointer: coarse) and (max-height: 760px) {
    .hero {
        min-height: 680px;
    }

    .hero-media {
        left: 0;
        bottom: auto;
        height: min(48vh, 390px);
    }

    .hero-media::after {
        background:
            linear-gradient(180deg, rgba(250, 250, 247, .04) 0%, rgba(250, 250, 247, .36) 45%, var(--bg) 82%),
            linear-gradient(90deg, rgba(250, 250, 247, .03), rgba(250, 250, 247, .22));
    }

    .hero-media video {
        height: 100%;
        object-position: 50% 48%;
        transform: scale(1.02);
        transform-origin: 50% 48%;
    }

    .hero-content {
        padding-top: min(330px, 42vh);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
