@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

:root {
    --ink: #12221b;
    --text: #44524c;
    --soft: #f7f5ed;
    --line: #e3ddd0;
    --green: #185028;
    --green-deep: #185028;
    --green-soft: #edf6f1;
    --gold: #fdc511;
    --gold-deep: #e8b400;
    --cream: #fff8e4;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: inherit;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.wrap {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    color: var(--white);
    background: var(--green-deep);
    font-size: 0.88rem;
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 235, 0.88), rgba(255, 255, 255, 0.92)),
        repeating-linear-gradient(90deg, rgba(120, 76, 36, 0.11) 0 2px, rgba(255, 255, 255, 0.05) 2px 12px),
        linear-gradient(180deg, #fffaf0, #f1dfbd);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.nav {
    min-height: 132px;
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(380px, 1fr) auto auto;
    align-items: center;
    gap: 18px;
}

.brand {
    width: 360px;
    justify-self: start;
}

.brand img {
    width: 100%;
    max-height: 124px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
}

.nav-links a {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active,
.nav-item.active > a {
    color: var(--green);
    border-color: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
    margin-left: 18px;
    padding-left: 26px;
    border-left: 1px solid rgba(7, 53, 31, 0.14);
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.dropdown-arrow {
    color: var(--gold);
    font-size: 0.72rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 80;
    min-width: 184px;
    display: grid;
    padding: 0;
    background: var(--white);
    box-shadow: 0 18px 34px rgba(7, 53, 31, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.dropdown-menu a {
    padding: 14px 18px;
    border-bottom: 0;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    color: var(--white);
    background: var(--gold);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--green-deep);
    background: var(--white);
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
}

.btn {
    position: relative;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
    opacity: 0;
    transform: translateX(-120%);
    transition: opacity 0.24s ease, transform 0.48s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(7, 53, 31, 0.22);
}

.btn:hover::after {
    opacity: 1;
    transform: translateX(120%);
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

.btn.primary {
    color: var(--white);
    background: var(--gold);
}

.btn.primary:hover {
    background: #e8b400;
}

.btn.quote-nav {
    gap: 8px;
    background: var(--green);
}

.btn.quote-whatsapp-nav:hover,
.btn.quote-nav:hover,
.btn.distribution-cta:hover {
    background: #01372f;
}

.quote-menu-button,
.quote-cart-nav {
    border: 0;
    cursor: pointer;
}

.quote-cart-nav {
    gap: 8px;
    color: var(--green-deep);
    min-width: 160px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f2fbf7;
    border: 1px solid rgba(20, 129, 83, 0.2);
    box-shadow: none;
    justify-self: start;
}

.quote-cart-nav .quote-cart-icon,
.quote-cart-nav .quote-menu-label,
.quote-cart-nav .quote-menu-count {
    position: relative;
    z-index: 1;
}

.quote-cart-nav:hover {
    color: var(--white);
    background: var(--green);
}

.quote-menu-count {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    place-items: center;
    border-radius: 999px;
    color: var(--green-deep);
    background: var(--yellow);
    font-size: 0.78rem;
    font-weight: 900;
}

.quote-cart-nav .quote-menu-count {
    flex: 0 0 auto;
    color: var(--white);
    background: #21855b;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.quote-cart-nav:hover .quote-menu-count {
    color: var(--green);
    background: var(--white);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.quote-nav-icon,
.quote-cart-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: currentColor;
}

.quote-nav-icon {
    filter: brightness(0) invert(1);
}

.btn.light {
    color: var(--white);
    background: var(--gold);
    border-color: var(--gold);
}

.btn.light:hover {
    border-color: #e8b400;
    background: #e8b400;
}

.btn.facebook-nav {
    gap: 8px;
    color: var(--white);
    background: #1877f2;
}

.btn.facebook-nav:hover {
    background: #0f5fca;
}

.facebook-nav-icon {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #1877f2;
    background: var(--white);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
}

.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--green);
    background: var(--gold);
    border: 1px solid rgba(253, 197, 17, 0.45);
    box-shadow: 0 14px 34px rgba(7, 53, 31, 0.24);
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 82px;
    z-index: 60;
    width: 230px;
    height: 154px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 18px 28px rgba(7, 53, 31, 0.22));
    animation: whatsappBounce 2.4s ease-in-out infinite;
    transition: transform 0.2s ease, filter 0.2s ease;
    overflow: visible;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 22px 34px rgba(7, 53, 31, 0.28));
    animation-play-state: paused;
}

.floating-whatsapp img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-whatsapp::before {
    content: "Comunícate con nosotros";
    position: absolute;
    right: 212px;
    top: 50%;
    min-width: 190px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--green-deep);
    background: var(--white);
    box-shadow: 0 12px 28px rgba(7, 53, 31, 0.18);
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(10px, -50%);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.floating-whatsapp::after {
    content: "";
    position: absolute;
    right: 203px;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translate(10px, -50%);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.floating-whatsapp:hover::before,
.floating-whatsapp:hover::after {
    opacity: 1;
    transform: translate(0, -50%);
}

@keyframes whatsappBounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

.scroll-top:hover {
    transform: translateY(-3px);
    background: #f4b900;
    box-shadow: 0 18px 38px rgba(7, 53, 31, 0.3);
}

.hero {
    position: relative;
    min-height: 790px;
    height: 790px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img,
.hero-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-collage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #f3eadc;
}

.hero-collage-left {
    position: absolute;
    inset: -3% auto -3% 0;
    width: 64%;
    overflow: hidden;
    clip-path: polygon(0 0, 84% 0, 100% 100%, 0 100%);
    background: #f7f1e7;
    z-index: 0;
}

.hero-collage-left img {
    transform: scale(1.08);
    filter: blur(6px) brightness(1.22) saturate(0.9);
}

.hero-collage-left::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 250, 239, 0.96), rgba(255, 250, 239, 0.67) 50%, rgba(255, 250, 239, 0.1)),
        linear-gradient(0deg, rgba(253, 197, 17, 0.12), rgba(255, 255, 255, 0.06));
}

.hero-collage::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 52%;
    height: 100%;
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 239, 0.72)),
        rgba(255, 255, 255, 0.78);
    box-shadow: none;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

.hero-collage-panel {
    position: absolute;
    overflow: hidden;
    padding: 4px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.97);
    clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
    box-shadow: none;
    filter: none;
    z-index: 1;
    transform: translateZ(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-collage-panel img {
    clip-path: inherit;
    filter: saturate(1.08) contrast(1.04);
}

.hero-collage-panel::after {
    content: "";
    position: absolute;
    inset: 4px;
    clip-path: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(3, 17, 11, 0.08));
    pointer-events: none;
}

.hero-collage-panel.panel-a {
    left: 51.6%;
    top: 0;
    width: 27.2%;
    height: 50.8%;
    z-index: 2;
    transform: none;
}

