/* VARIABLES */
:root {
    --cream: #F8F3EB;
    --warm: #EEE4D0;
    --bark: #4A2E12;
    --bark-md: #7A5230;
    --bark-lt: #A67C52;
    --sand: #C8A46A;
    --sand-lt: #E2C89A;
    --moss: #2E3D22;
    --moss-lt: #4A5E38;
    --char: #1A120A;
    --gray: #8A7A6A;
    --grain: #EFE6D5;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Jost', sans-serif;
    background: var(--cream);
    color: var(--char);
    overflow-x: hidden;
    cursor: none;
}

.cursor {
    width: 10px;
    height: 10px;
    background: var(--sand);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform .15s, background .15s
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid var(--sand);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    opacity: .6;
    transition: width .3s, height .3s, opacity .2s
}

body.hovering .cursor {
    transform: translate(-50%, -50%) scale(2.5);
    background: var(--bark)
}

body.hovering .cursor-ring {
    width: 60px;
    height: 60px;
    opacity: .25
}

/* GRAIN */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9997
}


#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.6rem 4rem;
    transition: padding .4s, background .4s, border-color .4s, box-shadow .4s;
    border-bottom: 1px solid transparent;
    background: linear-gradient(to bottom, rgba(26, 18, 10, .55) 0%, transparent 100%);
    /* El nav es solo un contenedor visual: los clics traspasan al .nav-links detrás */
    pointer-events: none;
}

#nav.scrolled {
    background: rgba(248, 243, 235, .96);
    backdrop-filter: blur(12px);
    padding: 1rem 4rem;
    border-bottom-color: rgba(74, 46, 18, .1);
    box-shadow: 0 2px 24px rgba(74, 46, 18, .08)
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: .06em;
    text-decoration: none;
    transition: color .4s;
    pointer-events: auto; /* nav tiene pointer-events:none, restauramos aquí */
}

#nav.scrolled .nav-logo {
    color: var(--bark)
}

.nav-logo-sep {
    color: var(--sand);
    font-weight: 300
}

/* El ul de nav-links está fuera del <nav> para evitar que backdrop-filter lo atrape */
.nav-links {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
    height: 88px; /* misma altura que el nav en estado normal */
    pointer-events: auto;
}

.nav-links a {
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: .65;
    text-decoration: none;
    transition: opacity .2s, color .4s;
    position: relative
}

#nav.scrolled .nav-links a {
    color: var(--char);
    opacity: .55
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--sand);
    transition: width .3s
}

.nav-links a:hover {
    opacity: 1
}

.nav-links a:hover::after {
    width: 100%
}

.nav-cta {
    background: var(--sand);
    color: var(--char) !important;
    padding: .6rem 1.4rem;
    opacity: 1 !important;
    transition: background .2s !important
}

#nav.scrolled .nav-cta {
    background: var(--bark);
    color: var(--cream) !important
}

.nav-cta:hover {
    background: var(--sand-lt) !important
}

#nav.scrolled .nav-cta:hover {
    background: var(--bark-md) !important
}

.nav-cta::after {
    display: none !important
}

/* HERO */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 55% 45%;
    position: relative;
    overflow: hidden;
}

.hero-left {
    background: var(--bark);
    padding: 10rem 5rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden
}

.hero-bg-rings {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 700px;
    height: 700px;
    opacity: .04
}

.hero-num {
    position: absolute;
    top: 8rem;
    right: 4rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 11rem;
    font-weight: 300;
    line-height: 1;
    color: rgba(248, 243, 235, .04);
    user-select: none
}

.hero-tag {
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp .8s .3s forwards
}

.hero-tag::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--sand)
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 5.5vw, 6rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--cream);
    opacity: 0;
    animation: fadeUp .9s .5s forwards
}

.hero-title strong {
    font-weight: 600;
    display: block
}

.hero-title em {
    font-style: italic;
    color: var(--sand-lt)
}

.hero-div {
    width: 60px;
    height: 1px;
    background: var(--sand);
    margin: 2.5rem 0;
    opacity: 0;
    animation: fadeUp .8s .7s forwards
}

