/* =============================================================
   MOOICAN — styles.css
   Archetype: Editorial Dark Warm  ·  Palette: wine + gold on warm black
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* backgrounds — warm near-black with a wine tint (never pure #000) */
  --bg:      #0E0A0B;
  --bg-2:    #140E10;
  --bg-3:    #1C1416;   /* card */
  --bg-4:    #241A1C;

  /* brand */
  --wine:        #7C1E33;
  --wine-2:      #5B1526;
  --wine-bright: #A82D46;
  --gold:        #E3A21E;
  --gold-2:      #C98A2A;
  --gold-soft:   #D9BE86;

  /* text — cream, never pure white */
  --cream:   #F3ECDD;
  --cream-2: #D6C9B4;
  --cream-3: #97897A;

  --line:      rgba(243,236,221,.12);
  --line-soft: rgba(243,236,221,.07);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --disp: "Archivo", var(--sans);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --maxw: 1320px;
  --radius: 18px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--disp);
  font-weight: 800;
  text-wrap: balance;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
em { font-style: normal; color: var(--gold); }
::selection { background: var(--wine); color: var(--cream); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--gold); color: #1a1108;
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

@media (min-width: 1200px) {
  body { cursor: none; }
  body a, body button, body [data-hover] { cursor: none; }
}

/* =============================================================
   3. Layout helpers
   ============================================================= */
section { position: relative; padding-block: clamp(4.5rem, 10vw, 9rem); }
.section-head { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-lead { color: var(--cream-2); max-width: 46ch; margin-top: 1.25rem; font-size: 1.05rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .7; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--cream-2);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(227,162,30,.18); animation: pulse 2.6s var(--ease-soft) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(227,162,30,.18); } 50% { box-shadow: 0 0 0 8px rgba(227,162,30,0); } }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  --pad: .95rem 1.7rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: var(--pad);
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border-radius: 100px;
  transition: transform .5s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .5s var(--ease-out);
  will-change: transform;
}
.btn-primary { background: var(--wine); color: var(--cream); box-shadow: 0 12px 30px -14px rgba(168,45,70,.8); }
.btn-primary:hover { background: var(--wine-bright); box-shadow: 0 18px 40px -12px rgba(168,45,70,.9); }
.btn-ghost { border: 1px solid var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost--gold { border-color: rgba(227,162,30,.4); color: var(--gold); }
.btn-ghost--gold:hover { background: var(--gold); color: #1a1108; border-color: var(--gold); }
.btn-block { width: 100%; }

.btn-check { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; display: none; }

/* =============================================================
   5. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 9000;
  display: grid; place-items: center;
  background: var(--bg);
  animation: splashSafety .01s 4.5s forwards;   /* CSS safety net */
}
.splash-inner { display: grid; place-items: center; gap: 1.4rem; }
.splash-logo { width: clamp(150px, 40vw, 240px); height: auto; filter: drop-shadow(0 20px 50px rgba(0,0,0,.6)); animation: splashPop 1s var(--ease-out) both; }
.splash-line { width: 0; height: 2px; background: linear-gradient(90deg, var(--wine), var(--gold)); border-radius: 2px; animation: splashBar 1.6s var(--ease-out) .2s forwards; }
@keyframes splashPop { from { opacity: 0; transform: scale(.9) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes splashBar { to { width: min(220px, 46vw); } }
.splash.is-out { opacity: 0; pointer-events: none; transform: scale(1.02); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* =============================================================
   6. Custom cursor
   ============================================================= */
.cursor { position: fixed; inset: 0; z-index: 8000; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; transform: translate3d(-50%,-50%,0); }
.cursor-dot { width: 6px; height: 6px; background: var(--gold); margin: -3px 0 0 -3px; }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(243,236,221,.5); transition: width .3s var(--ease-out), height .3s var(--ease-out), background-color .3s var(--ease-out), border-color .3s var(--ease-out); }
.cursor.is-hover .cursor-ring { width: 62px; height: 62px; margin: -31px 0 0 -31px; border-color: var(--gold); background: rgba(227,162,30,.1); }
.cursor.is-hover .cursor-dot { opacity: 0; }
@media (max-width: 1199px) { .cursor { display: none; } }

/* =============================================================
   7. Nav
   ============================================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled, .nav.is-open { background: rgba(14,10,11,.92); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line-soft); }
.nav-inner { max-width: var(--maxw); margin-inline: auto; padding: 1.05rem var(--gutter); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: grid; gap: .1rem; margin-right: auto; }
.brand-mark { font-family: var(--disp); font-weight: 900; font-size: 1.35rem; letter-spacing: -.01em; color: var(--gold); line-height: 1; }
.brand-mark span { color: var(--wine-bright); }
.brand-sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-3); }
.nav-links { display: none; gap: 1.2rem; }
.nav-links a { position: relative; font-size: .92rem; font-weight: 500; color: var(--cream-2); transition: color .3s var(--ease-out); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; padding: .6rem 1.25rem; border: 1px solid var(--line); border-radius: 100px; font-size: .9rem; font-weight: 600; color: var(--cream); transition: transform .5s var(--ease-out), border-color .3s, color .3s, background-color .3s; }
.nav-cta:hover { border-color: var(--gold); color: #1a1108; background: var(--gold); }

.nav-toggle { display: flex; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; margin-left: auto; transition: transform .5s var(--ease-out); }
.nav-toggle span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .25s; }
.nav-toggle[aria-expanded="true"] { transform: rotate(90deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--bg-2); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .5s var(--ease-out); display: flex; flex-direction: column; gap: .3rem; padding: 6rem 2rem 2rem; z-index: 999; }
.nav-drawer.is-open { transform: none; }
.nav-drawer a { font-family: var(--disp); font-weight: 700; font-size: 1.5rem; padding: .55rem 0; color: var(--cream); border-bottom: 1px solid var(--line-soft); }
.nav-drawer a:hover { color: var(--gold); }
.nav-drawer-cta { margin-top: 1.4rem; color: var(--gold) !important; border: none !important; font-size: 1rem !important; font-family: var(--sans) !important; font-weight: 600 !important; }

.nav-scrim { position: fixed; inset: 0; background: rgba(6,4,4,.6); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease-out); z-index: 998; }
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

/* =============================================================
   8. Hero
   ============================================================= */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(3rem, 8vh, 6rem); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(1.02) contrast(1.03); transform: scale(1.06); }
.hero-tint { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(14,10,11,.55) 0%, rgba(14,10,11,.15) 32%, rgba(14,10,11,.55) 68%, rgba(14,10,11,.96) 100%),
  radial-gradient(120% 90% at 15% 100%, rgba(92,21,38,.5), transparent 60%);
}
.hero-mesh { position: absolute; inset: -20%; z-index: 1; pointer-events: none; opacity: .5;
  background:
    radial-gradient(38% 40% at 20% 78%, rgba(124,30,51,.55), transparent 70%),
    radial-gradient(30% 34% at 82% 30%, rgba(227,162,30,.16), transparent 70%);
  filter: blur(60px); animation: meshDrift 22s var(--ease-soft) infinite alternate; }
@keyframes meshDrift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(3%, -2%, 0) scale(1.12); } }
.hero-grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-inner { position: relative; z-index: 3; max-width: var(--maxw); margin-inline: auto; width: 100%; padding-inline: var(--gutter); }
.hero-title { font-size: clamp(2.7rem, 9vw, 7rem); font-weight: 900; letter-spacing: -.035em; margin: 1.2rem 0 1.4rem; max-width: min(16ch, 560px); text-shadow: 0 2px 40px rgba(0,0,0,.5); }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.4rem); color: var(--cream-2); max-width: min(40ch, 460px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-scroll { position: absolute; z-index: 3; bottom: 1.6rem; right: var(--gutter); display: grid; justify-items: center; gap: .5rem; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-3); }
.hero-scroll-line { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); overflow: hidden; position: relative; }
.hero-scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold); animation: scrollDown 1.8s var(--ease-soft) infinite; }
@keyframes scrollDown { to { top: 100%; } }

