:root {
    --bg: #10120f;
    --bg-soft: #171a16;
    --panel: #1d211c;
    --panel-2: #252a23;
    --sand: #d8c69a;
    --sand-soft: #eee5cf;
    --accent: #e96b2c;
    --accent-strong: #ff7b35;
    --text: #f4f1e9;
    --muted: #b9b7af;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    --radius: 22px;
    --content: min(1180px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.menu-open {
    overflow: hidden;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

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

h1,
h2,
h3,
.site-nav,
.eyebrow,
.button,
.card-kicker {
    font-family: "Barlow Condensed", sans-serif;
}

h1,
h2,
h3 {
    line-height: 0.98;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(4.2rem, 11vw, 9rem);
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
}

h3 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

p {
    color: var(--muted);
    font-size: 1rem;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(16, 18, 15, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    width: var(--content);
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.brand span {
    display: grid;
    line-height: 1;
}

.brand strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.28rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.brand small {
    margin-top: 5px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.68rem;
}

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

.site-nav a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 10px;
    color: #dedcd5;
    transition: color .2s ease, background .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #fff;
}

.site-nav .nav-cta {
    padding: 12px 18px;
    border: 1px solid rgba(233, 107, 44, .5);
    color: #fff;
    background: rgba(233, 107, 44, .1);
}

.site-nav .nav-cta:hover {
    background: var(--accent);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 12px;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
}

/* Shared */
.section {
    width: var(--content);
    margin: 0 auto;
    padding: 110px 0;
}

.dark-section {
    width: 100%;
    padding-left: max(20px, calc((100% - 1180px) / 2));
    padding-right: max(20px, calc((100% - 1180px) / 2));
    background:
        linear-gradient(180deg, rgba(255,255,255,.02), transparent 26%),
        var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.eyebrow,
.card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    font-size: .9rem;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.section-heading {
    max-width: 900px;
    margin-bottom: 48px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.narrow-heading {
    max-width: 780px;
}

.split-heading {
    max-width: none;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: end;
}

.split-heading > p {
    margin: 0 0 10px;
    font-size: 1.08rem;
}

.two-column {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 70px;
    align-items: start;
}

.prose p {
    font-size: 1.05rem;
    line-height: 1.82;
}

.prose p:last-of-type {
    margin-bottom: 28px;
}

.text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(233, 107, 44, .6);
    padding-bottom: 5px;
}

.text-link span {
    color: var(--accent);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    text-decoration: none;
    border: 0;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.button-primary {
    background: var(--accent);
    color: #fff;
}

.button-primary:hover {
    background: var(--accent-strong);
}

.button-primary:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.button-ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(16,18,15,.25);
}

.button-ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.7);
}

/* Home hero */
.home-hero {
    position: relative;
    min-height: calc(100vh - 86px);
    overflow: hidden;
    display: grid;
    align-items: center;
    isolation: isolate;
}

.home-hero-media,
.home-hero-overlay {
    position: absolute;
    inset: 0;
}

.home-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.7) contrast(1.05);
}

.home-hero-overlay {
    background:
        linear-gradient(90deg, rgba(12,14,11,.96) 0%, rgba(12,14,11,.74) 43%, rgba(12,14,11,.18) 80%),
        linear-gradient(180deg, rgba(12,14,11,.05) 0%, rgba(12,14,11,.76) 100%);
    z-index: 1;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    width: var(--content);
    margin: 0 auto;
    padding: 100px 0 190px;
}

.home-hero-content h1 {
    max-width: 850px;
    margin-bottom: 26px;
    text-transform: uppercase;
}

.home-hero-content h1 span {
    color: var(--accent);
}

.hero-lead {
    max-width: 620px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: #d8d6cf;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-stats {
    position: absolute;
    z-index: 3;
    bottom: 0;
    right: 0;
    width: min(760px, 62vw);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(16,18,15,.9);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.hero-stats div {
    min-height: 112px;
    padding: 26px 30px;
    border-right: 1px solid var(--line);
}

.hero-stats strong {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    line-height: 1;
    color: var(--sand-soft);
}

.hero-stats span {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    margin-top: 8px;
}

/* Cards and sections */
.highlight-card {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-number {
    display: inline-block;
    color: var(--accent);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    letter-spacing: .12em;
    margin-bottom: 44px;
}

.highlight-card h3 {
    margin-bottom: 16px;
}

.highlight-card p {
    margin-bottom: 28px;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.field-card {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    text-decoration: none;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--panel);
}

.field-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform .55s ease;
}

.field-card:hover img {
    transform: scale(1.045);
}

.field-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,10,8,.06) 16%, rgba(8,10,8,.93) 100%);
}