.hero-collage-panel.panel-b {
    left: 74.5%;
    top: 0;
    width: 25.5%;
    height: 50.8%;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 3;
    transform: none;
}

.hero-collage-panel.panel-c {
    left: 47.4%;
    top: 49.2%;
    width: 31.2%;
    height: 50.8%;
    z-index: 4;
    transform: none;
}

.hero-collage-panel.panel-d {
    left: 73.8%;
    top: 49.2%;
    width: 26.2%;
    height: 50.8%;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 5;
    transform: none;
}

.slide:nth-child(2) .panel-a img,
.slide:nth-child(2) .panel-b img,
.slide:nth-child(2) .panel-c img {
    object-position: center 72%;
}

.slide:nth-child(3) .panel-a img,
.slide:nth-child(3) .panel-b img {
    object-position: center 58%;
}

.slide:nth-child(3) .panel-d img {
    object-position: center 38%;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(2, 39, 29, 0.88), rgba(4, 70, 50, 0.76) 34%, rgba(8, 63, 46, 0.38) 58%, rgba(255, 255, 255, 0.02) 78%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.18), rgba(255, 255, 255, 0.02));
}

.hero-content {
    position: relative;
    z-index: 4;
    padding: 52px 0 72px;
}

@keyframes bannerTextIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-copy {
    display: none;
}

.hero-copy.active {
    display: block;
}

.hero-copy.active .eyebrow,
.hero-copy.active h1,
.hero-copy.active .hero-text {
    animation: bannerTextIn 0.9s ease both;
}

.hero-copy.active h1 {
    animation-delay: 0.14s;
    text-shadow:
        0 3px 4px rgba(0, 0, 0, 0.36),
        0 14px 34px rgba(0, 0, 0, 0.44);
}

.hero-copy.active .hero-text {
    animation-delay: 0.28s;
    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.34),
        0 10px 24px rgba(0, 0, 0, 0.34);
}

.hero-actions,
.slider-controls {
    animation: bannerTextIn 0.9s ease both;
}

.hero-actions {
    animation-delay: 0.42s;
}

.slider-controls {
    animation-delay: 0.56s;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 790px;
    margin: 0;
    color: inherit;
    font-size: clamp(3.35rem, 5.3vw, 4.45rem);
    line-height: 1;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    color: var(--ink);
    font-size: 3rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-text {
    max-width: 610px;
    margin: 22px 0 0;
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 600;
}

.hero-actions,
.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 860px;
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
        rgba(4, 32, 20, 0.16);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.hero-meta span {
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 18px 20px;
    text-align: left;
    color: #f7faf8;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.06);
}

.hero-meta strong {
    color: var(--white);
    font-size: 0.98rem;
    line-height: 1.15;
}

.hero-meta small {
    color: rgba(238, 244, 239, 0.86);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
}

.slider-controls {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.slider-controls button {
    width: 38px;
    height: 5px;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.46);
    cursor: pointer;
    padding: 0;
}

.slider-controls button.active {
    width: 58px;
    background: var(--gold);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    cursor: pointer;
    font-size: 2.3rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(253, 197, 17, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.hero-arrow-prev {
    left: 28px;
}

.hero-arrow-next {
    right: 28px;
}

.page-hero {
    padding: 110px 0;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(18, 27, 23, 0.72), rgba(48, 45, 34, 0.3)),
        url("../images/hero-banners/banner-real-despacho-obra-03.webp") center/cover;
}

.page-hero.products-hero {
    background:
        linear-gradient(90deg, rgba(18, 27, 23, 0.72), rgba(48, 45, 34, 0.28)),
        url("../images/hero-banners/banner-real-madera-estructural-01.webp") center/cover;
}

.page-hero.contact-hero {
    background:
        linear-gradient(90deg, rgba(18, 27, 23, 0.72), rgba(48, 45, 34, 0.28)),
        url("../images/hero-banners/banner-real-despacho-obra-03.webp") center/cover;
}

.page-hero.claims-hero {
    background:
        linear-gradient(90deg, rgba(18, 27, 23, 0.72), rgba(48, 45, 34, 0.28)),
        url("../images/hero-banners/banner-real-despacho-obra-03.webp") center/cover;
}

.page-hero p {
    max-width: 680px;
    margin: 20px 0 0;
    color: #eef4ef;
    font-size: 1.12rem;
}

.section {
    padding: 84px 0;
}

.section.soft {
    background: var(--soft);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 38px;
}

.section-head p {
    margin: 0;
    font-size: 1.05rem;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.visible .section-head,
.reveal.visible .product,
.reveal.visible .main-category-card,
.reveal.visible .catalog-card,
.reveal.visible .why-card,
.reveal.visible .feature,
.reveal.visible .process article,
.reveal.visible .timber-proof-grid article,
.reveal.visible .timber-service-card {
    animation: sectionItemIn 0.8s ease both;
}

.reveal.visible .product:nth-child(2),
.reveal.visible .main-category-card:nth-child(2),
.reveal.visible .catalog-card:nth-child(2),
.reveal.visible .why-card:nth-child(2),
.reveal.visible .feature:nth-child(2),
.reveal.visible .process article:nth-child(2),
.reveal.visible .timber-proof-grid article:nth-child(2) {
    animation-delay: 0.12s;
}

.reveal.visible .product:nth-child(3),
.reveal.visible .main-category-card:nth-child(3),
.reveal.visible .catalog-card:nth-child(3),
.reveal.visible .why-card:nth-child(3),
.reveal.visible .feature:nth-child(3),
.reveal.visible .process article:nth-child(3),
.reveal.visible .timber-proof-grid article:nth-child(3),
.reveal.visible .timber-service-card {
    animation-delay: 0.24s;
}

.reveal.visible .main-category-card:nth-child(4),
.reveal.visible .catalog-card:nth-child(4),
.reveal.visible .why-card:nth-child(4),
.reveal.visible .feature:nth-child(4),
.reveal.visible .process article:nth-child(4) {
    animation-delay: 0.36s;
}

.reveal.visible .main-category-card:nth-child(5) {
    animation-delay: 0.48s;
}

@keyframes sectionItemIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.products,
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.product {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 8px;
    color: var(--white);
    background: var(--green-deep);
    position: relative;
}

.product img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
    transition: transform 0.35s ease;
}

.product::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 53, 31, 0.1), rgba(7, 53, 31, 0.9));
}

.product:hover img {
    transform: scale(1.04);
}

.product div {
    position: relative;
    z-index: 1;
    padding: 24px;
}

.product h3 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 1.45rem;
    line-height: 1.15;
}

.product p {
    margin: 0;
    color: #e7f0ea;
}

.category-lines-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7faf8 48%, #ffffff 100%);
}

.timber-detail-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 236, 0.9)),
        url("../images/why-backgrounds/why-section-bg.png") center center / cover no-repeat;
}

.timber-detail-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68), rgba(255, 248, 228, 0.55)),
        rgba(255, 255, 255, 0.24);
    pointer-events: none;
}