/* =============================================================
   9. Pillars
   ============================================================= */
.pillars { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.pillar { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line-soft); min-height: 340px; display: flex; align-items: flex-end; isolation: isolate; transition: transform .6s var(--ease-out), border-color .4s; }
.pillar-media { position: absolute; inset: 0; z-index: -1; }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; filter: saturate(1.03) brightness(.72); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(14,10,11,.9) 100%); }
.pillar:hover { transform: translateY(-6px); border-color: var(--line); }
.pillar:hover .pillar-media img { transform: scale(1.07); filter: saturate(1.1) brightness(.82); }
.pillar-body { padding: 1.7rem; }
.pillar-num { font-family: var(--disp); font-weight: 800; font-size: .85rem; color: var(--gold); letter-spacing: .1em; }
.pillar-body h3 { font-size: 1.9rem; margin: .35rem 0 .5rem; }
.pillar-body p { color: var(--cream-2); font-size: .98rem; max-width: 34ch; }
.pillar-go { display: inline-block; margin-top: 1rem; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--gold); opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.pillar:hover .pillar-go { opacity: 1; transform: none; }

/* =============================================================
   10. Filosofía
   ============================================================= */
.philo { max-width: var(--maxw); margin-inline: auto; }
.philo-halo { position: absolute; inset: -20% -10% 30% -10%; z-index: 0; pointer-events: none; background: radial-gradient(40% 40% at 70% 30%, rgba(124,30,51,.4), transparent 70%); filter: blur(120px); }
.philo > * { position: relative; z-index: 1; }
.philo-title { font-size: clamp(2rem, 5.2vw, 4rem); }
.philo-grid { display: grid; gap: 2rem; padding-inline: var(--gutter); grid-template-columns: 1fr; }
.philo-text p { color: var(--cream-2); font-size: 1.12rem; margin-bottom: 1.1rem; max-width: 52ch; }
.philo-text strong { color: var(--cream); font-weight: 600; }
.philo-quote { position: relative; font-family: var(--disp); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; color: var(--cream); padding: 2.6rem 0 0 1.6rem; border-left: 2px solid var(--wine); }
.philo-quote span { position: absolute; left: 1.45rem; top: 0; font-size: 4rem; line-height: 1; color: var(--wine); opacity: .45; pointer-events: none; }
.philo-points { display: grid; gap: 1.1rem; padding-inline: var(--gutter); margin-top: clamp(3rem, 7vw, 5rem); grid-template-columns: 1fr; }
.philo-point { padding: 1.7rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(180deg, var(--bg-2), var(--bg)); transition: border-color .4s, transform .5s var(--ease-out); }
.philo-point:hover { border-color: rgba(227,162,30,.35); transform: translateY(-4px); }
.philo-point-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--disp); font-weight: 800; margin-bottom: 1.1rem; }
.philo-point h4 { font-size: 1.2rem; margin-bottom: .6rem; }
.philo-point p { color: var(--cream-2); font-size: .98rem; }

