/* ===================================================================
   EZEQUIEL VILLAR — Obstetra de marcas
   Editorial / Archive aesthetic
   =================================================================== */

:root {
  /* paleta */
  --paper:        #f4f0e8;
  --paper-deep:   #ecE6d8;
  --ink:          #0d0d0d;
  --ink-soft:     #2a2a2a;
  --ink-mute:     #6b6760;
  --ink-faint:    #a39f96;
  --rule:         #d8d2c2;
  --rule-strong:  #2a2a2a;
  --accent:       #1f3acc;     /* ultramarino editorial */
  --accent-deep:  #122a96;
  --accent-glow:  #4a64e0;
  --whatsapp:     #128c7e;
  --highlight:    #f7d24a;     /* amarillo subrayado */

  /* tipografías */
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --serif:   "Fraunces", "Iowan Old Style", Georgia, serif;
  --reader:  "Newsreader", Georgia, "Times New Roman", serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* layout */
  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --rule-w: 1px;

  /* motion */
  --ease: cubic-bezier(.2, .7, .15, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* === reset === */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
em, i { font-style: italic; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--reader);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: none;
}

/* selección */
::selection { background: var(--ink); color: var(--paper); }

/* === grano sutil sobre el papel === */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

/* === cursor custom === */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), opacity .2s;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor.hover {
  width: 56px; height: 56px;
  background: var(--paper);
}
.cursor.hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor { display: none; }
}

/* === sidemark vertical === */
.sidemark {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 30;
  pointer-events: none;
  white-space: nowrap;
}
.sidemark-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink);
}
@media (max-width: 980px) { .sidemark { display: none; } }

/* === topbar === */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px var(--gutter);
  background: rgba(244, 240, 232, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: var(--rule-w) solid var(--rule);
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand-logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.brand-slash {
  color: var(--accent);
  margin: 0 1px;
  font-style: normal;
}
.brand-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.nav {
  display: flex;
  justify-content: center;
  gap: 36px;
}
.nav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  transition: color .25s var(--ease);
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-num {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}
.topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--rule-strong);
  padding: 9px 14px;
  border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.topbar-cta:hover { background: var(--ink); color: var(--paper); }
.topbar-cta .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #18a86b;
  box-shadow: 0 0 0 0 rgba(24, 168, 107, .5);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(24,168,107,.45); }
  70%  { box-shadow: 0 0 0 8px rgba(24,168,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(24,168,107,0); }
}
@media (max-width: 880px) {
  .nav { display: none; }
  .topbar { grid-template-columns: 1fr auto; gap: 16px; }
}
@media (max-width: 540px) {
  .brand-name { display: none; }
  .topbar-cta { padding: 8px 12px; font-size: 10px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 130px var(--gutter) 0;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-frame {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: clamp(20px, 4vw, 60px);
  flex: 1;
  position: relative;
  padding-top: 30px;
}

.hero-meta {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.meta-label { color: var(--ink-faint); }
.meta-value { color: var(--ink); font-weight: 500; }
.meta-divider {
  width: 1px;
  height: 12px;
  background: var(--rule-strong);
  display: inline-block;
  margin: 0 4px;
}

/* título gigante editorial */
.hero-title {
  grid-column: 1 / 2;
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.038em;
  color: var(--ink);
  align-self: center;
  position: relative;
  z-index: 2;
}
.hero-title .line {
  display: block;
}
.hero-title .line-1 { font-weight: 500; }
.hero-title .line-2 {
  font-weight: 800;
  position: relative;
  margin-left: 0.3em;
}
.hero-title .amp {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  margin-left: 0.06em;
  font-size: 0.88em;
  vertical-align: -0.05em;
}
.hero-title .line-3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-top: 0.05em;
  color: var(--accent);
}
.hero-title .line-3 em { font-style: italic; }
.hero-title .line-4 {
  font-weight: 800;
  margin-left: 0.55em;
}
.hero-title .period {
  color: var(--accent);
  display: inline-block;
  transform: translateY(0);
  animation: blink 2.4s steps(1) infinite;
}
@keyframes blink {
  0%, 60% { opacity: 1; }
  62%, 100% { opacity: 0; }
}

/* aside derecho del hero (retrato + lede + cta) */
.hero-aside {
  grid-column: 2 / 3;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 12px;
  position: relative;
  z-index: 3;
}
.hero-portrait-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}
.hero-portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(0.15) contrast(1.05);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.18);
}
.portrait-tag {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

.hero-lede {
  margin: 0;
  font-family: var(--reader);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
  position: relative;
  padding-left: 18px;
  border-left: 1px solid var(--rule-strong);
}
.hero-lede em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.quote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5em;
  line-height: 0;
  color: var(--accent);
  margin-right: 2px;
  vertical-align: -0.18em;
}