.timber-detail-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(24, 80, 40, 0.18), transparent);
}

.timber-detail-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
    gap: 54px;
    align-items: center;
}

.timber-detail-copy h2 {
    max-width: 760px;
    font-size: clamp(2.2rem, 4vw, 3.65rem);
}

.timber-detail-copy > p:not(.eyebrow) {
    max-width: 720px;
    margin: 20px 0 0;
    color: #3f4d47;
    font-size: 1.08rem;
}

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

.timber-proof-grid article,
.timber-service-card {
    border: 1px solid rgba(24, 80, 40, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 45px rgba(24, 80, 40, 0.08);
    backdrop-filter: blur(8px);
}

.timber-proof-grid article {
    padding: 22px;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.timber-proof-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(253, 197, 17, 0.5);
    box-shadow: 0 28px 55px rgba(24, 80, 40, 0.12);
}

.timber-proof-grid strong {
    display: block;
    color: var(--green-deep);
    font-size: 1rem;
    line-height: 1.2;
}

.timber-proof-grid span {
    display: block;
    margin-top: 10px;
    color: #52615a;
    font-size: 0.88rem;
    line-height: 1.52;
}

.timber-service-card {
    position: relative;
    padding: 30px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 228, 0.92)),
        rgba(255, 255, 255, 0.9);
}

.timber-service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--gold);
}

.timber-card-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--green-deep);
    background: rgba(24, 80, 40, 0.08);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.timber-service-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.12;
}

.timber-service-card ol {
    display: grid;
    gap: 18px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.timber-service-card li {
    display: grid;
    gap: 5px;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(24, 80, 40, 0.12);
}

.timber-service-card li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.timber-service-card strong {
    color: var(--green-deep);
    font-size: 0.95rem;
}

.timber-service-card span {
    color: #52615a;
    font-size: 0.9rem;
    line-height: 1.5;
}

.category-lines-head {
    align-items: end;
    margin-bottom: 30px;
}

.category-lines-head h2 {
    max-width: 680px;
    font-size: clamp(2rem, 3.4vw, 3.15rem);
    line-height: 1.06;
}

.category-lines-head > p {
    max-width: 500px;
    color: #5a6861;
}

.main-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.main-category-card {
    grid-column: span 1;
    display: grid;
    grid-template-rows: 150px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(2, 65, 56, 0.08);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.main-category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 65, 56, 0.24);
    box-shadow: 0 20px 44px rgba(2, 65, 56, 0.13);
}

.main-category-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--soft);
}

.main-category-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.42s ease, filter 0.42s ease;
}

.main-category-card:hover .main-category-media img {
    transform: scale(1.04);
    filter: saturate(1.04) contrast(1.03);
}

.main-category-copy {
    display: flex;
    min-height: 252px;
    flex-direction: column;
    padding: 18px;
}

.main-category-copy span {
    width: max-content;
    max-width: 100%;
    margin-bottom: 10px;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--green);
    background: #edf6f1;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.main-category-copy h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.08rem, 1.35vw, 1.34rem);
    line-height: 1.16;
}

.main-category-copy p {
    margin: 12px 0 18px;
    color: #4f5e57;
    font-size: 0.84rem;
    line-height: 1.52;
}

.main-category-link {
    width: max-content;
    max-width: 100%;
    margin-top: auto;
    padding: 10px 13px;
    border-radius: 8px;
    color: var(--green);
    background: var(--gold);
    font-size: 0.86rem;
    font-weight: 900;
    box-shadow: 0 10px 18px rgba(253, 197, 17, 0.2);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.main-category-link::after {
    content: " >";
}

.main-category-link:hover {
    transform: translateY(-2px);
    color: var(--white);
    background: var(--green);
}

.why-choose-section {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 34%, rgba(255, 255, 255, 0.52) 100%),
        url("../images/why-backgrounds/why-section-bg.png") center center / cover no-repeat;
}

.why-choose-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.14) 24%, rgba(255, 255, 255, 0.42) 100%);
    pointer-events: none;
}

.why-choose-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
}

.why-choose-panel {
    width: min(100%, 1120px);
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.32fr);
    gap: 24px;
    align-items: stretch;
    padding: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 26px 70px rgba(3, 21, 15, 0.15);
    backdrop-filter: blur(6px);
}

.why-choose-head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    min-height: 100%;
    margin: 0;
    padding: 34px 30px;
    border-radius: 8px;
    color: var(--white);
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 10px),
        linear-gradient(145deg, rgba(24, 80, 40, 0.98), rgba(8, 47, 27, 0.98));
    text-align: left;
}

.why-choose-head .eyebrow {
    margin-bottom: 6px;
    color: var(--gold);
    letter-spacing: 0.24em;
}

.why-choose-head h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(2.1rem, 4vw, 3.15rem);
    line-height: 1;
}

.why-choose-head h2::after {
    content: "";
    display: block;
    width: 82px;
    height: 3px;
    margin: 16px 0 0;
    border-radius: 999px;
    background: var(--gold);
}

.why-choose-head p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.98rem;
}

.why-choose-highlights {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.why-choose-highlights span {
    display: grid;
    gap: 3px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.why-choose-highlights strong {
    color: var(--white);
    font-size: 0.92rem;
    line-height: 1.15;
}

.why-choose-highlights small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 650;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    margin-top: 0;
    overflow: visible;
    border-radius: 8px;
}

.why-card {
    position: relative;
    min-height: 0;
    display: grid;
    grid-template-rows: 148px auto;
    overflow: hidden;
    border: 1px solid rgba(7, 53, 31, 0.1);
    border-radius: 8px;
    background: var(--white);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    isolation: isolate;
}

.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;
}

.why-card:first-child {
    border-radius: 8px;
}

.why-card:last-child {
    border-radius: 8px;
}

.why-card:last-child {
    border-right: 1px solid rgba(7, 53, 31, 0.1);
}

.why-card:hover {
    z-index: 3;
    transform: translateY(-6px);
    border-color: rgba(253, 197, 17, 0.52);
    box-shadow: 0 20px 42px rgba(7, 53, 31, 0.15);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-icon {
    position: absolute;
    top: 112px;
    left: 22px;
    z-index: 2;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.95);
    border: 6px solid var(--white);
    box-shadow: 0 14px 26px rgba(7, 53, 31, 0.18);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.why-card:hover .why-icon {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 30px rgba(7, 53, 31, 0.24);
}

.why-icon svg,
.why-cta-icon svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.why-icon img {
    position: absolute;
    top: 53%;
    left: 50%;
    width: 132%;
    height: 132%;
    max-width: none;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.why-card:nth-child(1) .why-icon img {
    top: 57%;
    width: 138%;
    height: 138%;
}

.why-card:nth-child(2) .why-icon img {
    top: 54%;
}

.why-card:nth-child(3) .why-icon img {
    top: 53%;
}

.why-card:nth-child(4) .why-icon img {
    top: 53.5%;
    width: 148%;
    height: 148%;
}

.why-card-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 58px 22px 22px;
    text-align: left;
}

.why-card-copy h3 {
    min-height: 0;
    margin: 0;
    color: var(--green-deep);
    font-size: 1.02rem;
    line-height: 1.14;
}

.why-card-copy span {
    width: 42px;
    height: 2px;
    margin: 13px 0 13px;
    background: var(--gold);
}

.why-card-copy p {
    margin: 0;
    color: var(--text);
    font-size: 0.86rem;
    line-height: 1.45;
}

.why-card > img {
    width: 100%;
    height: 148px;
    object-fit: cover;
    transition: transform 0.36s ease, filter 0.36s ease;
}

.why-card:hover > img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.05);
}