/* =============================================================
   11. Showcase (horizontal pinned) — SIGNATURE
   ============================================================= */
.showcase { padding-block: clamp(4.5rem, 10vw, 9rem); background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.showcase-pin { max-width: var(--maxw); margin-inline: auto; width: 100%; }
.showcase-head { max-width: var(--maxw); margin-inline: auto; width: 100%; padding-inline: var(--gutter); margin-bottom: 2.2rem; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; }
.showcase-head h2 { font-size: clamp(1.8rem, 4.4vw, 3.2rem); margin-top: .7rem; }
.showcase-head .kicker { flex-basis: 100%; }
.showcase-hint { margin-left: auto; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); animation: nudge 1.8s var(--ease-soft) infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.showcase-track { display: grid; grid-template-columns: 1fr; gap: 1.2rem; padding-inline: var(--gutter); }
.showcase-track::-webkit-scrollbar { display: none; }
.disc-card { background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: border-color .4s; will-change: transform; }
.disc-media { aspect-ratio: 4/3; overflow: hidden; }
.disc-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(.9); transition: transform .8s var(--ease-out); }
.disc-card:hover { border-color: rgba(227,162,30,.4); }
.disc-card:hover .disc-media img { transform: scale(1.06); }
.disc-body { padding: 1.5rem; }
.disc-num { font-family: var(--disp); font-weight: 800; color: var(--gold); font-size: .82rem; letter-spacing: .1em; }
.disc-body h3 { font-size: 1.55rem; margin: .3rem 0 .3rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.disc-badge { font-family: var(--sans); font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1a1108; background: var(--gold); padding: .22rem .5rem; border-radius: 100px; }
.disc-tag { color: var(--gold-soft); font-size: .95rem; margin-bottom: 1.1rem; }
.disc-meta { display: grid; gap: .75rem; }
.disc-meta > div { display: grid; gap: .15rem; }
.disc-meta dt { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-3); }
.disc-meta dd { color: var(--cream-2); font-size: .92rem; line-height: 1.5; }
.showcase-cta { max-width: var(--maxw); margin-inline: auto; padding: clamp(2rem,5vw,3rem) var(--gutter) 0; display: grid; gap: 1rem; justify-items: center; text-align: center; }
.showcase-cta .disc-tag { color: var(--gold); margin: 0; }
.showcase-cta h3 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.showcase-cta .btn { margin-top: .4rem; }

/* =============================================================
   12. Servicios
   ============================================================= */
.services { max-width: var(--maxw); margin-inline: auto; }
.services-grid { padding-inline: var(--gutter); display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.service { display: grid; grid-template-columns: 1fr; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: border-color .4s, transform .5s var(--ease-out); }
.service:hover { border-color: var(--line); transform: translateY(-4px); }
.service-media { aspect-ratio: 16/10; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.03) brightness(.85); transition: transform .8s var(--ease-out); }
.service:hover .service-media img { transform: scale(1.05); }
.service-body { padding: 1.6rem 1.7rem 1.9rem; }
.service-body h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.service-body p { color: var(--cream-2); font-size: .96rem; margin-bottom: 1.1rem; }
.service-body ul { display: grid; gap: .5rem; }
.service-body li { position: relative; padding-left: 1.3rem; font-size: .92rem; color: var(--cream-2); }
.service-body li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 3px rgba(124,30,51,.25); }

/* =============================================================
   13. Rally spotlight
   ============================================================= */
.spotlight { display: grid; grid-template-columns: 1fr; align-items: stretch; padding: 0; background: var(--bg-2); }
.spotlight-media { position: relative; min-height: 46vh; overflow: hidden; }
.spotlight-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(.8); }
.spotlight-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(14,10,11,.7)); }
.spotlight-body { padding: clamp(3rem,7vw,6rem) var(--gutter); display: grid; align-content: center; gap: 1.2rem; }
.spotlight-body h2 { font-size: clamp(1.9rem, 4.6vw, 3.3rem); }
.spotlight-body p { color: var(--cream-2); max-width: 46ch; font-size: 1.05rem; }
.spotlight-body .btn { justify-self: start; }

/* =============================================================
   14. Resultados
   ============================================================= */