/* objeto: el desodorante */
.hero-object {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  margin: 0;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 20px;
}
.hero-object img {
  max-height: 78vh;
  width: auto;
  filter: drop-shadow(0 50px 60px rgba(13, 13, 13, 0.25)) drop-shadow(0 8px 12px rgba(13,13,13,0.1));
  animation: float 7s ease-in-out infinite;
  position: relative;
}
.hero-object::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(31, 58, 204, 0.18), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero-object figcaption {
  position: absolute;
  bottom: 8px;
  right: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  max-width: 220px;
}
.hero-object figcaption span:first-child { color: var(--ink); font-weight: 500; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-14px) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-object img { animation: none; }
  .hero-title .period { animation: none; }
}

/* hero — responsive */
@media (max-width: 980px) {
  .hero { padding-top: 110px; min-height: auto; }
  .hero-frame {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }
  .hero-title {
    grid-column: 1; grid-row: auto;
    font-size: clamp(56px, 16vw, 120px);
  }
  .hero-object {
    grid-column: 1; grid-row: auto;
    justify-content: center;
    padding: 30px 0;
  }
  .hero-object img { max-height: 50vh; }
  .hero-aside {
    grid-column: 1;
    align-self: start;
  }
}

/* marquee inferior del hero */
.hero-marquee {
  margin: clamp(40px, 7vh, 80px) calc(var(--gutter) * -1) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  padding: 22px 0;
  background: var(--ink);
  color: var(--paper);
}
.hero-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 50px);
  letter-spacing: -0.01em;
  animation: marqueeX 38s linear infinite;
  will-change: transform;
}
@keyframes marqueeX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.dot-sep { color: var(--accent-glow); font-family: var(--display); font-style: normal; font-size: 0.4em; vertical-align: 0.4em; }
@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track { animation-duration: 90s; }
}

/* ============================================================
   SECCIONES — base
   ============================================================ */
.section {
  position: relative;
  padding: clamp(80px, 12vh, 160px) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: clamp(40px, 6vh, 70px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule-strong);
}
.section-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  align-self: start;
  padding-top: 8px;
  position: relative;
}
.section-num::before {
  content: "§";
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  margin-right: 6px;
  color: var(--accent);
  vertical-align: -1px;
}
.section-title-wrap { min-width: 0; }
.section-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.18em;
}
.section-title-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.015em;
}
.section-kicker {
  margin: 14px 0 0;
  font-family: var(--reader);
  font-size: 14px;
  color: var(--ink-mute);
  max-width: 52ch;
  line-height: 1.55;
}
.spread-counter {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink);
  align-self: end;
  padding-bottom: 6px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.spread-counter span[data-counter-current] {
  font-size: 32px;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.counter-sep { color: var(--ink-faint); }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .spread-counter { justify-self: start; }
}

/* ============================================================
   01 · CAMPAÑAS — spread editorial
   ============================================================ */