.field-card-content {
    position: absolute;
    inset: auto 0 0;
    padding: 34px;
    display: grid;
    gap: 8px;
}

.field-card-content small {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
}

.field-card-content strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1;
    text-transform: uppercase;
}

.field-card-content > span:last-child {
    color: #fff;
    font-weight: 600;
    margin-top: 6px;
}

.field-card-content p {
    max-width: 540px;
    color: #d7d6d0;
    margin: 8px 0 4px;
}

.field-card-large {
    min-height: 620px;
}

.field-selector {
    display: grid;
    gap: 28px;
}

.media-section {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 50px;
    align-items: center;
}

.media-copy h2 {
    margin-bottom: 24px;
}

.media-copy p {
    margin-bottom: 28px;
}

.media-frame {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #000;
    box-shadow: var(--shadow);
}

.media-frame video,
.media-frame iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 0;
}

/* Page hero */
.page-hero {
    min-height: 590px;
    display: flex;
    align-items: end;
    position: relative;
    isolation: isolate;
    background-position: center;
    background-size: cover;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(8,10,8,.22) 0%, rgba(8,10,8,.92) 100%),
        linear-gradient(90deg, rgba(8,10,8,.72) 0%, rgba(8,10,8,.1) 70%);
}

.page-hero-about {
    background-image: url("../img/faq.jpg");
}

.page-hero-play {
    background-image: url("../img/gioca.jpg");
}

.page-hero-fields {
    background-image: url("../img/slide_home_3.jpg");
}

.page-hero-condor {
    background-image: url("../img/condor/IMG_4488.jpg");
}

.page-hero-market {
    background-image: url("../img/mercato/interno2.jpg");
}

.page-hero-contact {
    background-image: url("../img/contattaci.jpg");
}

.page-hero-rules {
    background-image: url("../img/borsoi.jpg");
}

.page-hero-gallery {
    background-image: url("../img/gallery.jpg");
}

.page-hero-faq {
    background-image: url("../img/faq.jpg");
}

.page-hero-borsoi {
    background-image: url("../img/borsoi.jpg");
}

.page-hero-content {
    width: var(--content);
    margin: 0 auto;
    padding: 120px 0 62px;
}

.page-hero-content h1 {
    max-width: 1000px;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.page-hero-content > p:last-child {
    max-width: 720px;
    font-size: 1.13rem;
    color: #d8d6d0;
    margin-bottom: 0;
}

/* About */
.values-strip {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.values-strip > div {
    padding: 48px max(28px, calc((100vw - 1180px) / 6));
    border-right: 1px solid var(--line);
    background: var(--bg-soft);
}

.values-strip > div:last-child {
    border-right: 0;
}

.values-strip span {
    color: var(--accent);
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
}

.values-strip strong {
    display: block;
    margin: 8px 0 10px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
}

.values-strip p {
    margin-bottom: 0;
}

/* Play */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
}

.step-card > span {
    color: var(--accent);
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    letter-spacing: .1em;
}

.step-card h2 {
    font-size: 2.35rem;
    margin: 40px 0 20px;
}

.price-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    margin: 12px 0;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.price-row strong {
    color: var(--sand-soft);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.8rem;
}

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

.note {
    font-size: .9rem;
    padding-top: 14px;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 16px;
    border: 1px solid var(--line);
    text-decoration: none;
    background: rgba(255,255,255,.02);
}

.download-link i {
    color: var(--accent);
}

/* Photo grid */
.photo-grid {
    margin-top: 54px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.photo-grid img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--line);
}