.results { max-width: var(--maxw); margin-inline: auto; }
.stats { padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 1.7rem 1.4rem; display: grid; gap: .5rem; }
.stat-num { font-family: var(--disp); font-weight: 900; font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1; color: var(--gold); letter-spacing: -.03em; }
.stat-label { color: var(--cream-2); font-size: .82rem; line-height: 1.45; }
.results-cards { padding-inline: var(--gutter); margin-top: 1.4rem; display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.results-subhead { max-width: var(--maxw); margin: clamp(2.8rem,6vw,4rem) auto 1.3rem; padding-inline: var(--gutter); display: grid; gap: .5rem; }
.results-subhead p { color: var(--cream-2); font-size: .98rem; max-width: 52ch; }
.results-subhead--first { margin-top: 0; }
.result-card { background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: border-color .4s; will-change: transform; }
.result-card:hover { border-color: rgba(227,162,30,.35); }
.result-media { overflow: hidden; background: #0a0708; }
.result-media img { width: 100%; height: auto; object-fit: contain; }
.result-caption { padding: 1.4rem 1.6rem 1.7rem; }
.result-caption h4 { font-size: 1.15rem; color: var(--gold); margin-bottom: .5rem; }
.result-caption p { color: var(--cream-2); font-size: .95rem; }

/* =============================================================
   15. Arena
   ============================================================= */
.arena { display: grid; grid-template-columns: 1fr; align-items: center; padding: 0; }
.arena-media { position: relative; min-height: 44vh; overflow: hidden; }
.arena-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.02) brightness(.8); }
.arena-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,10,11,.2), rgba(14,10,11,.85)); }
.arena-body { padding: clamp(3rem,7vw,6rem) var(--gutter); display: grid; gap: 1.2rem; align-content: center; }
.badge-soon, .post-soon { display: inline-flex; align-items: center; gap: .5rem; align-self: start; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(227,162,30,.4); padding: .4rem .8rem; border-radius: 100px; }
.arena-body .badge-soon { justify-self: center; }
.arena-body h2 { font-size: clamp(2rem, 5.5vw, 3.6rem); }
.arena-body p { color: var(--cream-2); max-width: 46ch; font-size: 1.05rem; }
.arena-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.4rem; margin-top: .5rem; }
.arena-list li { position: relative; padding-left: 1.3rem; color: var(--cream-2); font-size: .95rem; }
.arena-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }

/* =============================================================
   16. Equipo
   ============================================================= */
.team { max-width: var(--maxw); margin-inline: auto; }
.team-grid { padding-inline: var(--gutter); display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.member { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr; transition: border-color .4s; will-change: transform; }
.member:hover { border-color: var(--line); }
.member-media { aspect-ratio: 4/3; overflow: hidden; }
.member-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: saturate(1.03); transition: transform .8s var(--ease-out); }
.member:hover .member-media img { transform: scale(1.04); }
.member-body { padding: 1.7rem 1.8rem 2rem; }
.member-body h3 { font-size: 1.5rem; }
.member-role { color: var(--gold); font-weight: 600; font-size: .92rem; margin: .4rem 0 1.2rem; }
.member-cv { display: grid; gap: .7rem; }
.member-cv li { position: relative; padding-left: 1.4rem; color: var(--cream-2); font-size: .93rem; line-height: 1.5; }
.member-cv li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 2px; background: var(--gold); }
.team-note { padding-inline: var(--gutter); margin-top: 1.8rem; color: var(--cream-3); font-size: .88rem; max-width: 70ch; }

/* =============================================================
   16b. Dossier (página Equipo) + hero de página interior
   ============================================================= */
.page-hero { position: relative; min-height: 52vh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(2.5rem,6vw,4rem); }
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(1.02) brightness(.62); }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,10,11,.7) 0%, rgba(14,10,11,.25) 45%, rgba(14,10,11,.96) 100%); }
.page-hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto; width: 100%; padding: clamp(6.5rem,15vw,9rem) var(--gutter) 0; }
.page-hero-inner h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); margin: .9rem 0 1rem; max-width: 20ch; }
.page-hero-inner p { color: var(--cream-2); max-width: 54ch; font-size: 1.05rem; }

.dossier { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.dossier + .dossier { margin-top: clamp(3.5rem,8vw,6rem); padding-top: clamp(3.5rem,8vw,6rem); border-top: 1px solid var(--line-soft); }
.dossier-top { display: grid; gap: 1.6rem; grid-template-columns: 1fr; align-items: center; margin-bottom: 1.8rem; }
.dossier-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.dossier-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.03); }
.dossier-intro h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.dossier-role { color: var(--gold); font-weight: 600; font-size: .95rem; margin: .5rem 0 1.1rem; }
.dossier-bio { color: var(--cream-2); font-size: 1.02rem; line-height: 1.75; max-width: 60ch; }
.dossier-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.dossier-block { padding: 1.5rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--bg-2); transition: border-color .4s, transform .5s var(--ease-out); }
.dossier-block:hover { border-color: rgba(227,162,30,.3); transform: translateY(-3px); }
.dossier-block h4 { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.dossier-block ul { display: grid; gap: .65rem; }
.dossier-block li { position: relative; padding-left: 1.3rem; color: var(--cream-2); font-size: .92rem; line-height: 1.5; }
.dossier-block li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 3px rgba(124,30,51,.25); }