.why-card:first-child > img {
    border-bottom-left-radius: 0;
}

.why-card:last-child > img {
    border-bottom-right-radius: 0;
}

.why-card:nth-child(1) > img {
    object-position: center 44%;
}

.why-card:nth-child(2) > img {
    object-position: center 48%;
}

.why-card:nth-child(3) > img {
    object-position: center 58%;
}

.why-card:nth-child(4) > img {
    object-position: center 34%;
}

.why-choose-cta {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-top: 0;
    padding: 18px 20px;
    border-radius: 8px;
    border: 1px solid rgba(2, 65, 56, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 28px rgba(7, 53, 31, 0.08);
}

.why-cta-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--green-deep);
    border: 1px solid rgba(2, 65, 56, 0.22);
}

.why-choose-cta strong {
    display: block;
    color: var(--green-deep);
    font-size: 1.05rem;
}

.why-choose-cta p {
    margin: 4px 0 0;
    color: var(--text);
    font-size: 0.92rem;
}

.why-cta-button {
    min-width: 230px;
    color: var(--white);
    background: var(--green-deep);
}

.why-cta-button:hover {
    background: var(--green);
}

.catalog-card,
.feature,
.process article,
.contact-card,
.form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.catalog-card {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    color: var(--white);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.catalog-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.catalog-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 53, 31, 0.1), rgba(7, 53, 31, 0.88));
    transition: opacity 0.35s ease, background 0.35s ease;
}

.catalog-card div {
    position: relative;
    z-index: 1;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    padding: 22px;
}

.catalog-card h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.45rem;
    line-height: 1.12;
}

.catalog-card:hover {
    border-color: rgba(253, 197, 17, 0.65);
    box-shadow: 0 22px 42px rgba(7, 53, 31, 0.2);
    transform: translateY(-8px);
}

.catalog-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.08);
}

.distribution-section {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 248, 228, 0.92)),
        repeating-linear-gradient(90deg, rgba(24, 80, 40, 0.04) 0 1px, transparent 1px 14px);
    color: var(--text);
    overflow: hidden;
}

.distribution-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.26fr);
    gap: 56px;
    align-items: center;
}

.distribution-copy h2 {
    color: var(--ink);
}

.distribution-copy p:not(.eyebrow) {
    max-width: 560px;
    margin: 18px 0 0;
    color: var(--text);
    font-size: 1.06rem;
}

.distribution-points {
    display: grid;
    gap: 10px;
    margin: 28px 0;
}

.distribution-points span {
    display: inline-flex;
    width: fit-content;
    padding: 10px 14px;
    border: 1px solid rgba(24, 80, 40, 0.14);
    border-radius: 8px;
    color: var(--green-deep);
    background: var(--white);
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(24, 80, 40, 0.06);
}

.btn.distribution-cta {
    background: var(--green);
    color: var(--white);
}

.distribution-gallery {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.delivery-carousel-frame {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border: 1px solid rgba(24, 80, 40, 0.12);
    border-radius: 8px;
    aspect-ratio: 16 / 10;
    background: var(--white);
    box-shadow: 0 28px 60px rgba(24, 80, 40, 0.16);
}

.delivery-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.985);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.delivery-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

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

.delivery-slide figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 4px;
    max-width: 470px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);
}

.delivery-slide figcaption strong {
    color: var(--green-deep);
    font-size: 1.05rem;
    line-height: 1.16;
}

.delivery-slide figcaption span {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.45;
}

.delivery-carousel-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.delivery-carousel-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-deep);
    font-weight: 900;
}

.delivery-carousel-controls {
    display: flex;
    gap: 8px;
}

.delivery-carousel-controls button {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(24, 80, 40, 0.18);
    border-radius: 999px;
    color: var(--green-deep);
    background: var(--white);
    box-shadow: 0 12px 24px rgba(24, 80, 40, 0.08);
    cursor: pointer;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.delivery-carousel-controls button:hover {
    border-color: var(--gold);
    color: var(--green-deep);
    background: var(--gold);
    transform: translateY(-2px);
}

.delivery-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.delivery-thumbs button {
    height: 72px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--soft);
    cursor: pointer;
    opacity: 0.74;
    transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.delivery-thumbs button.active,
.delivery-thumbs button:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 24px rgba(24, 80, 40, 0.14);
    opacity: 1;
    transform: translateY(-2px);
}

.delivery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.split {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 58px;
    align-items: center;
}

.split.reverse {
    grid-template-columns: 0.85fr 1fr;
}

.split-media {
    overflow: hidden;
    border-radius: 8px;
}

.split-media img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.feature {
    padding: 20px;
}

.feature strong {
    display: block;
    color: var(--green-deep);
    font-size: 1.05rem;
    line-height: 1.25;
}

.feature span {
    display: block;
    margin-top: 6px;
}

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}

.process article {
    padding: 26px;
    counter-increment: step;
}

.process article::before {
    content: "0" counter(step);
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--gold);
    font-weight: 900;
}

.process h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 1.2rem;
}

.process p {
    margin: 0;
}

.cta {
    color: var(--white);
    background: var(--green-deep);
}

.cta .wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.cta h2 {
    color: var(--white);
}

.cta p {
    max-width: 650px;
    margin: 16px 0 0;
    color: #eef4ef;
}

