/* Alquie · Landing v2 — General Sans + Fraunces, navy hero + claro brillante */

/* ─── Tipografías de marca para la landing ───────────────────────────
   General Sans (Fontshare) — sans neutra moderna
   Fraunces italic (Google Fonts) — serif con personalidad
─────────────────────────────────────────────────────────────────── */
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500;1,9..144,600&display=swap');

:root {
  /* Brand */
  --navy:        #003558;
  --navy-mid:    #004a79;
  --navy-soft:   #daeaf7;
  --teal:        #007a6c;
  --teal-soft:   #d6efec;
  --mint:        #4aa975;
  --coral:       #ffa8a6;
  --coral-soft:  #ffefee;
  --peach:       #ffc691;
  --peach-soft:  #fff3e6;
  --gold:        #d9a23a;

  /* Fondo y texto */
  --bg:          #fbfaf6;
  --bg-warm:     #f5f1e8;
  --ink:         #0d2033;
  --ink-soft:    #5a7a8c;
  --ink-mute:    #94a3b8;
  --line:        #e3ddcd;
  --line-soft:   #efeadb;

  /* Familia */
  --f-sans:    'General Sans', system-ui, sans-serif;
  --f-serif:   'Fraunces', Georgia, serif;

  /* Layout */
  --maxw: 1240px;
  --pad: 32px;

  --shadow-sm: 0 2px 8px rgba(0, 53, 88, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 53, 88, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 53, 88, 0.14);
  --shadow-xl: 0 32px 80px rgba(0, 53, 88, 0.20);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.aq-root { overflow-x: clip; position: relative; }

/* ─── Tipografía base ──────────────────────────────────────────────── */
.aq-h1 {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.aq-h1 i, .aq-h2 i, .aq-h3 i {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.005em;
  font-size: 1.04em;
}
.aq-h2 {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
.aq-h3 {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin: 0;
}
.aq-h4 {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0;
}
.aq-lead {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}
.aq-body {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.aq-body-sm {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.aq-eyebrow {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.aq-eyebrow::before {
  content: '';
  width: 24px; height: 1.5px;
  background: currentColor;
  opacity: 0.5;
}
.aq-eyebrow--center::before { display: none; }
.aq-eyebrow--center::after { display: none; }

.aq-mw-md { max-width: 620px; }
.aq-mw-lg { max-width: 760px; }

/* italic accent run */
.aq-ital {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.005em;
  font-size: 1.04em;
}

/* ─── Buttons ──────────────────────────────────────────────────────── */
.aq-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
  white-space: nowrap;
}
.aq-btn--lg { padding: 15px 26px; font-size: 15.5px; border-radius: 14px; }
.aq-btn--md { padding: 11px 18px; font-size: 14px; border-radius: 11px; }
.aq-btn:hover { transform: translateY(-1px); }
.aq-btn:active { transform: translateY(0); }

.aq-btn--coral {
  background: var(--coral);
  color: var(--navy);
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(255,168,166,0.4), inset 0 1px 0 rgba(255,255,255,0.55);
}
.aq-btn--coral:hover { background: #ffb8b6; box-shadow: 0 16px 40px rgba(255,168,166,0.5), inset 0 1px 0 rgba(255,255,255,0.55); }

.aq-btn--ghost-light {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-weight: 500;
}
.aq-btn--ghost-light:hover { background: rgba(255,255,255,0.12); }

.aq-btn--navy {
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,53,88,0.18), inset 0 1px 0 rgba(255,255,255,0.15);
}
.aq-btn--navy:hover { background: var(--navy-mid); }

.aq-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.aq-btn--ghost:hover { background: rgba(0,53,88,0.04); border-color: var(--ink-soft); }

.aq-btn--white {
  background: #fff;
  color: var(--navy);
  font-weight: 500;
  border-color: var(--line);
}

.aq-btn-play {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

/* ─── Animation primitives ─────────────────────────────────────────── */
.aq-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms cubic-bezier(.2,.7,.3,1), transform 800ms cubic-bezier(.2,.7,.3,1);
}
.aq-reveal.is-in { opacity: 1; transform: translateY(0); }
.aq-reveal[data-delay="1"] { transition-delay: 80ms; }
.aq-reveal[data-delay="2"] { transition-delay: 160ms; }
.aq-reveal[data-delay="3"] { transition-delay: 240ms; }
.aq-reveal[data-delay="4"] { transition-delay: 320ms; }
.aq-reveal[data-delay="5"] { transition-delay: 400ms; }
.aq-reveal[data-delay="6"] { transition-delay: 480ms; }

/* ─── Alchemy text ─────────────────────────────────────────────────── */
.aq-alchemy { display: inline; }
.aq-alch-letter {
  display: inline;
  will-change: opacity, filter;
  opacity: 0;
  filter: blur(8px) brightness(2.2);
  color: var(--peach);
  animation: aqAlch 900ms cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes aqAlch {
  0%   { opacity: 0; filter: blur(10px) brightness(2.4); color: var(--peach); }
  60%  { opacity: 1; filter: blur(0) brightness(1.2); color: var(--peach); }
  100% { opacity: 1; filter: blur(0) brightness(1); color: inherit; }
}

.aq-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.4s cubic-bezier(.5,.1,.3,1);
}
.aq-draw.is-in { stroke-dashoffset: 0; }

@keyframes aqFloat {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(0, -10px); }
}
@keyframes aqFloat2 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(8px,-12px) rotate(2deg); }
}
@keyframes aqOrb {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-25px) scale(1.05); }
  66% { transform: translate(-15px,15px) scale(0.96); }
}
@keyframes aqSpin { to { transform: rotate(360deg); } }
@keyframes aqPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.18); }
}