.spread {
  position: relative;
}
.spread-stage {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(14px, 2vw, 22px);
  min-height: clamp(440px, 65vh, 700px);
}
.spread-slot {
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.spread-slot::before {
  content: attr(data-tag);
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 5px 9px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.spread-slot:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -20px rgba(0,0,0,.25); }
.spread-slot:hover::before { opacity: 1; transform: translateY(0); }
.spread-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.spread-slot:hover img { transform: scale(1.04); }

.spread-slot.slot-hero {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.spread-slot.slot-a { grid-column: 2 / 3; grid-row: 1 / 2; }
.spread-slot.slot-b { grid-column: 2 / 3; grid-row: 2 / 3; }

.spread-slot.is-entering {
  animation: slot-in .9s var(--ease-out) both;
}
.spread-slot.slot-a.is-entering { animation-delay: 0.1s; }
.spread-slot.slot-b.is-entering { animation-delay: 0.2s; }
@keyframes slot-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .spread-stage {
    grid-template-columns: 1fr;
    grid-template-rows: 60vh auto auto;
    min-height: auto;
  }
  .spread-slot.slot-hero { grid-column: 1; grid-row: 1; }
  .spread-slot.slot-a    { grid-column: 1; grid-row: 2; height: 280px; }
  .spread-slot.slot-b    { grid-column: 1; grid-row: 3; height: 280px; }
}

.spread-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  display: grid; place-items: center;
  transition: background .25s var(--ease), color .25s var(--ease), transform .3s var(--ease);
}
.spread-arrow:hover { background: var(--ink); color: var(--paper); transform: translateY(-50%) scale(1.05); }
.spread-prev { left: -28px; }
.spread-next { right: -28px; }
@media (max-width: 980px) {
  .spread-prev { left: 8px; }
  .spread-next { right: 8px; }
  .spread-arrow { width: 44px; height: 44px; }
}

/* ============================================================
   02 · CLIENTES
   ============================================================ */
.section-clientes {
  background: var(--ink);
  color: var(--paper);
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.section-clientes .section-head {
  border-bottom-color: rgba(244, 240, 232, 0.18);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.section-clientes .section-num { color: var(--ink-faint); }
.section-clientes .section-num::before { color: var(--accent-glow); }
.section-clientes .section-title { color: var(--paper); }
.section-clientes .section-title-em { color: var(--accent-glow); }
.section-clientes .section-kicker { color: rgba(244, 240, 232, 0.66); }

.logos-marquee {
  position: relative;
  overflow: hidden;
  padding: 50px 0;
  border-top: 1px solid rgba(244,240,232,0.15);
  border-bottom: 1px solid rgba(244,240,232,0.15);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.logos-track {
  display: inline-flex;
  align-items: stretch;
  gap: 22px;
  width: max-content;
  animation: marqueeX 70s linear infinite;
  padding: 0 11px;
}
.logos-track:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation-duration: 200s; }
}
.logo-cell {
  flex: 0 0 auto;
  width: 200px;
  height: 130px;
  background: var(--paper);
  border: 1px solid rgba(13,13,13,0.06);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}
.logo-cell::after {
  content: attr(data-name);
  position: absolute;
  bottom: -22px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.4);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.logo-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px -12px rgba(0,0,0,0.4);
}
.logo-cell:hover::after { opacity: 1; transform: translateY(0); }
.logo-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: grayscale(1) contrast(1.05);
  transition: filter .35s var(--ease);
}
.logo-cell:hover img { filter: grayscale(0) contrast(1); }

.logos-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--maxw);
  margin: 60px auto 0;
  padding: 0 var(--gutter);
}
.stat {
  text-align: left;
  border-top: 1px solid rgba(244,240,232,0.2);
  padding-top: 18px;
}
.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(50px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--paper);
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.55);
}
@media (max-width: 720px) {
  .logos-stats { grid-template-columns: 1fr; gap: 22px; }
}

/* ============================================================
   03 · RECOMENDACIONES — testimonios editoriales
   ============================================================ */
.section-recomendaciones {
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(80px, 12vh, 140px);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(159, 84, 56, 0.04), transparent 60%),
    var(--paper);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding: 0 var(--gutter);
}
.rec-card {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: 4px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.rec-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 13, 13, 0.18);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.14);
}
.rec-card::before {
  content: '"';
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 72px;
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}
.rec-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rec-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(13, 13, 13, 0.1);
  background: #ece8df;
  filter: grayscale(0.15);
  transition: filter .35s var(--ease);
}
.rec-card:hover .rec-avatar {
  filter: grayscale(0);
}
.rec-author {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rec-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.rec-title {
  font-family: var(--reader);
  font-size: 12.5px;
  color: rgba(13, 13, 13, 0.62);
  line-height: 1.35;
}
.rec-loc {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, 0.42);
  margin-top: 3px;
}
.rec-text {
  margin: 0;
  font-family: var(--reader);
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(13, 13, 13, 0.85);
  letter-spacing: -0.003em;
  padding-top: 16px;
  border-top: 1px solid rgba(13, 13, 13, 0.06);
}

