:root {
    --wood-dark: #412919;
    --wood-mid: #815e3f;
    --wood-light: #c69d63;
    --wood-pale: #e9dcc8;
    --forest: #24421f;
    --forest-light: #375d2d;
    --gold: #d2a858;
    --cream: #f7f1e8;
    --cream-deep: #efe4d3;
    --ink: #241b13;
    --muted: #6d5d4c;
    --white: #ffffff;
    --panel-dark: rgba(20, 14, 10, 0.72);
    --panel-light: rgba(255, 250, 243, 0.88);
    --border: rgba(98, 71, 41, 0.16);
    --shadow: 0 16px 48px rgba(36, 27, 19, 0.12);
    --shadow-lg: 0 28px 70px rgba(20, 14, 10, 0.24);
    --radius: 22px;
    --radius-sm: 14px;
    --wa: #25d366;
    --wa-dark: #1cae55;
    --font: "Segoe UI", system-ui, -apple-system, sans-serif;
    --max: 1180px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.landing-body {
    font-family: var(--font);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--forest);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.img-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--wood-pale), var(--cream-deep));
    color: var(--wood-dark);
    text-align: center;
    border: 1px dashed rgba(122, 92, 58, 0.35);
}

.img-ph span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px;
    opacity: 0.75;
}

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.landing-header:not(.is-scrolled) .landing-logo,
.landing-header:not(.is-scrolled) .landing-nav a {
    color: rgba(255, 255, 255, 0.92);
}

.landing-header:not(.is-scrolled) .landing-logo-text span {
    color: rgba(255, 255, 255, 0.66);
}

.landing-header:not(.is-scrolled) .landing-logo-mark {
    background: rgba(255, 250, 243, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.landing-header:not(.is-scrolled) .landing-nav a:hover {
    color: var(--white);
}

.landing-header.is-scrolled {
    background: rgba(247, 241, 232, 0.95);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(98, 71, 41, 0.14);
    box-shadow: 0 8px 24px rgba(36, 27, 19, 0.08);
}

.landing-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 18px;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    z-index: 2;
}

.landing-logo:hover {
    text-decoration: none;
}

.landing-logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(145deg, #8d6642, #4b311e);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 10px 24px rgba(34, 23, 14, 0.2);
}

.landing-logo-text strong {
    display: block;
    font-size: 17px;
    letter-spacing: -0.02em;
}

.landing-logo-text span {
    display: block;
    font-size: 11px;
    color: var(--muted);
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.landing-nav a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(36, 27, 19, 0.8);
    text-decoration: none;
}

.landing-nav a:hover {
    color: var(--ink);
    text-decoration: none;
}

.landing-header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-toggle-landing {
    display: none;
    background: var(--white);
    border: 1px solid rgba(98, 71, 41, 0.15);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 18px;
    color: var(--ink);
    cursor: pointer;
}

.landing-header:not(.is-scrolled) .menu-toggle-landing {
    background: rgba(255, 255, 255, 0.9);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 999px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s, box-shadow 0.2s, background 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 28px;
    font-size: 16px;
}

.btn-wa {
    background: var(--wa);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.btn-wa:hover {
    background: var(--wa-dark);
    color: var(--white);
}

.btn-primary {
    background: linear-gradient(135deg, var(--forest), var(--forest-light));
    color: var(--white);
    box-shadow: 0 12px 28px rgba(36, 66, 31, 0.22);
}

.btn-primary:hover {
    color: var(--white);
}

.btn-light {
    background: rgba(255, 250, 243, 0.94);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 10px 24px rgba(20, 14, 10, 0.14);
}

.btn-light:hover {
    color: var(--ink);
    background: var(--white);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    border: 1px solid rgba(98, 71, 41, 0.18);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--ink);
}

.btn-dark {
    background: rgba(36, 27, 19, 0.9);
    color: var(--white);
}

.btn-dark:hover {
    color: var(--white);
    background: #1b130d;
}

.segment-kicker {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 14px;
}

.segment-title,
.section-title {
    font-size: clamp(30px, 3.8vw, 50px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.segment-desc,
.section-desc {
    font-size: 16px;
    color: var(--muted);
    max-width: 620px;
}

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

.hero-main,
.story-segment-result {
    position: relative;
    background-color: #433122;
    background-image: var(--segment-img);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.hero-main {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 126px 0 86px;
}

.segment-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(19, 13, 9, 0.78) 0%, rgba(19, 13, 9, 0.46) 42%, rgba(19, 13, 9, 0.18) 76%),
        radial-gradient(circle at 18% 28%, rgba(210, 168, 88, 0.18), transparent 42%);
    pointer-events: none;
}

.hero-main-grid,
.result-grid {
    position: relative;
    z-index: 1;
}

.hero-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 640px) 1fr;
    align-items: center;
    min-height: calc(100vh - 212px);
}