/* ─── NAV ──────────────────────────────────────────────────────────── */
.aq-nav-wrap {
  position: sticky; top: 14px; z-index: 60;
  padding: 0 16px;
}
.aq-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin: 14px auto 0;
  padding: 14px 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,53,88,0.08);
  border-radius: 18px;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.aq-nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-sans); font-weight: 600; font-size: 19px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.aq-nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.aq-footer__logo-img {
  height: 56px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.aq-nav__links {
  display: flex; gap: 28px;
  list-style: none; padding: 0; margin: 0;
}
.aq-nav__links a {
  font-size: 14.5px; font-weight: 500;
  color: var(--ink);
}
.aq-nav__links a:hover { color: var(--navy); }
.aq-nav__cta { display: flex; gap: 14px; align-items: center; }

/* ─── HERO (navy) ──────────────────────────────────────────────────── */
.aq-hero {
  background:
    radial-gradient(1200px 600px at 12% 15%, rgba(255,198,145,0.18), transparent 55%),
    radial-gradient(900px 500px at 92% 90%, rgba(255,168,166,0.18), transparent 55%),
    radial-gradient(700px 400px at 65% 30%, rgba(74,169,117,0.10), transparent 60%),
    linear-gradient(170deg, #003558 0%, #002844 60%, #001f37 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
  margin-top: -120px;
  padding-top: 120px;
}
.aq-hero__texture {
  position: absolute; inset: 0;
  background: url('assets/headers-bg.webp') center / cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: luminosity;
}
.aq-hero__aurora {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.55;
  filter: blur(48px);
}
.aq-hero__aurora::before,
.aq-hero__aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.aq-hero__aurora::before {
  width: 70%; height: 70%;
  top: -10%; left: -10%;
  background: radial-gradient(circle, rgba(255,198,145,0.55), transparent 60%);
  animation: aqAurora1 18s ease-in-out infinite;
}
.aq-hero__aurora::after {
  width: 60%; height: 60%;
  bottom: -15%; right: -10%;
  background: radial-gradient(circle, rgba(255,168,166,0.5), transparent 60%);
  animation: aqAurora2 22s ease-in-out infinite;
}
@keyframes aqAurora1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15%, 12%) scale(1.15); }
  66% { transform: translate(-8%, 20%) scale(0.95); }
}
@keyframes aqAurora2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-12%, -8%) scale(1.1); }
  66% { transform: translate(18%, -14%) scale(0.92); }
}
.aq-hero__noise {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(1px 1px at 25% 25%, rgba(255,255,255,0.08), transparent 50%),
    radial-gradient(1px 1px at 75% 75%, rgba(255,255,255,0.06), transparent 50%);
  background-size: 4px 4px;
  mix-blend-mode: screen;
}
.aq-hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--pad) 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  z-index: 2;
}
.aq-hero__copy { padding-right: 24px; max-width: 560px; }
.aq-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--peach);
}
.aq-hero__eyebrow-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--peach);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 9px;
  font-style: normal;
}
.aq-hero__h1 {
  color: #fff;
  margin-bottom: 56px;
  font-size: clamp(30px, 3.2vw, 46px);
}
.aq-hero__h1 .accent i {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.06em;
  letter-spacing: -0.005em;
}
.aq-hero__h1 .accent {
  color: var(--peach);
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.06em;
  letter-spacing: -0.005em;
  position: relative;
  display: inline-block;
}
.aq-hero__h1 .accent svg {
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  width: 100%;
  height: 14px;
  overflow: visible;
}
.aq-hero__lead {
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin-top: 32px;
  margin-bottom: 36px;
}
.aq-hero__ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.aq-hero__strip {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  margin-top: -32px;
}
.aq-hero__strip-cell {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.aq-hero__strip-cell:last-child { border-right: none; }
.aq-hero__strip-cell:first-child { padding-left: 0; }
.aq-hero__strip-cell strong {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 30px;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1;
}
.aq-hero__strip-cell strong .stat-mod {
  font-family: var(--f-sans);
  font-size: 0.55em;
  font-weight: 700;
  vertical-align: 0.38em;
  letter-spacing: 0;
}
.aq-hero__strip-cell strong .frac {
  font-family: var(--f-sans);
  font-style: normal;
  font-weight: 400;
  font-size: 0.72em;
  color: var(--peach);
  vertical-align: 0.12em;
}
.aq-hero__strip-cell span {
  font-size: 12.5px;
  color: rgba(255,255,255,0.62);
  font-weight: 500;
}

/* Hero visual stage */
.aq-hero__stage {
  position: relative;
  aspect-ratio: 1 / 0.95;
  min-height: 460px;
}
.aq-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: aqOrb 10s ease-in-out infinite;
}
.aq-hero__orb--1 { width: 260px; height: 260px; background: var(--peach); top: 6%; right: 12%; opacity: 0.55; }
.aq-hero__orb--2 { width: 220px; height: 220px; background: var(--coral); bottom: 8%; left: 14%; opacity: 0.45; animation-delay: -4s; }
.aq-hero__orb--3 { width: 180px; height: 180px; background: var(--mint); top: 40%; right: 50%; opacity: 0.32; animation-delay: -7s; }

/* Photo placeholder — main hero image */
.aq-hero__photo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 78%;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 12px, rgba(255,255,255,0.02) 12px 24px),
    linear-gradient(160deg, rgba(255,198,145,0.5), rgba(255,168,166,0.6));
  border: 1.5px dashed rgba(255,255,255,0.35);
  box-shadow: var(--shadow-xl);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
  z-index: 2;
}
.aq-hero__photo small {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.7);
  max-width: 230px;
}
.aq-hero__photo--filled {
  background: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
}
.aq-hero__photo--filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  display: block;
}

/* Floating UI cards — glass */
.aq-glass-card {
  position: absolute;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.18);
  color: #fff;
  z-index: 4;
}
.aq-glass-card--quiz {
  top: 8%; left: -3%;
  width: clamp(160px, 20vw, 240px);
  animation: aqFloat 6s ease-in-out infinite;
}
.aq-glass-card--xp {
  bottom: 10%; right: -2%;
  width: clamp(140px, 17vw, 210px);
  animation: aqFloat2 7s ease-in-out infinite;
  animation-delay: -2s;
}
.aq-glass-card__eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.aq-glass-card__eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 3px rgba(255,198,145,0.25);
}
.aq-glass-card__title {
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 12px;
}
.aq-glass-card__bar {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  overflow: hidden;
}
.aq-glass-card__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--peach), var(--coral));
  border-radius: 999px;
  width: 0%;
  transition: width 1.6s cubic-bezier(.5,.1,.2,1) 0.4s;
}
.aq-glass-card.is-in .aq-glass-card__bar-fill { width: 72%; }
.aq-glass-card__meta {
  display: flex; justify-content: space-between;
  font-size: 11.5px;
  color: rgba(255,255,255,0.7);
  margin-top: 10px;
  font-weight: 500;
}
.aq-glass-card__pill {
  background: rgba(255,198,145,0.2);
  color: var(--peach);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10.5px;
}
.aq-glass-card__big {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.aq-glass-card__big i {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--peach);
  font-size: 0.6em;
  margin-right: 4px;
}
.aq-glass-card__sub {
  font-size: 11.5px;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  font-weight: 500;
}

