/* ============================================================
   S&M — Edición NEWSROOM (propuesta editorial / dinámica)
   ============================================================ */

:root {
  --navy:      #1B2D6B;
  --navy-deep: #0F1B3D;
  --navy-700:  #243a86;
  --blue:      #4A90D9;
  --blue-ink:  #2E6FBE;
  --blue-soft: #9BC0E6;
  --blue-pale: #D6E4F4;
  --paper:     #FBFAF6;   /* newsprint warm white */
  --paper-2:   #F1EEE6;
  --ink:       #1A1D26;
  --ink-mute:  #5E6373;
  --rule:      rgba(26,29,38,0.14);
  --rule-soft: rgba(26,29,38,0.08);

  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Libre Franklin", system-ui, -apple-system, sans-serif;
  --mono:  "Libre Franklin", ui-monospace, monospace;

  --gutter: clamp(20px, 4.5vw, 72px);
  --maxw:   1300px;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
::selection { background: var(--navy); color: #fff; }

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

h1,h2,h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); margin: 0; line-height: 1.04; }

/* small-caps label */
.kicker {
  font-family: var(--sans);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--blue); }
.kicker--light { color: var(--blue-soft); }
.kicker--light::before { background: var(--blue-soft); }

/* ============ TICKER (fixed top) ============ */
.ticker {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  background: var(--navy-deep); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  height: 38px; display: flex; align-items: center; overflow: hidden;
  font-size: 12.5px; letter-spacing: 0.02em;
}
.ticker__tag {
  flex-shrink: 0; height: 100%; display: flex; align-items: center; gap: 8px;
  padding: 0 16px; background: var(--blue); color: #fff;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px;
  z-index: 2;
}
.ticker__live { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s steps(2,end) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.ticker__track { display: flex; white-space: nowrap; will-change: transform; animation: tick 38s linear infinite; }
.ticker__track span { padding: 0 30px; color: rgba(255,255,255,0.82); position: relative; }
.ticker__track span::after { content: "•"; position: absolute; right: -3px; color: var(--blue-soft); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0; transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 30px; width: auto; }
.nav__logo .c { display: none; }
.nav__links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: 14px; font-weight: 500; text-decoration: none; color: rgba(255,255,255,0.85);
  position: relative; transition: color .25s; white-space: nowrap;
}
.nav__links a::after { content:""; position:absolute; left:0; bottom:-5px; width:0; height:2px; background: var(--blue); transition: width .3s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  padding: 10px 18px; border: 1.5px solid rgba(255,255,255,0.32); border-radius: 6px;
  color: #fff; text-decoration: none; transition: all .25s;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.nav__cta:hover { background: #fff; color: var(--navy); border-color: #fff; }
.nav.scrolled { background: rgba(251,250,246,0.92); backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%); box-shadow: 0 1px 0 var(--rule), 0 12px 30px -24px rgba(15,27,61,.5); padding: 11px 0; }
.nav.scrolled .nav__logo .w { display: none; }
.nav.scrolled .nav__logo .c { display: block; }
.nav.scrolled .nav__links a { color: var(--ink); }
.nav.scrolled .nav__cta { color: var(--navy); border-color: var(--navy); }
.nav.scrolled .nav__cta:hover { background: var(--navy); color: #fff; }
.nav__toggle { display: none; }

/* ============ HERO ============ */
.hero { position: relative; background: var(--navy-deep); color: #fff; padding: 150px 0 0; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 100% 64px, 25% 100%;
}
.hero__glow {
  position: absolute; width: 700px; height: 700px; right: -180px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,217,0.4), transparent 62%); filter: blur(20px);
}
.hero__inner { position: relative; z-index: 2; }
.hero__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.14); margin-bottom: 56px; }
.hero__dateline { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.hero__dateline b { color: #fff; font-weight: 600; }
.hero__edition { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--blue-soft); }

.hero__main { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px,5vw,70px); align-items: end; padding-bottom: 70px; }
.hero h1 { color: #fff; font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -0.02em; line-height: 0.98; }
.hero h1 .line2 { display: block; }
.rotator { display: inline-block; position: relative; color: var(--blue-soft); font-style: italic; min-width: 4ch; }
.rotator__word { display: inline-block; }
.hero__sub { margin: 30px 0 0; font-size: clamp(1.1rem,1.6vw,1.32rem); color: rgba(255,255,255,0.8); max-width: 36ch; line-height: 1.5; }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 38px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 15px; font-weight: 600;
  padding: 15px 26px; border-radius: 7px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: all .3s var(--ease);
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--out { border-color: rgba(255,255,255,0.3); color:#fff; }
.btn--out:hover { border-color:#fff; background: rgba(255,255,255,0.06); }
.hero__note { font-size: 13.5px; color: rgba(255,255,255,0.6); }

/* mock front page clipping */
.clipping {
  position: relative; background: var(--paper); color: var(--ink);
  border-radius: 4px; padding: 26px 26px 22px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
  transform: rotate(2.2deg); transform-origin: bottom right;
  border-top: 4px solid var(--navy);
  will-change: transform;
}
.clipping__masthead { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; }
.clipping__masthead .name { font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }
.clipping__masthead .date { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.clipping__cat { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 8px; }
.clipping h3 { font-size: 1.45rem; line-height: 1.12; margin-bottom: 12px; }
.clipping__photo { aspect-ratio: 16/9; border-radius: 3px; background: linear-gradient(135deg, var(--paper-2), #dde6f1); position: relative; overflow: hidden; margin-bottom: 12px; }
.clipping__photo::after { content:""; position:absolute; inset:0; background-image: repeating-linear-gradient(135deg, rgba(27,45,107,.05) 0 8px, transparent 8px 16px); }
.clipping__photo span { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-family: var(--serif); font-style: italic; font-size: 12px; color: rgba(27,45,107,.4); }
.clipping__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.clipping__photo img.active { position: relative; opacity: 1; }
.clipping__cols { columns: 2; column-gap: 16px; font-size: 9.5px; line-height: 1.55; color: var(--ink-mute); }
.clipping__cols p { margin: 0 0 6px; }
.clipping__byline { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 10px; font-weight: 600; }

/* ============ MARQUEE (media outlets) ============ */
.marquee { background: var(--navy); color:#fff; padding: 22px 0; overflow: hidden; border-block: 1px solid rgba(255,255,255,0.1); }
.marquee__row { display: flex; gap: 0; white-space: nowrap; will-change: transform; animation: slidemq 30s linear infinite; }
.marquee__row span { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 32px); padding: 0 clamp(24px,3vw,48px); color: rgba(255,255,255,0.78); position: relative; }
.marquee__row span::after { content:"·"; position:absolute; right:-4px; color: var(--blue); }
@keyframes slidemq { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ============ SECTION base ============ */
.section { padding-block: clamp(80px, 10vw, 150px); position: relative; }
.section--paper2 { background: var(--paper-2); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2 { color: #fff; }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 8px 40px; align-items: start; margin-bottom: 60px; }
.sec-head__index { font-family: var(--serif); font-size: 14px; font-style: italic; color: var(--blue-ink); padding-top: 8px; }
.section--navy .sec-head__index { color: var(--blue-soft); }
.sec-head__main { max-width: 800px; }
.sec-head .kicker { margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.012em; }
.sec-head p { margin: 18px 0 0; color: var(--ink-mute); font-size: 1.12rem; max-width: 60ch; line-height: 1.55; }
.section--navy .sec-head p { color: rgba(255,255,255,0.74); }

/* ============ PROBLEMA — autodiagnóstico interactivo ============ */
.diag { margin-top: 52px; border-top: 1px solid var(--rule); }
.diagq {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  grid-template-areas: "n q opts" ". note note";
  gap: 6px 26px; align-items: center;
  padding: 30px 24px 30px 0; border-bottom: 1px solid var(--rule);
  position: relative; transition: padding .4s var(--ease), background .4s var(--ease);
}
.diagq::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: -1px; width: 3px;
  background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.diagq.is-no { background: linear-gradient(90deg, rgba(28,92,61,0.035), transparent 40%); padding-left: 24px; }
.diagq.is-no::before { transform: scaleY(1); }
.diagq.is-si { opacity: .62; }
.diagq__n { grid-area: n; font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.6rem); color: var(--rule); line-height: 1; transition: color .4s var(--ease); }
.diagq.is-no .diagq__n { color: var(--blue); }
.diagq h3 { grid-area: q; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.18; }
.diagq__opts { grid-area: opts; display: flex; gap: 8px; }
.diagq__pill {
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .02em;
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--rule);
  background: transparent; color: var(--ink-mute); cursor: pointer;
  transition: all .25s var(--ease);
}
.diagq__pill:hover { border-color: var(--navy); color: var(--navy); }
.diagq__pill[data-v="si"].active { background: var(--navy); border-color: var(--navy); color: #fff; }
.diagq__pill[data-v="no"].active { background: var(--blue); border-color: var(--blue); color: #fff; }
.diagq__note {
  grid-area: note; margin: 4px 0 0; color: var(--ink-mute); font-size: 15px; line-height: 1.5;
  max-width: 64ch; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .4s var(--ease);
}
.diagq.is-no .diagq__note { max-height: 120px; opacity: 1; margin-top: 14px; }

.diag__result {
  margin-top: 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 28px 32px; background: var(--navy); border-radius: 14px; color: #fff;
}
.diag__resulttext { display: grid; gap: 4px; }
.diag__rlabel { font-family: var(--serif); font-size: clamp(1.2rem,2vw,1.55rem); color: #fff; }
.diag__rsub { font-size: 14.5px; color: rgba(255,255,255,0.72); }
.diag__cta { flex-shrink: 0; }

/* ============ DIFERENCIAL — kinetic stats ============ */
.bigstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 20px; }
.bigstat { padding: 30px clamp(16px,2vw,30px); border-left: 1px solid rgba(255,255,255,0.16); position: relative; }
.bigstat:first-child { border-left: none; padding-left: 0; }
.bigstat__num { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.6rem); line-height: 0.92; letter-spacing: -0.02em; display: flex; align-items: baseline; }
.bigstat__num .a { color: var(--blue-soft); }
.bigstat__bar { height: 3px; background: rgba(255,255,255,0.16); margin: 22px 0 16px; overflow: hidden; }
.bigstat__bar i { display: block; height: 100%; width: 0; background: var(--blue); transition: width 1.3s var(--ease); }
.bigstat.in .bigstat__bar i { width: var(--w, 70%); }
.bigstat__label { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.45; }

/* ============ PROCESO — interactive stepper ============ */
.stepper { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(34px,5vw,72px); align-items: start; margin-top: 16px; }
.stepper__nav { display: grid; gap: 6px; }
.stepbtn {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
  text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 22px; border-radius: 10px; transition: background .3s var(--ease);
  position: relative;
}
.stepbtn__n { font-family: var(--serif); font-size: 18px; color: var(--ink-mute); width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--rule); display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease); }
.stepbtn__t { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); transition: color .3s; }
.stepbtn:hover { background: rgba(27,45,107,0.035); }
.stepbtn.active { background: var(--navy); }
.stepbtn.active .stepbtn__n { background: var(--blue); border-color: var(--blue); color: #fff; }
.stepbtn.active .stepbtn__t { color: #fff; }
.stepbtn__prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue); border-radius: 2px; }
.stepbtn.active .stepbtn__prog { animation: progfill 6s linear forwards; }
@keyframes progfill { from { width: 0; } to { width: 100%; } }

.stepper__panel { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: clamp(28px,3.5vw,48px); min-height: 340px; position: relative; box-shadow: 0 30px 60px -40px rgba(15,27,61,0.4); }
.steppanel { display: none; }
.steppanel.active { display: block; animation: fadeup .5s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px);} to { opacity:1; transform:none; } }
.steppanel__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 18px; }
.steppanel h3 { font-size: clamp(1.7rem,3vw,2.4rem); margin-bottom: 18px; }
.steppanel p { color: var(--ink-mute); font-size: 1.05rem; line-height: 1.6; margin: 0 0 26px; max-width: 46ch; }
.steppanel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steppanel li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; color: var(--ink); }
.steppanel li::before { content: "—"; color: var(--blue); font-weight: 700; }

/* ============ HEADLINE GENERATOR (interactive) ============ */
.genwrap { background: var(--navy-deep); color: #fff; border-radius: 16px; padding: clamp(30px,4vw,56px); position: relative; overflow: hidden; }
.genwrap__glow { position:absolute; width:480px; height:480px; left:-120px; bottom:-200px; border-radius:50%; background: radial-gradient(circle, rgba(74,144,217,.34), transparent 62%); filter: blur(10px); }
.gen { position: relative; z-index: 2; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px,4vw,60px); align-items: center; }
.gen__intro .kicker { margin-bottom: 18px; }
.gen__intro h2 { color:#fff; font-size: clamp(1.8rem,3.2vw,2.7rem); margin-bottom: 16px; }
.gen__intro p { color: rgba(255,255,255,0.74); font-size: 1.05rem; margin: 0 0 26px; max-width: 40ch; }
.gen__field { display: flex; gap: 10px; flex-wrap: wrap; }
.gen__field input { flex: 1; min-width: 200px; font-family: var(--sans); font-size: 15px; padding: 14px 16px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #fff; }
.gen__field input::placeholder { color: rgba(255,255,255,0.5); }
.gen__field input:focus { outline: none; border-color: var(--blue); background: rgba(255,255,255,0.1); }

.gen__paper { background: var(--paper); color: var(--ink); border-radius: 6px; padding: 30px 30px 26px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border-top: 5px solid var(--navy); }
.gen__paper .mh { display:flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 16px; }
.gen__paper .mh .nm { font-family: var(--serif); font-weight: 700; font-size: 20px; }
.gen__paper .mh .dt { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.gen__paper .cat { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 10px; }
.gen__headline { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; min-height: 2.2em; transition: opacity .3s; }
.gen__byline { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }

/* ============ EQUIPO masthead ============ */
.masthead { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.person { }
.person__photo { aspect-ratio: 1/1.12; border-radius: 10px; overflow: hidden; position: relative; background: linear-gradient(150deg, var(--paper-2), #d7e2f0); margin-bottom: 18px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.person__photo::after { content:""; position:absolute; inset:0; background-image: repeating-linear-gradient(135deg, rgba(27,45,107,.05) 0 9px, transparent 9px 18px); }
.person__mono { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-family: var(--serif); font-size: 3rem; color: rgba(27,45,107,.26); }
.person__hint { position:absolute; left:12px; bottom:10px; font-family: var(--serif); font-style: italic; font-size: 11px; color: rgba(27,45,107,.42); }
.person__role { font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 8px; }
.person h3 { font-size: 1.25rem; margin-bottom: 10px; }
.person p { margin: 0; font-size: 13.5px; color: var(--ink-mute); line-height: 1.5; }

/* ============ TESTIMONIOS — big pull quote ============ */
.tquotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; border-top: 1px solid var(--rule); }
.tquote {
  padding: 22px 22px 20px 0; display: flex; flex-direction: column;
  border-bottom: 1px solid var(--rule);
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.tquote.in { opacity: 1; transform: none; }
.tquote:nth-child(3n) { padding-right: 0; }
.tquote:nth-child(3n+1) { padding-left: 0; }
.tquote:nth-child(3n+2) { padding-left: 22px; }
.tquote blockquote { flex: 1; }

.pq__mark { font-family: var(--serif); font-size: 2.2rem; line-height: 0.5; color: var(--blue-pale); height: 20px; margin-bottom: 8px; }
.tquote blockquote { margin: 0 0 16px; font-family: var(--sans); font-size: 0.92rem; line-height: 1.5; color: var(--ink); font-weight: 400; letter-spacing: 0; text-wrap: pretty; }
.pq__cite { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.pq__av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(150deg, var(--blue), var(--navy)); color:#fff; display:flex; align-items:center; justify-content:center; font-family: var(--serif); font-weight: 600; font-size: 11px; flex-shrink: 0; }
.pq__cite .n { font-family: var(--sans); font-weight: 600; font-size: 0.82rem; color: var(--navy); line-height: 1.25; }
.pq__cite .r { font-size: 9.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-mute); line-height: 1.4; }

/* ============ CASOS DE ÉXITO ============ */
.casos { margin-top: 20px; }
.casos__stage { position: relative; min-height: 580px; }
.caso { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px,4vw,64px); align-items: start; }
.caso.active { opacity: 1; visibility: visible; transform: none; position: relative; }
.caso__photo { position: relative; display: flex; flex-direction: column; }
.casos__slot { width: 100%; height: 560px; display: block; border: 1px solid var(--rule); background: var(--paper-2); }
.casos__phototag { margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink); }
.caso__body { display: flex; flex-direction: column; justify-content: center; padding-top: 10px; }
.caso__num { font-family: var(--serif); font-size: clamp(3rem,6vw,5rem); line-height: 1; color: var(--blue-pale); margin-bottom: 12px; }
.caso__title { font-size: clamp(1.6rem,3vw,2.4rem); line-height: 1.12; margin-bottom: 20px; }
.caso p { margin: 0; color: var(--ink-mute); font-size: 1.08rem; line-height: 1.6; max-width: 46ch; }
.casos__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; border-top: 1px solid var(--rule); padding-top: 24px; }
.casos__count { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-mute); }
.casos__count b { color: var(--navy); font-size: 1.4rem; }
.casos__arrows { display: flex; gap: 12px; }

/* ============ CLIENTES ============ */
.logos { display: grid; grid-template-columns: repeat(6,1fr); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; margin-top: 20px; background: var(--rule-soft); gap: 1px; }
.logo { aspect-ratio: 16/10; display:flex; align-items:center; justify-content:center; text-align:center; padding: 22px clamp(16px,2vw,30px); background: var(--paper); transition: background .3s; }
.logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .68; transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease); }
.logo:hover { background: #fff; }
.logo:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.05); }
.logo b { display:block; font-family: var(--serif); font-size: 18px; color: var(--navy); margin-bottom: 3px; }
.logo span { font-size: 11px; color: var(--ink-mute); line-height: 1.3; }