.contact {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.contact-list div,
.contact-card {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.contact-list a {
    color: var(--green-deep);
    font-weight: 800;
}

.contact-list a:hover {
    color: var(--gold-deep);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.contact-links a:not(:last-child)::after {
    content: "|";
    margin-left: 14px;
    color: #9eaca5;
    font-weight: 600;
}

.contact-addresses {
    display: grid;
    gap: 12px;
}

.contact-address-grid {
    display: grid;
    gap: 10px;
}

.contact-address-grid address {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(24, 80, 40, 0.12);
    border-radius: 8px;
    color: var(--text);
    background: rgba(24, 80, 40, 0.035);
    font-style: normal;
    line-height: 1.5;
}

.contact-address-grid address span {
    display: block;
    margin-bottom: 4px;
    color: var(--green-deep);
    font-weight: 900;
}

.contact-card {
    padding: 22px;
    border-bottom: 1px solid var(--line);
}

.contact-list strong,
.contact-card strong {
    display: block;
    color: var(--green-deep);
}

.claims-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: 42px;
    align-items: start;
}

.claims-info {
    position: sticky;
    top: 170px;
    padding: 28px;
    border: 1px solid rgba(24, 80, 40, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 248, 228, 0.96), rgba(255, 255, 255, 0.96));
    box-shadow: 0 22px 45px rgba(24, 80, 40, 0.1);
}

.claims-info img {
    display: block;
    width: min(100%, 310px);
    margin-bottom: 24px;
}

.claims-info h2 {
    margin: 0 0 12px;
    font-size: 1.65rem;
    line-height: 1.12;
}

.claims-note {
    display: grid;
    gap: 4px;
    margin-top: 14px;
    padding: 14px 16px;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    background: var(--white);
}

.claims-note strong {
    color: var(--green-deep);
}

.claims-destination {
    margin-top: 22px;
    color: var(--green-deep);
    font-size: 0.9rem;
}

.claims-form {
    display: grid;
    gap: 22px;
}

.claims-form fieldset {
    margin: 0;
    padding: 24px;
    border: 1px solid rgba(24, 80, 40, 0.14);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 30px rgba(24, 80, 40, 0.06);
}

.claims-form legend {
    padding: 0 8px;
    color: var(--green-deep);
    font-size: 1rem;
    font-weight: 900;
}

.form-grid {
    display: grid;
    gap: 18px;
}

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

.claims-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 6px 0 18px;
}

.claims-type-option {
    margin: 0;
}