.referentes-list { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.referente-row {
  position: relative;
  display: grid; grid-template-columns: auto 1.7fr 1.3fr 1.7fr;
  align-items: center; gap: 1.8rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.referente-row:first-child { border-top: 1px solid var(--line-soft); }
.referente-row.reveal { filter: blur(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out), background-color .35s; }
.referente-row.reveal.is-visible { filter: blur(0); }
.referente-row:nth-child(2) { transition-delay: .12s; }
.referente-row:nth-child(3) { transition-delay: .24s; }
.referente-row:nth-child(4) { transition-delay: .36s; }
.referente-row:nth-child(5) { transition-delay: .48s; }
.referente-row::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--row-accent, var(--gold)), transparent);
  transform: scaleX(0); transform-origin: left; opacity: 0;
}
.referente-row.is-visible::after { animation: referenteUnderline .9s var(--ease-out) forwards; animation-delay: .1s; }
.referente-row:nth-child(2).is-visible::after { animation-delay: .22s; }
.referente-row:nth-child(3).is-visible::after { animation-delay: .34s; }
.referente-row:nth-child(4).is-visible::after { animation-delay: .46s; }
.referente-row:nth-child(5).is-visible::after { animation-delay: .58s; }
@keyframes referenteUnderline { from { transform: scaleX(0); opacity: 1; } to { transform: scaleX(1); opacity: 1; } }
.referente-row:hover { background: linear-gradient(90deg, rgba(227,162,30,.07), transparent 70%); }
.referente-row:hover .referente-num { transform: scale(1.1); }
.referente-num { font-family: var(--disp); font-weight: 900; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1; letter-spacing: -.02em; min-width: 2.2ch; color: var(--row-accent, var(--gold)); transition: transform .5s var(--ease-bounce); }
.referente-row:nth-child(1) { --row-accent: var(--gold); }
.referente-row:nth-child(2) { --row-accent: var(--wine-bright); }
.referente-row:nth-child(3) { --row-accent: var(--gold-soft); }
.referente-row:nth-child(4) { --row-accent: var(--gold-2); }
.referente-row:nth-child(5) { --row-accent: var(--wine-bright); }
.referente-name { font-family: var(--disp); font-weight: 800; font-size: clamp(1.1rem, 2.1vw, 1.35rem); color: var(--cream); line-height: 1.2; }
.referente-org { font-family: var(--disp); font-size: clamp(1rem, 1.9vw, 1.2rem); font-weight: 800; letter-spacing: .01em; color: var(--cream-2); }
.referente-area { color: var(--cream-3); font-size: .9rem; line-height: 1.5; text-align: right; }
@media (max-width: 720px) {
  .referente-row { grid-template-columns: auto 1fr; row-gap: .35rem; }
  .referente-org, .referente-area { grid-column: 2; text-align: left; }
}

.final-cta { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); text-align: center; display: grid; gap: 1.1rem; justify-items: center; }
.final-cta h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.final-cta p { color: var(--cream-2); max-width: 50ch; }

.mooicanitos-section { padding-block: 0 clamp(2.5rem,6vw,4.5rem); }
.mooicanitos { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter) 0; display: grid; justify-items: center; gap: 1.2rem; text-align: center; }
.mooicanitos img { width: min(380px, 75vw); height: auto; transform: scale(.7) rotate(-8deg); opacity: 0; transition: transform .8s cubic-bezier(.34,1.56,.64,1), opacity .6s var(--ease-out); }
.mooicanitos.is-visible img { transform: scale(1) rotate(0deg); opacity: 1; }
.mooicanitos-slogan { font-family: var(--disp); font-weight: 800; font-size: clamp(1.5rem, 3.6vw, 2.2rem); color: var(--gold); letter-spacing: -.01em; }

/* =============================================================
   16d. Prensa — cinta y vitrina
   ============================================================= */
.press-marquee-head { background: var(--bg-2); border-top: 1px solid var(--line-soft); text-align: center; padding: 1.5rem 0 .7rem; }
.press-marquee-title { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); }
.press-marquee { overflow: hidden; border-bottom: 1px solid var(--line-soft); background: var(--bg-2); padding: .3rem 0 1.5rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* Sin gap en el track: el desplazamiento del bucle es -50% y un gap entre las dos
   mitades dejaría media separación sin recorrer (salto visible cada vuelta).
   El espaciado va como margen de cada elemento, así cada mitad ya lo incluye. */
.press-marquee-track { display: flex; align-items: center; width: max-content; white-space: nowrap; animation: pmscroll 24s linear infinite; will-change: transform; }
.press-marquee:hover .press-marquee-track { animation-play-state: paused; }
@keyframes pmscroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.press-marquee-item { display: contents; }
.press-marquee-item > * { margin-right: 1.75rem; }
.press-marquee-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--cream-2); transition: color .3s; }
.press-marquee-link:hover { color: var(--gold); }
.press-marquee-logo { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex-shrink: 0; background: var(--cream); border-radius: 8px; padding: 5px; color: var(--wine); }
.press-marquee-logo img, .press-marquee-logo svg { width: 100%; height: 100%; object-fit: contain; }
.press-marquee-name { font-family: var(--disp); font-weight: 900; font-size: 1rem; letter-spacing: .04em; }
.press-marquee-item span.dot { color: var(--wine-bright); }

.press-showcase { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter); }
.press-showcase .section-head { margin-bottom: 1.6rem; }
.press-frame { background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); position: relative; min-height: 240px; display: grid; }
.press-slide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; text-align: center; opacity: 0; animation: pscfade 9s ease-in-out infinite; }
.press-slide:nth-child(2) { animation-delay: 3s; }
.press-slide:nth-child(3) { animation-delay: 6s; }
@keyframes pscfade { 0% { opacity: 0; transform: translateY(8px); } 4%, 29% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-8px); } }
.press-photo { flex: 0 0 140px; width: 140px; height: 140px; border-radius: 12px; background: var(--bg-4); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; padding: .9rem; }
.press-photo.is-photo { padding: 0; }
.press-photo.is-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.press-photo:not(.is-photo) img { max-width: 100%; max-height: 100%; object-fit: contain; }
.press-photo.is-light { background: var(--cream); }
.press-text { display: grid; gap: .5rem; justify-items: center; max-width: 400px; }
.press-outlet { font-family: var(--disp); font-weight: 900; font-size: 1.35rem; color: var(--gold); }
.press-subject { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.press-quote-text { font-size: 1.02rem; line-height: 1.5; color: var(--cream); max-width: 42ch; }
.press-foot { display: flex; align-items: center; justify-content: center; gap: 1rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); }
.press-foot a { color: var(--gold-2); }
.press-dots { display: flex; gap: .5rem; justify-content: center; padding-top: 1.5rem; }
.press-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); animation: psdot 9s ease-in-out infinite; }
.press-dots span:nth-child(2) { animation-delay: 3s; }
.press-dots span:nth-child(3) { animation-delay: 6s; }
@keyframes psdot { 0% { background: var(--line); } 4%,29% { background: var(--gold); } 33%,100% { background: var(--line); } }