/* ============ CTA ============ */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,80px); align-items: start; }
.cta__left h2 { color:#fff; font-size: clamp(2.4rem,4.6vw,3.8rem); margin-bottom: 20px; }
.cta__left p { color: rgba(255,255,255,0.76); font-size: 1.12rem; margin: 0 0 36px; max-width: 38ch; }
.cta__contact { display: grid; gap: 18px; }
.cta__contact .row { display: flex; align-items: center; gap: 14px; }
.cta__contact .ic { width: 38px; height: 38px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center; color: var(--blue-soft); flex-shrink: 0; }
.cta__contact .ic svg { width: 17px; height: 17px; }
.cta__contact .k { font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.cta__contact .v { font-size: 15.5px; color: #fff; text-decoration: none; }
.cta__contact a.v:hover { color: var(--blue-soft); }

.fcard { background: var(--paper); border-radius: 14px; padding: clamp(26px,3vw,40px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.5); }
.fcard h3 { font-size: 1.5rem; margin-bottom: 6px; }
.fcard .s { color: var(--ink-mute); font-size: 14px; margin: 0 0 26px; }
.fld { margin-bottom: 16px; }
.fld label { display:block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--navy); margin-bottom: 7px; }
.fld input { width: 100%; font-family: var(--sans); font-size: 15px; padding: 13px 15px; border: 1.5px solid var(--rule); border-radius: 7px; background: var(--paper-2); color: var(--ink); transition: all .25s; }
.fld input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(74,144,217,.13); }
.fld.invalid input { border-color: #d8466a; background: #fdf2f5; }
.fld .err { display:none; font-size: 12px; color: #d8466a; margin-top: 5px; }
.fld.invalid .err { display: block; }
.fcard .btn { width: 100%; justify-content: center; margin-top: 4px; }
.fnote { font-size: 12px; color: var(--ink-mute); text-align: center; margin: 14px 0 0; }
.fsuccess { display: none; text-align: center; padding: 16px 0; }
.fsuccess.show { display: block; animation: fadeup .5s var(--ease); }
.fsuccess .ck { width: 60px; height: 60px; border-radius: 50%; background: rgba(74,144,217,.12); color: var(--blue); display:flex; align-items:center; justify-content:center; margin: 0 auto 18px; }
.fsuccess h3 { margin-bottom: 8px; }
.fsuccess p { color: var(--ink-mute); font-size: 14.5px; margin: 0; }

/* ============ FOOTER ============ */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding-block: 64px 30px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 38px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer__brand img { height: 34px; margin-bottom: 20px; }
.footer__brand p { font-size: 14px; max-width: 32ch; line-height: 1.6; margin: 0; }
.footer__col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue-soft); margin: 0 0 16px; font-weight: 700; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer__col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color .25s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: rgba(255,255,255,0.5); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.16); display:flex; align-items:center; justify-content:center; color: rgba(255,255,255,0.7); transition: all .25s; }
.footer__social a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.footer__social svg { width: 16px; height: 16px; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero__main { grid-template-columns: 1fr; }
  .clipping { max-width: 460px; margin-top: 10px; transform: rotate(1.5deg); }
  .gen, .cta, .pullquote, .stepper { grid-template-columns: 1fr; }
  .caso { grid-template-columns: 1fr; gap: 24px; }
  .casos__slot { height: 420px; }
  .tquotes { grid-template-columns: 1fr 1fr; }
  .tquote:nth-child(2n) { padding-right: 0; padding-left: 22px; }
  .tquote:nth-child(2n+1) { padding-left: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .hero__edition { display: none; }
  .nav__toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
  .nav__toggle span { width: 24px; height: 2px; background: #fff; }
  .nav.scrolled .nav__toggle span { background: var(--navy); }
  .bigstats { grid-template-columns: 1fr 1fr; gap: 10px 0; }
  .masthead { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3,1fr); }
  .diagq { grid-template-columns: 44px 1fr; grid-template-areas: "n q" "note note" "opts opts"; gap: 10px 18px; }
  .diagq__opts { margin-top: 6px; }
}
@media (max-width: 480px) {
  .bigstats { grid-template-columns: 1fr; }
  .bigstat { border-left: none; padding-inline: 0; }
  .masthead, .logos { grid-template-columns: 1fr 1fr; }
  .tquotes { grid-template-columns: 1fr; }
  .tquote { padding-left: 0 !important; padding-right: 0 !important; }
  .cta__contact { gap: 14px; }
}