.claims-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.claims-type-option span {
    display: grid;
    min-height: 54px;
    place-items: center;
    border: 1px solid rgba(24, 80, 40, 0.15);
    border-radius: 8px;
    color: var(--green-deep);
    background: var(--green-soft);
    font-weight: 900;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.claims-type-option input:checked + span {
    border-color: var(--gold);
    background: var(--cream);
    box-shadow: inset 0 0 0 2px rgba(253, 197, 17, 0.32);
}

.claims-acceptance {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    margin: 0;
    padding: 16px;
    border: 1px solid rgba(24, 80, 40, 0.12);
    border-radius: 8px;
    background: var(--green-soft);
}

.claims-acceptance input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.form {
    padding: 28px;
}

.form-status {
    display: none;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(2, 65, 56, 0.18);
    border-radius: 8px;
    color: var(--green);
    background: #edf7f4;
    font-weight: 800;
}

.form-status.visible {
    display: block;
}

.spam-check {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 0.82rem;
    font-weight: 700;
}

.form label {
    display: block;
    margin-bottom: 18px;
    color: var(--ink);
    font-weight: 800;
}

.form .claims-type-option {
    margin: 0;
}

.form .claims-acceptance {
    display: grid;
    margin: 0;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    margin-top: 8px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fbfcfb;
}

.form textarea {
    min-height: 134px;
    resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    outline: 3px solid rgba(253, 197, 17, 0.22);
    border-color: var(--gold);
}

.form .claims-type-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.form .claims-acceptance input {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    padding: 0;
}

.footer {
    color: #dfe9e4;
    background: var(--green-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.65fr 0.95fr 1.25fr;
    gap: 30px;
    padding: 54px 0;
}

.footer-logo {
    width: 310px;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.footer h3 {
    margin: 0 0 12px;
    color: var(--white);
}

.footer p {
    margin: 14px 0 0;
    color: #b9c8c0;
}

.footer a {
    color: #dfe9e4;
}

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

.footer-contact-list {
    display: grid;
    gap: 8px;
}

.footer-addresses {
    display: grid;
    gap: 12px;
    color: #b9c8c0;
}

.footer-addresses address {
    margin: 0;
    padding-left: 12px;
    border-left: 3px solid var(--gold);
    font-style: normal;
    line-height: 1.45;
}

.footer-addresses strong {
    display: block;
    margin-bottom: 3px;
    color: var(--white);
}

.footer-claims {
    margin-top: 18px;
}

.footer-claims-link {
    display: inline-flex;
    align-items: center;
    width: min(100%, 260px);
    padding: 4px 0;
    opacity: 0.92;
    transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.footer-claims-link:hover {
    color: var(--white);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
    opacity: 1;
    transform: translateY(-2px);
}

.footer-claims-link img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-bottom {
    padding: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #b9c8c0;
    text-align: center;
}

@media (max-width: 1180px) {
    .nav {
        grid-template-columns: minmax(220px, 280px) minmax(330px, 1fr) auto auto;
        gap: 14px;
    }

    .brand {
        width: 290px;
    }

    .nav-links {
        gap: 18px;
    }

    .facebook-nav {
        display: none;
    }

    .nav-actions {
        margin-left: 0;
        padding-left: 14px;
    }

    .floating-whatsapp {
        right: 18px;
        bottom: 86px;
        width: 182px;
        height: 122px;
    }

    .floating-whatsapp::before {
        right: 170px;
    }

    .floating-whatsapp::after {
        right: 161px;
    }

    .hero-arrow {
        display: none;
    }
}

@media (max-width: 960px) {
    .topbar .wrap,
    .nav,
    .section-head,
    .timber-detail-layout,
    .split,
    .split.reverse,
    .cta .wrap,
    .contact,
    .claims-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .claims-info {
        position: static;
    }

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

    .nav {
        display: grid;
        grid-template-columns: 1fr;
        padding: 16px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .nav-cart-inline {
        justify-self: center;
    }

    .nav-actions {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        justify-content: center;
    }

    .hero {
        min-height: 780px;
        height: 780px;
    }

    .hero-collage-left {
        width: 76%;
        clip-path: polygon(0 0, 84% 0, 100% 100%, 0 100%);
    }

    .hero-collage::before {
        right: 0;
        top: 7%;
        width: 47%;
        height: 70%;
        clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
    }

    .hero-collage-panel {
        padding: 4px;
        opacity: 0.78;
    }

    .hero-collage-panel.panel-a {
        left: 55.4%;
        top: 7%;
        width: 24.4%;
        height: 34.5%;
        z-index: 2;
        transform: none;
    }

    .hero-collage-panel.panel-b {
        left: 75.2%;
        top: 7%;
        width: 24.8%;
        height: 34.5%;
        z-index: 3;
        transform: none;
    }

    .hero-collage-panel.panel-c {
        left: 52.4%;
        top: 40%;
        width: 27.8%;
        height: 37%;
        z-index: 4;
        transform: none;
    }

    .hero-collage-panel.panel-d {
        left: 74.6%;
        top: 40%;
        width: 25.4%;
        height: 37%;
        z-index: 6;
        transform: none;
    }

    h1 {
        max-width: min(510px, 58vw);
    }

    h1 {
        font-size: 3.4rem;
    }

    .hero-text {
        max-width: min(480px, 56vw);
    }

    .hero-meta {
        max-width: min(560px, 62vw);
    }

    h2 {
        font-size: 2.35rem;
    }

    .products,
    .catalog-grid,
    .why-choose-grid,
    .process,
    .hero-meta {
        grid-template-columns: 1fr 1fr;
    }

    .why-choose-grid {
        row-gap: 18px;
    }

    .hero-meta span:last-child {
        grid-column: 1 / -1;
    }

    .timber-proof-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .main-category-card,
    .main-category-card:nth-child(n+4) {
        grid-column: span 1;
    }

    .why-choose-section {
        padding: 62px 0;
    }

    .why-choose-panel {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .why-choose-head {
        min-height: auto;
        text-align: center;
    }

    .why-choose-head h2::after {
        margin-left: auto;
        margin-right: auto;
    }

    .why-choose-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .why-card {
        border: 1px solid rgba(7, 53, 31, 0.1);
    }

    .why-card:nth-child(odd) {
        border: 1px solid rgba(7, 53, 31, 0.1);
    }

    .split-media img {
        height: 360px;
    }

    .distribution-layout {
        grid-template-columns: 1fr;
    }

    .delivery-carousel-frame {
        min-height: 420px;
    }

    .delivery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .wrap {
        width: min(100% - 28px, 1160px);
    }

    .topbar {
        display: none;
    }

    .topbar .wrap {
        gap: 4px;
    }

    .brand {
        width: 300px;
        justify-self: center;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
        position: absolute;
        left: 14px;
        top: 28px;
    }

    .nav-cart-inline {
        position: absolute;
        right: 14px;
        top: 28px;
        min-width: 0;
        width: auto;
        padding: 10px;
    }

    .nav-cart-inline .quote-menu-label {
        display: none;
    }

    .nav-links {
        display: none;
        width: 100%;
        align-items: center;
        justify-content: center;
        font-size: 0.84rem;
        padding-top: 12px;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-item > a {
        justify-content: center;
    }

    .dropdown-menu {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        min-height: 900px;
        height: 900px;
    }

    .hero-collage-left {
        width: 100%;
        clip-path: none;
    }

    .hero-collage-left img {
        filter: blur(6px) brightness(1.16) saturate(0.84);
    }

    .hero-collage-left::after {
        background:
            linear-gradient(90deg, rgba(255, 248, 235, 0.88), rgba(255, 248, 235, 0.48)),
            linear-gradient(0deg, rgba(4, 32, 20, 0.18), rgba(255, 255, 255, 0.02));
    }

    .hero-collage::before {
        display: none;
    }

    .hero-collage-panel {
        padding: 4px;
        opacity: 0.46;
        box-shadow: 0 16px 42px rgba(14, 22, 17, 0.18);
    }

    .hero-collage-panel.panel-a {
        left: 54%;
        top: 5%;
        width: 48%;
        height: 24%;
    }

    .hero-collage-panel.panel-b {
        left: 64%;
        top: 30%;
        width: 38%;
        height: 22%;
    }

    .hero-collage-panel.panel-c {
        left: 48%;
        top: 54%;
        width: 54%;
        height: 22%;
    }

    .hero-collage-panel.panel-d {
        left: 60%;
        top: 77%;
        width: 42%;
        height: 20%;
    }

    .hero-content {
        padding: 34px 0 58px;
    }

    h1 {
        font-size: 2.18rem;
        line-height: 1.08;
    }

    .hero-text {
        margin-top: 16px;
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero-actions {
        margin-top: 22px;
    }

    .slider-controls {
        margin-top: 16px;
    }

    .hero-meta {
        grid-template-columns: 1fr;
        margin-top: 22px;
    }

    .hero-meta span,
    .hero-meta span:last-child {
        min-height: 0;
        grid-column: auto;
        padding: 14px 16px;
    }

    .hero-meta small {
        font-size: 0.74rem;
    }

    .hero-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.75rem;
    }

    .hero-arrow-prev {
        left: 12px;
    }

    .hero-arrow-next {
        right: 12px;
    }

    .hero-arrow {
        display: none;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 62px 0;
    }

    .products,
    .catalog-grid,
    .process,
    .features,
    .why-choose-grid,
    .hero-meta,
    .timber-proof-grid {
        grid-template-columns: 1fr;
    }

    .timber-detail-layout {
        gap: 28px;
    }

    .timber-detail-copy > p:not(.eyebrow) {
        font-size: 1rem;
    }

    .timber-proof-grid {
        margin-top: 24px;
    }

    .timber-service-card {
        padding: 24px 20px;
    }

    .category-lines-head {
        gap: 18px;
    }

    .main-category-grid {
        grid-template-columns: 1fr;
    }

    .main-category-card,
    .main-category-card:nth-child(n+4),
    .main-category-card:last-child {
        grid-column: span 1;
        grid-template-rows: 210px auto;
    }

    .form-grid.two,
    .claims-type-grid {
        grid-template-columns: 1fr;
    }

    .footer-claims-link {
        width: min(100%, 235px);
    }

    .main-category-copy {
        min-height: 0;
        padding: 22px;
    }

    .why-choose-section {
        padding: 42px 0;
    }

    .why-choose-panel {
        padding: 24px 14px 16px;
    }

    .why-choose-head {
        padding: 24px 20px;
    }

    .why-choose-head .eyebrow {
        letter-spacing: 0.22em;
    }

    .why-choose-highlights {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        margin-top: 0;
    }

    .why-card,
    .why-card:nth-child(odd) {
        min-height: 0;
        grid-template-rows: 170px auto;
        border: 1px solid rgba(7, 53, 31, 0.1);
    }

    .why-card > img {
        height: 170px;
    }

    .why-icon {
        top: 132px;
        left: 20px;
        width: 74px;
        height: 74px;
    }

    .why-card-copy {
        padding: 56px 20px 22px;
    }

    .why-card-copy h3 {
        min-height: 0;
    }

    .why-choose-cta {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .why-cta-button {
        width: 100%;
        min-width: 0;
    }

    .distribution-gallery {
        gap: 14px;
    }

    .delivery-carousel-frame {
        min-height: 420px;
        aspect-ratio: 4 / 5;
    }

    .delivery-slide figcaption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px;
    }

    .delivery-carousel-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .delivery-carousel-controls button {
        width: auto;
        flex: 1;
    }

    .delivery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .delivery-thumbs button {
        height: 62px;
    }

    .hero-actions,
    .page-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .nav-cart-inline {
        width: auto;
    }

    .scroll-top {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
        font-size: 1.35rem;
    }

    .floating-whatsapp {
        right: 16px;
        bottom: 92px;
        width: 142px;
        height: 95px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        filter: drop-shadow(0 12px 22px rgba(7, 53, 31, 0.22));
        animation: none;
    }

    .floating-whatsapp img {
        width: 100%;
        height: 100%;
    }

    .floating-whatsapp::before,
    .floating-whatsapp::after {
        display: none;
    }

    .form {
        padding: 20px;
    }
}

.catalog-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding-top: 0;
}

.catalog-nav a {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--green-deep);
    background: var(--white);
    font-weight: 800;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.catalog-nav a:hover {
    transform: translateY(-2px);
    border-color: rgba(253, 197, 17, 0.55);
    background: #fff9e4;
}

.category-section {
    padding-top: 24px;
}

.category-section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.7fr);
    gap: 42px;
    align-items: end;
    margin-bottom: 28px;
}

.category-section-head p {
    margin: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-tile {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(7, 53, 31, 0.08);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.product-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(253, 197, 17, 0.48);
    box-shadow: 0 22px 44px rgba(7, 53, 31, 0.15);
}

.product-tile-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e8efe9;
}

.product-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-tile:hover .product-tile-media img {
    transform: scale(1.08);
}

.product-logo-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    width: 88px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.product-logo-badge.small {
    width: 74px;
}

.product-logo-badge img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-tile-content {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.product-category-label {
    display: inline-flex;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--green-deep);
    background: #edf5f2;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-tile-content h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1.15;
}

.product-tile-content p {
    margin: 0;
}

.product-spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-spec-chips span {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--green-deep);
    background: #f5f8f6;
    font-size: 0.78rem;
    font-weight: 800;
}

.product-tile-cta {
    width: 100%;
}

.catalog-workspace-section {
    padding-top: 34px;
}

.catalog-workspace {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.catalog-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 22px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
    box-shadow: 0 16px 38px rgba(7, 53, 31, 0.08);
}

.catalog-sidebar-head h2,
.catalog-results-head h2 {
    margin: 0;
    color: var(--ink);
}

.catalog-filter {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--green-deep);
    background: transparent;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a.catalog-filter {
    text-decoration: none;
}

.catalog-filter-label {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.32;
}

.catalog-filter-actions {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    align-self: center;
}

.catalog-toggle-mark {
    display: inline-grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: var(--green-deep);
    background: #edf5f2;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
}

.catalog-filter.expanded .catalog-toggle-mark {
    color: #5b4300;
    background: #fff0bb;
}

.catalog-count {
    min-width: 30px;
    padding: 3px 8px;
    border-radius: 999px;
    color: #5a6b62;
    background: #edf5f2;
    font-size: 0.78rem;
    text-align: center;
}

.catalog-filter:hover,
.catalog-filter.active {
    transform: translateX(3px);
    border-color: rgba(253, 197, 17, 0.46);
    background: #fff8df;
}

.catalog-filter.subcategory {
    padding-left: 24px;
    color: #51645b;
    font-size: 0.84rem;
    font-weight: 750;
}

.catalog-tree {
    display: grid;
    gap: 10px;
}

.catalog-tree-group {
    display: grid;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.catalog-subtree {
    display: grid;
    gap: 3px;
}

.catalog-subtree.is-collapsed {
    display: none;
}

.catalog-results {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.catalog-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 4px 0 8px;
    border-bottom: 1px solid var(--line);
}

.catalog-results-head p {
    max-width: 360px;
    margin: 0;
    color: #5f7168;
}

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

.catalog-product-card[hidden] {
    display: none;
}

.product-card-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.product-subcategory-label {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    color: #65766d;
    background: #f7f8f5;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.product-card-actions .btn {
    width: 100%;
    min-height: 42px;
    padding-inline: 12px;
}

.product-quote-button {
    border: 0;
    cursor: pointer;
}

.catalog-empty-state {
    display: none;
    padding: 24px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: #607168;
    background: #f9fbfa;
    text-align: center;
}

.catalog-empty-state.visible {
    display: block;
}

.product-page-hero {
    background:
        linear-gradient(90deg, rgba(18, 27, 23, 0.72), rgba(48, 45, 34, 0.3)),
        url("../images/hero-banners/banner-real-despacho-obra-03.webp") center/cover;
}

.breadcrumb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    color: #607168;
    font-size: 0.92rem;
}

.breadcrumb-row strong {
    color: var(--ink);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(320px, 500px) minmax(360px, 1fr);
    gap: 28px;
    align-items: start;
}

.product-detail-workspace {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.product-detail-main {
    min-width: 0;
}

.product-detail-workspace .product-detail-layout {
    grid-template-columns: minmax(280px, 440px) minmax(320px, 1fr);
}

.product-detail-media {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    min-height: 0;
    background: #f5f8f6;
    box-shadow: 0 18px 38px rgba(7, 53, 31, 0.12);
}

.product-detail-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-detail-badge {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    width: 98px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.product-detail-side {
    display: grid;
    gap: 18px;
}

.product-detail-panel {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(7, 53, 31, 0.07);
}

.product-detail-panel h2 {
    font-size: clamp(2rem, 3vw, 2.55rem);
    line-height: 1.05;
}

.product-detail-panel p {
    margin: 0;
    font-size: 1.03rem;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.product-accordion {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(7, 53, 31, 0.07);
}

.product-accordion-item + .product-accordion-item {
    border-top: 1px solid var(--line);
}

.product-accordion-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border: 0;
    color: var(--ink);
    background: #ffffff;
    font: inherit;
    font-size: 1.02rem;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

.product-accordion-item.active .product-accordion-trigger {
    color: var(--green-deep);
    background: #f3faf6;
}

.product-accordion-icon {
    display: inline-grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: var(--green-deep);
    background: #edf5f2;
    font-size: 1.12rem;
    font-weight: 900;
    line-height: 1;
}

.product-accordion-item.active .product-accordion-icon {
    color: #5b4300;
    background: #fff0bb;
}

.product-accordion-panel {
    display: grid;
    gap: 16px;
    padding: 0 22px 22px;
}

.product-accordion-panel h2,
.product-accordion-panel h3 {
    margin: 0;
    color: var(--ink);
}

.product-accordion-panel h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.35rem);
    line-height: 1.05;
}

.product-accordion-panel p {
    margin: 0;
    font-size: 1.02rem;
}

.product-accordion-panel .bullet-list {
    margin-top: 0;
}

.product-support-section {
    padding-top: 0;
}

.specs-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

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

.spec-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(7, 53, 31, 0.06);
}

.spec-card-side {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
}

.spec-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.34rem;
}

.spec-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.spec-list > div {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.spec-list strong {
    display: block;
    margin-bottom: 6px;
    color: var(--green-deep);
}

.spec-table-block strong {
    margin-bottom: 10px;
}

.spec-value-table {
    width: 100%;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.9rem;
}

.spec-value-table th,
.spec-value-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.spec-value-table th {
    color: var(--green-deep);
    background: #eef6f2;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.spec-value-table th:first-child,
.spec-value-table td:first-child {
    width: 64px;
    color: #607168;
    font-weight: 800;
    text-align: center;
}

.spec-value-table tbody tr:last-child td {
    border-bottom: 0;
}

.bullet-list {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding-left: 18px;
}

.bullet-list li {
    color: var(--text);
}

.related-products-section .section-head {
    margin-bottom: 28px;
}

.related-grid .product-tile.compact .product-tile-content {
    gap: 12px;
}

.related-carousel-shell {
    position: relative;
}

.related-carousel-track {
    display: grid;
    grid-auto-columns: minmax(220px, 250px);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.related-carousel-track .product-tile {
    scroll-snap-align: start;
}

.related-carousel-track .product-tile-media {
    aspect-ratio: 4 / 3;
}

.related-carousel-track .product-tile-content {
    padding: 16px;
}

.related-carousel-track .product-tile-content h3 {
    font-size: 1rem;
}

.related-carousel-track .product-tile-content p {
    font-size: 0.86rem;
}

.related-carousel-track .product-logo-badge.small {
    width: 58px;
}

.related-carousel-control {
    position: absolute;
    top: 34%;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    color: var(--green-deep);
    background: var(--yellow);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 900;
}

.related-carousel-control.prev {
    left: -14px;
}

.related-carousel-control.next {
    right: -14px;
}

.quote-cart-toggle {
    position: fixed;
    right: 22px;
    bottom: 102px;
    z-index: 12;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--green-deep);
    box-shadow: 0 16px 32px rgba(7, 53, 31, 0.26);
    font-weight: 900;
    cursor: pointer;
}

.quote-cart-toggle span {
    display: grid;
    min-width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 999px;
    color: var(--green-deep);
    background: var(--yellow);
}

.quote-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    pointer-events: none;
    background: rgba(3, 21, 15, 0);
    transition: background 0.22s ease;
}

.quote-drawer-backdrop.open {
    pointer-events: auto;
    background: rgba(3, 21, 15, 0.38);
}

.quote-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 120;
    display: grid;
    grid-template-rows: auto auto 1fr;
    width: min(470px, 100vw);
    height: 100vh;
    padding: 24px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: -24px 0 54px rgba(0, 0, 0, 0.24);
    transform: translateX(105%);
    transition: transform 0.28s ease;
}

.quote-drawer.open {
    transform: translateX(0);
}

.quote-drawer-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.quote-drawer-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.55rem;
}

.quote-drawer-head button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--green-deep);
    background: #f7fbf8;
    cursor: pointer;
    font-size: 1.45rem;
}

