/* ============================================================
   GRIMALDO HOLDINGS — grimaldo.css
   Sistema de diseño "Light Luxury / Maison".
   Paleta: Porcelana · Champagne · Oro profundo · Noir de anclaje.
   Tipografía: Cormorant Garamond (display) · Manrope (texto) · Inter (datos).
   Sigilo corporativo: ∴
   Compartido por la casa matriz y todas las unidades de negocio.
   ============================================================ */

/* ==== 1. RESET & TOKENS ===================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }

:root {
    /* Superficies claras */
    --porcelain: #F8F6F0;   /* fondo de página */
    --pearl:     #FFFFFF;   /* superficie de tarjeta */
    --mist:      #F0ECE2;   /* superficie alterna / champagne */
    --sand:      #E6DFD0;   /* base de líneas y bordes */
    --linen:     #EDE8DD;   /* bandas suaves */

    /* Tinta cálida (texto) */
    --ink:       #1A1813;   /* espresso — texto principal */
    --ink-soft:  #5B544A;   /* gris cálido — párrafos secundarios */
    --ink-mute:  #918A7B;   /* apagado — etiquetas y notas */

    /* Oro champagne — acentos */
    --gold:      #A4803A;   /* oro profundo legible sobre claro */
    --gold-soft: #C2A05A;   /* oro suave para hovers y filetes */
    --gold-deep: #7C612A;   /* oro oscuro para detalle */
    --gold-glow: rgba(164, 128, 58, 0.16);

    /* Noir — ancla de contraste (footer, bandas) */
    --noir:      #15140F;
    --noir-2:    #1E1C16;
    --noir-line: rgba(255, 255, 255, 0.10);

    /* Líneas sobre claro */
    --line:        rgba(26, 24, 19, 0.10);
    --line-strong: rgba(26, 24, 19, 0.18);

    /* Tipografía */
    --ff-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    --ff-sans: 'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --ff-mono: 'Inter', system-ui, sans-serif;

    /* Layout */
    --container: 1320px;
    --container-narrow: 1040px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section-pad: clamp(4.5rem, 9vw, 8.5rem);

    /* Sombra premium (suave, difusa) */
    --shadow-sm: 0 1px 2px rgba(26,24,19,0.04), 0 8px 24px rgba(26,24,19,0.05);
    --shadow-md: 0 4px 12px rgba(26,24,19,0.06), 0 24px 60px rgba(26,24,19,0.09);
    --shadow-gold: 0 18px 50px rgba(164,128,58,0.16);

    /* Animación */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur: 0.7s;
}

html, body {
    background: var(--porcelain);
    color: var(--ink);
    font-family: var(--ff-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    background-image:
        radial-gradient(ellipse 70% 45% at 50% -10%, rgba(164, 128, 58, 0.07), transparent 60%),
        radial-gradient(ellipse 55% 40% at 100% 6%, rgba(164, 128, 58, 0.04), transparent 55%);
    min-height: 100vh;
}

::selection { background: var(--gold); color: var(--pearl); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--sand), var(--gold-soft));
    border: 3px solid var(--mist);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ==== 2. UTILIDADES ========================================= */
.text-accent {
    color: var(--gold);
    font-style: italic;
    font-family: var(--ff-display);
    font-weight: 500;
}
.sigil { font-family: var(--ff-display); color: var(--gold); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 0.7rem;
    font-family: var(--ff-mono);
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }

/* Reveal */
.reveal, .reveal-up { opacity: 0; transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal { transform: translateY(8px); }
.reveal-up { transform: translateY(28px); }
.reveal.is-visible, .reveal-up.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-up { opacity: 1 !important; transform: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* ==== 3. PRELOADER =========================================== */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--porcelain);
    display: grid; place-items: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s var(--ease-out);
    animation: preloaderAutoHide 0.6s ease-out 2.5s forwards;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes preloaderAutoHide { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.preloader__inner { text-align: center; }
.preloader__mark {
    font-family: var(--ff-display); font-size: 4.5rem; font-weight: 500;
    color: var(--gold); letter-spacing: 0.02em; margin-bottom: 1.4rem;
    animation: pulseMark 1.6s ease-in-out infinite;
}
.preloader__bar { width: 170px; height: 1px; background: var(--sand); margin: 0 auto; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 30%; background: var(--gold); animation: barLoad 1.2s ease-in-out infinite; }
@keyframes pulseMark { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.97); } }
@keyframes barLoad { 0% { transform: translateX(-100%); } 100% { transform: translateX(370%); } }