.hero-desc {
    font-size: .9rem;
    line-height: 1.9;
    font-weight: 300;
    color: rgba(248, 243, 235, .55);
    max-width: 42ch;
    opacity: 0;
    animation: fadeUp .8s .9s forwards
}

.hero-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1.2rem;
    align-items: center;
    opacity: 0;
    animation: fadeUp .8s 1.1s forwards
}

.btn-hero {
    background: var(--sand);
    color: var(--char);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 1rem 2.2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    transition: background .2s, gap .2s
}

.btn-hero:hover {
    background: var(--sand-lt);
    color: var(--char);
    gap: 1.2rem
}

.btn-hero svg {
    width: 14px;
    transition: transform .2s
}

.btn-hero:hover svg {
    transform: translateX(3px)
}

.btn-ghost {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 400;
    color: rgba(248, 243, 235, .45);
    text-decoration: none;
    transition: color .2s
}

.btn-ghost:hover {
    color: var(--cream)
}

.hero-stats {
    position: absolute;
    bottom: 4rem;
    right: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s 1.4s forwards
}

.hero-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--sand);
    line-height: 1;
    text-align: right
}

.hero-stat-label {
    font-size: .62rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(248, 243, 235, .3);
    text-align: right;
    margin-top: .15rem
}

.hero-right {
    background: var(--warm);
    position: relative;
    overflow: hidden
}

.hero-right-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-wood {
    width: 70%;
    max-width: 100%;
    opacity: 0;
    animation: fadeIn 1.5s 1s forwards
}

.hero-right-tag {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bark-lt);
    writing-mode: vertical-lr
}

.scroll-ind {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--bark-lt);
    animation: scrollPulse 2s infinite
}

.scroll-txt {
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bark-lt);
    writing-mode: vertical-lr
}

/* MARQUEE */
.marquee-wrap {
    background: var(--bark);
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    padding: .9rem 0;
    border-top: 1px solid rgba(200, 164, 106, .15);
    border-bottom: 1px solid rgba(200, 164, 106, .15)
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 22s linear infinite
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding-right: 3rem;
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(248, 243, 235, .4)
}

.m-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--sand);
    flex-shrink: 0
}

@keyframes marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ABOUT */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr
}

.about-visual {
    background: var(--moss);
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}

.about-rings {
    width: 75%;
    opacity: .12;
    position: relative;
    z-index: 1
}

.about-year {
    position: absolute;
    bottom: -20px;
    left: -10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16rem;
    font-weight: 700;
    color: rgba(248, 243, 235, .04);
    line-height: 1;
    user-select: none
}

.about-badge {
    position: absolute;
    top: 3.5rem;
    right: 3.5rem;
    width: 100px;
    height: 100px
}

.about-badge svg {
    animation: spin 25s linear infinite
}

.about-badge-dot {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.about-badge-dot::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sand)
}

.about-content {
    padding: 7rem 5.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--grain)
}

.eyebrow {
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--bark-lt);
    margin-bottom: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem
}

.eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--sand)
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--char);
    margin-bottom: 2rem
}

.section-title strong {
    font-weight: 600
}

.section-title em {
    font-style: italic;
    color: var(--bark-md)
}

.section-body {
    font-size: .9rem;
    line-height: 1.95;
    font-weight: 300;
    color: rgba(26, 18, 10, .6);
    max-width: 50ch;
    margin-bottom: 2.8rem
}

.pillars {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.pillar {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(74, 46, 18, .1);
    transition: border-color .3s, background .3s
}

.pillar:hover {
    border-color: var(--sand);
    background: rgba(200, 164, 106, .05)
}

.pillar-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--sand);
    min-width: 2.2rem;
    line-height: 1
}

.pillar-title {
    font-size: .82rem;
    font-weight: 500;
    color: var(--char)
}

.pillar-sub {
    font-size: .72rem;
    color: var(--gray);
    margin-top: .15rem
}

/* PROCESS */
.process {
    background: var(--cream);
    padding: 7rem 4rem
}

.process-header {
    text-align: center;
    margin-bottom: 5rem
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 2.4rem;
    left: 12%;
    right: 12%;
    height: 1px;
    background: rgba(200, 164, 106, .25);
    z-index: 0
}

.process-step {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--sand);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bark);
    transition: background .3s, color .3s
}