/* =============================================================
   16c. Perros MooiCan
   ============================================================= */
.dogs-intro { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter); }
.dogs-intro p { color: var(--cream-2); font-size: 1.1rem; line-height: 1.7; max-width: 60ch; }
.dogs-intro p strong { color: var(--cream); font-weight: 600; }
.dogs { max-width: var(--maxw); margin-inline: auto; padding-top: clamp(2.5rem,6vw,4rem); padding-bottom: clamp(1.5rem,3vw,2.2rem); }
.dogs-grid { padding-inline: var(--gutter); display: grid; gap: 1.6rem; grid-template-columns: 1fr; align-items: start; }
.dog-card { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; transition: border-color .4s, transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.dog-card:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(0,0,0,.7); }
.dog-media { position: relative; aspect-ratio: 1/1; background: radial-gradient(120% 120% at 50% 0%, var(--bg-4), var(--bg-3)); display: grid; place-items: center; overflow: hidden; }
.dog-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), filter .6s var(--ease-out); will-change: transform; }
.dog-card:hover .dog-media img { transform: scale(1.07); }
.dog-ph { display: grid; place-items: center; gap: .6rem; text-align: center; color: var(--cream-3); }
.dog-ph .dog-emoji { font-size: 2.6rem; line-height: 1; filter: saturate(1.1); }
.dog-ph span { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; }
.dog-body { padding: 1.6rem 1.75rem 1.9rem; display: grid; gap: .55rem; align-content: start; }
.dog-head { display: flex; align-items: baseline; gap: .55rem 0.7rem; flex-wrap: wrap; }
.dog-name { font-family: var(--disp); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.dog-kennel { color: var(--cream-3); font-size: .9rem; }
.dog-meta { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: .1rem; }
.dog-years { color: var(--gold); font-weight: 600; font-size: .85rem; letter-spacing: .06em; }
.dog-tag { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(227,162,30,.4); padding: .22rem .55rem; border-radius: 100px; }
.dog-lead { color: var(--cream); font-weight: 600; font-size: 1.05rem; margin-top: .5rem; }
.dog-body p { color: var(--cream-2); font-size: .95rem; line-height: 1.6; }
.dog-card--memoriam .dog-media { filter: saturate(.8) brightness(.9); }
.dog-card--origin { border-color: rgba(227,162,30,.28); }
.dog-card--memoriam { align-self: stretch; }

/* =============================================================
   17. Journal / blog
   ============================================================= */
.journal { max-width: var(--maxw); margin-inline: auto; }
.journal-grid { padding-inline: var(--gutter); display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.post { padding: 1.7rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--bg-2); display: grid; gap: .7rem; transition: border-color .4s, transform .5s var(--ease-out); }
.post:hover { border-color: rgba(227,162,30,.35); transform: translateY(-4px); }
.post-tag { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.post h3 { font-size: 1.3rem; }
.post p { color: var(--cream-2); font-size: .95rem; }
.post-soon { justify-self: start; margin-top: .3rem; }

/* =============================================================
   18. Contacto
   ============================================================= */
.contact { max-width: var(--maxw); margin-inline: auto; }
.contact-halo { position: absolute; inset: 0 -10% auto -10%; height: 60%; z-index: 0; pointer-events: none; background: radial-gradient(50% 60% at 30% 30%, rgba(124,30,51,.4), transparent 70%), radial-gradient(40% 50% at 80% 40%, rgba(227,162,30,.12), transparent 70%); filter: blur(110px); }
.contact-grid { position: relative; z-index: 1; padding-inline: var(--gutter); display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.contact-intro h2 { font-size: clamp(2rem, 5.5vw, 3.6rem); margin: .8rem 0 1rem; }
.contact-intro > p { color: var(--cream-2); max-width: 40ch; }
.contact-list { margin-top: 2rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; flex-direction: column; gap: .1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-soft); }
.contact-k { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-3); }
.contact-list a, .contact-list span:not(.contact-k) { font-family: var(--disp); font-weight: 700; font-size: 1.15rem; color: var(--cream); }
.contact-list a { position: relative; width: fit-content; }
.contact-list a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.contact-list a:hover { color: var(--gold); }
.contact-list a:hover::after { transform: scaleX(1); transform-origin: left; }
.contact-social { display: flex; gap: 1.6rem; flex-wrap: wrap; }

.contact-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.2rem); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.field input, .field select, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem; color: var(--cream); font: inherit; font-size: .96rem; transition: border-color .3s var(--ease-out), background-color .3s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--bg-3); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23E3A21E' stroke-width='2'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.contact-form.is-sent .btn-label { display: none; }
.contact-form.is-sent .btn-check { display: block; animation: draw .6s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-alt { text-align: center; font-size: .85rem; color: var(--cream-3); }
.form-alt a { color: var(--gold); }

/* =============================================================
   19. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-top { max-width: var(--maxw); margin-inline: auto; padding: clamp(3rem,6vw,4.5rem) var(--gutter) 2.5rem; display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.footer-brand img { width: 118px; height: auto; }
.footer-tag { margin-top: 1rem; font-family: var(--disp); font-weight: 700; font-size: 1.2rem; color: var(--gold); }
.footer-nav { display: grid; gap: .7rem; align-content: start; }
.footer-nav a, .footer-contact a { color: var(--cream-2); font-size: .95rem; transition: color .3s; width: fit-content; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact { display: grid; gap: .7rem; align-content: start; }
.footer-contact span { color: var(--cream-3); font-size: .95rem; }
.footer-social { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-bottom { max-width: var(--maxw); margin-inline: auto; padding: 1.5rem var(--gutter); border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer-bottom p { color: var(--cream-3); font-size: .8rem; }
.footer-bottom a { color: var(--cream-3); text-decoration: underline; text-underline-offset: 2px; transition: color .3s; }
.footer-bottom a:hover { color: var(--gold); }

/* =============================================================
   20. Reveal (scroll-in)
   ============================================================= */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }  /* defensive */