/* drawn squiggle inside hero stage */
.aq-hero__doodle {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.aq-hero__doodle--1 { top: -10px; right: 18%; width: 90px; }
.aq-hero__doodle--2 { bottom: 16%; left: 8%; width: 130px; }
.aq-hero__sparkle {
  position: absolute;
  z-index: 3;
  animation: aqPulse 3s ease-in-out infinite;
}
.aq-hero__sparkle--1 { top: 22%; right: 8%; }
.aq-hero__sparkle--2 { bottom: 28%; left: 22%; animation-delay: -1.5s; }

/* ─── Section base (light) ────────────────────────────────────────── */
.aq-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--pad);
  position: relative;
}
.aq-nodevice__art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(0,53,88,0.045) 0 14px, rgba(0,53,88,0.02) 14px 28px),
    linear-gradient(160deg, rgba(255,168,166,0.20), rgba(255,198,145,0.12));
  border: 1px solid var(--line);
}
.aq-nodevice__art::before {
  content: '';
  position: absolute;
  top: 38%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 68%);
  z-index: 0;
}
.aq-nodevice__art img {
  position: relative;
  z-index: 1;
  max-width: 250px;
  width: 58%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(0,53,88,0.16));
}
.aq-learn {
  position: relative;
  z-index: 1;
  width: 56%;
  max-width: 210px;
  height: auto;
  margin-top: -2px;
  overflow: visible;
}
.aq-learn__line {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 68px;
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  opacity: 0;
  animation: aq-word-cycle 12s ease-in-out infinite;
}
/* Cuatro palabras comparten el mismo punto: cada una se dibuja en su cuarto del
   ciclo (3s de 12s) y queda oculta el resto. El stagger sale del animation-delay
   inline (0s / 3s / 6s / 9s) en cada <text>. Ventana activa 0–25% → encaja sin
   solaparse con la siguiente. */
@keyframes aq-word-cycle {
  0%   { stroke-dashoffset: 900; opacity: 0; }
  1.5% { opacity: 1; }
  11%  { stroke-dashoffset: 0;    opacity: 1; }  /* dibujada */
  18%  { stroke-dashoffset: 0;    opacity: 1; }  /* sostiene */
  23%  { stroke-dashoffset: -900; opacity: 1; }  /* se borra */
  25%  { stroke-dashoffset: -900; opacity: 0; }  /* oculta hasta su próximo turno */
  100% { stroke-dashoffset: -900; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .aq-learn__line { animation: none; stroke-dashoffset: 0; opacity: 0; }
  .aq-learn__line:first-of-type { opacity: 1; }
}
.aq-section__head { max-width: 760px; margin-bottom: 56px; }
.aq-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.aq-section__head .aq-eyebrow { margin-bottom: 18px; }
.aq-section__head .aq-h2 { margin-bottom: 18px; }
.aq-section__head--center .aq-eyebrow { justify-content: center; }
.aq-section__head--center .aq-lead,
.aq-section__head--center p {
  margin-left: auto;
  margin-right: auto;
}

.aq-section__head--center .aq-eyebrow::after {
  content: '';
  width: 24px; height: 1.5px;
  background: currentColor;
  opacity: 0.5;
}

/* placeholder asset — shows description inline */
.aq-asset {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(0,53,88,0.04) 0 10px, rgba(0,53,88,0.02) 10px 20px),
    var(--bg-warm);
  border: 1.5px dashed rgba(0,53,88,0.22);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 8px;
  color: var(--ink-soft);
}
.aq-asset__tag {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.aq-asset__desc {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 360px;
}

/* ─── Real screenshot wrapper ──────────────────────────────────────── */
.aq-shot {
  position: relative;
  background: var(--bg-warm);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.aq-shot img { border-radius: inherit; }

/* ─── Solution carousel ────────────────────────────────────────────── */
.aq-carousel {
  position: relative;
  margin: 0 auto 56px;
  max-width: 760px;
}
.aq-carousel__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,198,145,0.14), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(255,168,166,0.14), transparent 60%),
    var(--bg-warm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.aq-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms cubic-bezier(.4,.1,.2,1), transform 1100ms cubic-bezier(.2,.7,.3,1);
  pointer-events: none;
}
.aq-carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.aq-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.aq-carousel__caption {
  position: absolute;
  left: 28px;
  bottom: 24px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(0,53,88,0.08);
  border-radius: 16px;
  padding: 16px 20px;
  max-width: 380px;
  box-shadow: var(--shadow-md);
  animation: aqCaptionIn 600ms cubic-bezier(.2,.7,.3,1);
}
@keyframes aqCaptionIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.aq-carousel__dots {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,53,88,0.08);
  border-radius: 999px;
  padding: 8px 10px;
}
.aq-carousel__dot {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aq-carousel__dot span {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink-mute);
  opacity: 0.4;
  transition: opacity 200ms ease, background 200ms ease, width 220ms ease;
}
.aq-carousel__dot.is-active span {
  background: var(--coral);
  opacity: 1;
  width: 22px;
  border-radius: 999px;
}

/* ─── Tabs (Profesores / Escuelas / Estudiantes) ───────────────────── */
.aq-tabs {
  display: inline-flex;
  margin: 0 auto 56px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  gap: 4px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.aq-tab {
  background: transparent;
  border: none;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
  letter-spacing: -0.005em;
}
.aq-tab:hover { color: var(--ink); }
.aq-tab.is-active {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

/* ─── Problem (4 issue cards on warm bg) ───────────────────────────── */
.aq-problem { background: var(--bg-warm); }
.aq-problem-wrap {
  position: relative;
  background: var(--bg-warm);
  padding: 100px 0;
  overflow: hidden;
  isolation: isolate;
}
.aq-problem-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/photos/amanecer.webp') center / cover no-repeat;
  opacity: 0.22;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.aq-problem-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-warm) 0%, transparent 18%, transparent 82%, var(--bg-warm) 100%);
  pointer-events: none;
  z-index: 1;
}
.aq-problem-wrap > * { position: relative; z-index: 2; }
.aq-problem-wrap .aq-section { padding-top: 0; padding-bottom: 0; }
.aq-problem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.aq-problem__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  box-shadow: var(--shadow-sm);
}
.aq-problem__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--peach);
}
.aq-problem__num {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--coral);
  margin-bottom: 18px;
}
.aq-problem__card h3 { margin-bottom: 8px; }

/* ─── Solution ─────────────────────────────────────────────────────── */
.aq-solution__feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.aq-solution__copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.aq-solution__pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-soft);
  color: var(--teal);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.aq-solution__shot {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 20px;
  overflow: hidden;
}