.process-step:hover .step-circle {
    background: var(--bark);
    color: var(--cream)
}

.step-name {
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--char);
    margin-bottom: .6rem
}

.step-desc {
    font-size: .8rem;
    line-height: 1.7;
    color: var(--gray);
    font-weight: 300
}

/* SERVICES */
.services {
    background: var(--bark);
    padding: 7rem 4rem
}

.services-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem
}

.services-head .eyebrow {
    color: rgba(200, 164, 106, .6)
}

.services-head .section-title {
    color: var(--cream)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(248, 243, 235, .08)
}

.service-card {
    background: var(--bark);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: background .35s
}

.service-card:hover {
    background: rgba(248, 243, 235, .05)
}

.svc-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--sand);
    transition: width .4s
}

.service-card:hover .svc-accent {
    width: 100%
}

.svc-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: rgba(200, 164, 106, .12);
    line-height: 1;
    margin-bottom: 1.8rem;
    transition: color .3s
}

.service-card:hover .svc-num {
    color: rgba(200, 164, 106, .25)
}

.svc-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 1rem
}

.svc-desc {
    font-size: .83rem;
    line-height: 1.85;
    color: rgba(248, 243, 235, .45);
    font-weight: 300
}

.svc-items {
    margin-top: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.svc-item {
    font-size: .75rem;
    color: rgba(200, 164, 106, .65);
    letter-spacing: .05em;
    display: flex;
    align-items: center;
    gap: .6rem
}

.svc-item::before {
    content: '—';
    color: var(--sand);
    opacity: .4
}

/* PRODUCTS */
.products {
    background: var(--grain);
    padding: 7rem 4rem
}

.products-head {
    margin-bottom: 4rem
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5px;
    background: rgba(74, 46, 18, .1)
}

.product-card {
    background: var(--grain);
    padding: 2.5rem 2rem;
    transition: background .3s;
    position: relative;
    overflow: hidden
}

.product-card:hover {
    background: var(--warm)
}

.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sand);
    transition: width .35s
}

.product-card:hover::after {
    width: 100%
}

.prd-svg {
    width: 44px;
    height: 44px;
    margin-bottom: 1.5rem;
    opacity: .45
}

.prd-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--char);
    margin-bottom: .4rem
}

.prd-mat {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--bark-lt)
}

.prd-tag {
    display: inline-block;
    margin-top: .8rem;
    font-size: .62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sand);
    border-bottom: 1px solid var(--sand-lt);
    padding-bottom: 1px
}

/* MATERIALS */
.materials {
    display: grid;
    grid-template-columns: 1fr 1fr
}

.mat-visual {
    background: var(--char);
    min-height: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    position: relative
}

.mat-block {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem
}

.mat-lbl {
    font-size: .62rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(248, 243, 235, .4)
}

.mat-1 {
    background: #3D2410
}

.mat-2 {
    background: #2A3B1E
}

.mat-3 {
    background: #5C4020
}

.mat-4 {
    background: #1A2710
}

.mat-content {
    padding: 7rem 5rem;
    background: var(--warm);
    display: flex;
    flex-direction: column;
    justify-content: center
}

.mat-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column
}

.mat-row {
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(74, 46, 18, .1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding-left .3s
}

.mat-row:hover {
    padding-left: .5rem
}

.mat-row-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--char)
}

.mat-row-tag {
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bark-lt);
    background: rgba(74, 46, 18, .08);
    padding: .25rem .8rem
}

/* SUSTAINABILITY */
.sustain {
    background: var(--moss);
    padding: 7rem 4rem
}

.sustain-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    align-items: start
}

.sustain .section-title {
    color: var(--cream)
}

.sustain .eyebrow {
    color: rgba(200, 164, 106, .55)
}

.sustain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 1rem
}

.sustain-card {
    padding: 2rem 1.8rem;
    border: 1px solid rgba(248, 243, 235, .08);
    transition: border-color .3s, background .3s
}

.sustain-card:hover {
    border-color: rgba(200, 164, 106, .3);
    background: rgba(248, 243, 235, .03)
}

.sust-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1.2rem;
    opacity: .55
}

.sust-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: .6rem
}