.rec-cta-wrap {
  display: flex;
  justify-content: center;
  margin: 40px auto 0;
  padding: 0 var(--gutter);
}
.rec-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(13, 13, 13, 0.16);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.rec-cta svg { color: #0a66c2; transition: color .25s var(--ease); }
.rec-cta:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.rec-cta:hover svg { color: #5b9bff; }
.rec-cta-arrow {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 14px;
  transition: transform .25s var(--ease);
}
.rec-cta:hover .rec-cta-arrow {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .rec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rec-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .rec-card { padding: 22px 20px 20px; }
  .rec-card::before { font-size: 56px; top: 14px; right: 16px; }
  .rec-avatar { width: 46px; height: 46px; }
  .rec-name { font-size: 14.5px; }
  .rec-title { font-size: 12px; }
  .rec-text { font-size: 14px; }
}

/* ============================================================
   04 · CONTACTO — full bleed
   ============================================================ */
.section-contacto {
  padding: 0;
  max-width: 100%;
}
.contacto-canvas {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
}
.contacto-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
  filter: contrast(1.05) brightness(0.92);
}

/* Desktop: split layout — imagen completa a la izquierda, contenido a la derecha */
@media (min-width: 960px) {
  .contacto-canvas {
    display: grid;
    grid-template-columns: minmax(380px, 0.9fr) 1.1fr;
    min-height: 96vh;
    background: #0d0d0d;
  }
  .contacto-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #0d0d0d;
    filter: contrast(1.04) brightness(0.96);
  }
  .contacto-overlay {
    display: none;
  }
  .contacto-content {
    padding: clamp(60px, 8vh, 100px) clamp(40px, 5vw, 90px);
    min-height: auto;
  }
  .contacto-caption {
    bottom: 24px;
    left: 24px;
    right: auto;
    text-align: left;
    color: rgba(244,240,232,0.55);
  }
}
.contacto-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(13, 13, 13, 0.78) 0%, rgba(13, 13, 13, 0.55) 50%, rgba(13, 13, 13, 0.3) 100%),
    radial-gradient(ellipse at top right, transparent, rgba(13,13,13,0.4));
  z-index: 1;
}
.contacto-content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) var(--gutter);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 92vh;
  justify-content: center;
}
.section-head-light {
  border-bottom: 0;
  margin-bottom: 8px;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  grid-template-columns: none;
}
.section-head-light .section-num { color: var(--paper); padding: 0; }
.section-head-light .section-num::before { color: var(--accent-glow); }
.section-kicker-light { color: rgba(244,240,232,0.7); margin: 0; }

.contacto-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(54px, 10vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  max-width: 18ch;
}
.contacto-title span { display: block; }
.contacto-title em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent-glow);
  letter-spacing: -0.025em;
}
.contacto-lede {
  margin: 12px 0 24px;
  font-family: var(--reader);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: rgba(244,240,232,0.85);
  max-width: 44ch;
}
.contacto-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.contacto-caption {
  position: absolute;
  bottom: 28px;
  right: var(--gutter);
  z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.6);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  max-width: 280px;
}
.contacto-caption span:first-child { color: var(--paper); font-weight: 500; }
@media (max-width: 720px) {
  .contacto-caption { display: none; }
}

/* ============================================================
   CTAs
   ============================================================ */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px 18px 28px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
  z-index: 0;
}
.cta:hover::before { transform: translateY(0); }
.cta > * { position: relative; z-index: 1; }
.cta-label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
}
.cta-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  border-left: 1px solid rgba(244,240,232,0.3);
  padding-left: 14px;
  transition: opacity .3s var(--ease);
}
.cta-arrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 18px;
  transition: transform .35s var(--ease);
}
.cta:hover .cta-arrow { transform: translateX(4px); }
.cta:hover .cta-sub { opacity: 0.95; }