.aq-solution__more {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.aq-mech-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  display: flex; flex-direction: column;
  gap: 12px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.aq-mech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--coral);
}
.aq-mech-card__hover {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
}
.aq-mech-card__hover img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  clip-path: inset(50% 0 50% 0);
  transition: clip-path 520ms cubic-bezier(.6,.05,.25,1);
}
.aq-mech-card--raid .aq-mech-card__hover img {
  object-position: 85% center;
}
.aq-mech-card:hover .aq-mech-card__hover img {
  clip-path: inset(0 0 0 0);
}
.aq-mech-card__hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,33,55,0) 50%, rgba(0,33,55,0.55) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms ease;
}
.aq-mech-card:hover .aq-mech-card__hover::after { opacity: 1; }
.aq-mech-card:hover .aq-mech-card__hover { opacity: 1; }
.aq-mech-card__icon {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
}
.aq-mech-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.aq-mech-card__icon--coral,
.aq-mech-card__icon--teal,
.aq-mech-card__icon--mint,
.aq-mech-card__icon--peach { background: transparent; }
.aq-mech-card__visual--coral { background: linear-gradient(160deg, var(--peach-soft), var(--coral-soft)); }
.aq-mech-card__visual--teal { background: linear-gradient(160deg, var(--teal-soft), #eef9f5); }
.aq-mech-card__visual--mint { background: linear-gradient(160deg, #eaf6ee, #d8eedf); }
.aq-mech-card__visual--peach { background: linear-gradient(160deg, var(--peach-soft), #ffe4cc); }
.aq-mech-card h4 { margin: 0; }

/* ─── How it works (sticky scroll storytelling) ─────────────────────── */
.aq-how-sticky {
  position: relative;
  /* 1 viewport for pin + N viewports for step transitions = (N+1) total. We use 3 steps → 3.5 viewports */
  height: 320vh;
}
.aq-how-sticky__inner {
  height: 100%;
}
.aq-how-sticky__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.aq-how-sticky__copy { padding: 80px 0; }
.aq-how-sticky__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.aq-how-sticky__steps::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
}
.aq-how-sticky__step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 18px 14px 0;
  border-radius: 14px;
  transition: background 320ms ease, opacity 320ms ease;
  opacity: 0.45;
  position: relative;
}
.aq-how-sticky__step.is-past { opacity: 0.7; }
.aq-how-sticky__step.is-active {
  opacity: 1;
  background: rgba(255,168,166,0.08);
}
.aq-how-sticky__num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--ink-soft);
  position: relative;
  z-index: 1;
  transition: background 320ms ease, color 320ms ease, border-color 320ms ease, box-shadow 320ms ease, transform 320ms ease;
}
.aq-how-sticky__step.is-past .aq-how-sticky__num {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.aq-how-sticky__step.is-active .aq-how-sticky__num {
  background: var(--coral);
  color: var(--navy);
  border-color: var(--coral);
  box-shadow: 0 8px 24px rgba(255,168,166,0.45);
  transform: scale(1.06);
}
.aq-how-sticky__step-eyebrow {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 320ms ease, transform 320ms ease;
}
.aq-how-sticky__step.is-active .aq-how-sticky__step-eyebrow {
  opacity: 1;
  transform: translateY(0);
}
.aq-how-sticky__step h3 { margin: 0 0 6px; }
.aq-how-sticky__step .aq-body {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  opacity: 0;
  transition: max-height 480ms cubic-bezier(.2,.7,.3,1), opacity 320ms ease, margin-top 320ms ease;
}
.aq-how-sticky__step.is-active .aq-body {
  max-height: 220px;
  opacity: 1;
  margin-top: 4px;
}

.aq-how-sticky__stage {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 24px;
}
.aq-how-sticky__shot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(1.04) translateY(12px);
  filter: blur(10px);
  transition: opacity 700ms cubic-bezier(.2,.7,.3,1), transform 900ms cubic-bezier(.2,.7,.3,1), filter 700ms ease;
  pointer-events: none;
}
.aq-how-sticky__shot.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
  pointer-events: auto;
}
.aq-how-sticky__shot-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,198,145,0.14), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(255,168,166,0.14), transparent 60%),
    var(--bg-warm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xl);
}
.aq-how-sticky__shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.aq-how-sticky__shot-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(0,53,88,0.08);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.aq-how-sticky__shot-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255,168,166,0.25);
  animation: aqPulse 2s ease-in-out infinite;
}

