:root {
    --cream: #faf7ef;
    --sand: #e8dcc8;
    --tan: #c7aa7a;
    --wood: #7a5130;
    --dark: #241a12;
    --muted: #776a5d;
    --white: #fffdf8;
    --shadow: 0 24px 80px rgba(48, 31, 18, .18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--dark);
    background: var(--cream);
}

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

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

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 20;
    background: rgba(250, 247, 239, .86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(122, 81, 48, .14);
}

.nav {
    width: min(1180px, calc(100% - 32px));
    height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    height: 100%;
}

.brand img {
    width: 82px;
    max-height: 68px;
    object-fit: contain;
    height: auto;
    filter: drop-shadow(0 8px 14px rgba(36, 26, 18, .18));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-weight: 700;
    font-size: 15px;
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 2px;
    background: var(--wood);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(122, 81, 48, .2);
    border-radius: 8px;
    background: var(--white);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--dark);
}

.hero {
    position: relative;
    min-height: 720px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-slider,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(20, 13, 8, .78), rgba(20, 13, 8, .42) 48%, rgba(20, 13, 8, .18)),
        linear-gradient(0deg, rgba(20, 13, 8, .45), transparent 36%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 92px auto 0;
    color: var(--white);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--tan);
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: 12px;
    font-weight: 800;
}

.hero h1,
.section h2,
.yard h2,
.footer h2 {
    margin: 0;
    line-height: 1.04;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(48px, 7vw, 92px);
    letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
    max-width: 660px;
    margin: 22px 0 0;
    color: rgba(255, 253, 248, .88);
    font-size: 20px;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 800;
}

.btn-primary {
    background: var(--tan);
    color: var(--dark);
}

.btn-ghost {
    color: var(--white);
    border: 1px solid rgba(255, 253, 248, .46);
    background: rgba(255, 253, 248, .08);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 38px;
    z-index: 3;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dots span {
    width: 34px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 253, 248, .36);
}

.hero-dots span.is-active {
    background: var(--tan);
}

.section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 110px 0;
}

.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 64px;
    align-items: center;
}

.section-copy h2,
.section-heading h2,
.yard h2 {
    font-size: clamp(34px, 4vw, 54px);
}

.section-copy p,
.yard-copy p,
.footer p,
.product-grid p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.about-image {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--sand);
}

.about-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.stats div {
    padding: 20px;
    border: 1px solid rgba(122, 81, 48, .16);
    border-radius: 8px;
    background: var(--white);
}

.stats strong {
    display: block;
    font-size: 26px;
    color: var(--wood);
}

.stats span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.products {
    padding-top: 30px;
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.product-grid article {
    min-height: 250px;
    padding: 26px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(122, 81, 48, .14);
    box-shadow: 0 18px 50px rgba(48, 31, 18, .08);
}

.product-grid span {
    color: var(--tan);
    font-weight: 900;
}

.product-grid h3 {
    margin: 38px 0 12px;
    font-size: 23px;
}

.seo-content {
    padding-top: 20px;
}

.seo-content .section-heading p:not(.eyebrow) {
    max-width: 800px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.seo-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.seo-list span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(122, 81, 48, .16);
    border-radius: 999px;
    background: var(--white);
    color: var(--wood);
    font-weight: 800;
    font-size: 14px;
}

.yard {
    padding: 105px max(16px, calc((100vw - 1180px) / 2));
    background: #efe6d6;
}

.yard-copy {
    max-width: 780px;
    margin-bottom: 36px;
}

.gallery-slider {
    position: relative;
}

.gallery-track {
    position: relative;
    height: min(680px, 62vw);
    min-height: 360px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: #d7c5aa;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity .55s ease;
}

.gallery-slide.is-active {
    opacity: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 253, 248, .92);
    box-shadow: 0 14px 36px rgba(48, 31, 18, .18);
    color: var(--dark);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.gallery-btn.prev {
    left: 18px;
}

.gallery-btn.next {
    right: 18px;
}

.footer {
    background: #201710;
    color: var(--white);
    padding: 72px 0;
}

.footer-content {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr .9fr 1.25fr;
    gap: 38px;
    align-items: start;
}

.footer-logo {
    width: 112px;
    margin-bottom: 20px;
}

.contact-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    font-weight: 700;
}

.company-data {
    padding-top: 42px;
}

.company-data h3 {
    margin: 0 0 18px;
}

.company-data p {
    margin: 8px 0;
}

.map {
    position: relative;
    min-height: 340px;
    border-radius: 8px;
    overflow: hidden;
    background: #352518;
}

.map iframe {
    width: 100%;
    height: 340px;
    border: 0;
}

.map iframe[hidden],
.map-consent[hidden] {
    display: none !important;
}