/* ==== 4. CURSOR (desktop) =================================== */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; mix-blend-mode: multiply; }
.cursor { width: 36px; height: 36px; border: 1px solid var(--gold); border-radius: 50%; transition: width .3s var(--ease-out), height .3s var(--ease-out), background .3s; }
.cursor.is-hover { width: 54px; height: 54px; background: var(--gold-glow); }
.cursor-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ==== 5. NAVEGACIÓN ========================================= */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: background .4s var(--ease-out), border-color .4s, backdrop-filter .4s, box-shadow .4s;
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
    background: rgba(248, 246, 240, 0.82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: var(--line);
    box-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.nav__container { max-width: var(--container); margin-inline: auto; padding: 1.15rem var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.nav__brand-mark {
    width: 34px; height: 34px; display: grid; place-items: center;
    border: 1px solid var(--gold); color: var(--gold);
    font-family: var(--ff-display); font-size: 1.25rem; font-weight: 600; border-radius: 2px;
}
.nav__brand-name { font-family: var(--ff-sans); font-weight: 700; letter-spacing: 0.14em; font-size: 0.92rem; color: var(--ink); }
.nav__brand-accent { color: var(--gold); margin-left: 0.18em; }
.nav__menu { display: flex; align-items: center; gap: 2.2rem; }
.nav__list { display: flex; align-items: center; gap: 1.7rem; }
.nav__link { font-family: var(--ff-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-soft); position: relative; padding: 0.3rem 0; transition: color .3s; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width .35s var(--ease-out); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }
.nav__cta {
    font-family: var(--ff-mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.05em;
    padding: 0.6rem 1.2rem; border: 1px solid var(--gold); color: var(--gold-deep); border-radius: 2px;
    transition: background .35s var(--ease-out), color .35s, box-shadow .35s;
}
.nav__cta:hover { background: var(--gold); color: var(--pearl); box-shadow: var(--shadow-gold); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 30px; height: 22px; justify-content: center; }
.nav__toggle span { display: block; height: 1.5px; width: 100%; background: var(--ink); transition: transform .35s var(--ease-out), opacity .3s; }
.nav__toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; }
.nav__toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1024px) {
    .nav__toggle { display: flex; }
    .nav__menu {
        position: fixed; inset: 0 0 0 auto; width: min(86vw, 400px);
        background: var(--pearl); flex-direction: column; align-items: flex-start; justify-content: center;
        gap: 1.4rem; padding: 2.5rem var(--gutter); transform: translateX(100%);
        transition: transform .5s var(--ease-out); box-shadow: -20px 0 60px rgba(26,24,19,0.12);
        border-left: 1px solid var(--line);
    }
    .nav__menu.is-open { transform: translateX(0); }
    .nav__list { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
    .nav__link { font-size: 1rem; }
    .nav__cta { margin-top: 0.6rem; }
}

/* ==== 6. BOTONES ============================================ */
.btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--ff-mono); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
    padding: 0.95rem 1.8rem; border-radius: 2px; cursor: pointer;
    transition: transform .3s var(--ease-out), background .35s, color .35s, box-shadow .35s, border-color .35s;
    white-space: nowrap; border: 1px solid transparent;
}
.btn svg { transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: var(--porcelain); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--gold); color: var(--pearl); box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.btn--ghost-line { border-color: var(--line-strong); color: var(--ink-soft); }
.btn--ghost-line:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn--whatsapp { background: #1f8f5f; color: #fff; }
.btn--whatsapp:hover { background: #1aa467; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(31,143,95,0.28); }
.btn--gold { background: var(--gold); color: var(--pearl); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ==== 7. SECCIÓN — encabezados ============================== */
.section { padding-block: var(--section-pad); position: relative; }
.section__container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section__header { max-width: 880px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__index { display: block; font-family: var(--ff-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.3rem; }
.section__title { font-family: var(--ff-display); font-weight: 500; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
.section__lead { margin-top: 1.4rem; font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--ink-soft); max-width: 680px; }

/* ==== 8. HERO =============================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: 6rem; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 75% 65% at 50% 38%, #000 30%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 38%, #000 30%, transparent 78%); opacity: 0.7; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.hero__glow--1 { width: 46vw; height: 46vw; top: -12%; left: -8%; background: radial-gradient(circle, rgba(164,128,58,0.22), transparent 65%); }
.hero__glow--2 { width: 38vw; height: 38vw; bottom: -16%; right: -6%; background: radial-gradient(circle, rgba(194,160,90,0.16), transparent 65%); }
.hero__container { position: relative; z-index: 2; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); width: 100%; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.8rem; font-family: var(--ff-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.8rem; }
.hero__eyebrow-line { width: 40px; height: 1px; background: var(--gold); }
.hero__title { font-family: var(--ff-display); font-weight: 500; line-height: 0.92; letter-spacing: -0.02em; font-size: clamp(3.4rem, 12vw, 9rem); color: var(--ink); }
.hero__title-line { display: block; }
.hero__title-line--accent { color: var(--gold); font-style: italic; }
.hero__subtitle { margin-top: 1.4rem; font-family: var(--ff-mono); font-size: clamp(0.82rem, 1.5vw, 1rem); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.hero__divider { width: 64px; height: 1px; background: var(--gold); margin: 2rem 0; }
.hero__copy { font-family: var(--ff-display); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 400; line-height: 1.3; color: var(--ink); max-width: 780px; }
.hero__subcopy { margin-top: 1.2rem; font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--ink-soft); max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: clamp(1.6rem, 4vw, 3.5rem); margin-top: clamp(2.6rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.hero__meta-item { display: flex; flex-direction: column; gap: 0.35rem; }
.hero__meta-label { font-family: var(--ff-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }
.hero__meta-value { font-family: var(--ff-display); font-size: 1.18rem; color: var(--ink); }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.7rem; font-family: var(--ff-mono); font-size: 0.6rem; letter-spacing: 0.3em; color: var(--ink-mute); z-index: 2; }
.hero__scroll-line { width: 1px; height: 50px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--gold); animation: scrollDot 2s var(--ease-in-out) infinite; }
@keyframes scrollDot { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* ==== 9. FIRMA / NOSOTROS =================================== */
.section--firma { background: linear-gradient(180deg, var(--porcelain), var(--mist) 100%); border-top: 1px solid var(--line); }
.firma__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; margin-bottom: clamp(3rem, 6vw, 5rem); }
.firma__lead p { font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: var(--ink-soft); margin-bottom: 1.4rem; }
.firma__lead strong { color: var(--ink); font-weight: 700; }
.firma__stats { display: flex; flex-direction: column; gap: 1.4rem; }
.firma__stat { padding: 1.7rem 1.8rem; background: var(--pearl); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow-sm); }
.firma__stat-num { display: block; font-family: var(--ff-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--gold); line-height: 1; }
.firma__stat-sup { font-size: 0.5em; vertical-align: super; color: var(--gold-soft); }
.firma__stat-label { display: block; margin-top: 0.7rem; font-size: 0.86rem; color: var(--ink-soft); }
.firma__pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.firma__pillar { padding: 2rem 1.6rem; border-top: 2px solid var(--gold); background: var(--pearl); border-radius: 0 0 4px 4px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s; }
.firma__pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.firma__pillar-num { font-family: var(--ff-display); font-size: 1.1rem; color: var(--gold); letter-spacing: 0.1em; }
.firma__pillar h3 { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 600; margin: 0.6rem 0; color: var(--ink); }
.firma__pillar p { font-size: 0.9rem; color: var(--ink-soft); }

/* ==== 10. FUNDADOR ========================================== */
.section--fundador { background: var(--porcelain); }
.fundador__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.fundador__visual { position: relative; }
.fundador__photo-wrap { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--mist); }
.fundador__photo-wrap img { width: 100%; filter: grayscale(0.15) contrast(1.02); }
.fundador__badge { position: absolute; bottom: 1.2rem; left: 1.2rem; padding: 0.6rem 1rem; background: rgba(248,246,240,0.92); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 3px; font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.fundador__name { font-family: var(--ff-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.fundador__role { font-family: var(--ff-mono); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.6rem; }
.fundador__quote { font-family: var(--ff-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-style: italic; line-height: 1.4; color: var(--ink); padding-left: 1.5rem; border-left: 2px solid var(--gold); margin-bottom: 1.8rem; }
.fundador__bio p { color: var(--ink-soft); margin-bottom: 1.1rem; }

/* ==== 11. LIBRO ============================================= */
.section--libro { background: var(--noir); color: var(--porcelain); overflow: hidden; position: relative; }
.section--libro .section__index { color: var(--gold-soft); }
.section--libro .section__title { color: #fff; }
.libro__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.libro__eyebrow { color: var(--gold-soft); }
.libro__lead { font-size: clamp(1.1rem, 1.9vw, 1.35rem); color: rgba(255,255,255,0.72); margin-bottom: 1.6rem; }
.libro__points { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.libro__points li { font-family: var(--ff-mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.5rem 1rem; border: 1px solid var(--noir-line); border-radius: 2px; color: var(--gold-soft); }
.libro__visual { display: flex; justify-content: center; }
.libro__cover-wrap { position: relative; max-width: 320px; }
.libro__cover-glow { position: absolute; inset: -20% -10%; background: radial-gradient(circle, rgba(164,128,58,0.4), transparent 70%); filter: blur(40px); z-index: 0; }
.libro__cover-img { position: relative; z-index: 1; border-radius: 4px; box-shadow: 0 30px 70px rgba(0,0,0,0.5); transform: perspective(1000px) rotateY(-10deg); transition: transform .6s var(--ease-out); }
.libro__cover-img:hover { transform: perspective(1000px) rotateY(0deg) translateY(-6px); }

/* ==== 12. ECOSISTEMA — unidades (FIRMA / SIGNATURE) ========= */
.section--ecosistema { background: linear-gradient(180deg, var(--mist), var(--porcelain) 60%); border-top: 1px solid var(--line); }
.eco__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.eco-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--pearl); border: 1px solid var(--line); border-radius: 6px;
    padding: 2rem 1.9rem 1.8rem; box-shadow: var(--shadow-sm);
    transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s;
    overflow: hidden;
}
.eco-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.eco-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--sand); }
.eco-card:hover::before { transform: scaleX(1); }
.eco-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.eco-card__mono {
    width: 52px; height: 52px; display: grid; place-items: center; flex: none;
    border: 1px solid var(--gold); border-radius: 4px; color: var(--gold-deep);
    font-family: var(--ff-display); font-size: 1.15rem; font-weight: 600; letter-spacing: 0.04em;
    background: linear-gradient(135deg, var(--pearl), var(--mist));
}
.eco-card__status { font-family: var(--ff-mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.32rem 0.7rem; border-radius: 100px; border: 1px solid; }
.eco-card__status--on { color: #1f8f5f; border-color: rgba(31,143,95,0.35); background: rgba(31,143,95,0.07); }
.eco-card__status--soon { color: var(--gold-deep); border-color: rgba(164,128,58,0.4); background: var(--gold-glow); }
.eco-card__cat { font-family: var(--ff-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.45rem; }
.eco-card__name { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; color: var(--ink); margin-bottom: 0.7rem; }
.eco-card__desc { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.3rem; flex: 1; }
.eco-card__points { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.eco-card__points li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.84rem; color: var(--ink-soft); }
.eco-card__points li::before { content: "∴"; color: var(--gold); font-family: var(--ff-display); line-height: 1.4; flex: none; }
.eco-card__link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--ff-mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); margin-top: auto; transition: gap .3s var(--ease-out), color .3s; }
.eco-card__link svg { transition: transform .3s var(--ease-out); }
.eco-card:hover .eco-card__link { color: var(--gold-deep); gap: 0.85rem; }
.eco-card--soon { background: linear-gradient(160deg, var(--linen), var(--pearl)); }

/* ==== 13. PÁGINA DE UNIDAD ================================= */
.uhero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; padding: 9rem 0 clamp(3rem,6vw,5rem); overflow: hidden; }
.uhero__bg { position: absolute; inset: 0; z-index: 0; }
.uhero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 20%, transparent 80%); opacity: 0.6; }
.uhero__glow { position: absolute; width: 50vw; height: 50vw; top: -16%; right: -10%; border-radius: 50%; filter: blur(90px); background: radial-gradient(circle, var(--gold-glow), transparent 65%); }
.uhero__container { position: relative; z-index: 2; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); width: 100%; }
.uhero__back { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 2rem; transition: gap .3s, color .3s; }
.uhero__back:hover { color: var(--gold-deep); gap: 0.8rem; }
.uhero__mono { width: 76px; height: 76px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 6px; color: var(--gold-deep); font-family: var(--ff-display); font-size: 1.7rem; font-weight: 600; background: linear-gradient(135deg, var(--pearl), var(--mist)); box-shadow: var(--shadow-sm); margin-bottom: 1.6rem; }
.uhero__cat { font-family: var(--ff-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem; }
.uhero__title { font-family: var(--ff-display); font-weight: 500; font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 0.98; letter-spacing: -0.015em; color: var(--ink); }
.uhero__title em { color: var(--gold); font-style: italic; }
.uhero__tagline { margin-top: 1.4rem; font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink-soft); max-width: 640px; font-family: var(--ff-display); font-style: italic; }
.uhero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.uhero__meta { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 4vw, 3rem); margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.uhero__meta-item { display: flex; flex-direction: column; gap: 0.3rem; }
.uhero__meta-label { font-family: var(--ff-mono); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.uhero__meta-value { font-family: var(--ff-display); font-size: 1.1rem; color: var(--ink); }

/* Posicionamiento (intro de unidad) */
.upos { background: linear-gradient(180deg, var(--porcelain), var(--mist)); border-top: 1px solid var(--line); }
.upos__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2.5rem,6vw,5rem); align-items: start; }
.upos__lead p { font-size: clamp(1.1rem, 1.9vw, 1.32rem); color: var(--ink-soft); margin-bottom: 1.3rem; }
.upos__lead strong { color: var(--ink); }
.upos__facts { display: flex; flex-direction: column; gap: 1rem; }
.upos__fact { padding: 1.3rem 1.5rem; background: var(--pearl); border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: 0 4px 4px 0; box-shadow: var(--shadow-sm); }
.upos__fact-k { font-family: var(--ff-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.upos__fact-v { font-family: var(--ff-display); font-size: 1.15rem; color: var(--ink); margin-top: 0.25rem; }

/* Portafolio de servicios (cards) */
.uport { background: var(--porcelain); }
.uport__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.uport-card { position: relative; padding: 2rem 1.8rem; background: var(--pearl); border: 1px solid var(--line); border-radius: 5px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s; }
.uport-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.uport-card__num { font-family: var(--ff-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; color: var(--gold-deep); }
.uport-card__icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold); margin: 0.9rem 0 1.1rem; }
.uport-card__icon svg { width: 100%; height: 100%; }
.uport-card h3 { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 600; color: var(--ink); margin-bottom: 0.6rem; }
.uport-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* Casos / proyectos */
.ucasos { background: linear-gradient(180deg, var(--mist), var(--porcelain)); border-top: 1px solid var(--line); }
.ucasos__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.ucaso { padding: 2rem 2rem 1.8rem; background: var(--pearl); border: 1px solid var(--line); border-radius: 5px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s; }
.ucaso:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sand); }
.ucaso__cat { font-family: var(--ff-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.ucaso__name { font-family: var(--ff-display); font-size: 1.55rem; font-weight: 600; color: var(--ink); margin: 0.5rem 0 0.7rem; }
.ucaso__desc { font-size: 0.92rem; color: var(--ink-soft); }
.ucaso__line { height: 1px; background: var(--line); margin-top: 1.3rem; position: relative; overflow: hidden; }
.ucaso__line::after { content:""; position:absolute; left:0; top:0; height:100%; width:40%; background: var(--gold); transform: translateX(-110%); transition: transform .6s var(--ease-out); }
.ucaso:hover .ucaso__line::after { transform: translateX(160%); }

/* Bloque "próximamente" (chocolatería) */
.usoon { background: var(--noir); color: var(--porcelain); text-align: center; }
.usoon .section__title { color: #fff; }
.usoon__inner { max-width: 720px; margin-inline: auto; }
.usoon__badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); border: 1px solid var(--noir-line); padding: 0.5rem 1.1rem; border-radius: 100px; margin-bottom: 1.8rem; }
.usoon__copy { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: rgba(255,255,255,0.72); margin-bottom: 2rem; }

/* ==== 14. FORMULARIO ======================================= */
.section--contacto { background: linear-gradient(180deg, var(--porcelain), var(--mist)); border-top: 1px solid var(--line); }
.contacto__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem,6vw,5rem); align-items: start; }
.contacto__copy { font-size: clamp(1rem,1.6vw,1.15rem); color: var(--ink-soft); margin: 1.4rem 0 2rem; }
.contacto__info { display: flex; flex-direction: column; gap: 1.3rem; margin-bottom: 2rem; }
.contacto__info li { display: flex; flex-direction: column; gap: 0.25rem; }
.contacto__info-label { font-family: var(--ff-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.contacto__info a, .contacto__info span { color: var(--ink); font-size: 1.02rem; }
.contacto__info a:hover { color: var(--gold-deep); }
.contacto__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.form { background: var(--pearl); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form__field { margin-bottom: 1.2rem; }
.form__field label { display: block; font-family: var(--ff-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.5rem; }
.form__field input, .form__field select, .form__field textarea {
    width: 100%; padding: 0.85rem 1rem; background: var(--porcelain);
    border: 1px solid var(--line-strong); border-radius: 3px; color: var(--ink);
    font-size: 0.95rem; transition: border-color .3s, box-shadow .3s, background .3s;
}
.form__field input::placeholder, .form__field textarea::placeholder { color: var(--ink-mute); }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
    outline: none; border-color: var(--gold); background: var(--pearl);
    box-shadow: 0 0 0 3px var(--gold-glow);
}
.form__field textarea { resize: vertical; min-height: 120px; }
.form__field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A4803A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.form__honey { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__submit { margin-top: 0.4rem; }
.form__btn { width: 100%; justify-content: center; }
.form__note { margin-top: 0.9rem; font-size: 0.76rem; color: var(--ink-mute); text-align: center; }
.form__feedback { margin-top: 1.1rem; font-size: 0.9rem; padding: 0.9rem 1.1rem; border-radius: 4px; display: none; }
.form__feedback.is-success { display: block; color: #1f8f5f; background: rgba(31,143,95,0.08); border: 1px solid rgba(31,143,95,0.25); }
.form__feedback.is-error { display: block; color: #b4452f; background: rgba(180,69,47,0.07); border: 1px solid rgba(180,69,47,0.25); }

/* ==== 15. FOOTER (ancla noir) ============================== */
.footer { background: var(--noir); color: rgba(255,255,255,0.7); }
.footer__top { padding: clamp(3rem,6vw,5rem) 0 3rem; border-bottom: 1px solid var(--noir-line); }
.footer__container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.footer__brand h3 { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; color: #fff; margin: 0.8rem 0 0.5rem; }
.footer__brand p { font-size: 0.9rem; color: rgba(255,255,255,0.5); max-width: 280px; }
.footer__mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-family: var(--ff-display); font-size: 1.4rem; font-weight: 600; border-radius: 3px; }
.footer__col h4 { font-family: var(--ff-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.2rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a, .footer__col li { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color .3s; }
.footer__col a:hover { color: var(--gold-soft); }
.footer__bottom { padding: 1.5rem 0; }
.footer__container--row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; grid-template-columns: none; }
.footer__bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.footer__legal { font-family: var(--ff-mono); letter-spacing: 0.05em; }

/* ==== 16. WHATSAPP FAB ===================================== */
.whatsapp-fab { position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 900; width: 56px; height: 56px; display: grid; place-items: center; background: #1f8f5f; color: #fff; border-radius: 50%; box-shadow: 0 12px 30px rgba(31,143,95,0.4); transition: transform .35s var(--ease-out), box-shadow .35s; }
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 40px rgba(31,143,95,0.5); }
.whatsapp-fab__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1f8f5f; animation: fabPulse 2.4s var(--ease-out) infinite; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ==== 17. RESPONSIVE ======================================= */
@media (max-width: 1024px) {
    .firma__grid, .fundador__grid, .libro__grid, .upos__grid, .contacto__grid { grid-template-columns: 1fr; }
    .firma__pillars { grid-template-columns: repeat(2, 1fr); }
    .eco__grid, .uport__grid { grid-template-columns: repeat(2, 1fr); }
    .libro__visual { order: -1; }
    .fundador__visual { max-width: 440px; }
}
@media (max-width: 680px) {
    .eco__grid, .uport__grid, .ucasos__grid, .firma__pillars, .form__row { grid-template-columns: 1fr; }
    .footer__container { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
    .footer__container--row { flex-direction: column; text-align: center; }
}