/* ─── Pedagogy (light, not dark) ───────────────────────────────────── */
.aq-pedagogy__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.aq-pedagogy__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 220ms ease, box-shadow 220ms ease;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 1024px) {
  .aq-pedagogy__grid { grid-template-columns: repeat(2, 1fr); }
}
.aq-pedagogy__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.aq-pedagogy__eyebrow {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--coral);
}
.aq-pedagogy__ref {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ─── For schools ──────────────────────────────────────────────────── */
.aq-schools__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.aq-schools__shot {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.aq-schools__shot img {
  animation: aqShotMorph 700ms cubic-bezier(.2,.7,.3,1);
}
@keyframes aqShotMorph {
  from { opacity: 0; transform: scale(1.06); filter: blur(6px); }
  to   { opacity: 1; transform: scale(1);    filter: blur(0); }
}
.aq-schools__split > div:first-child {
  animation: aqTabIn 600ms cubic-bezier(.2,.7,.3,1);
}
@keyframes aqTabIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Familias: panel del apoderado (principal) + tarjeta de reconocimientos flotante */
.aq-families__visual {
  position: relative;
  margin-bottom: 28px; /* deja aire para la tarjeta que sobresale abajo */
  animation: aqTabIn 600ms cubic-bezier(.2,.7,.3,1);
}
.aq-families__main {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--bg-warm);
}
.aq-families__main img { width: 100%; height: auto; display: block; }
.aq-families__card {
  position: absolute;
  right: -22px;
  bottom: -26px;
  width: 56%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.aq-families__card img { width: 100%; height: auto; display: block; }
.aq-schools__points { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.aq-schools__point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.aq-schools__check {
  width: 30px; height: 30px;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.aq-schools__point h4 { margin-bottom: 4px; }

/* ─── Social proof ─────────────────────────────────────────────────── */
.aq-social__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.aq-quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.aq-quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.aq-quote__mark {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 56px;
  line-height: 0.4;
  color: var(--coral);
}
.aq-quote__q {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.aq-quote__by {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.aq-quote__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--mint));
  color: #fff;
  font-family: var(--f-sans); font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.aq-quote__name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.aq-quote__role { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

.aq-social__logos {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.aq-social__logos-label {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.aq-social__logos-row {
  display: flex;
  gap: 0;
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.aq-social__logos-track {
  display: flex;
  gap: 64px;
  animation: aqMarquee 38s linear infinite;
  flex-shrink: 0;
  padding-right: 64px;
}
.aq-social__logos-row:hover .aq-social__logos-track {
  animation-play-state: paused;
}
@keyframes aqMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.aq-social__logo {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink-soft);
  opacity: 0.65;
}

/* ─── Pricing ──────────────────────────────────────────────────────── */
.aq-pricing__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
}
.aq-pricing__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.aq-pricing__card--featured {
  background:
    radial-gradient(circle at 100% 0%, rgba(255,168,166,0.18), transparent 50%),
    #fff;
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
}
.aq-pricing__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
  margin-bottom: 6px;
}
.aq-pricing__name {
  font-family: var(--f-sans); font-weight: 600; font-size: 22px;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
}
.aq-pricing__price { text-align: right; }
.aq-pricing__amount {
  font-family: var(--f-sans); font-weight: 600; font-size: 30px;
  letter-spacing: -0.02em; color: var(--navy);
  display: block; line-height: 1;
}
.aq-pricing__amount i {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--teal);
  font-size: 0.7em;
}
.aq-pricing__suffix { font-size: 12px; color: var(--ink-soft); margin-top: 4px; font-weight: 500; }
.aq-pricing__sub { font-size: 13px; color: var(--ink-soft); margin: 4px 0 18px; }
.aq-pricing__list {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.aq-pricing__list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: var(--ink);
}
.aq-pricing__check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
}
.aq-pricing__card .aq-btn { margin-top: auto; width: 100%; }

.aq-pricing__schools {
  max-width: 960px; margin: 28px auto 0;
  display: grid; grid-template-columns: 1fr auto;
  gap: 28px; align-items: center;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 26px;
  backdrop-filter: blur(10px);
}

/* ─── Final CTA ────────────────────────────────────────────────────── */
.aq-finalcta {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--pad);
}
.aq-finalcta__inner {
  background:
    radial-gradient(circle at 18% 22%, rgba(255,198,145,0.28), transparent 55%),
    radial-gradient(circle at 82% 78%, rgba(255,168,166,0.24), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, #002844 100%);
  color: #fff;
  border-radius: 36px;
  padding: 88px 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.aq-finalcta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/photos/nocturno.webp') center / cover no-repeat;
  opacity: 0.38;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}
.aq-finalcta__inner > * { position: relative; z-index: 1; }
.aq-finalcta h2 { color: #fff; max-width: 760px; margin: 0 auto 16px; }
.aq-finalcta p {
  color: rgba(255,255,255,0.72);
  max-width: 540px; margin: 0 auto 32px;
}
.aq-finalcta__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.aq-finalcta__note {
  margin-top: 24px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.62);
}
.aq-finalcta__sparkle {
  position: absolute;
  animation: aqPulse 3s ease-in-out infinite;
}
.aq-finalcta__sparkle--1 { top: 18%; left: 14%; }
.aq-finalcta__sparkle--2 { bottom: 22%; right: 18%; animation-delay: -1.5s; }

/* ─── Contact Modal ─────────────────────────────────────────────────── */
.aq-modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,20,40,0.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.aq-modal {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  width: 100%; max-width: 520px;
  position: relative;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}
.aq-modal__close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: var(--ink-soft);
  line-height: 1; padding: 4px 8px;
  border-radius: 8px;
  transition: background 150ms;
}
.aq-modal__close:hover { background: var(--bg-warm); }
.aq-modal__title {
  font-family: var(--f-sans); font-weight: 700;
  font-size: 22px; color: var(--ink);
  margin: 0 0 24px;
}
.aq-modal__field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}
.aq-modal__field label {
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft); letter-spacing: 0.02em;
}
.aq-modal__field input,
.aq-modal__field select,
.aq-modal__field textarea {
  font-family: var(--f-sans); font-size: 15px;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--bg);
  outline: none;
  transition: border-color 160ms;
  resize: vertical;
}
.aq-modal__field input:focus,
.aq-modal__field select:focus,
.aq-modal__field textarea:focus { border-color: var(--navy-mid); }
.aq-modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aq-modal__error {
  font-size: 13.5px; color: #c0392b;
  margin: 0 0 12px;
}
.aq-modal__success {
  text-align: center; padding: 32px 0;
}
.aq-modal__success-icon {
  width: 56px; height: 56px;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 50%;
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.aq-modal__success p {
  font-size: 16px; color: var(--ink); font-weight: 500;
}
@media (max-width: 540px) {
  .aq-modal { padding: 28px 20px; }
  .aq-modal__row { grid-template-columns: 1fr; }
}

/* ─── Pedagogy: callout card (4ta card, para familias) ───────────────── */
.aq-pedagogy__card--callout {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  position: relative;
  overflow: hidden;
}
.aq-pedagogy__card--callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://ntuzvjmqdlehsjhgidzg.supabase.co/storage/v1/object/public/assets/Brand%20Identity/Sidebars%20and%20Topbars%20Background/Sidebars%20%28Vertical%20background%29.webp') center / cover no-repeat;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.aq-pedagogy__card--callout > * { position: relative; z-index: 1; }
.aq-pedagogy__card--callout:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--navy-mid, #0c4570);
}
.aq-pedagogy__card--callout .aq-pedagogy__eyebrow { color: var(--peach, #ffc691); }
.aq-pedagogy__card--callout .aq-h3 { color: #fff; }
.aq-pedagogy__card--callout .aq-body { color: rgba(255,255,255,0.86); }
.aq-pedagogy__cta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 14px;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.01em;
}

/* ─── Concerns Modal (postura sobre pantallas, contenido extenso) ───── */
.aq-modal--scroll { max-width: 640px; padding: 40px 36px; }
.aq-concerns__intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 24px;
}
.aq-concerns__h4 {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin: 28px 0 12px;
  letter-spacing: -0.005em;
}
.aq-concerns__bullets,
.aq-concerns__evidence {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex; flex-direction: column; gap: 12px;
}
.aq-concerns__bullets li,
.aq-concerns__evidence li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}
.aq-concerns__bullets li::before,
.aq-concerns__evidence li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.aq-concerns__bullets li strong {
  color: var(--navy);
  font-weight: 600;
  margin-right: 4px;
}
.aq-concerns__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 8px;
}
.aq-concerns__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.aq-concerns__table th,
.aq-concerns__table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.aq-concerns__table th {
  background: var(--bg-warm, #f5f1e8);
  font-weight: 600;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.aq-concerns__table tr:last-child td { border-bottom: 0; }
.aq-concerns__table td:last-child { color: var(--ink-soft); }
.aq-concerns__ref {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 8px 0 4px;
  font-weight: 500;
}
.aq-concerns__disclaimer {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  margin: 10px 0 0;
}
.aq-concerns__closing {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--navy);
  margin: 28px 0 20px;
  padding: 16px 18px;
  background: var(--bg-warm, #f5f1e8);
  border-radius: 12px;
  border-left: 3px solid var(--coral);
}
.aq-concerns__cta {
  width: 100%;
  margin-top: 12px;
}
@media (max-width: 540px) {
  .aq-modal--scroll { padding: 28px 20px; }
  .aq-concerns__table th,
  .aq-concerns__table td { padding: 8px 10px; font-size: 13px; }
}

/* ─── Footer (navy) ─────────────────────────────────────────────────── */
.aq-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 72px var(--pad) 36px;
  position: relative;
  overflow: hidden;
}
.aq-footer__texture {
  position: absolute; inset: 0;
  background: url('assets/headers-bg.webp') center / cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: luminosity;
}
.aq-footer__inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.aq-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}
.aq-footer__brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.aq-footer__col h4 {
  font-family: var(--f-sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  margin: 0 0 18px;
}
.aq-footer__col ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.aq-footer__col a {
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
}
.aq-footer__col a:hover { color: #fff; }
.aq-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ─── Language switcher ─────────────────────────────────────────────── */
.aq-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.aq-lang__current {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding: 8px 12px;
  border: 1px solid rgba(0,53,88,0.14);
  border-radius: 999px;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}
.aq-lang:hover .aq-lang__current {
  background: rgba(0,53,88,0.04);
  border-color: rgba(0,53,88,0.22);
}
.aq-lang::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 8px;
}
.aq-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  display: none;
  flex-direction: column;
  z-index: 50;
}
.aq-lang:hover .aq-lang__menu,
.aq-lang:focus-within .aq-lang__menu { display: flex; }
.aq-lang__menu a {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 9px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}
.aq-lang__menu a:hover { background: rgba(0,53,88,0.06); }
.aq-lang__menu a.is-active { background: var(--navy); color: #fff; }
@media (max-width: 1180px) {
  .aq-hero__h1 { font-size: clamp(32px, 4.4vw, 46px); }
  .aq-h2 { font-size: clamp(30px, 4vw, 44px); }
}
@media (max-width: 1080px) {
  .aq-hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
  .aq-hero__copy { max-width: 640px; padding-right: 0; margin: 0 auto; text-align: left; }
  .aq-hero__stage { max-width: 540px; margin: 0 auto; }
  .aq-hero__strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .aq-hero__strip-cell { border-right: none; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .aq-problem__grid { grid-template-columns: repeat(2, 1fr); }
  .aq-solution__feature { grid-template-columns: 1fr; gap: 32px; }
  .aq-solution__more { grid-template-columns: repeat(2, 1fr); }
  .aq-how-sticky { height: auto; }
  .aq-how-sticky__pin {
    position: relative;
    top: auto;
    height: auto;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px var(--pad);
  }
  .aq-how-sticky__copy { padding: 0; }
  .aq-how-sticky__step { opacity: 1; }
  .aq-how-sticky__step .aq-body { max-height: none; opacity: 1; margin-top: 4px; }
  .aq-how-sticky__step-eyebrow { opacity: 1; transform: none; }
  .aq-how-sticky__stage { aspect-ratio: 16 / 10; }
  .aq-how-sticky__shot { position: relative; opacity: 1; transform: none; filter: none; display: none; }
  .aq-how-sticky__shot.is-active { display: flex; }
  .aq-pedagogy__grid { grid-template-columns: 1fr; }
  .aq-schools__split { grid-template-columns: 1fr; gap: 32px; }
  .aq-schools__shot { max-width: 720px; margin: 0 auto; }
  .aq-families__visual { max-width: 560px; margin: 0 auto 24px; }
  .aq-families__card { right: 6px; bottom: -16px; width: 50%; }
  .aq-social__grid { grid-template-columns: 1fr; }
  .aq-pricing__row { grid-template-columns: 1fr; }
  .aq-pricing__schools { grid-template-columns: 1fr; }
  .aq-footer__top { grid-template-columns: 1fr 1fr; }
  .aq-finalcta__inner { padding: 56px 28px; }
  .aq-carousel { max-width: 600px; }
}
@media (max-width: 720px) {
  .aq-section { padding: 72px 22px; }
  .aq-hero__inner { padding: 48px var(--pad) 64px; }
  .aq-hero__stage { min-height: 320px; }
  .aq-hero__h1 { font-size: clamp(28px, 6.4vw, 40px); }
  .aq-h2 { font-size: clamp(26px, 6vw, 36px); }
  .aq-h3 { font-size: clamp(20px, 4.6vw, 26px); }
  .aq-lead { font-size: 16px; }
  .aq-hero__cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .aq-hero__cta .aq-btn { width: 100%; justify-content: center; }
  .aq-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .aq-hero__ctas .aq-btn {
    text-align: center;
    justify-content: center;
  }
  .aq-finalcta__cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .aq-finalcta__cta .aq-btn { width: 100%; justify-content: center; }
  .aq-problem__grid { grid-template-columns: 1fr; }
  .aq-solution__more { grid-template-columns: 1fr; }
  .aq-tabs { flex-direction: column; gap: 8px; }
  .aq-tab { width: 100%; justify-content: center; }
  .aq-carousel { max-width: 100%; }
  .aq-carousel__caption { left: 16px; right: 16px; bottom: 16px; padding: 12px 14px; }
  .aq-carousel__dots { top: 12px; right: 12px; }
  .aq-pricing__card { padding: 28px 22px; }
  .aq-mech-card { padding: 22px; }
  .aq-mech-card__visual { aspect-ratio: 16 / 10; }
}
/* Pista de scroll horizontal del carrusel de planes (solo móvil, ver @640) */
.r-scroll-cue { display: none; }
/* Al llegar al último plan, JS pone .is-hidden y la flecha desaparece. */
.r-scroll-cue.is-hidden { animation: none; opacity: 0; visibility: hidden; }
@keyframes r-cue-nudge {
  0%, 100% { opacity: 0.3; transform: translate(0, -50%); }
  50%      { opacity: 1;   transform: translate(5px, -50%); }
}

@media (max-width: 640px) {
  .aq-nav { padding: 16px 18px; }
  .aq-nav__links { display: none; }
  /* Oculta el "Log in" del nav en móvil. Usar ">" (hijo directo): sin él,
     el selector capturaba el primer <a> del menú de idioma (Español) y lo
     ocultaba, dejando el toggle sin opción de volver a español en móvil. */
  .aq-nav__cta > a:first-child { display: none; }
  .aq-nav__logo-img { height: 36px; }
  .aq-section { padding: 56px 18px; }
  .aq-hero__inner { padding: 40px 18px 56px; }
  .aq-glass-card { display: none; }
  .aq-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .aq-finalcta__inner { padding: 44px 22px; border-radius: 24px; }
  .aq-how-sticky__pin { padding: 40px 18px; }
  .aq-how-sticky__steps::before { left: 18px; }
  .aq-how-sticky__step { grid-template-columns: 38px 1fr; gap: 12px; padding: 10px 12px 10px 0; }
  .aq-how-sticky__num { width: 38px; height: 38px; font-size: 18px; }

  /* Planes en móvil: carrusel deslizable, UNA tarjeta a ancho completo por
     pantalla + flecha parpadeante que sugiere deslizar a la derecha. */
  .r-rail { position: relative; }
  /* .pr-stage para ganar especificidad al .r-row de escritorio (grid 3-col)
     que está MÁS ABAJO en el archivo: las media queries no suman especificidad,
     así que sin esto el grid de escritorio pisaba el carrusel móvil. */
  .pr-stage .r-row {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    margin-inline: -18px;
    /* padding-top holgado: el badge "Powered by Alquie IA" de la Pro+ sobresale
       13px (top:-13px) y overflow-x:auto también recorta en vertical. */
    padding: 20px 18px 14px;
  }
  .pr-stage .r-row::-webkit-scrollbar { display: none; }
  .pr-stage .r-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }
  .r-scroll-cue {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 50%; right: 2px;
    width: 38px; height: 38px; border-radius: 50%;
    transform: translateY(-50%);
    background: var(--navy); color: #fff;
    font-size: 19px; font-weight: 700; line-height: 1;
    box-shadow: 0 6px 16px rgba(0,53,88,0.30);
    pointer-events: none; z-index: 4;
    animation: r-cue-nudge 1.4s ease-in-out infinite;
  }

  /* Gato Alchie + palabra animada: la caja 4/3 con overflow:hidden recortaba el
     conjunto en pantallas chicas. En móvil la caja crece a su contenido. */
  .aq-nodevice__art { aspect-ratio: auto; padding: 26px 10px 34px; }
  .aq-nodevice__art img { width: 64%; max-width: 188px; }
  .aq-learn { width: 66%; max-width: 172px; }
  .aq-learn__line { font-size: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .r-scroll-cue { animation: none; opacity: 0.85; }
}

/* ============================================================
   Alquie · Planes — base compartida (tokens + fuentes + utils)
   Tokens calcados de landing-v2.css para fidelidad de marca.
   ============================================================ */
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500;1,9..144,600&display=swap');

:root {
  --navy:#003558; --navy-mid:#004a79; --navy-soft:#daeaf7;
  --teal:#007a6c; --teal-soft:#d6efec; --mint:#4aa975;
  --coral:#ffa8a6; --coral-soft:#ffefee; --peach:#ffc691; --peach-soft:#fff3e6;
  --gold:#d9a23a;
  --bg:#fbfaf6; --bg-warm:#f5f1e8;
  --ink:#0d2033; --ink-soft:#5a7a8c; --ink-mute:#94a3b8;
  --line:#e3ddcd; --line-soft:#efeadb;
  --f-sans:'General Sans', system-ui, sans-serif;
  --f-serif:'Fraunces', Georgia, serif;
  --shadow-sm:0 2px 8px rgba(0,53,88,.06);
  --shadow-md:0 8px 24px rgba(0,53,88,.08);
  --shadow-lg:0 16px 48px rgba(0,53,88,.14);
  --shadow-xl:0 32px 80px rgba(0,53,88,.20);
}

/* ─── Lienzo de cada propuesta (simula la sección live) ─── */
.pr-stage {
  width: 1240px;
  background: var(--bg);
  font-family: var(--f-sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding: 64px 40px 56px;
  position: relative;
  overflow: hidden;
}
.pr-stage * { box-sizing: border-box; }
.pr-stage button { font: inherit; cursor: pointer; }

/* ─── Encabezado de sección (compartido) ─── */
.pr-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.pr-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal);
}
.pr-eyebrow .ic { font-size: 15px; }
.pr-h2 {
  font-family: var(--f-sans); font-weight: 600;
  font-size: 40px; line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink); margin: 14px 0 0;
}
.pr-h2 i { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--teal); }
.pr-lead { font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin: 14px auto 0; max-width: 560px; }