.cta-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.cta-light .cta-sub { border-left-color: rgba(13,13,13,0.18); }

.cta-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(244,240,232,0.4);
}
.cta-ghost::before { background: var(--paper); }
.cta-ghost:hover { color: var(--ink); }
.cta-ghost .cta-sub { border-left-color: rgba(244,240,232,0.22); }

/* ============================================================
   WhatsApp flotante
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  border: 1px solid var(--ink);
  box-shadow: 0 12px 40px -10px rgba(13,13,13,0.4);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.wa-float:hover { background: var(--accent); transform: translateY(-2px); }
.wa-float svg {
  background: var(--whatsapp);
  border-radius: 50%;
  padding: 6px;
  width: 34px; height: 34px;
}
.wa-float-label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.005em;
}
.wa-float-pulse {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--whatsapp);
  opacity: .35;
  animation: pulse 2.4s var(--ease) infinite;
  z-index: -1;
}
@keyframes pulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: .25; }
  50%      { transform: translateY(-50%) scale(1.6); opacity: 0; }
}
@media (max-width: 540px) {
  .wa-float { padding: 10px; gap: 0; }
  .wa-float-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float-pulse { animation: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px var(--gutter) 36px;
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  align-items: end;
  border-bottom: 1px solid rgba(244,240,232,0.18);
  padding-bottom: 32px;
}
.footer-col p { margin: 0; }
.footer-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(56px, 7vw, 100px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--paper);
}
.footer-tag {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.5);
}
.footer-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.5);
  margin-bottom: 6px !important;
}
.footer-value {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  color: var(--paper);
  letter-spacing: -0.005em;
}
.footer-col-end { text-align: right; }
.colophon {
  max-width: var(--maxw);
  margin: 24px auto 0;
  font-family: var(--reader);
  font-size: 12.5px;
  color: rgba(244,240,232,0.45);
  text-align: center;
  font-style: italic;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-col-end { text-align: left; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  background: rgba(13, 13, 13, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
  padding: 60px;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-fig {
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-fig img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--ink-soft);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.lightbox-fig figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.7);
}
.lightbox-close {
  position: absolute;
  top: 22px; right: 22px;
  width: 44px; height: 44px;
  font-size: 28px;
  color: var(--paper);
  border: 1px solid rgba(244,240,232,0.3);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .25s var(--ease);
}
.lightbox-close:hover { background: rgba(244,240,232,0.12); }
.lightbox-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  font-size: 32px;
  color: var(--paper);
  border: 1px solid rgba(244,240,232,0.3);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .25s var(--ease);
}
.lightbox-arrow:hover { background: rgba(244,240,232,0.12); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
@media (max-width: 720px) {
  .lightbox { padding: 16px; }
  .lightbox-arrow { width: 42px; height: 42px; font-size: 22px; }
}

/* ============================================================
   reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* hero entrance — auto cuando carga */
.hero-title .line {
  opacity: 0;
  transform: translateY(40px);
  animation: line-in 1.2s var(--ease-out) forwards;
}
.hero-title .line-1 { animation-delay: 0.15s; }
.hero-title .line-2 { animation-delay: 0.30s; }
.hero-title .line-3 { animation-delay: 0.45s; }
.hero-title .line-4 { animation-delay: 0.60s; }
@keyframes line-in {
  to { opacity: 1; transform: translateY(0); }
}
.hero-aside { opacity: 0; animation: fade-in-up 1s var(--ease-out) 0.85s forwards; }
.hero-object { opacity: 0; animation: fade-in 1.2s var(--ease-out) 0.4s forwards; }
.hero-meta { opacity: 0; animation: fade-in 0.8s var(--ease-out) 0.2s forwards; }
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title .line, .hero-aside, .hero-object, .hero-meta {
    opacity: 1; transform: none; animation: none;
  }
}