.sust-text {
    font-size: .8rem;
    line-height: 1.75;
    color: rgba(248, 243, 235, .42);
    font-weight: 300
}

.ods-block {
    grid-column: 1/-1;
    margin-top: .5rem;
    background: rgba(200, 164, 106, .08);
    border: 1px solid rgba(200, 164, 106, .2);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem
}

.ods-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: var(--sand);
    line-height: 1;
    flex-shrink: 0
}

.ods-lbl {
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--sand);
    opacity: .65;
    margin-bottom: .3rem
}

.ods-text {
    font-size: .82rem;
    color: rgba(248, 243, 235, .45);
    font-weight: 300;
    line-height: 1.7
}

/* GALLERY */
.gallery {
    background: var(--cream);
    padding: 7rem 4rem
}

.gallery-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem
}

.gallery-link {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bark-lt);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .6rem;
    border-bottom: 1px solid var(--sand-lt);
    padding-bottom: 2px;
    transition: color .2s
}

.gallery-link:hover {
    color: var(--bark)
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px 200px;
    gap: 4px
}

.gallery-cell {
    background: var(--warm);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter .4s
}

.gallery-cell:hover {
    filter: brightness(.85)
}

.gallery-cell:first-child {
    grid-row: 1/3
}

.g-lbl {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bark-lt)
}

.g-ph {
    width: 55px;
    height: 55px;
    opacity: .15
}

.gallery-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease
}

.gallery-cell:hover img {
    transform: scale(1.06)
}

/* FOOTER */
footer {
    background: var(--char);
    padding: 3rem 4rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem
}

.f-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(248, 243, 235, .5);
    letter-spacing: .06em
}

.f-center {
    text-align: center;
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(248, 243, 235, .18);
    line-height: 1.9
}

.f-right {
    text-align: right;
    font-size: .7rem;
    color: rgba(248, 243, 235, .22);
    line-height: 1.6
}

/* Botones de contacto */
/* CONTACT */
.contact {
    background: var(--bark);
    padding: 7rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.contact .eyebrow {
    color: rgba(200, 164, 106, .6);
}

.contact .section-title {
    color: var(--cream);
}

.contact .section-body {
    color: rgba(248, 243, 235, .45);
    font-size: .92rem;
    margin-bottom: 3rem;
}

.c-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.c-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.c-icon {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(200, 164, 106, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c-lbl {
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sand);
    opacity: .65;
    margin-bottom: .15rem;
}

.c-val {
    font-size: .83rem;
    color: rgba(248, 243, 235, .5);
    line-height: 1.6;
    font-weight: 300;
}

.c-val a {
    color: inherit;
    text-decoration: none;
}

.c-val a:hover {
    color: var(--sand);
}

.c-social {
    display: flex;
    gap: .8rem;
}

.s-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(200, 164, 106, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(248, 243, 235, .35);
    text-decoration: none;
    font-size: .7rem;
    letter-spacing: .08em;
    transition: border-color .2s, color .2s;
}

.s-btn:hover {
    border-color: var(--sand);
    color: var(--sand);
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #25D366;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: background .2s;
}

.btn-whatsapp:hover {
    background: #1ebe5a;
    color: #fff;
}

.btn-whatsapp svg {
    width: 20px;
    flex-shrink: 0;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    color: rgba(248, 243, 235, .5);
    border: 1px solid rgba(200, 164, 106, .2);
    font-family: 'Jost', sans-serif;
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.btn-instagram:hover {
    border-color: var(--sand);
    color: var(--sand);
}

.btn-instagram svg {
    width: 18px;
    flex-shrink: 0;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 400;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .35);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, .5);
    color: #fff;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.wf-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    background: var(--char);
    color: var(--cream);
    font-size: .7rem;
    letter-spacing: .08em;
    white-space: nowrap;
    padding: .4rem .9rem;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .2s, transform .2s;
    pointer-events: none;
}

.whatsapp-float:hover .wf-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ESTILOS DE ICONOS DE IDIOMAS */
/* ── Language switcher ───────────────────────────────────────── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 1rem;
    pointer-events: auto; /* nav tiene pointer-events:none, restauramos aquí */
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Jost', sans-serif;
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--char);
    opacity: .4;
    background: none;
    border: 1px solid transparent;
    padding: .3rem .7rem;
    cursor: pointer;
    transition: opacity .2s, border-color .2s, color .2s;
    line-height: 1;
}