/* ─── Utilidad de ícono Iconoir (SVG inline, recoloreable) ─── */
.ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -0.125em;
  color: inherit;
}
.ic svg { width: 100%; height: 100%; display: block; }

/* ─── Toggle mensual / anual (segmentado, compartido) ─── */
.pr-toggle {
  display: inline-flex; align-items: stretch;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 4px; box-shadow: var(--shadow-sm);
  position: relative;
}
.pr-toggle__btn {
  position: relative; z-index: 1;
  border: 0; background: transparent;
  padding: 9px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  letter-spacing: .01em; transition: color .25s ease;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; white-space: nowrap; flex: 1 1 0;
}
.pr-toggle__btn.is-on { color: #fff; }
.pr-toggle__thumb {
  position: absolute; top: 4px; bottom: 4px; z-index: 0;
  left: 4px; right: calc(50% + 1px);
  border-radius: 999px; background: var(--navy);
  transition: left .34s cubic-bezier(.22,.8,.28,1), right .34s cubic-bezier(.22,.8,.28,1);
  box-shadow: 0 4px 14px rgba(0,53,88,.28);
}
.pr-toggle.is-annual .pr-toggle__thumb { left: calc(50% + 1px); right: 4px; }
.pr-save {
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  color: var(--teal); background: var(--teal-soft);
  padding: 3px 8px; border-radius: 999px; margin-left: 2px;
}

/* ─── Botones (calcados de la landing) ─── */
.pr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 13px;
  padding: 13px 22px; font-size: 14.5px; font-weight: 600;
  font-family: var(--f-sans); letter-spacing: .01em;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: pointer; text-decoration: none;
}
.pr-btn:hover { transform: translateY(-1px); }
.pr-btn:active { transform: translateY(0); }
.pr-btn--navy  { background: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.pr-btn--navy:hover { background: var(--navy-mid); }
.pr-btn--coral { background: var(--coral); color: var(--navy); box-shadow: 0 10px 30px rgba(255,168,166,.4); }
.pr-btn--coral:hover { background: #ffb8b6; box-shadow: 0 16px 40px rgba(255,168,166,.5); }
.pr-btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.pr-btn--ghost:hover { background: rgba(0,53,88,.04); border-color: var(--ink-soft); }
.pr-btn--block { width: 100%; }

/* ─── Bloque "Plan Escuela" (compartido, opcional) ─── */
.pr-schools {
  max-width: 1000px; margin: 32px auto 0;
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  border-radius: 18px; padding: 20px 26px; backdrop-filter: blur(10px);
}
.pr-schools h4 { margin: 6px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }

/* ─── Estado de entrada ───────────────────────────────────────────
   El estado VISIBLE es el default (no depende de animaciones, que el
   design-canvas puede congelar). El reveal se aplica solo como mejora
   vía transición + clase .pr-in añadida tras montar (ver pricing-shared). */
.pr-rise { opacity: 1; transform: none; }
.pr-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.22,.8,.28,1), transform .6s cubic-bezier(.22,.8,.28,1); }
.pr-reveal.pr-in { opacity: 1; transform: none; }