.map-consent {
    min-height: 340px;
    display: grid;
    place-items: center;
    gap: 16px;
    padding: 28px;
    text-align: center;
    color: rgba(255, 253, 248, .88);
    background:
        linear-gradient(135deg, rgba(122, 81, 48, .9), rgba(32, 23, 16, .94)),
        repeating-linear-gradient(45deg, rgba(255, 253, 248, .08) 0 1px, transparent 1px 12px);
}

.map-consent p {
    max-width: 360px;
    margin: 0;
    color: rgba(255, 253, 248, .86);
}

.map-consent button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 253, 248, .38);
    border-radius: 8px;
    background: rgba(255, 253, 248, .12);
    color: var(--white);
    font-weight: 800;
    cursor: pointer;
}

.credit-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 16px;
    background: #15100c;
    border-top: 1px solid rgba(255, 253, 248, .08);
}

.credit-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    opacity: .86;
    transition: opacity .2s ease, transform .2s ease;
}

.credit-strip a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.credit-strip img {
    width: 90px;
    height: 31px;
    object-fit: contain;
}

.promo-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 20px;
}

.promo-modal[hidden] {
    display: none;
}

.promo-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 16, 11, .48);
    backdrop-filter: blur(5px);
}

.promo-card {
    position: relative;
    width: min(720px, 100%);
    max-height: min(82vh, 760px);
    overflow: auto;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 34px 100px rgba(20, 13, 8, .34);
    transform: translateY(10px);
    animation: promoIn .42s ease forwards;
}

@keyframes promoIn {
    to {
        transform: translateY(0);
    }
}

.promo-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 253, 248, .94);
    color: var(--dark);
    box-shadow: 0 10px 28px rgba(20, 13, 8, .18);
    font-size: 28px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.promo-close.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.promo-media {
    min-height: 260px;
    background: #e7d8c0 center / cover no-repeat;
}

.promo-body {
    padding: 34px;
}

.promo-body h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 42px);
}

.promo-body p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.72;
    white-space: pre-line;
}

.promo-controls {
    display: flex;
    gap: 8px;
    margin-top: 22px;
}

.promo-controls button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--sand);
    cursor: pointer;
}

.promo-controls button.is-active {
    background: var(--wood);
}

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 45;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 253, 248, .5);
    border-radius: 8px;
    background: rgba(122, 81, 48, .94);
    color: var(--white);
    box-shadow: 0 18px 44px rgba(36, 26, 18, .24);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity .25s ease, transform .25s ease, background .25s ease;
}

.scroll-top:hover {
    background: var(--dark);
}

.scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.cookie-banner {
    position: fixed;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    width: min(760px, calc(100% - 44px));
    padding: 22px;
    border: 1px solid rgba(122, 81, 48, .16);
    border-radius: 8px;
    background: rgba(255, 253, 248, .96);
    box-shadow: 0 28px 90px rgba(20, 13, 8, .28);
    backdrop-filter: blur(18px);
}

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

.cookie-copy h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.cookie-copy p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.cookie-options {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.cookie-options label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px;
    border: 1px solid rgba(122, 81, 48, .14);
    border-radius: 8px;
    background: var(--cream);
}

.cookie-options strong,
.cookie-options small {
    display: block;
}

.cookie-options small {
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.45;
}

.cookie-options input {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    accent-color: var(--wood);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cookie-actions button,
.cookie-settings {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
}

.cookie-primary {
    border: 0;
    background: var(--wood);
    color: var(--white);
}

.cookie-secondary {
    border: 1px solid rgba(122, 81, 48, .22);
    background: var(--white);
    color: var(--dark);
}

.cookie-link {
    border: 0;
    background: transparent;
    color: var(--wood);
    padding-inline: 0;
}

.cookie-settings {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 50;
    border: 1px solid rgba(122, 81, 48, .2);
    background: rgba(255, 253, 248, .92);
    color: var(--wood);
    box-shadow: 0 14px 34px rgba(20, 13, 8, .16);
    backdrop-filter: blur(14px);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 82px;
        left: 16px;
        right: 16px;
        display: none;
        padding: 18px;
        border-radius: 8px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: grid;
    }

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

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

    .company-data {
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 640px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .section {
        padding: 76px 0;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .stats,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 420px;
    }

    .gallery-track {
        height: 420px;
    }

    .footer {
        padding-bottom: 92px;
    }

    .scroll-top {
        right: 14px;
        bottom: 14px;
        width: 46px;
        height: 46px;
        font-size: 24px;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
        padding: 18px;
    }

    .cookie-actions button {
        flex: 1 1 100%;
    }

    .cookie-settings {
        left: 12px;
        bottom: 12px;
    }
}

@media (max-width: 420px) {
    .nav {
        width: min(100% - 24px, 1180px);
    }

    .brand img {
        width: 74px;
        max-height: 60px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-content,
    .section,
    .footer-content {
        width: min(100% - 24px, 1180px);
    }

    .gallery-btn {
        width: 42px;
        height: 42px;
    }

    .promo-body {
        padding: 26px;
    }
}