.lang-btn img,
.lang-btn .flag-val {
    width: 30px;
    height: 20px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    flex-shrink: 0;
}

.lang-btn img {
    opacity: .85;
}

.lang-btn:hover {
    opacity: .8;
}

.lang-btn.active {
    opacity: 1;
    border-color: rgba(74, 46, 18, .2);
    color: var(--bark);
}

/* En nav scrolled, ajuste de color */
#nav.scrolled .lang-btn.active {
    border-color: rgba(74, 46, 18, .25);
}

/* En nav sin scrolled (fondo oscuro) */
#nav:not(.scrolled) .lang-btn {
    color: rgba(248, 243, 235, .5);
}

#nav:not(.scrolled) .lang-btn.active {
    color: var(--cream);
    border-color: rgba(200, 164, 106, .3);
}

/* ── HAMBURGER BUTTON ───────────────────────────────────────── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
    position: relative;
    z-index: 1002;
    pointer-events: auto; /* nav tiene pointer-events:none, restauramos aquí */
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--cream);
    transition: transform .3s, opacity .3s, background .4s;
    transform-origin: center;
}

#nav.scrolled .nav-hamburger span {
    background: var(--bark);
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── TABLET (≤ 1024px) ──────────────────────────────────────── */
@media (max-width: 1024px) {

    /* Nav */
    #nav {
        padding: 1.4rem 2.5rem;
    }

    #nav.scrolled {
        padding: .9rem 2.5rem;
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-left {
        padding: 8rem 3rem 5rem;
    }

    .hero-right {
        min-height: 380px;
    }

    .hero-stats {
        position: static;
        flex-direction: row;
        gap: 3rem;
        margin-top: 3rem;
        opacity: 1;
        animation: none;
    }

    .hero-stat-num,
    .hero-stat-label {
        text-align: left;
    }

    /* About */
    .about {
        grid-template-columns: 1fr;
    }

    .about-visual {
        min-height: 320px;
    }

    .about-content {
        padding: 5rem 3rem;
    }

    /* Process */
    .process {
        padding: 5rem 2.5rem;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .process-steps::before {
        display: none;
    }

    /* Services */
    .services {
        padding: 5rem 2.5rem;
    }

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

    /* Products */
    .products {
        padding: 5rem 2.5rem;
    }

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

    /* Materials */
    .materials {
        grid-template-columns: 1fr;
    }

    .mat-content {
        padding: 5rem 3rem;
    }

    /* Sustain */
    .sustain {
        padding: 5rem 2.5rem;
    }

    .sustain-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Gallery */
    .gallery {
        padding: 5rem 2.5rem;
    }

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

    .gallery-cell:first-child {
        grid-row: auto;
    }

    /* Contact */
    .contact {
        padding: 5rem 2.5rem;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Footer */
    footer {
        padding: 2.5rem;
        grid-template-columns: 1fr 1fr;
    }

    .f-right {
        display: none;
    }
}

/* ── MÓVIL (≤ 768px) ────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Ocultar cursor custom en táctil */
    .cursor,
    .cursor-ring {
        display: none;
    }

    body {
        cursor: auto;
    }

    /* Nav: menú hamburguesa */
    #nav {
        padding: 1.2rem 1.5rem;
        flex-wrap: wrap;
    }

    #nav.scrolled {
        padding: 1rem 1.5rem;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        /* Resetear posicionamiento de desktop */
        transform: none;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        height: auto;
        /* Estilos overlay móvil */
        display: none;
        flex-direction: column;
        gap: .2rem;
        position: fixed;
        background: var(--bark) !important;
        justify-content: center;
        align-items: center;
        z-index: 999;
        list-style: none;
        padding: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        font-size: 1.4rem;
        letter-spacing: .12em;
        padding: .9rem 2rem;
        color: var(--cream) !important;
        opacity: .65;
        font-family: 'Cormorant Garamond', serif;
        font-weight: 300;
    }

    .nav-links a:hover {
        opacity: 1;
    }

    .nav-links li:has(.nav-cta) {
        margin-top: 1.5rem;
    }

    .nav-links .nav-cta {
        display: inline-block;
        background: var(--sand);
        color: var(--char) !important;
        padding: .9rem 3rem;
        opacity: 1 !important;
        font-family: 'Jost', sans-serif;
        font-size: .78rem;
        letter-spacing: .16em;
        font-weight: 500;
    }

    .lang-switcher {
        display: none;
    }

    /* Hero */
    .hero-left {
        padding: 7rem 1.5rem 4rem;
    }

    .hero-title {
        font-size: clamp(2.8rem, 9vw, 4rem);
    }

    .hero-num {
        font-size: 7rem;
        top: 5rem;
        right: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .hero-right {
        min-height: 280px;
    }

    .scroll-ind {
        display: none;
    }

    /* Reposicionar texto decorativo del hero-right para que no solape el SVG */
    .hero-right-tag {
        writing-mode: horizontal-tb;
        top: 1.2rem;
        bottom: auto;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        font-size: .55rem;
    }

    /* Marquee */
    .marquee-item {
        font-size: .62rem;
    }

    /* About */
    .about-content {
        padding: 4rem 1.5rem;
    }

    .about-visual {
        min-height: 250px;
    }

    /* Reducir el año decorativo para que quepa en el contenedor de 250px */
    .about-year {
        font-size: 7rem;
        bottom: -8px;
        left: -5px;
    }

    /* Process */
    .process {
        padding: 4rem 1.5rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Services */
    .services {
        padding: 4rem 1.5rem;
    }

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

    /* Products */
    .products {
        padding: 4rem 1.5rem;
    }

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

    /* Materials */
    .mat-visual {
        min-height: 300px;
    }

    .mat-content {
        padding: 4rem 1.5rem;
    }

    /* Sustain */
    .sustain {
        padding: 4rem 1.5rem;
    }

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

    /* ODS block: en móvil el flex en fila no cabe, pasa a columna */
    .ods-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.2rem 1.5rem;
    }

    .ods-num {
        font-size: 2.5rem;
    }

    /* Gallery */
    .gallery {
        padding: 4rem 1.5rem;
    }

    .gallery-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

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

    .gallery-cell {
        min-height: 200px;
    }

    /* Contact */
    .contact {
        padding: 4rem 1.5rem;
    }

    .contact-btns {
        flex-direction: column;
    }

    .btn-whatsapp,
    .btn-instagram {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    footer {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
        padding: 2rem 1.5rem;
    }

    .f-right {
        display: none;
    }

    /* Section paddings generales */
    .section-title {
        font-size: clamp(1.9rem, 6vw, 2.5rem);
    }
}

/* ── MÓVIL PEQUEÑO (≤ 480px) ────────────────────────────────── */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(2.4rem, 10vw, 3rem);
    }

    .mat-visual {
        grid-template-columns: 1fr;
    }
}

/* ── MÓVIL MUY PEQUEÑO (≤ 360px) ───────────────────────────── */
@media (max-width: 360px) {

    /* Nav compacto */
    #nav {
        padding: 1rem 1rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    /* Hero: reducir padding y ocultar elementos decorativos grandes */
    .hero-left {
        padding: 6rem 1rem 3rem;
    }

    .hero-num {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }

    .hero-desc {
        font-size: .82rem;
    }

    /* Products: asegurar que prd-tag no desborde */
    .product-card {
        padding: 1.8rem 1.2rem;
    }

    .prd-tag {
        display: block;
        max-width: 100%;
    }

    /* Materials: labels compactas */
    .mat-lbl {
        font-size: .55rem;
        letter-spacing: .1em;
    }

    .mat-content {
        padding: 3rem 1rem;
    }

    /* Sustain */
    .sustain {
        padding: 3rem 1rem;
    }

    /* Contact */
    .contact {
        padding: 3rem 1rem;
    }

    /* Process / Services / Products / Gallery */
    .process,
    .services,
    .products,
    .gallery {
        padding: 3rem 1rem;
    }

    /* Footer */
    footer {
        padding: 1.5rem 1rem;
    }

    /* Section title más pequeño */
    .section-title {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
    }
}