/* ─── Propuesta 1 · Refinado editorial ─── */
.r-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1140px; margin: 36px auto 0;
  align-items: start;
}
.r-card {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: 22px;
  padding: 30px 28px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.22,.8,.28,1), box-shadow .28s ease, border-color .28s ease;
}
.r-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.r-card--featured {
  border-color: var(--navy);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,168,166,.20), transparent 52%),
    radial-gradient(100% 70% at 0% 100%, rgba(255,198,145,.16), transparent 55%),
    #fff;
  box-shadow: var(--shadow-lg);
}

.r-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.r-badge .ic { font-size: 14px; color: var(--peach); }

.r-eb { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.r-card--featured .r-eb { color: var(--coral); }
.r-name { font-family: var(--f-sans); font-weight: 600; font-size: 24px; letter-spacing: -0.015em; color: var(--ink); margin: 8px 0 2px; }
.r-tagline { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); min-height: 40px; margin-bottom: 16px; }

.r-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-height: 44px; }
.r-amount { font-family: var(--f-sans); font-weight: 600; font-size: 44px; letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.r-amount--free { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--teal); font-size: 38px; }
.r-period { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.r-note { font-size: 12px; color: var(--ink-mute); margin-top: 6px; min-height: 16px; transition: color .2s; }

.r-meta {
  display: flex; gap: 16px; margin: 16px 0 18px; padding: 14px 0;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.r-meta div { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink); }
.r-meta .ic { font-size: 17px; color: var(--navy-mid); }

.r-card .pr-btn { width: 100%; margin-bottom: 22px; }

.r-inherit { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 14px; min-height: 34px; }
.r-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; min-height: 210px; }
.r-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.r-ico {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-soft); color: var(--teal);
  transition: transform .2s ease, background .2s ease;
}
.r-ico .ic { font-size: 15px; }
.r-card:hover .r-ico { transform: scale(1.06); }
.r-list li.is-ai .r-ico { background: linear-gradient(135deg, var(--peach-soft), var(--coral-soft)); color: var(--gold); }
.r-ai-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--gold);
  background: var(--peach-soft); border-radius: 5px; padding: 1px 6px;
  margin-left: 6px; vertical-align: 1px; white-space: nowrap;
}