.quote-empty {
    margin-top: 18px;
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: #607168;
    background: #f8fbf9;
}

.quote-empty.hidden {
    display: none;
}

.quote-form {
    display: none;
    gap: 18px;
    margin-top: 18px;
}

.quote-form.has-items {
    display: grid;
}

.quote-items {
    display: grid;
    gap: 12px;
}

.quote-item {
    display: grid;
    grid-template-columns: 1fr 0.78fr 0.42fr auto;
    gap: 10px;
    align-items: end;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdfc;
}

.quote-item-main {
    display: grid;
    gap: 4px;
}

.quote-item-main strong {
    color: var(--ink);
}

.quote-item-main span,
.quote-client-grid label,
.quote-item label {
    color: #607168;
    font-size: 0.8rem;
    font-weight: 800;
}

.quote-item input,
.quote-client-grid input {
    width: 100%;
    margin-top: 6px;
    padding: 10px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    background: #fff;
}

.quote-measure-field {
    position: relative;
    min-width: 0;
}

.quote-custom-select {
    position: relative;
    margin-top: 6px;
}

.quote-item button {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    color: var(--green-deep);
    background: #edf5f2;
    cursor: pointer;
    font-weight: 900;
}

.quote-item .quote-select-toggle {
    display: flex;
    width: 100%;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(2, 65, 56, 0.16);
    border-radius: 12px;
    color: var(--ink);
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
    box-shadow: 0 10px 20px rgba(2, 65, 56, 0.07);
    font-size: 0.86rem;
    line-height: 1.1;
    text-align: left;
}