.is-ready .reveal { will-change: opacity, transform; }

/* =============================================================
   21. The Nose Academy
   ============================================================= */
.tna-hero { padding-block: 0; }
.tna-banner { width: 100%; aspect-ratio: 16/9; background: var(--bg); overflow: hidden; }
.tna-banner img { width: 100%; height: 100%; object-fit: contain; }
.tna-hero-inner { max-width: var(--maxw); margin-inline: auto; padding: clamp(2.2rem,5vw,3.5rem) var(--gutter) 0; }
.tna-hero-inner h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); margin: .9rem 0 1rem; max-width: 18ch; }
.tna-hero-inner p { color: var(--cream-2); max-width: 56ch; font-size: 1.05rem; }

.tna-trail { height: 2px; max-width: var(--maxw); margin-inline: auto; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 22px); opacity: .3; }

.tna-featured-section { padding-block: clamp(2.5rem,6vw,4rem) clamp(3rem,7vw,5rem); }
.tna-featured-wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.tna-featured { border: 1px solid rgba(227,162,30,.3); border-radius: var(--radius); background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); padding: clamp(1.8rem,4vw,2.6rem); display: grid; gap: .9rem; }
.tna-featured h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.tna-featured-meta { color: var(--gold-soft); font-weight: 600; font-size: .95rem; }
.tna-featured p:not(.tna-featured-meta) { color: var(--cream-2); font-size: 1rem; max-width: 60ch; }
.tna-featured .btn { justify-self: start; margin-top: .4rem; }

.tna-filters-wrap { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter) 1.8rem; }
.tna-filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.tna-chip { padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 100px; font-size: .85rem; font-weight: 600; color: var(--cream-2); background: var(--bg-2); transition: border-color .3s, color .3s, background-color .3s; }
.tna-chip:hover { border-color: var(--gold); color: var(--gold); }
.tna-chip.is-active { background: var(--gold); border-color: var(--gold); color: #1a1108; }

.tna-grid { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.tna-card { padding: 1.7rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--bg-2); display: grid; gap: .7rem; align-content: start; transition: border-color .4s, transform .5s var(--ease-out); }
.tna-card:hover { border-color: rgba(227,162,30,.35); transform: translateY(-4px); }
.tna-card h3 { font-size: 1.25rem; }
.tna-card p { color: var(--cream-2); font-size: .95rem; line-height: 1.6; }
.tna-card-meta { color: var(--cream-3); font-size: .82rem; }
.tna-card .btn-ghost { justify-self: start; margin-top: .3rem; padding: .55rem 1.15rem; font-size: .85rem; }

.tna-media { position: relative; aspect-ratio: 16/9; border-radius: calc(var(--radius) - 6px); overflow: hidden; background: var(--bg-4); margin-bottom: .3rem; }
.tna-media img { width: 100%; height: 100%; object-fit: cover; }
.tna-media iframe { width: 100%; height: 100%; border: 0; }
.tna-play { position: absolute; inset: 0; background: rgba(14,10,11,.35); transition: background-color .3s; }
.tna-play:hover { background: rgba(14,10,11,.5); }
.tna-play::after { content: ""; position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; border-radius: 50%; background: var(--gold); transform: translate(-50%,-50%); }
.tna-play::before { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #1a1108; transform: translate(-42%,-50%); z-index: 1; }

.tna-type { display: inline-flex; align-self: start; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: .3rem .65rem; border-radius: 100px; border: 1px solid; }
.tna-type--charla-online { color: var(--gold); border-color: rgba(227,162,30,.4); }
.tna-type--charla-presencial { color: var(--wine-bright); border-color: rgba(168,45,70,.4); }
.tna-type--articulo { color: var(--gold-soft); border-color: rgba(217,190,134,.4); }
.tna-type--libro { color: var(--gold-2); border-color: rgba(201,138,42,.4); }
.tna-type--guia { color: var(--cream-3); border-color: rgba(151,137,122,.4); }

/* =============================================================
   22. Asistente MOOICAN (chat IA)
   ============================================================= */
.ai-chat { position: fixed; z-index: 900; right: 1.1rem; bottom: 1.1rem; bottom: calc(1.1rem + env(safe-area-inset-bottom)); display: grid; justify-items: end; gap: .85rem; }

.ai-chat-toggle { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--wine); color: var(--cream); display: grid; place-items: center; box-shadow: 0 16px 36px -14px rgba(0,0,0,.65); transition: background-color .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.ai-chat-toggle:hover { background: var(--wine-bright); transform: translateY(-2px); }
.ai-chat-toggle svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; position: absolute; transition: opacity .3s var(--ease-out), transform .35s var(--ease-bounce); }
.ai-chat-icon-x { opacity: 0; transform: scale(.6) rotate(-45deg); }
.ai-chat-icon-chat { opacity: 1; transform: none; }
.ai-chat.is-open .ai-chat-toggle { background: var(--gold); color: #1a1108; }
.ai-chat.is-open .ai-chat-icon-chat { opacity: 0; transform: scale(.6) rotate(45deg); }
.ai-chat.is-open .ai-chat-icon-x { opacity: 1; transform: none; }

.ai-chat-panel {
  width: min(92vw, 380px);
  max-height: min(74vh, 560px);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.7);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(.92) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .35s var(--ease-out);
}
.ai-chat.is-open .ai-chat-panel { opacity: 1; transform: none; pointer-events: auto; }

.ai-chat-head { padding: 1.1rem 1.3rem .9rem; border-bottom: 1px solid var(--line-soft); background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); }
.ai-chat-title { display: block; font-family: var(--disp); font-weight: 800; font-size: 1.05rem; color: var(--gold); }
.ai-chat-sub { display: block; font-size: .78rem; color: var(--cream-3); margin-top: .2rem; }