/* Ver más / Ver menos */
.r-more {
  margin-top: 16px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 4px 0;
  color: var(--navy-mid); font-family: var(--f-sans); font-weight: 600; font-size: 13px;
  cursor: pointer; transition: gap .2s ease, color .2s ease;
}
.r-more:hover { gap: 9px; color: var(--navy); }
.r-more .ic { font-size: 16px; transition: transform .3s ease; }
.r-more.is-open .ic { transform: rotate(180deg); }
.r-extra { overflow: hidden; }

/* ────────────────────────────────────────────────────────────────────
   Marquee de mecánicas (carrusel auto-scroll con pausa al hover)
   Reemplaza la grid estática del bloque #solution.
   ──────────────────────────────────────────────────────────────────── */
.aq-mech-marquee {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 28px 0 0;
  /* máscara lateral para fade-out en los bordes */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
}
.aq-mech-marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: aq-mech-scroll 60s linear infinite;
}
.aq-mech-marquee:hover .aq-mech-marquee__track {
  animation-play-state: paused;
}
.aq-mech-marquee .aq-mech-card {
  /* override del aq-mech-card original que asume grid */
  flex: 0 0 280px;
  min-width: 280px;
  max-width: 280px;
  margin: 0;
}
@keyframes aq-mech-scroll {
  /* duplicamos las cards: el track avanza -50% para loop sin saltos */
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  /* Sin auto-scroll: en vez de quedar congelado (perdiendo las tarjetas que
     no caben), el carrusel se vuelve deslizable a mano. Se oculta el set
     duplicado (existe solo para el loop infinito) para no mostrar cada
     mecánica dos veces. */
  .aq-mech-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .aq-mech-marquee__track { animation: none; }
  .aq-mech-marquee .aq-mech-card[aria-hidden="true"] { display: none; }
}
@media (max-width: 720px) {
  .aq-mech-marquee .aq-mech-card { flex-basis: 240px; min-width: 240px; max-width: 240px; }
  .aq-mech-marquee__track { animation-duration: 48s; }
}

/* ─── Content rework: hero seal, palancas, mech notes, pedagogy seal ── */
.aq-hero__seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 180ms ease;
}
.aq-hero__seal:hover { color: #fff; }
.aq-hero__seal-icon { color: var(--peach, #ffc691); font-size: 12px; }

.aq-levers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.aq-lever {
  font-size: 13.5px;
  color: var(--ink-soft);
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}
.aq-lever strong {
  color: var(--ink);
  font-weight: 600;
}

.aq-mech-card__note {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aq-mech-card__note-text {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ink-soft);
}
.aq-mech-card__note-ref {
  font-size: 11px;
  font-weight: 600;
  color: var(--coral);
}

.aq-pedagogy__seal {
  margin: 36px auto 0;
  max-width: 720px;
  text-align: center;
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.aq-pedagogy__seal i { color: var(--coral); font-style: italic; }