.quote-item .quote-select-toggle:hover,
.quote-custom-select.open .quote-select-toggle {
    border-color: rgba(253, 197, 17, 0.72);
    background: #fffdf5;
}

.quote-select-value {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quote-select-chevron {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    margin-top: -4px;
    border-right: 2px solid var(--green-deep);
    border-bottom: 2px solid var(--green-deep);
    transform: rotate(45deg);
    transition: transform 0.2s ease, margin 0.2s ease;
}

.quote-custom-select.open .quote-select-chevron {
    margin-top: 4px;
    transform: rotate(-135deg);
}

.quote-select-menu {
    position: absolute;
    z-index: 45;
    top: calc(100% + 8px);
    left: 0;
    display: none;
    width: max(100%, 240px);
    max-width: min(320px, calc(100vw - 48px));
    max-height: 220px;
    overflow: auto;
    padding: 7px;
    border: 1px solid rgba(2, 65, 56, 0.14);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(2, 31, 24, 0.18);
}

.quote-custom-select.open .quote-select-menu {
    display: grid;
    gap: 4px;
}

.quote-item .quote-select-option {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 10px 11px;
    border-radius: 10px;
    color: #28443a;
    background: transparent;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
}

.quote-item .quote-select-option:hover,
.quote-item .quote-select-option.selected {
    color: var(--green-deep);
    background: #eaf7f2;
}

.quote-item .quote-select-option.selected {
    padding-right: 34px;
}

.quote-item .quote-select-option.selected::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 6px;
    height: 11px;
    border-right: 2px solid var(--green-deep);
    border-bottom: 2px solid var(--green-deep);
    transform: translateY(-62%) rotate(45deg);
}

.quote-client-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.quote-submit {
    width: 100%;
}

.quote-feedback {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
}

.quote-feedback.success {
    color: #10783c;
}

.quote-feedback.error {
    color: #b42318;
}

@media (max-width: 960px) {
    .category-section-head,
    .product-detail-workspace,
    .product-detail-layout,
    .specs-layout {
        grid-template-columns: 1fr;
    }

    .catalog-workspace {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        position: static;
    }

    .catalog-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail-media {
        min-height: 0;
    }
}

@media (max-width: 620px) {
    .catalog-nav {
        justify-content: flex-start;
    }

    .product-grid,
    .specs-layout,
    .catalog-product-grid,
    .product-support-grid {
        grid-template-columns: 1fr;
    }

    .catalog-results-head {
        display: grid;
    }

    .product-card-actions,
    .quote-client-grid,
    .quote-item {
        grid-template-columns: 1fr;
    }

    .quote-drawer {
        padding: 18px;
    }

    .quote-cart-toggle {
        right: 14px;
        bottom: 88px;
    }

    .product-detail-panel {
        padding: 22px;
    }

    .product-detail-panel h2 {
        font-size: 2rem;
    }

    .product-detail-actions {
        flex-direction: column;
    }

    .product-detail-media {
        min-height: 0;
    }

    .product-logo-badge {
        width: 76px;
    }
}