.photo-grid img:nth-child(6n + 1),
.photo-grid img:nth-child(6n + 4) {
    grid-column: span 7;
}

.photo-grid img:nth-child(6n + 2),
.photo-grid img:nth-child(6n + 3),
.photo-grid img:nth-child(6n + 5),
.photo-grid img:nth-child(6n + 6) {
    grid-column: span 5;
}

/* Normative */
.responsible-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.info-card {
    padding: 34px;
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: var(--radius);
}

.info-card h2 {
    font-size: 2.7rem;
    margin: 10px 0 16px;
}

.info-card > a {
    color: var(--sand-soft);
    word-break: break-word;
}

.documents-panel {
    margin-top: 24px;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 50px;
    padding: 38px;
    border-radius: var(--radius);
    background: var(--sand-soft);
    color: #171913;
}

.documents-panel p {
    color: #4c5148;
}

.documents-panel .eyebrow {
    color: #b94f1c;
}

.document-list {
    display: grid;
}

.document-list a {
    min-height: 76px;
    display: grid;
    grid-template-columns: 30px 1fr 20px;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    border-top: 1px solid rgba(23,25,19,.16);
}

.document-list a:last-child {
    border-bottom: 1px solid rgba(23,25,19,.16);
}

.document-list a > i:first-child {
    color: #b94f1c;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 72px;
    align-items: start;
}

.contact-info > h2,
.contact-form-panel > h2 {
    margin-bottom: 34px;
}

.contact-card {
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.contact-card:last-child {
    border-bottom: 1px solid var(--line);
}

.contact-card-title {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    margin-bottom: 12px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-card-title span {
    color: var(--accent);
}

.contact-card p {
    margin-bottom: 10px;
}

.contact-card > a:not(.contact-card-title) {
    display: block;
    margin: 8px 0;
    text-decoration: none;
    color: var(--sand-soft);
}

.contact-card i {
    width: 22px;
    color: var(--accent);
}

.contact-form-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
}

.contact-form-panel form {
    display: grid;
}

.contact-form-panel label {
    margin: 14px 0 8px;
    color: #dedbd2;
    font-size: .9rem;
    font-weight: 600;
}

.contact-form-panel input,
.contact-form-panel textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #121410;
    color: #fff;
    border-radius: 8px;
    padding: 15px 16px;
    outline: none;
}

.contact-form-panel textarea {
    resize: vertical;
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(233,107,44,.12);
}

.contact-form-panel .field-error {
    border-color: #ff756f;
}

.contact-form-panel button {
    margin-top: 18px;
    justify-self: start;
}

.contact-form-panel small {
    color: var(--muted);
    margin-top: 12px;
}

.contact-feedback {
    min-height: 24px;
    margin: 14px 0 0;
    font-size: .92rem;
}

.contact-feedback.is-error {
    color: #ff9c96;
}

.contact-feedback.is-success {
    color: #9bd18d;
}

/* CTA */
.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    border-top: 1px solid var(--line);
}

.cta-section h2 {
    max-width: 800px;
    margin-bottom: 0;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-item {
    position: relative;
    border: 0;
    padding: 0;
    background: #000;
    cursor: zoom-in;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
}

.gallery-item:nth-child(7n + 1),
.gallery-item:nth-child(7n + 5) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, opacity .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.035);
    opacity: .86;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    background: rgba(0,0,0,.94);
    padding: 70px 24px 24px;
}

.gallery-modal.is-open {
    display: grid;
    place-items: center;
}

.gallery-modal img {
    max-width: min(1200px, 92vw);
    max-height: 84vh;
    object-fit: contain;
}

.gallery-close,
.gallery-prev,
.gallery-next {
    position: fixed;
    z-index: 2001;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(20,20,20,.75);
    color: #fff;
    cursor: pointer;
}

.gallery-close {
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

.gallery-prev,
.gallery-next {
    top: 50%;
    width: 48px;
    height: 64px;
    transform: translateY(-50%);
}

.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }

/* Borsoi */
.partner-panel {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.partner-panel > img {
    width: 100%;
    background: #fff;
    padding: 28px;
    border-radius: var(--radius);
}


.faq-list {
    max-width: 960px;
}

.faq-list details {
    border-top: 1px solid var(--line);
}

.faq-list details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 26px 58px 26px 0;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 2rem;
    font-weight: 400;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 780px;
    padding: 0 58px 28px 0;
    margin: 0;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    background: #090a08;
}

.footer-grid {
    width: var(--content);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr .75fr 1fr;
    gap: 70px;
    padding: 70px 0 56px;
}

.footer-brand img {
    width: 130px;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 360px;
}

.footer-grid h2 {
    font-size: 1.35rem;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: .06em;
    margin-bottom: 18px;
}

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

.footer-links a {
    display: inline-block;
    margin: 6px 0;
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    text-decoration: none;
}

.social-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.partner-link img {
    max-width: 170px;
}

.footer-bottom {
    width: var(--content);
    margin: 0 auto;
    padding: 20px 0 28px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #777b73;
    font-size: .8rem;
}

/* Legacy compatibility */
.borsoi-content,
#contattaci_container,
.row {
    width: var(--content);
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 1080px) {
    .brand span {
        display: none;
    }

    .site-nav a {
        font-size: .88rem;
        padding-left: 7px;
        padding-right: 7px;
    }

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

    .steps-grid .step-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    :root {
        --content: min(100% - 28px, 1180px);
    }

    .nav-shell {
        min-height: 74px;
    }

    .brand img {
        width: 52px;
        height: 52px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 74px 0 auto;
        max-height: calc(100vh - 74px);
        overflow-y: auto;
        display: grid;
        gap: 0;
        padding: 18px 14px 26px;
        background: #0d0f0c;
        border-bottom: 1px solid var(--line);
        transform: translateY(-130%);
        opacity: 0;
        visibility: hidden;
        transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .site-nav a {
        font-size: 1.25rem;
        padding: 14px 10px;
        border-bottom: 1px solid var(--line);
    }

    .site-nav .nav-cta {
        margin-top: 10px;
        text-align: center;
    }

    .section {
        padding: 78px 0;
    }

    .home-hero {
        min-height: calc(100svh - 74px);
    }

    .home-hero-content {
        padding: 90px 0 210px;
    }

    .home-hero-overlay {
        background:
            linear-gradient(90deg, rgba(12,14,11,.93) 0%, rgba(12,14,11,.56) 100%),
            linear-gradient(180deg, rgba(12,14,11,.08) 0%, rgba(12,14,11,.9) 100%);
    }

    .hero-stats {
        width: 100%;
    }

    .hero-stats div {
        min-height: 96px;
        padding: 20px 16px;
    }

    .hero-stats strong {
        font-size: 1.6rem;
    }

    .hero-stats span {
        font-size: .72rem;
    }

    .two-column,
    .split-heading,
    .media-section,
    .documents-panel,
    .contact-layout,
    .partner-panel {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .field-card {
        min-height: 430px;
    }

    .values-strip {
        grid-template-columns: 1fr;
    }

    .values-strip > div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 36px 24px;
    }

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

    .steps-grid .step-card:last-child {
        grid-column: auto;
    }

    .page-hero {
        min-height: 480px;
    }

    .photo-grid img,
    .photo-grid img:nth-child(n) {
        grid-column: span 6;
        height: 260px;
    }

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

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

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

    .gallery-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 4 / 3;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .home-hero-content h1 {
        font-size: clamp(3.7rem, 20vw, 5.5rem);
    }

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

    .button {
        width: 100%;
    }

    .hero-stats strong {
        font-size: 1.35rem;
    }

    .hero-stats span {
        font-size: .66rem;
    }

    .hero-stats div {
        padding: 16px 10px;
    }

    .page-hero-content h1 {
        font-size: clamp(3.4rem, 18vw, 5.2rem);
    }

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

    .photo-grid img,
    .photo-grid img:nth-child(n) {
        grid-column: auto;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .contact-form-panel,
    .highlight-card,
    .step-card,
    .info-card,
    .documents-panel {
        padding: 24px;
    }

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

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

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