.hero-main-copy {
    color: var(--white);
}

.hero-main-copy h1 {
    font-size: clamp(44px, 7.4vw, 86px);
    line-height: 0.94;
    letter-spacing: -0.055em;
    margin-bottom: 18px;
    text-transform: uppercase;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.hero-main-sub {
    max-width: 540px;
    font-size: clamp(18px, 2.1vw, 22px);
    color: rgba(255, 255, 255, 0.9);
}

.hero-commercial-line {
    max-width: 640px;
    margin-top: 16px;
    color: rgba(255, 245, 230, 0.82);
    font-size: 14px;
    font-weight: 600;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-trust span {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 249, 240, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.story-segment {
    position: relative;
    padding: 92px 0;
}

.story-segment-light {
    background:
        radial-gradient(circle at top left, rgba(198, 157, 99, 0.14), transparent 32%),
        linear-gradient(180deg, #f8f3ec 0%, #f2e8d9 100%);
}

.story-bg-productos {
    position: relative;
    background-image:
        linear-gradient(rgba(245, 238, 226, 0.58), rgba(245, 238, 226, 0.84)),
        url('/assets/img/landing/segmentos/productos/productos-destacados-catalogo.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.story-segment-dark {
    overflow: hidden;
    color: var(--white);
}

.story-segment-dark .segment-desc {
    color: rgba(255, 255, 255, 0.78);
}

.segment-backdrop {
    position: absolute;
    inset: 0;
    background-color: #2f2319;
    background-image: var(--segment-img);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.story-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 42px;
    align-items: center;
}

.story-grid-reverse {
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.story-copy {
    position: relative;
}

.story-copy-dark {
    background: rgba(18, 12, 8, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 34px;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
}

.visual-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(98, 71, 41, 0.12);
    background: #dbc8aa;
    min-height: 520px;
}

.visual-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 8, 6, 0) 55%, rgba(10, 8, 6, 0.12) 100%);
    pointer-events: none;
}

.visual-frame-tall {
    min-height: 560px;
}

.segment-photo,
.visual-frame .img-ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-list {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.product-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(98, 71, 41, 0.14);
    border-radius: 18px;
    padding: 18px 18px 17px;
    box-shadow: 0 10px 30px rgba(36, 27, 19, 0.08);
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.product-card p {
    font-size: 14px;
    color: var(--muted);
}

.product-price {
    align-self: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(36, 66, 31, 0.08);
    color: var(--forest);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.legal-note {
    margin-top: 18px;
    max-width: 62ch;
    color: #5f5449;
    font-size: 12px;
    line-height: 1.55;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.story-segment-result {
    padding: 110px 0;
}

.result-grid {
    display: flex;
    justify-content: flex-end;
}

.result-card {
    max-width: 560px;
    background: rgba(255, 249, 240, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 38px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.result-card .segment-title {
    font-size: clamp(30px, 4vw, 48px);
}

.section {
    padding: 84px 0;
}

.section-benefits {
    background:
        linear-gradient(180deg, #f2e8d9 0%, #f8f3ec 100%);
}

.section-gallery {
    background: var(--white);
}

.section-header {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-header-left {
    margin-left: 0;
    text-align: left;
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(98, 71, 41, 0.12);
    border-radius: 20px;
    padding: 26px 22px;
    box-shadow: 0 14px 36px rgba(36, 27, 19, 0.08);
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--muted);
    font-size: 14px;
}

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

.gallery-item {
    position: relative;
    min-height: 320px;
    grid-column: span 4;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #2a1d12;
    isolation: isolate;
}

.gallery-item-featured {
    grid-column: span 8;
    min-height: 520px;
}

.gallery-item-wide {
    grid-column: span 8;
    min-height: 360px;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 12, 8, 0.05) 18%, rgba(18, 12, 8, 0.84) 100%);
    z-index: 1;
    pointer-events: none;
}

.gallery-photo,
.gallery-item .img-ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-card-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px 22px 24px;
    color: var(--white);
}

.gallery-card-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-card-info h3 {
    font-size: clamp(22px, 2.1vw, 34px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.gallery-item:not(.gallery-item-featured) .gallery-card-info h3 {
    font-size: clamp(18px, 1.5vw, 24px);
}

.gallery-card-info p {
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.5;
}

.gallery-more {
    text-align: center;
    margin-top: 30px;
}

.contact-band {
    padding: 68px 0;
    background:
        radial-gradient(circle at top left, rgba(210, 168, 88, 0.18), transparent 26%),
        linear-gradient(135deg, #2a1d12 0%, #3a2a1d 48%, #24421f 100%);
    color: var(--white);
}

.contact-band-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
}

.contact-band h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 760px;
}

.contact-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.landing-footer {
    background: #19120d;
    color: rgba(255, 255, 255, 0.72);
    padding: 54px 0 28px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand strong {
    display: block;
    color: var(--white);
    font-size: 21px;
    margin-bottom: 10px;
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--wood-light);
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--wood-light);
}

@media (max-width: 1100px) {
    .story-grid,
    .story-grid-reverse,
    .contact-band-grid,
    .benefits-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .story-grid,
    .story-grid-reverse {
        align-items: start;
    }

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

    .result-grid {
        justify-content: flex-start;
    }

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

    .gallery-item,
    .gallery-item-featured,
    .gallery-item-wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .landing-nav {
        display: none;
    }

    .landing-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        padding: 20px 24px 24px;
        gap: 16px;
        background: rgba(247, 241, 232, 0.98);
        border-bottom: 1px solid rgba(98, 71, 41, 0.14);
        box-shadow: var(--shadow-lg);
    }

    .menu-toggle-landing {
        display: block;
    }

    .landing-header-cta .btn-sm {
        display: none;
    }

    .hero-main {
        min-height: auto;
        padding: 110px 0 70px;
    }

    .hero-main-grid {
        min-height: auto;
    }

    .hero-main-copy h1 {
        font-size: clamp(42px, 14vw, 68px);
    }

    .story-segment,
    .story-segment-result,
    .section,
    .contact-band {
        padding: 64px 0;
    }

    .story-grid,
    .story-grid-reverse,
    .contact-band-grid,
    .benefits-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .visual-frame,
    .visual-frame-tall {
        min-height: 360px;
    }

    .story-copy-dark,
    .result-card {
        padding: 28px 24px;
    }

    .hero-actions,
    .segment-actions,
    .contact-band-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .segment-actions .btn,
    .contact-band-actions .btn {
        width: 100%;
    }

    .gallery-item,
    .gallery-item-featured,
    .gallery-item-wide {
        min-height: 300px;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 18px;
    }

    .landing-header-inner {
        height: 72px;
    }

    .landing-logo-text span {
        max-width: 140px;
    }

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

    .hero-trust {
        gap: 8px;
    }

    .hero-trust span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