.ai-chat-messages { padding: 1.1rem 1.3rem; overflow-y: auto; display: grid; gap: .7rem; align-content: start; }
.ai-chat-msg { max-width: 84%; padding: .65rem .9rem; border-radius: 14px; font-size: .92rem; line-height: 1.5; }
.ai-chat-msg--bot { justify-self: start; background: var(--bg-4); border: 1px solid var(--line-soft); color: var(--cream-2); border-bottom-left-radius: 4px; }
.ai-chat-msg--user { justify-self: end; background: var(--wine); color: var(--cream); border-bottom-right-radius: 4px; }
.ai-chat-msg--error { justify-self: start; background: rgba(168,45,70,.15); border: 1px solid rgba(168,45,70,.4); color: var(--cream-2); }

.ai-chat-typing { justify-self: start; display: inline-flex; gap: .3rem; padding: .7rem .9rem; border-radius: 14px; background: var(--bg-4); border: 1px solid var(--line-soft); }
.ai-chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-soft); animation: aiTypingBounce 1.1s ease-in-out infinite; }
.ai-chat-typing span:nth-child(2) { animation-delay: .15s; }
.ai-chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes aiTypingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.ai-chat-form { display: flex; gap: .6rem; padding: .9rem 1.3rem; border-top: 1px solid var(--line-soft); }
.ai-chat-form input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 100px; padding: .65rem 1.1rem; color: var(--cream); font: inherit; font-size: .9rem; transition: border-color .3s var(--ease-out); }
.ai-chat-form input:focus { outline: none; border-color: var(--gold); }
.ai-chat-send { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #1a1108; display: grid; place-items: center; flex-shrink: 0; transition: background-color .3s, transform .3s var(--ease-out); }
.ai-chat-send:hover { background: var(--gold-2); }
.ai-chat-send:disabled { opacity: .5; pointer-events: none; }
.ai-chat-send svg { width: 17px; height: 17px; fill: currentColor; }

.ai-chat-note { padding: 0 1.3rem 1rem; font-size: .74rem; color: var(--cream-3); text-align: center; }
.ai-chat-note a { color: var(--gold); }

@media (max-width: 539px) {
  .ai-chat-panel { width: calc(100vw - 2.2rem); max-height: 64vh; }
}

/* =============================================================
   23. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .journal-grid { grid-template-columns: repeat(3, 1fr); }
  .showcase-track { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .philo-grid { grid-template-columns: 1.3fr .9fr; align-items: center; }
  .philo-points { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .results-cards { grid-template-columns: 1fr 1fr; }
  .spotlight { grid-template-columns: 1fr 1fr; }
  .arena { grid-template-columns: 1fr 1fr; }
  .arena-media { min-height: 100%; }
  .spotlight-media { min-height: 100%; }
  .member { grid-template-columns: 0.85fr 1.15fr; }
  .member-media { aspect-ratio: auto; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 3rem; }
  .dossier-top { grid-template-columns: .8fr 1.2fr; }
  .dossier-media { aspect-ratio: auto; height: 100%; }
  .dogs-grid { grid-template-columns: 1fr 1fr; }
  .press-slide { flex-direction: row; text-align: left; }
  .press-text { justify-items: start; }
  .press-foot { justify-content: flex-start; }
  .tna-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .showcase-track { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .tna-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   24. Reduced motion — only the INTRUSIVE stuff
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh, .hero-scroll-line::after, .eyebrow-dot, .showcase-hint { animation: none; }
  .hero-media img { transform: none; }
  /* Cinta: en vez de congelarla a medio recorrido (primer logo cortado por la
     máscara), se muestra estática, centrada y sin el duplicado del bucle. */
  .press-marquee { -webkit-mask-image: none; mask-image: none; }
  .press-marquee-track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; gap: 1.75rem; }
  .press-marquee-item > * { margin-right: 0; }
  .press-marquee-item[aria-hidden="true"] { display: none; }
  .press-marquee-item > .dot:last-child { display: none; }
  .press-slide { animation: none; opacity: 1; position: static; }
  .press-frame { display: grid; gap: 1.4rem; }
  .press-dots span { animation: none; }
  .ai-chat-typing span { animation: none; opacity: .9; }
}
