/* ═══════════════════════════════════════════════════════════════════════════
   HAYIM SCHOOL — Main Stylesheet
   Regla 60-30-10:
     60% Blanco/Light  (#FFFFFF · #F0F4FA)
     30% Azul          (#012f65 — institucional)
     10% Rojo          (#c72629 — acento/CTA)
   Fonts: Playfair Display (headings) · Inter (body)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  /* Azul institucional (30%) */
  --navy:       #012f65;
  --navy-light: #013a7a;
  --navy-dark:  #011e42;

  /* Rojo institucional (10%) */
  --red:        #c72629;
  --red-light:  #d94446;
  --red-pale:   #fdeaea;

  /* Base blanca (60%) */
  --cream:      #f0f4fa;
  --white:      #FFFFFF;

  /* Texto */
  --text:       #0d1b2e;
  --text-mid:   #3d5170;
  --text-light: #7a8fa8;

  /* Bordes */
  --border:     #cdd8e8;

  /* Aliases para compatibilidad con el código existente */
  --gold:       #c72629;
  --gold-light: #d94446;
  --gold-pale:  #fdeaea;

  --shadow-sm:  0 2px 8px rgba(1,47,101,.08);
  --shadow-md:  0 6px 24px rgba(1,47,101,.12);
  --shadow-lg:  0 16px 48px rgba(1,47,101,.18);
  --radius:     4px;
  --radius-lg:  8px;
  --transition: 220ms ease;
  --max-w:      1200px;
  --z-nav:      100;
  --z-modal:    200;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { max-width: 68ch; }

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-mid);
  max-width: 60ch;
}

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--dark { background: var(--navy); }
.section--cream { background: var(--cream); }

.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 16px;
}
.gold-line--center { margin: 0 auto 16px; }

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-white  { color: var(--white); }
.text-mid    { color: var(--text-mid); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--cream);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-light);
}
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ─── Navigation — Premium scroll-aware ──────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(1,47,101,.08);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 4px 32px rgba(1,47,101,.10);
  border-bottom-color: rgba(1,47,101,.12);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo-img { height: 44px; width: auto; object-fit: contain; display: block; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link {
  padding: 8px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 6px;
  transition: all var(--transition);
  letter-spacing: .01em;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--navy); font-weight: 600; }
.nav__cta { margin-left: 12px; padding: 10px 24px; font-size: .875rem; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background var(--transition);
}
.nav__hamburger:hover { background: var(--cream); }
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  z-index: calc(var(--z-nav) - 1);
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link {
  font-size: 1rem;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.nav__mobile .nav__link::after { display: none; }
.nav__mobile .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — White base, collage right, stagger animations
   ═══════════════════════════════════════════════════════════════════════════ */

/* Stagger animation keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes floatYSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-8px) rotate(6deg); }
}
@keyframes pulse-ring {
  0%   { transform: scale(.95); box-shadow: 0 0 0 0 rgba(199,38,41,.25); }
  70%  { transform: scale(1);   box-shadow: 0 0 0 12px rgba(199,38,41,0); }
  100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(199,38,41,0); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
  padding-top: 72px;
}

/* Dot grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(1,47,101,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Blue accent blob */
.hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(1,47,101,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ─── Left col text ─────────────────────────────────────────────────────── */
.hero__left { position: relative; z-index: 1; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  animation: fadeUp .6s ease both;
  animation-delay: .1s;
}
.hero__eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.hero__title {
  color: var(--navy);
  margin-bottom: 20px;
  animation: fadeUp .6s ease both;
  animation-delay: .2s;
}
.hero__title em {
  font-style: normal;
  color: var(--red);
  position: relative;
}
.hero__title em::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  opacity: .3;
}

.hero__desc {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 36px;
  animation: fadeUp .6s ease both;
  animation-delay: .32s;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp .6s ease both;
  animation-delay: .44s;
}

/* Stats row */
.hero__stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  animation: fadeUp .6s ease both;
  animation-delay: .56s;
}
.hero__stat {
  padding: 16px 24px;
  border-right: 1px solid var(--border);
}
.hero__stat:first-child { padding-left: 0; }
.hero__stat:last-child  { border-right: none; }
.hero__stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.hero__stat-label {
  font-size: .75rem;
  color: var(--text-light);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}
.hero__stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--cream);
  border-radius: 50%;
  margin-bottom: 8px;
}
.hero__stat-icon svg { color: var(--red); }

/* ─── Right col — Image collage ─────────────────────────────────────────── */
.hero__collage {
  position: relative;
  height: 520px;
  animation: fadeIn .8s ease both;
  animation-delay: .3s;
}

/* Floating decorative shapes */
.collage-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.collage-shape--1 {
  width: 72px; height: 72px;
  background: rgba(199,38,41,.12);
  top: -16px; left: 30%;
  animation: floatY 4s ease-in-out infinite;
  border-radius: 50%;
}
.collage-shape--2 {
  width: 48px; height: 48px;
  background: rgba(1,47,101,.10);
  bottom: 40px; right: 20%;
  animation: floatYSlow 5s ease-in-out infinite;
  animation-delay: .8s;
  border-radius: 10px;
}
.collage-shape--3 {
  width: 24px; height: 24px;
  background: rgba(199,38,41,.15);
  bottom: 30%; left: 0;
  animation: floatY 3.5s ease-in-out infinite;
  animation-delay: 1.2s;
}
.collage-shape--4 {
  width: 16px; height: 16px;
  background: rgba(1,47,101,.15);
  top: 40%; right: 0;
  animation: floatYSlow 4.5s ease-in-out infinite;
  animation-delay: .4s;
  border-radius: 3px;
}

/* Extra bubbles — scattered across hero left col and background */
.hero-bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-bubble--1 {
  width: 90px; height: 90px;
  background: rgba(199,38,41,.07);
  top: 8%; left: 5%;
  animation: floatY 5s ease-in-out infinite;
}
.hero-bubble--2 {
  width: 56px; height: 56px;
  background: rgba(1,47,101,.08);
  top: 20%; left: 38%;
  animation: floatYSlow 6s ease-in-out infinite;
  animation-delay: 1s;
}
.hero-bubble--3 {
  width: 36px; height: 36px;
  background: rgba(199,38,41,.10);
  top: 55%; left: 15%;
  animation: floatY 4s ease-in-out infinite;
  animation-delay: .6s;
}
.hero-bubble--4 {
  width: 20px; height: 20px;
  background: rgba(1,47,101,.12);
  top: 75%; left: 40%;
  animation: floatYSlow 3.5s ease-in-out infinite;
  animation-delay: 1.4s;
  border-radius: 4px;
}
.hero-bubble--5 {
  width: 110px; height: 110px;
  background: rgba(1,47,101,.04);
  bottom: 5%; right: 48%;
  animation: floatY 7s ease-in-out infinite;
  animation-delay: .3s;
}
.hero-bubble--6 {
  width: 14px; height: 14px;
  background: rgba(199,38,41,.18);
  top: 30%; left: 2%;
  animation: floatYSlow 3s ease-in-out infinite;
  animation-delay: 2s;
}
.hero-bubble--7 {
  width: 44px; height: 44px;
  background: rgba(199,38,41,.06);
  bottom: 18%; left: 26%;
  animation: floatY 5.5s ease-in-out infinite;
  animation-delay: .8s;
  border-radius: 12px;
}
.hero-bubble--8 {
  width: 8px; height: 8px;
  background: var(--red);
  opacity: .2;
  top: 48%; left: 32%;
  animation: floatYSlow 2.8s ease-in-out infinite;
  animation-delay: 1.8s;
}
/* Ring bubbles (hollow) */
.hero-bubble--ring {
  border: 2px solid rgba(199,38,41,.15);
  background: transparent;
}
.hero-bubble--ring-navy {
  border: 2px solid rgba(1,47,101,.10);
  background: transparent;
}
.hero-bubble--9 {
  width: 64px; height: 64px;
  top: 12%; left: 22%;
  animation: floatY 4.8s ease-in-out infinite;
  animation-delay: .5s;
}
.hero-bubble--10 {
  width: 32px; height: 32px;
  top: 65%; left: 8%;
  animation: floatYSlow 3.8s ease-in-out infinite;
  animation-delay: 1.6s;
}

/* The three images */
.collage-img {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(1,47,101,.16);
  border: 4px solid var(--white);
}
.collage-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Top-center: main large image */
.collage-img--top {
  width: 280px; height: 280px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: scaleIn .7s ease both;
  animation-delay: .4s;
  z-index: 3;
}

/* Right-middle: medium */
.collage-img--right {
  width: 220px; height: 220px;
  top: 35%;
  right: 0;
  animation: scaleIn .7s ease both;
  animation-delay: .58s;
  z-index: 2;
}

/* Bottom-left: smaller */
.collage-img--bottom {
  width: 180px; height: 180px;
  bottom: 0;
  left: 0;
  animation: scaleIn .7s ease both;
  animation-delay: .72s;
  z-index: 2;
}

/* Badge floating over collage */
.collage-badge {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(1,47,101,.14);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: scaleIn .6s ease both;
  white-space: nowrap;
}
.collage-badge--oxford {
  top: 30px; right: -10px;
  animation-delay: .9s;
}
.collage-badge--cert {
  bottom: 70px; left: -10px;
  animation-delay: 1.1s;
}
.collage-badge__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.collage-badge__icon svg { color: var(--red); }
.collage-badge__text strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.collage-badge__text span {
  font-size: .72rem;
  color: var(--text-light);
}

/* Hero Form Card */
.hero__form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
}
.hero__form-title {
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: var(--navy);
}
.hero__form-sub {
  font-size: .85rem;
  color: var(--text-mid);
  margin-bottom: 24px;
}

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199,38,41,.12);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control { cursor: pointer; }
.form-btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-notice {
  font-size: .76rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
}
.form-msg {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-top: 12px;
  display: none;
}
.form-msg.success { background: #ECFDF5; color: #065F46; border: 1px solid #6EE7B7; }
.form-msg.error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ─── Trust Bar ──────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--navy);
  padding: 0;
  overflow: hidden;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 100%;
  padding: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 16px 28px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(255,255,255,.04); color: var(--white); }
.trust-item svg { color: var(--red); flex-shrink: 0; }

/* ─── Section Header ─────────────────────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center p { margin: 0 auto; }
.section-header .eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-mid); }

/* ─── Program Cards ──────────────────────────────────────────────────────── */
.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  z-index: 2;
}
.program-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.program-card:hover::before { transform: scaleX(1); }

/* Card image header */
.program-card__img {
  height: 175px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.program-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.program-card:hover .program-card__img img { transform: scale(1.06); }
.program-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(1,47,101,.15) 0%, rgba(1,47,101,.55) 100%);
}
.program-card__img-icon {
  position: absolute;
  bottom: 14px;
  left: 18px;
  z-index: 1;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.program-card__img-icon svg { color: white; }

/* Card body */
.program-card__body {
  padding: 24px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.program-card__icon {
  width: 52px; height: 52px;
  background: var(--red-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.program-card__icon svg { color: var(--red); }
.program-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.program-card p  { font-size: .88rem; color: var(--text-mid); margin: 0; flex: 1; }
.program-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--red);
  transition: gap var(--transition);
  align-self: flex-start;
}
.program-card__link:hover { gap: 10px; }

/* ─── Ally Logos — logos SVG reales ─────────────────────────────────────── */
.ally-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 768px) {
  .ally-logos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .ally-logos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
.ally-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ally-logo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ally-color, var(--navy));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.ally-logo:hover { border-color: var(--ally-color, var(--navy)); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ally-logo:hover::before { transform: scaleX(1); }
.ally-logo__badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ally-color, var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
  flex-shrink: 0;
  line-height: 1;
}
.ally-logo span {
  font-family: 'Playfair Display', serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .02em;
  text-align: center;
  line-height: 1.3;
}
.ally-logo small {
  font-size: .7rem;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ─── Testimonials ───────────────────────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonial-card__quote {
  font-size: 1rem;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
}
.testimonial-card__role {
  font-size: .8rem;
  color: var(--text-light);
}
.stars { color: var(--gold); font-size: .9rem; margin-bottom: 12px; letter-spacing: 2px; }

/* ─── CTA Banner ─────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(199,38,41,.08) 0%, transparent 70%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); }
.cta-banner p  { color: rgba(255,255,255,.65); margin: 16px 0 32px; }
.cta-banner__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── Page Hero ──────────────────────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(199,38,41,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(255,255,255,.03) 0%, transparent 50%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,.06);
}
.page-hero__eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-hero__eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--red);
  border-radius: 2px;
  display: inline-block;
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  animation: fadeUp .6s ease both;
  animation-delay: .1s;
}
.page-hero p {
  color: rgba(255,255,255,.6);
  max-width: 56ch;
  animation: fadeUp .6s ease both;
  animation-delay: .22s;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 72px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__brand p {
  font-size: .9rem;
  max-width: 32ch;
  margin-top: 16px;
  line-height: 1.7;
}
.footer__heading {
  font-family: 'Playfair Display', serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: .875rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom p { font-size: .82rem; max-width: none; }
.footer__bottom a:hover { color: var(--gold); }
.footer__certifs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__certif-badge {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold);
  border: 1px solid rgba(199,38,41,.3);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ─── Contact Page Form ──────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: start;
}
.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-info__icon {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info__icon svg { color: var(--gold); }
.contact-info__label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-info__value { font-size: .95rem; color: var(--text); }

/* ─── Blog ───────────────────────────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__img {
  height: 200px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card__cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.blog-card__body { padding: 24px; }
.blog-card__date { font-size: .78rem; color: var(--text-light); margin-bottom: 8px; }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.blog-card p  { font-size: .9rem; color: var(--text-mid); margin: 0; }
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
}

/* ─── Nosotros / About ───────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.timeline__item { position: relative; margin-bottom: 40px; }
.timeline__dot {
  position: absolute;
  left: -32px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline__year {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.timeline__item h4 { font-size: 1rem; margin-bottom: 4px; }
.timeline__item p  { font-size: .9rem; color: var(--text-mid); margin: 0; }

.ally-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.ally-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.ally-card__badge {
  width: 64px; height: 64px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}
.ally-card h4 { font-size: .95rem; margin-bottom: 6px; }
.ally-card p  { font-size: .82rem; color: var(--text-mid); margin: 0; }

/* ─── Servicios ──────────────────────────────────────────────────────────── */
.service-level {
  border-left: 3px solid var(--gold);
  padding: 24px 32px;
  background: var(--white);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-bottom: 16px;
  transition: all var(--transition);
}
.service-level:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.service-level__tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.service-level h3 { font-size: 1.05rem; margin-bottom: 6px; }
.service-level p  { font-size: .88rem; color: var(--text-mid); margin: 0; }

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin: 6px;
  transition: all var(--transition);
}
.cert-badge:hover { background: var(--navy-light); transform: translateY(-2px); }
.cert-badge__name { font-weight: 700; font-size: .9rem; }
.cert-badge__sub  { font-size: .75rem; color: var(--gold); }
.cert-badges { display: flex; flex-wrap: wrap; }

/* ─── Empresas ───────────────────────────────────────────────────────────── */
.empresa-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.empresa-feature:nth-child(even) { direction: rtl; }
.empresa-feature:nth-child(even) > * { direction: ltr; }
.empresa-feature__visual {
  border-radius: 16px;
  height: 360px;
  overflow: hidden;
  position: relative;
}
.empresa-feature__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.empresa-feature:hover .empresa-feature__visual img { transform: scale(1.03); }
.empresa-feature h3 { margin-bottom: 12px; }
.empresa-feature p  { color: var(--text-mid); margin-bottom: 20px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-mid);
}
.feature-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

/* ─── Admin ──────────────────────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px;
  background: var(--navy);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 50;
}
.admin-sidebar__logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-sidebar__logo .nav__logo-name { font-size: .95rem; }
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav__section {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 20px 8px 8px;
}
.admin-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: all var(--transition);
  margin-bottom: 2px;
}
.admin-nav__link:hover, .admin-nav__link.active {
  background: rgba(199,38,41,.12);
  color: var(--white);
}
.admin-nav__link.active { color: var(--gold); }
.admin-nav__link svg { flex-shrink: 0; opacity: .7; }
.admin-nav__link.active svg, .admin-nav__link:hover svg { opacity: 1; }
.admin-main {
  margin-left: 260px;
  flex: 1;
  background: #F0F2F5;
  min-height: 100vh;
}
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
}
.admin-topbar h1 { font-size: 1.15rem; }
.admin-content { padding: 32px; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.admin-card__header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-card__header h3 { font-size: 1rem; }
.admin-card__body { padding: 24px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.stat-card__num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card__label { font-size: .82rem; color: var(--text-mid); }
.stat-card__icon {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-card__icon svg { color: var(--gold); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  padding: 10px 16px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-mid);
  background: #F8F9FB;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 16px;
  font-size: .875rem;
  color: var(--text);
  border-bottom: 1px solid #F0F2F5;
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #FAFBFC; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.badge--nuevo    { background: #EFF6FF; color: #1D4ED8; }
.badge--contactado { background: #FFFBEB; color: #92400E; }
.badge--proceso  { background: #F0FDF4; color: #166534; }
.badge--cerrado  { background: #F1F5F9; color: #475569; }
.badge--activo   { background: #F0FDF4; color: #166534; }
.badge--inactivo { background: #FEF2F2; color: #991B1B; }
.admin-login {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.admin-login__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 60px; }
  .hero__collage { height: 360px; max-width: 480px; margin: 0 auto; }
  .collage-img--top  { width: 220px; height: 220px; }
  .collage-img--right { width: 170px; height: 170px; }
  .collage-img--bottom { width: 150px; height: 150px; }
  .collage-badge--oxford { right: 10px; }
  .collage-badge--cert   { left: 10px; }
  .hero__form-card { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .empresa-feature { grid-template-columns: 1fr; gap: 32px; }
  .empresa-feature:nth-child(even) { direction: ltr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .hero__stats { flex-wrap: wrap; }
  .hero__stat { padding: 12px 16px; }
  .hero__collage { height: 300px; }
  .collage-img--top  { width: 180px; height: 180px; }
  .collage-img--right { width: 140px; height: 140px; }
  .collage-img--bottom { width: 120px; height: 120px; }
  .collage-badge { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .ally-logos { gap: 16px; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
  .cta-banner__actions { flex-direction: column; }
  .lions-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__collage { height: 260px; }
  .btn { padding: 13px 24px; }
}

/* ─── Scroll-reveal animation ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.32,.72,0,1), transform .6s cubic-bezier(.32,.72,0,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Focus states ───────────────────────────────────────────────────────── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── Reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEONES MASCOTA — Hayim School
   William · Henry · Charlotte · Victoria
   ═══════════════════════════════════════════════════════════════════════════ */

/* Logo real */
.nav__logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Contenedor de mascota posicionado */
.lion-scene {
  position: relative;
}
.lion-mascot {
  position: absolute;
  bottom: 0;
  right: -24px;
  width: 280px;
  filter: drop-shadow(0 8px 24px rgba(1,47,101,.18));
  pointer-events: none;
  user-select: none;
  z-index: 2;
}
.lion-mascot--left  { right: auto; left: -24px; }
.lion-mascot--sm    { width: 180px; }
.lion-mascot--md    { width: 240px; }
.lion-mascot--lg    { width: 320px; }
.lion-mascot--float {
  position: relative;
  bottom: auto;
  right: auto;
  animation: lionFloat 4s ease-in-out infinite;
}
@keyframes lionFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Sección de mascota con imagen de fondo o decorativa */
.mascot-section {
  position: relative;
  overflow: hidden;
}
.mascot-section__lion {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 340px;
  opacity: .07;
  pointer-events: none;
}

/* Tarjeta con mascota */
.lion-card {
  position: relative;
  overflow: hidden;
  padding-bottom: 200px;
}
.lion-card .lion-mascot {
  right: 16px;
  width: 200px;
}

/* Banda de presentación de leones — ROJO institucional */
.lions-band {
  background: var(--red);
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.lions-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #7a1618 0%, var(--red) 50%, var(--red-light) 100%);
}
.lions-band__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.lions-band__title {
  color: var(--white);
  text-align: center;
  margin-bottom: 10px;
}
.lions-band__sub {
  color: rgba(255,255,255,.80);
  text-align: center;
  font-size: .95rem;
  margin-bottom: 48px;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
.lions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end;
}
.lion-figure {
  text-align: center;
  cursor: default;
}
.lion-figure img {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.4));
  transition: transform .35s ease, filter .35s ease;
}
.lion-figure:hover img {
  transform: translateY(-8px) scale(1.03);
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.5));
}
.lion-figure__name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 12px;
  margin-bottom: 2px;
}
.lion-figure__role {
  font-size: .72rem;
  color: rgba(255,255,255,.85);
  letter-spacing: .10em;
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 768px) {
  .lions-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .lion-mascot { width: 160px; }
  .lion-mascot--lg { width: 200px; }
}
@media (max-width: 480px) {
  .lions-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hero bg — ahora es blanco, se maneja por el propio .hero */
.hero__bg, .hero__pattern { display: none; }

/* Sección cream ahora usa tono azul pálido */
.section--cream { background: var(--cream) !important; }

/* Botón primario = rojo (10% acento) */
.btn-primary {
  background: var(--red) !important;
  color: var(--white) !important;
}
.btn-primary:hover {
  background: var(--red-light) !important;
}

/* Botón outline = rojo */
.btn-outline {
  border-color: var(--red) !important;
  color: var(--red) !important;
}
.btn-outline:hover {
  background: var(--red) !important;
  color: var(--white) !important;
}

/* Gold-line → rojo */
.gold-line { background: var(--red) !important; }

/* Program card top border → rojo */
.program-card::before { background: var(--red) !important; }

/* Service level border → rojo */
.service-level { border-left-color: var(--red) !important; }

/* Cert badge background → azul */
.cert-badge { background: var(--navy) !important; }
.cert-badge__sub { color: var(--red) !important; }

/* Footer certif badges */
.footer__certif-badge { color: var(--red) !important; border-color: rgba(199,38,41,.35) !important; }

/* Eyebrow text */
.eyebrow, .page-hero__eyebrow, .section-header .eyebrow, .hero__eyebrow { color: var(--red) !important; }
.hero__eyebrow::before { background: var(--red) !important; }

/* Trust bar checks */
.trust-item svg { color: var(--red) !important; }

/* Stat numbers in hero — navy (el rojo se ve en el icono) */
.hero__stat-number { color: var(--navy) !important; }

/* Stars */
.stars { color: var(--red) !important; }

/* Program card link */
.program-card__link { color: var(--red) !important; }
.blog-card__link    { color: var(--red) !important; }

/* Admin nav active */
.admin-nav__link.active { color: var(--red) !important; }

/* Admin card header top border */
.admin-login__card { border-top-color: var(--red) !important; }

/* hero form card top border */
.hero__form-card { border-top-color: var(--red) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   MAPA MUNDIAL ICLT — Sección 67 países
   SVG + CSS animations (equivalente a dotted-map + framer-motion)
   ═══════════════════════════════════════════════════════════════════════════ */

.iclt-map-section {
  background: var(--navy);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

/* Aurora shimmer behind the map */
.iclt-map-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(199,38,41,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(1,47,101,.6) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  pointer-events: none;
}

.iclt-map-section .container { position: relative; z-index: 1; }

.iclt-map-header {
  text-align: center;
  margin-bottom: 48px;
}
.iclt-map-header .eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red) !important;
  display: block;
  margin-bottom: 12px;
}
.iclt-map-header h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.iclt-map-header p {
  color: rgba(255,255,255,.55);
  font-size: 1rem;
  max-width: 52ch;
  margin: 0 auto 0;
}

/* Map wrapper — maintains 2:1 aspect ratio */
.iclt-map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 50%; /* 800x400 = 2:1 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
}

#iclt-world-map {
  position: absolute;
  inset: 0;
}

/* Stats row below map */
.iclt-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.iclt-stat {
  text-align: center;
  padding: 20px 32px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(4px);
  min-width: 140px;
  transition: border-color var(--transition), background var(--transition);
}
.iclt-stat:hover {
  border-color: rgba(199,38,41,.35);
  background: rgba(199,38,41,.06);
}
.iclt-stat__num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  display: block;
}
.iclt-stat__label {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .06em;
  text-transform: uppercase;
  display: block;
  margin-top: 6px;
}

/* SVG draw animation (stroke-dashoffset) */
@keyframes mapDraw {
  from { stroke-dashoffset: var(--dash-len, 400); }
  to   { stroke-dashoffset: 0; }
}

@keyframes mapFadeIn {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   AURORA BACKGROUND — CTA banner / lions-band sections
   Adapted from aurora-background React component → pure CSS @keyframes
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes aurora {
  0%   { background-position: 50% 50%, 50% 50%; }
  100% { background-position: 350% 50%, 350% 50%; }
}

@keyframes auroraShift {
  0%, 100% { transform: translate(0%, 0%) scale(1); opacity: .5; }
  33%       { transform: translate(3%, -2%) scale(1.05); opacity: .7; }
  66%       { transform: translate(-2%, 3%) scale(0.97); opacity: .45; }
}

/* Apply aurora to CTA banner */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: -60px;
  background:
    repeating-linear-gradient(
      100deg,
      rgba(255,255,255,.04) 0%,
      rgba(255,255,255,.04) 7%,
      transparent 10%,
      transparent 12%,
      rgba(255,255,255,.04) 16%
    ),
    repeating-linear-gradient(
      100deg,
      rgba(1,47,101,.6)    10%,
      rgba(1,47,101,.3)    15%,
      rgba(199,38,41,.15)  20%,
      rgba(1,47,101,.25)   25%,
      rgba(1,47,101,.5)    30%
    );
  background-size: 300% 300%, 250% 250%;
  background-position: 50% 50%, 50% 50%;
  animation: aurora 24s linear infinite;
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.cta-banner .container { position: relative; z-index: 1; }

/* Aurora variant for lions-band — subtler, preserves existing gradient */
.lions-band {
  isolation: isolate;
}
.lions-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0%,
      transparent 40%,
      rgba(199,38,41,.04) 42%,
      rgba(199,38,41,.06) 44%,
      transparent 46%,
      transparent 100%
    );
  background-size: 200% 200%;
  animation: aurora 30s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Responsive map */
@media (max-width: 768px) {
  .iclt-stats { gap: 16px; }
  .iclt-stat  { padding: 14px 20px; min-width: 110px; }
  .iclt-stat__num { font-size: 1.5rem; }
}


/* ── Programs section — radial red glow background ─────────────────────── */
.section--programs-glow {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.programs-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(199,38,41,.10) 0%, rgba(199,38,41,.04) 45%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Programs big title */
.programs-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
  line-height: 1.15 !important;
  margin-bottom: 20px;
}

/* Program card — elevated hover + colored top border */
.program-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(1,47,101,.12), 0 4px 16px rgba(199,38,41,.08);
  border-color: var(--red);
}
.program-card__img {
  position: relative;
  overflow: hidden;
  height: 190px;
  flex-shrink: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.program-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.program-card:hover .program-card__img img {
  transform: scale(1.06);
}
.program-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(1,47,101,.10) 0%, rgba(1,47,101,.55) 100%);
}
.program-card__img-icon {
  position: absolute;
  bottom: 14px;
  left: 18px;
  z-index: 1;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.program-card__body {
  padding: 24px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.program-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}
.program-card__body p {
  font-size: .9rem;
  color: var(--text-mid);
  margin: 0;
  flex: 1;
  line-height: 1.55;
}

/* ── Allies section — bigger logos & title ──────────────────────────────── */
.allies-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem) !important;
  line-height: 1.12 !important;
}

.ally-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .ally-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ally-logos { grid-template-columns: repeat(2, 1fr); } }

.ally-logo {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--ally-color, var(--navy));
  border-radius: var(--radius-lg);
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
  cursor: default;
}
.ally-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.10);
}
.ally-logo__img-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.ally-logo__img-wrap img {
  max-height: 72px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.ally-logo span {
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.ally-logo small {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ally-color, var(--text-mid));
  opacity: .8;
}

/* ════════════════════════════════════════════════════════════════════════════
   ALLIES PREMIUM — Rediseño editorial de jerarquía institucional
   ════════════════════════════════════════════════════════════════════════════ */

.allies-premium {
  background: #FFFDF8;
  padding: 120px 0 0;
}

/* Header */
.allies-header {
  text-align: center;
  margin-bottom: 56px;
}
.allies-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: #A2342A;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.allies-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem) !important;
  line-height: 1.1 !important;
  color: #102A43;
  margin-bottom: 18px;
}
.allies-subtitle {
  font-size: 1.1rem;
  color: #5B6470;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Rows */
.allies-row {
  display: grid;
  gap: 20px;
}
.allies-row--top {
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  margin-bottom: 20px;
}
.allies-row--bottom {
  grid-template-columns: repeat(3, 1fr);
  max-width: 75%;
  margin: 0 auto 48px;
}
@media (max-width: 1024px) {
  .allies-row--top { grid-template-columns: repeat(2, 1fr); }
  .allies-row--bottom { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
}
@media (max-width: 640px) {
  .allies-row--top { grid-template-columns: 1fr; }
  .allies-row--bottom { grid-template-columns: 1fr; }
}

/* Base card */
.ally-card {
  background: #ffffff;
  border: 1px solid #E8E3D8;
  border-radius: 20px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(15,39,71,.06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.ally-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(15,39,71,.12);
  border-color: #D6C7A8;
}

/* Tag chip */
.ally-card__tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #A2342A;
  background: rgba(162,52,42,.08);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.ally-card__tag--light {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.15);
}

/* Logo wraps */
.ally-card__logo-wrap {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
}
.ally-card__logo-wrap img {
  max-height: 72px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.ally-card__logo-wrap--hero {
  height: 110px;
}
.ally-card__logo-wrap--hero img {
  max-height: 90px;
  max-width: 180px;
}
.ally-card__logo-wrap--sm {
  height: 60px;
}
.ally-card__logo-wrap--sm img {
  max-height: 48px;
  max-width: 140px;
}

/* Card text */
.ally-card__name {
  font-size: .95rem;
  font-weight: 700;
  color: #102A43;
  line-height: 1.3;
  margin: 0;
}
.ally-card__name--light { color: #ffffff; }

.ally-card__desc {
  font-size: .88rem;
  color: #5B6470;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.ally-card__desc--light { color: rgba(255,255,255,.78); }

.ally-card__badge {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #A2342A;
  align-self: flex-start;
  margin-top: 4px;
}

.ally-card__sub {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5B6470;
}

/* HERO card — IELTS */
.ally-card--hero {
  background: #0F2747;
  border-color: #0F2747;
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(15,39,71,.25);
}
.ally-card--hero:hover {
  transform: translateY(-16px);
  box-shadow: 0 28px 72px rgba(15,39,71,.32);
  border-color: #0F2747;
}

.ally-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: .83rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: .03em;
  transition: gap .12s ease;
}
.ally-card__cta:hover { gap: 10px; }
.ally-card__cta svg { transition: transform .12s ease; }
.ally-card__cta:hover svg { transform: translateX(2px); }

/* Support cards — smaller, no description overflow */
.ally-card--support {
  padding: 22px 20px 18px;
}
.ally-card--support .ally-card__name {
  font-size: .88rem;
}
.ally-card--support .ally-card__desc {
  font-size: .82rem;
}

/* Results strip */
.allies-results {
  background: #102A43;
  border-radius: 20px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .allies-results { grid-template-columns: 1fr; padding: 36px 28px; }
  .allies-results__stats { justify-content: flex-start; flex-wrap: wrap; }
}
.allies-results__inner { display: flex; flex-direction: column; gap: 8px; }
.allies-results__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #A2342A;
  margin: 0;
}
.allies-results__headline {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #ffffff;
  line-height: 1.25;
  margin: 0;
}
.allies-results__sub {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  margin: 0;
}
.allies-results__stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.allies-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
  gap: 4px;
}
.allies-stat__num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}
.allies-stat__label {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  text-align: center;
  line-height: 1.3;
}
.allies-stat__sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
}

/* ── Ally cards fix: forzar backgrounds correctos (anula conflictos) ─────── */
.allies-premium .ally-card {
  background: #ffffff !important;
  color: #102A43 !important;
}
.allies-premium .ally-card--hero {
  background: #0F2747 !important;
}
.ally-card--ielts {
  border-top: 3px solid #b8152e !important;
}
.ally-card__tag--red {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b8152e;
  background: rgba(184,21,46,.09);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.ally-card__cta--dark {
  color: #102A43 !important;
}
.ally-card__cta--dark svg { stroke: #102A43; }

/* ════════════════════════════════════════════════════════════════════════════
   HAYIM SCHOOL — Rediseño v2
   ════════════════════════════════════════════════════════════════════════════ */
.hs-red { color: #C41E3A; font-style: normal; }

/* HERO v2 */
.hs-hero { padding: 100px 0 60px; background: #ffffff; overflow: hidden; }
.hs-hero__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 540px; }
.hs-hero__eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #C41E3A; margin-bottom: 18px; }
.hs-hero__title { font-family: "Playfair Display",serif; font-size: clamp(2.4rem,5vw,3.6rem); font-weight: 800; color: #0D1B40; line-height: 1.1; margin-bottom: 20px; }
.hs-hero__desc { font-size: 1rem; color: #5B6470; line-height: 1.65; max-width: 50ch; margin-bottom: 32px; }
.hs-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hs-hero__features { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.hs-feat { display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; color: #0D1B40; }
.hs-feat svg { color: #C41E3A; flex-shrink: 0; }

/* Lions */
.hs-hero__lions { position: relative; height: 520px; }
.hs-hero__shield-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 80% at 50% 50%,rgba(13,27,64,.05) 0%,transparent 70%); border-radius: 50%; }
.hs-lion { position: absolute; object-fit: contain; }
.hs-lion--center { width: 340px; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 3; animation: floatY 5s ease-in-out infinite; }
.hs-lion--back-left { width: 260px; bottom: 20px; left: 0; z-index: 2; animation: floatYSlow 6s ease-in-out infinite; animation-delay: .8s; }
.hs-lion--back-right { width: 240px; bottom: 30px; right: 0; z-index: 2; animation: floatYSlow 7s ease-in-out infinite; animation-delay: 1.5s; }
@media (max-width:900px) { .hs-hero__layout { grid-template-columns: 1fr; } .hs-hero__lions { height: 300px; } .hs-lion--center { width: 220px; } .hs-lion--back-left { width: 160px; } .hs-lion--back-right { width: 150px; } }

/* COMMUNITY */
.hs-community { background: #F9F9FB; }
.hs-community__layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
@media (max-width:900px) { .hs-community__layout { grid-template-columns: 1fr; } }
.hs-community__cards { display: flex; flex-direction: column; gap: 16px; }
.hs-comm-card { background: #ffffff; border: 1px solid #E8E3D8; border-left: 4px solid #C41E3A; border-radius: 12px; padding: 22px 24px; display: flex; align-items: flex-start; gap: 16px; }
.hs-comm-card__icon { width: 48px; height: 48px; background: rgba(196,30,58,.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #C41E3A; flex-shrink: 0; }
.hs-comm-card h3 { font-size: 1rem; font-weight: 700; color: #0D1B40; margin: 0 0 4px; }
.hs-comm-card p { font-size: .88rem; color: #5B6470; margin: 0; line-height: 1.5; }

/* PROGRAMS NAVY */
.hs-programs-navy { background: #0D1B40; padding: 96px 0; }
.hs-programs-navy__header { text-align: center; margin-bottom: 64px; }
.hs-programs-navy__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: rgba(255,255,255,.5); text-transform: uppercase; display: block; margin-bottom: 16px; }
.hs-programs-navy h2 { font-family: "Playfair Display",serif; font-size: clamp(2rem,4vw,2.8rem); color: #ffffff; line-height: 1.15; margin: 0; }
.hs-programs-icons { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
@media (max-width:768px) { .hs-programs-icons { grid-template-columns: repeat(2,1fr); } }
.hs-prog-icon__circle { width: 80px; height: 80px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: #ffffff; transition: background .25s,border-color .25s; }
.hs-prog-icon:hover .hs-prog-icon__circle { background: rgba(196,30,58,.25); border-color: rgba(196,30,58,.5); }
.hs-prog-icon__name { font-size: 1rem; font-weight: 700; color: #ffffff; margin: 0 0 8px; }
.hs-prog-icon__desc { font-size: .84rem; color: rgba(255,255,255,.55); margin: 0; line-height: 1.5; }

/* FACILITIES */
.hs-facilities__layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
@media (max-width:900px) { .hs-facilities__layout { grid-template-columns: 1fr; } }
.hs-facilities__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hs-facilities__photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }

/* CTA BANNER */
.hs-cta-banner { background: #0D1B40; padding: 72px 0; overflow: hidden; }
.hs-cta-banner__layout { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; }
@media (max-width:900px) { .hs-cta-banner__layout { grid-template-columns: 1fr; text-align: center; } .hs-cta-banner__logo,.hs-cta-banner__stat { display: none; } }
.hs-cta-banner__logo img { height: 160px; width: auto; opacity: .85; }
.hs-cta-banner__center h2 { font-family: "Playfair Display",serif; font-size: clamp(1.8rem,3.5vw,2.6rem); color: #ffffff; line-height: 1.2; margin-bottom: 12px; }
.hs-cta-banner__center p { color: rgba(255,255,255,.65); font-size: .95rem; margin-bottom: 24px; }
.hs-cta-banner__stat { display: flex; align-items: center; gap: 16px; }
.hs-cta-banner__lion { height: 120px; width: auto; opacity: .85; }
.hs-cta-banner__num { font-family: "Playfair Display",serif; font-size: 3rem; font-weight: 700; color: #C41E3A; display: block; line-height: 1; }
.hs-cta-banner__label { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.4; display: block; margin-top: 6px; }

/* PARTNERS */
.hs-partners { background: #ffffff; }
.hs-partners__header { text-align: center; margin-bottom: 48px; }
.hs-partners__header h2 { font-family: "Playfair Display",serif; font-size: clamp(1.6rem,3vw,2.2rem); color: #0D1B40; }
.hs-partners__logos { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.hs-partner-logo img { max-height: 52px; max-width: 130px; width: auto; object-fit: contain; filter: grayscale(30%); opacity: .8; transition: filter .25s,opacity .25s; }
.hs-partner-logo:hover img { filter: grayscale(0%); opacity: 1; }

/* TESTIMONIALS */
.hs-testimonials .gold-line { display: block; margin-bottom: 16px; }
.hs-testimonial { background: #ffffff; border: 1px solid #E8E3D8; border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.hs-testimonial__quote-icon { color: #C41E3A; opacity: .25; }
.hs-testimonial p { font-size: .95rem; color: #0D1B40; line-height: 1.65; font-style: italic; margin: 0; flex: 1; }
.hs-testimonial__author strong { display: block; font-size: .9rem; color: #0D1B40; font-weight: 700; }
.hs-testimonial__author span { font-size: .78rem; color: #C41E3A; font-weight: 600; letter-spacing: .05em; }

/* TEAM */
.hs-team { background: #ffffff; }
.hs-team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width:768px) { .hs-team-grid { grid-template-columns: repeat(2,1fr); } }
.hs-team-card { border: 1px solid #E8E3D8; border-radius: 16px; overflow: hidden; text-align: center; padding-bottom: 24px; transition: transform .25s,box-shadow .25s; }
.hs-team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(13,27,64,.10); }
.hs-team-card__photo { width: 100%; aspect-ratio: 1/1; overflow: hidden; margin-bottom: 16px; }
.hs-team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hs-team-card__name { font-size: .95rem; font-weight: 700; color: #0D1B40; margin: 0 0 4px; }
.hs-team-card__role { font-size: .78rem; color: #5B6470; margin: 0; }

/* FOOTER v2 */
.hs-footer { background: #ffffff; border-top: 1px solid #E8E3D8; padding: 64px 0 0; }
.hs-footer__grid { display: grid; grid-template-columns: 200px 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
@media (max-width:900px) { .hs-footer__grid { grid-template-columns: 1fr 1fr; } .hs-footer__brand { grid-column: span 2; } }
@media (max-width:580px) { .hs-footer__grid { grid-template-columns: 1fr; } }
.hs-footer__logo { height: 90px; width: auto; }
.hs-footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.hs-social { width: 36px; height: 36px; border: 1.5px solid #C41E3A; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #C41E3A; text-decoration: none; transition: background .2s,color .2s; }
.hs-social:hover { background: #C41E3A; color: #ffffff; }
.hs-footer__heading { font-size: .88rem; font-weight: 700; color: #0D1B40; margin: 0 0 16px; }
.hs-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hs-footer__links a { font-size: .88rem; color: #5B6470; text-decoration: none; transition: color .2s; }
.hs-footer__links a:hover { color: #C41E3A; }
.hs-footer__contact li { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; color: #5B6470; line-height: 1.4; }
.hs-footer__contact svg { flex-shrink: 0; margin-top: 2px; color: #C41E3A; }
.hs-footer__sub { font-size: .84rem; color: #5B6470; line-height: 1.5; margin: 0 0 14px; }
.hs-footer__subscribe { display: flex; }
.hs-footer__subscribe input { flex: 1; padding: 10px 14px; border: 1.5px solid #E8E3D8; border-right: none; border-radius: 8px 0 0 8px; font-size: .84rem; color: #0D1B40; outline: none; }
.hs-footer__subscribe input:focus { border-color: #C41E3A; }
.hs-footer__subscribe button { padding: 10px 16px; background: #C41E3A; color: #ffffff; border: none; border-radius: 0 8px 8px 0; font-size: .84rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .2s; }
.hs-footer__subscribe button:hover { background: #a01830; }
.hs-footer__bottom { border-top: 1px solid #E8E3D8; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.hs-footer__bottom p { font-size: .78rem; color: #9ca3af; margin: 0; }
.hs-footer__legal { display: flex; gap: 20px; }
.hs-footer__legal a { font-size: .78rem; color: #9ca3af; text-decoration: none; }
.hs-footer__legal a:hover { color: #C41E3A; }

/* ── Hero lions — disposición correcta ─────────────────────────────────── */
.hs-lion--watermark {
  position: absolute;
  width: 88%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.07;
  filter: grayscale(100%);
  pointer-events: none;
  z-index: 0;
}
/* Henry — el más grande, centro-fondo */
.hs-lion--henry {
  position: absolute;
  width: 360px;
  bottom: 0;
  left: 50%;
  transform: translateX(-62%);
  z-index: 2;
  animation: floatYSlow 6s ease-in-out infinite;
}
/* Victoria — mediana, derecha */
.hs-lion--victoria {
  position: absolute;
  width: 290px;
  bottom: 0;
  right: 2%;
  z-index: 3;
  animation: floatY 5s ease-in-out infinite;
  animation-delay: 0.6s;
}
/* William — pequeño, frente derecha-baja */
.hs-lion--william {
  position: absolute;
  width: 190px;
  bottom: 0;
  right: 24%;
  z-index: 4;
  animation: floatYSlow 7s ease-in-out infinite;
  animation-delay: 1.2s;
}
/* Ocultar clases viejas que ya no se usan */
.hs-lion--center, .hs-lion--back-left, .hs-lion--back-right { display: none; }

@media (max-width: 900px) {
  .hs-lion--henry   { width: 220px; }
  .hs-lion--victoria{ width: 175px; }
  .hs-lion--william { width: 115px; right: 20%; }
}

/* Hero — imagen grupal de leones */
.hs-lion--group {
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  animation: floatYSlow 6s ease-in-out infinite;
}

/* Hero lion group — sin animación */
.hs-lion--group {
  animation: none !important;
}

/* Hero lions container + imagen alineada derecha hasta el fondo */
.hs-hero__lions {
  position: relative;
  height: 100%;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hs-lion--group {
  position: static !important;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: contain;
  object-position: right bottom;
  display: block;
  margin-left: auto;
  animation: none !important;
}

.hs-hero__layout {
  align-items: stretch !important;
  min-height: 580px !important;
}

/* Programs navy — padding reducido + título más grande + eyebrow centrado */
.hs-programs-navy {
  padding: 64px 0 !important;
}
.hs-programs-navy__header {
  margin-bottom: 48px !important;
}
.hs-programs-navy__eyebrow {
  text-align: center !important;
  display: block !important;
  margin-bottom: 12px !important;
}
.hs-programs-navy h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem) !important;
  text-align: center !important;
}
.hs-programs-icons {
  gap: 20px !important;
}
.hs-prog-icon__circle {
  width: 68px !important;
  height: 68px !important;
  margin-bottom: 12px !important;
}

/* ════════════════════════════════════════════════════════════════════════
   FACILITIES — Sección editorial premium
   ════════════════════════════════════════════════════════════════════════ */
.fac-section {
  position: relative;
  background: #ffffff;
  padding: 100px 0 80px;
  overflow: hidden;
}
.fac-lion-bg {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  opacity: 0.025;
  filter: grayscale(100%);
  pointer-events: none;
  z-index: 0;
}
.fac-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 960px) { .fac-layout { grid-template-columns: 1fr; gap: 48px; } }

/* Left */
.fac-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #C41E3A;
  margin-bottom: 6px;
}
.fac-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: #C41E3A;
  margin-top: 8px;
}
.fac-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #0D1B40;
  line-height: 1.08;
  margin: 18px 0 20px;
}
.fac-desc {
  font-size: .95rem;
  color: #5B6470;
  line-height: 1.75;
  max-width: 48ch;
  margin-bottom: 32px;
}
.fac-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #C41E3A;
  color: #ffffff;
  font-size: .92rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 18px;
  text-decoration: none;
  transition: box-shadow .25s ease, transform .25s ease;
  margin-bottom: 40px;
}
.fac-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(196,30,58,.35);
}
.fac-btn svg { transition: transform .2s ease; }
.fac-btn:hover svg { transform: translateX(4px); }

/* Stats */
.fac-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.fac-stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px 0 0;
}
.fac-stat:first-child { padding-left: 0; }
.fac-stat__num {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0D1B40;
  line-height: 1;
}
.fac-stat__unit {
  font-size: 1rem;
  color: #C41E3A;
  font-weight: 700;
  line-height: 1;
}
.fac-stat__label {
  font-size: .75rem;
  color: #9ca3af;
  margin-top: 4px;
}
.fac-stat__divider {
  width: 1px;
  height: 40px;
  background: #E8E3D8;
  margin: 0 24px;
}

/* Collage */
.fac-collage {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fac-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(13,27,64,.10);
  border: 6px solid #ffffff;
}
.fac-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.fac-img:hover img { transform: scale(1.04); }
.fac-img--main { height: 240px; }
.fac-row-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}
.fac-img--mid { height: 180px; }
.fac-img--overlap {
  margin-top: -24px;
  z-index: 1;
  box-shadow: 0 16px 40px rgba(13,27,64,.16);
}
.fac-img--bottom { height: 160px; }

/* Badges flotantes */
.fac-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .75rem;
  font-weight: 700;
  color: #0D1B40;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  white-space: nowrap;
}
.fac-badge svg { color: #C41E3A; flex-shrink: 0; }
.fac-badge--top-left    { top: 14px; left: 14px; }
.fac-badge--top-right   { top: 14px; right: 14px; }
.fac-badge--bottom-left { bottom: 14px; left: 14px; }
.fac-badge--bottom-right{ bottom: 14px; right: 14px; }

/* Feature strip */
.fac-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid #E8E3D8;
  border-bottom: 1px solid #E8E3D8;
  padding: 24px 0;
  flex-wrap: wrap;
}
.fac-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 28px;
  border-right: 1px solid #E8E3D8;
  font-size: .85rem;
  font-weight: 600;
  color: #0D1B40;
}
.fac-feature:last-child { border-right: none; }
.fac-feature svg { color: #C41E3A; }
@media (max-width: 768px) {
  .fac-feature { border-right: none; padding: 8px 16px; }
  .fac-strip { gap: 4px; }
}

/* ════════════════════════════════════════════════════════════════════════
   COMUNIDAD — Sección editorial premium con lions + glassmorphism
   ════════════════════════════════════════════════════════════════════════ */
.comm-section {
  background: #ffffff;
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}

/* Layout */
.comm-layout {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 0;
  align-items: center;
  min-height: 700px;
}
@media (max-width: 960px) {
  .comm-layout { grid-template-columns: 1fr; min-height: auto; }
  .comm-right  { height: 480px; }
}

/* ── Izquierda ── */
.comm-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: #C41E3A;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: block;
}
.comm-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  color: #0D1B40;
  line-height: 1.06;
  margin-bottom: 28px;
}
.comm-red { color: #C41E3A; font-style: normal; }

.comm-desc {
  font-size: .95rem;
  color: #5B6470;
  line-height: 1.8;
  max-width: 44ch;
  margin-bottom: 32px;
}
.comm-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #C41E3A;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 18px;
  text-decoration: none;
  margin-bottom: 48px;
  transition: box-shadow .25s, transform .25s;
}
.comm-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(196,30,58,.32);
}
.comm-cta svg { transition: transform .2s; }
.comm-cta:hover svg { transform: translateX(4px); }

/* Métricas */
.comm-metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.comm-metric {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}
.comm-metric:first-child { padding-left: 0; }
.comm-metric__num {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #0D1B40;
  line-height: 1;
}
.comm-metric__label {
  font-size: .72rem;
  color: #9ca3af;
  margin-top: 3px;
}
.comm-metric__sep {
  width: 1px;
  height: 36px;
  background: #e5e7eb;
  margin: 0 4px;
}

/* ── Derecha ── */
.comm-right {
  position: relative;
  height: 720px;
}
.comm-lion-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  opacity: 0.022;
  filter: grayscale(100%);
  pointer-events: none;
  z-index: 0;
}
.comm-lions-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 95%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  z-index: 1;
}

/* Glassmorphism cards */
.comm-glass {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 20px 60px rgba(13,27,64,.10);
  border-radius: 24px;
  padding: 16px 20px;
  z-index: 3;
  min-width: 220px;
  max-width: 260px;
}
.comm-glass__icon {
  width: 44px;
  height: 44px;
  background: rgba(196,30,58,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C41E3A;
  flex-shrink: 0;
}
.comm-glass__title {
  font-size: .82rem;
  font-weight: 700;
  color: #0D1B40;
  margin: 0 0 2px;
}
.comm-glass__desc {
  font-size: .73rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

/* Posición de cada tarjeta */
.comm-glass--1 {
  top: 10%;
  right: 2%;
  animation: floatY 5s ease-in-out infinite;
}
.comm-glass--2 {
  top: 42%;
  left: 0%;
  animation: floatY 6s ease-in-out infinite;
  animation-delay: .8s;
}
.comm-glass--3 {
  bottom: 12%;
  right: 4%;
  animation: floatY 5.5s ease-in-out infinite;
  animation-delay: 1.6s;
}

@media (max-width: 960px) {
  .comm-glass--1 { top: 4%; right: 4%; }
  .comm-glass--2 { top: 38%; left: 2%; }
  .comm-glass--3 { bottom: 4%; right: 4%; }
  .comm-glass { min-width: 180px; }
}

/* ════════════════════════════════════════════════════════════════════════
   PILARES EDITORIALES — 01 / 02 / 03 numbered
   ════════════════════════════════════════════════════════════════════════ */
.pillars-section {
  background: #FAF8F5;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Círculo difuminado de fondo */
.pillars-bg-circle {
  position: absolute;
  right: -15%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,30,58,.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.pillars-container {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .pillars-container { grid-template-columns: 1fr; gap: 48px; }
}

/* Izquierda */
.pillars-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #C41E3A;
  margin-bottom: 20px;
  display: block;
}
.pillars-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #0D1B40;
  line-height: 1.1;
  margin-bottom: 20px;
}
.pillars-desc {
  font-size: .93rem;
  color: #6b7280;
  line-height: 1.8;
  max-width: 38ch;
  margin-bottom: 36px;
}
.pillars-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0D1B40;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #0D1B40;
  padding: 14px 28px;
  border-radius: 999px;
  transition: all .25s ease;
}
.pillars-cta:hover {
  background: #0D1B40;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(13,27,64,.2);
}
.pillars-cta svg { transition: transform .2s; }
.pillars-cta:hover svg { transform: translateX(4px); }

/* Tarjetas numeradas */
.pillars-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pillar-card {
  padding: 36px 32px;
  border-bottom: 1px solid rgba(0,0,0,.07);
  position: relative;
  cursor: default;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
  border-radius: 0;
}
.pillar-card:first-child {
  border-top: 1px solid rgba(0,0,0,.07);
  border-radius: 20px 20px 0 0;
}
.pillar-card:last-child {
  border-radius: 0 0 20px 20px;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.pillar-card:hover {
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0,0,0,.06);
  transform: translateX(6px);
  z-index: 1;
}
/* barra roja izquierda que crece en hover */
.pillar-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 3px;
  background: #C41E3A;
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transition: transform .25s ease;
  transform-origin: center;
}
.pillar-card:hover::before { transform: scaleY(1); }

.pillar-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.pillar-num {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #C41E3A;
  letter-spacing: .04em;
}
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(196,30,58,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C41E3A;
  transition: transform .25s ease, background .25s ease;
  backdrop-filter: blur(4px);
}
.pillar-card:hover .pillar-icon {
  transform: rotate(8deg);
  background: rgba(196,30,58,.14);
}
.pillar-name {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0D1B40;
  margin-bottom: 10px;
  line-height: 1.2;
}
.pillar-desc {
  font-size: .88rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* ── Comm hero: título más compacto sin espacio entre bloques ─────────── */
.comm-title {
  font-size: clamp(1.9rem, 4vw, 3rem) !important;
  line-height: 1.15 !important;
  margin-bottom: 24px !important;
}
.comm-title br + br { display: none; }

/* ── Comm right: imagen completa sin recorte ─────────────────────────── */
.comm-section { overflow: visible !important; }
.comm-right {
  overflow: visible !important;
  height: 680px !important;
}
.comm-lions-img {
  height: 100% !important;
  width: auto !important;
  max-width: none !important;
  left: 0 !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: bottom left !important;
}

/* Eliminar espacio blanco entre hero y pilares */
.comm-section { padding-bottom: 0 !important; }
.pillars-section { padding-top: 48px !important; }

/* Pilares: equilibrio 50/50 + izquierda con más peso visual */
.pillars-container {
  grid-template-columns: 1fr 1fr !important;
  gap: 64px !important;
  align-items: center !important;
}
.pillars-title { font-size: clamp(2.2rem, 4.5vw, 3.6rem) !important; }
.pillars-desc  { max-width: 100% !important; font-size: 1rem !important; }
.pillars-left  { padding-right: 16px; }

/* Métricas en sección pilares */
.pillars-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,.07);
}
.pillars-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px 0 0;
}
.pillars-metric:first-child { padding-left: 0; }
.pillars-metric__num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0D1B40;
  line-height: 1;
}
.pillars-metric__label {
  font-size: .72rem;
  color: #9ca3af;
  line-height: 1.4;
}
.pillars-metric__sep {
  width: 1px;
  height: 40px;
  background: #e5e7eb;
  margin: 0 24px 0 0;
  flex-shrink: 0;
}

/* Avales en sección pilares */
.pillars-avales {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,.07);
}
.pillars-avales__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 14px;
}
.pillars-avales__logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Avales — logos más grandes y visibles */
.pillars-avales__logos img {
  opacity: 1 !important;
  height: 40px !important;
  max-width: 120px !important;
  filter: none !important;
}

/* Reducir espacio entre pilares y programas */
.pillars-section { padding-bottom: 40px !important; }
.hs-programs-navy { padding-top: 40px !important; }

/* Programs navy: 8 items en grid 4x2 */
.hs-programs-icons { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 32px 24px !important; }
@media (max-width: 900px) { .hs-programs-icons { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px) { .hs-programs-icons { grid-template-columns: 1fr !important; } }

/* Eyebrow y header centrados */
.hs-programs-navy__header { text-align: center !important; width: 100% !important; }
.hs-programs-navy__eyebrow { text-align: center !important; display: block !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
.hs-programs-navy h2 { text-align: center !important; }

/* Reducir gap entre programs-navy y fac-section */
.hs-programs-navy { padding-bottom: 32px !important; }
.fac-section { padding-top: 32px !important; }

/* -- Digital platform cards -- */
.fac-digital-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 16px !important;
}
.fac-dcard {
  background: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(13,27,64,.07);
  transition: box-shadow .25s, transform .25s;
}
.fac-dcard:hover { box-shadow: 0 8px 32px rgba(13,27,64,.13); transform: translateY(-2px); }

/* Hero card spans full width */
.fac-dcard--hero {
  grid-column: 1 / -1 !important;
  background: linear-gradient(135deg, #0D1B40 0%, #012f65 100%) !important;
  color: #fff !important;
  padding: 32px 28px !important;
}
.fac-dcard--hero .fac-dcard__icon { background: rgba(255,255,255,.15) !important; color: #fff !important; }
.fac-dcard--hero .fac-dcard__tag { color: #c8d6ff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.fac-dcard--hero .fac-dcard__title { color: #fff !important; font-size: 1.2rem !important; }
.fac-dcard--hero .fac-dcard__desc { color: rgba(255,255,255,.8) !important; }
.fac-dcard--hero .fac-dcard__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.fac-dcard--hero .fac-dcard__badges span {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.fac-dcard__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  background: #f0f4ff;
  color: #012f65;
}
.fac-dcard__icon--red { background: #fff0f0 !important; color: #C41E3A !important; }
.fac-dcard__icon--navy { background: #f0f4ff !important; color: #012f65 !important; }

.fac-dcard__title { font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; font-weight: 700; color: #0D1B40; margin: 0 0 8px; }
.fac-dcard__desc { font-size: .85rem; color: #4a5568; line-height: 1.6; margin: 0; }

/* HCT hero card: logo + texto lado a lado */
.fac-dcard__hero-inner { display: flex; align-items: center; gap: 28px; }
.fac-dcard__hero-text { flex: 1; }
.fac-dcard__hero-logo { flex-shrink: 0; width: 160px; display: flex; align-items: center; justify-content: center; }
.fac-dcard__hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 4px 24px rgba(255,255,255,.18)); }

/* Image thumbnail en cards peque�as */
.fac-dcard__img-wrap { width: 100%; height: 110px; border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.fac-dcard__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 600px) {
  .fac-digital-grid { grid-template-columns: 1fr !important; }
  .fac-dcard__hero-inner { flex-direction: column; }
  .fac-dcard__hero-logo { width: 120px; }
}

/* -- Digital grid fix: HCT hero full width + 3 cards below -- */
.fac-digital-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 16px !important;
  align-items: start !important;
}
.fac-dcard--hero {
  grid-column: 1 / -1 !important;
  padding: 28px 32px !important;
}
.fac-dcard--sm { grid-column: span 1 !important; }

/* HCT hero inner: logo right, bigger */
.fac-dcard__hero-inner { display: flex !important; align-items: center !important; gap: 32px !important; }
.fac-dcard__hero-text { flex: 1 !important; }
.fac-dcard__hero-logo {
  flex-shrink: 0 !important;
  width: 200px !important;
  height: 140px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.fac-dcard__hero-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: none !important;
}

/* Small cards: image + content stacked */
.fac-dcard--sm .fac-dcard__img-wrap { height: 120px !important; margin-bottom: 14px !important; }

@media (max-width: 768px) {
  .fac-digital-grid { grid-template-columns: 1fr 1fr !important; }
  .fac-dcard--hero { grid-column: 1 / -1 !important; }
  .fac-dcard__hero-inner { flex-direction: column !important; gap: 20px !important; }
  .fac-dcard__hero-logo { width: 140px !important; height: 100px !important; }
}
@media (max-width: 500px) {
  .fac-digital-grid { grid-template-columns: 1fr !important; }
}

/* CTA banner: padding reducido */
.hs-cta-banner { padding-top: 36px !important; padding-bottom: 36px !important; }
.hs-cta-banner__logo img { filter: brightness(10) !important; opacity: .85 !important; }

/* CTA banner: logo Hayim y Victoria */
.hs-cta-banner__logo img { height: 100px !important; width: auto !important; object-fit: contain !important; filter: none !important; opacity: 1 !important; border-radius: 8px !important; }
.hs-cta-banner__lion { height: 130px !important; width: auto !important; object-fit: contain !important; display: block !important; margin-bottom: 8px !important; }
.hs-cta-banner__stat { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; }

/* Partners section: padding reducido y logos m�s grandes */
.hs-partners { padding-top: 32px !important; padding-bottom: 32px !important; }
.hs-partners__header { margin-bottom: 32px !important; }
.hs-partners__logos { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: center !important; gap: 32px 48px !important; }
.hs-partner-logo img { height: 52px !important; max-width: 160px !important; width: auto !important; object-fit: contain !important; opacity: .85 !important; transition: opacity .2s !important; }
.hs-partner-logo:hover img { opacity: 1 !important; }
/* ICLT tiene fills blancos � fondo oscuro pill */
.hs-partner-logo--dark { background: #0D1B40; border-radius: 8px; padding: 10px 18px; }
.hs-partner-logo--dark img { opacity: 1 !important; }

/* CTA banner logo forzado grande */
.hs-cta-banner__logo { display: flex !important; align-items: center !important; }
.hs-cta-banner__logo img { height: 220px !important; width: 220px !important; object-fit: contain !important; max-width: none !important; max-height: none !important; }

/* ICLT: quitar fondo azul, invertir colores para que se vea sobre blanco */
.hs-partner-logo--dark { background: transparent !important; padding: 0 !important; border-radius: 0 !important; }
.hs-partner-logo--dark img { filter: invert(1) !important; opacity: .8 !important; }

/* ICLT: pill navy peque�o para que los fills blancos sean visibles */
.hs-partner-logo--dark { background: #0D1B40 !important; border-radius: 10px !important; padding: 10px 16px !important; }
.hs-partner-logo--dark img { filter: none !important; opacity: 1 !important; }

/* ICLT: sin fondo */
.hs-partner-logo--dark { background: transparent !important; border-radius: 0 !important; padding: 0 !important; }
.hs-partner-logo--dark img { filter: none !important; opacity: .85 !important; }

/* Partners y testimonials: padding m�nimo */
.hs-partners { padding-top: 16px !important; padding-bottom: 16px !important; }
.hs-partners__header { margin-bottom: 20px !important; }
.section--cream.hs-testimonials { padding-top: 32px !important; }

/* Testimonials bottom y equipo academico top */
.hs-testimonials { padding-bottom: 16px !important; }
.hs-team, .section.hs-team { padding-top: 16px !important; }

/* Footer logo nonback m�s grande */
.hs-footer__logo { height: 120px !important; width: auto !important; max-width: none !important; object-fit: contain !important; }

/* Footer: padding reducido, logo grande y centrado */
.hs-footer { padding-top: 32px !important; padding-bottom: 16px !important; }
.hs-footer__brand { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; }
.hs-footer__logo { height: 160px !important; width: auto !important; max-width: none !important; }
.hs-footer__socials { justify-content: center !important; margin-top: 12px !important; }

/* Secci�n anterior al footer: padding inferior reducido */
.hs-team { padding-bottom: 16px !important; }

/* ----------------------------------------------------
   NOSOTROS PAGE
   ---------------------------------------------------- */

/* Eyebrow rojo con l�nea */
.nos-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red);
  display: block; margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  width: fit-content;
}

/* Sections */
.nos-section { padding: 72px 0; }
.nos-section--cream { background: #f4f6fb; }

/* Split 50/50 */
.nos-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nos-split__left {}
.nos-split__title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 700; color: #0D1B40; line-height: 1.2; margin: 12px 0 16px; }
.nos-split__desc { color: #4a5568; font-size: .95rem; line-height: 1.75; }
.nos-split__right {}

/* -- HERO -- */
.nos-hero { padding: 72px 0 56px; background: #fff; }
.nos-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.nos-hero__title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; color: #0D1B40; line-height: 1.15; margin: 12px 0 20px; }
.nos-hero__desc { color: #4a5568; font-size: .95rem; line-height: 1.75; margin-bottom: 28px; }
.nos-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.btn-outline-navy { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 2px solid #0D1B40; color: #0D1B40; border-radius: 6px; font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .2s; }
.btn-outline-navy:hover { background: #0D1B40; color: #fff; }
.nos-hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.nos-hero__stat { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: #4a5568; }
.nos-hero__stat strong { color: #0D1B40; font-weight: 700; }

/* Collage hero */
.nos-hero__collage { position: relative; }
.nos-collage__main { border-radius: 16px; overflow: hidden; height: 280px; }
.nos-collage__main img { width: 100%; height: 100%; object-fit: cover; }
.nos-collage__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.nos-collage__sm { border-radius: 12px; overflow: hidden; height: 150px; }
.nos-collage__sm img { width: 100%; height: 100%; object-fit: cover; }
.nos-collage__badge { position: absolute; bottom: 170px; left: -20px; background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: 0 8px 32px rgba(13,27,64,.15); display: flex; align-items: center; gap: 10px; max-width: 220px; font-size: .78rem; color: #0D1B40; font-weight: 600; line-height: 1.4; }

/* -- TIMELINE HORIZONTAL -- */
.nos-timeline-h { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.nos-tl-item { position: relative; padding-top: 16px; }
.nos-tl-icon { width: 44px; height: 44px; border-radius: 50%; background: #f0f4ff; border: 2px solid #0D1B40; color: #0D1B40; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; z-index: 2; position: relative; }
.nos-tl-icon--active { background: #0D1B40 !important; color: #fff !important; }
.nos-tl-connector { position: absolute; top: 38px; left: 44px; right: -44px; height: 2px; background: #dde3f0; z-index: 1; }
.nos-tl-item--last .nos-tl-connector { display: none; }
.nos-tl-year { font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: var(--red); text-transform: uppercase; margin: 0 0 4px; }
.nos-tl-head { font-family: 'Playfair Display', Georgia, serif; font-size: .9rem; font-weight: 700; color: #0D1B40; margin: 0 0 6px; }
.nos-tl-desc { font-size: .78rem; color: #4a5568; line-height: 1.6; margin: 0; padding-right: 12px; }

/* -- MISI�N VISI�N VALORES -- */
.nos-mvv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nos-mvv-card { background: #fff; border: 1px solid #e8eaf0; border-radius: 14px; padding: 24px; box-shadow: 0 2px 12px rgba(13,27,64,.05); }
.nos-mvv-card--full { grid-column: 1 / -1; }
.nos-mvv-card__icon { width: 44px; height: 44px; border-radius: 10px; background: #f0f4ff; color: #0D1B40; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.nos-mvv-card__icon--red { background: #fff0f0 !important; color: var(--red) !important; }
.nos-mvv-card__title { font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; font-weight: 700; color: #0D1B40; margin: 0 0 8px; }
.nos-mvv-card__desc { font-size: .85rem; color: #4a5568; line-height: 1.65; margin: 0; }
.nos-mvv-values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.nos-mvv-values li { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: #0D1B40; font-weight: 500; }

/* -- LOGOS ALIANZAS -- */
.nos-logos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; }
.nos-logo-item { background: #fff; border: 1px solid #e8eaf0; border-radius: 10px; padding: 20px; display: flex; align-items: center; justify-content: center; height: 80px; }
.nos-logo-item img { max-height: 44px; max-width: 120px; object-fit: contain; opacity: .85; }
.nos-logo-item--dark { background: #0D1B40 !important; }
.nos-logo-item--dark img { opacity: 1 !important; }

/* -- POR QU� ELEGIRNOS -- */
.nos-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nos-why-item { display: flex; align-items: flex-start; gap: 12px; }
.nos-why-item__icon { width: 44px; height: 44px; border-radius: 10px; background: #f0f4ff; color: #0D1B40; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nos-why-item span { font-size: .88rem; color: #0D1B40; font-weight: 600; line-height: 1.5; padding-top: 10px; }

/* -- TESTIMONIO -- */
.nos-testimonial-card { background: #fff; border: 1px solid #e8eaf0; border-radius: 16px; padding: 36px; box-shadow: 0 4px 24px rgba(13,27,64,.07); position: relative; }
.nos-testimonial-card__quote { margin-bottom: 16px; }
.nos-testimonial-card__text { font-size: 1rem; color: #0D1B40; line-height: 1.75; font-style: italic; margin: 0 0 20px; }
.nos-testimonial-card__dots { display: flex; gap: 6px; margin-bottom: 16px; }
.nos-dot { width: 8px; height: 8px; border-radius: 50%; background: #dde3f0; }
.nos-dot--active { background: var(--red); }
.nos-testimonial-card__author { font-size: .85rem; color: #4a5568; font-weight: 600; margin: 0; }

/* -- CTA FINAL -- */
.nos-cta-final { background: #0D1B40; padding: 48px 0; }
.nos-cta-final__inner { display: flex; align-items: center; gap: 40px; }
.nos-cta-final__logo { height: 90px; width: auto; flex-shrink: 0; }
.nos-cta-final__text { flex: 1; }
.nos-cta-final__text h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.4rem, 2.5vw, 2rem); color: #fff; margin: 0 0 8px; line-height: 1.2; }
.nos-cta-final__text p { color: rgba(255,255,255,.7); font-size: .9rem; margin: 0; }
.nos-cta-final .btn-primary { flex-shrink: 0; white-space: nowrap; }

/* Responsive */
@media (max-width: 900px) {
  .nos-hero__grid, .nos-split { grid-template-columns: 1fr !important; gap: 36px !important; }
  .nos-timeline-h { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
  .nos-tl-connector { display: none; }
  .nos-cta-final__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .nos-mvv-grid, .nos-logos-grid, .nos-why-grid { grid-template-columns: 1fr !important; }
  .nos-mvv-card--full { grid-column: 1 !important; }
  .nos-timeline-h { grid-template-columns: 1fr !important; }
}

/* Nosotros: reducir espacio entre page-hero y secci�n historia */
.page-hero { padding-top: 80px !important; padding-bottom: 32px !important; }
.page-hero + .section { padding-top: 32px !important; }

/* ════════════════════════════════════════════════════
   HISTORIA SECTION — v3 final
   ════════════════════════════════════════════════════ */

.hist-section { background: #F8F9FB; }

/* ─── DESKTOP: foto como background-image, overlay blanco izquierda ─── */
.hist-hero {
  min-height: 88vh;
  max-height: 740px;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

/* Img real — OCULTA en desktop, VISIBLE en mobile */
.hist-hero__mobileimg { display: none; }

.hist-overlay {
  flex: 1;
  background: linear-gradient(90deg,
    #fff  0%,
    #fff  40%,
    rgba(255,255,255,.65) 60%,
    transparent 100%);
  display: flex;
  align-items: center;
}

.hist-content { max-width: 560px; padding: 80px 0; }

/* ─── Tipografía ─── */
.hist-eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(13,27,64,.4);
  display: block; margin-bottom: 16px;
}
.hist-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 700; color: #0D1B40;
  line-height: 1.08; margin: 0 0 20px;
}
.hist-title em { font-style: italic; color: #C41E3A; }
.hist-desc {
  font-size: .95rem; color: #4B5563;
  line-height: 1.75; margin-bottom: 36px; max-width: 460px;
}

/* ─── Stats 4 col ─── */
.hist-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(13,27,64,.1); padding-top: 28px;
  gap: 0;
}
.hist-stat { display: flex; flex-direction: column; padding-right: 20px; }
.hist-stat__num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem; font-weight: 700;
  color: #0D1B40; display: block; line-height: 1;
}
.hist-stat__label {
  font-size: .62rem; color: #9CA3AF;
  text-transform: uppercase; letter-spacing: .1em;
  display: block; margin-top: 6px;
}

/* ─── Cards section ─── */
.hist-cards-section { padding: 64px 0 72px; }

.hist-tl-header { display: flex; align-items: center; gap: 20px; justify-content: center; margin-bottom: 40px; }
.hist-tl-line-deco { flex: 1; max-width: 120px; height: 1px; background: linear-gradient(to right, transparent, rgba(13,27,64,.18)); }
.hist-tl-line-deco:last-child { background: linear-gradient(to left, transparent, rgba(13,27,64,.18)); }
.hist-tl-label { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #C41E3A; white-space: nowrap; }

.hist-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.hist-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(13,27,64,.08);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.hist-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(13,27,64,.14); }
.hist-card__img { height: 160px; overflow: hidden; }
.hist-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.hist-card:hover .hist-card__img img { transform: scale(1.07); }
.hist-card__body { padding: 20px; }
.hist-card__year { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #C41E3A; margin: 0 0 6px; }
.hist-card__title { font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; font-weight: 700; color: #0D1B40; margin: 0 0 8px; }
.hist-card__desc { font-size: .8rem; color: #6B7280; line-height: 1.65; margin: 0; }

/* ─── Quote ─── */
.hist-quote {
  margin-top: 48px; background: #fff; border-radius: 16px;
  padding: 36px 48px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
  box-shadow: 0 4px 20px rgba(13,27,64,.06);
}
.hist-quote__icon { flex-shrink: 0; }
.hist-quote__text { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem; font-style: italic; color: #0D1B40; line-height: 1.6; margin: 0; }
.hist-quote__author { text-align: right; white-space: nowrap; }
.hist-quote__author strong { display: block; font-size: .88rem; color: #0D1B40; font-weight: 600; }
.hist-quote__author span { font-size: .75rem; color: #9CA3AF; }

/* ════ TABLET ≤ 1100px ════ */
@media (max-width: 1100px) {
  .hist-overlay {
    background: linear-gradient(90deg,
      #fff 0%, #fff 48%,
      rgba(255,255,255,.55) 68%, transparent 100%);
  }
  .hist-content { max-width: 500px; }
}

/* ════ MOBILE ≤ 768px ════
   Estrategia: background-image desactivado, img real visible arriba,
   contenido en blanco debajo — sin trucos de gradiente vertical.       */
@media (max-width: 768px) {
  /* Hero: contenedor sin background */
  .hist-hero {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    background-image: none !important;
  }
  /* Mostrar img real */
  .hist-hero__mobileimg {
    display: block !important;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center 30%;
  }
  /* Overlay: fondo blanco sólido, sin gradiente */
  .hist-overlay {
    background: #fff !important;
    padding: 36px 0 44px !important;
    align-items: flex-start !important;
  }
  .hist-content { max-width: 100%; padding: 0; }
  /* Stats 2x2 */
  .hist-stats { grid-template-columns: repeat(2,1fr) !important; gap: 20px !important; }
  /* Cards 2 columnas */
  .hist-cards { grid-template-columns: repeat(2,1fr) !important; }
  /* Quote una columna */
  .hist-quote { grid-template-columns: 1fr !important; text-align: center !important; padding: 28px 24px !important; }
  .hist-quote__author { text-align: center !important; white-space: normal !important; }
  .hist-cards-section { padding: 40px 0 56px; }
}

/* ════ SMALL MOBILE ≤ 480px ════ */
@media (max-width: 480px) {
  .hist-hero__mobileimg { height: 210px; }
  .hist-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hist-stats { gap: 16px !important; }
  .hist-cards { grid-template-columns: 1fr !important; }
  .hist-quote { padding: 24px 16px !important; }
}

/* ══════════════════════════════════════════════════════════════════
   NOSOTROS — REDISEÑO v4 (match screenshot)
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero stats: icono + número + label en columna ── */
.nos-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(13,27,64,.1);
  padding-top: 24px;
  margin-top: 32px;
}
.nos-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.nos-hero__stat-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(196,30,58,.08);
  display: flex; align-items: center; justify-content: center;
  color: #C41E3A;
  margin-bottom: 10px;
}
.nos-hero__stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem; font-weight: 700;
  color: #0D1B40; line-height: 1; display: block;
}
.nos-hero__stat-label {
  font-size: .6rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: #9CA3AF; display: block; margin-top: 5px;
}

/* ── Historia: timeline cards (sin foto) ── */
.nos-tl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.nos-tl-card {
  background: #fff;
  border: 1px solid rgba(13,27,64,.07);
  border-radius: 14px;
  padding: 22px 18px;
  transition: box-shadow .25s, transform .25s;
  cursor: default;
}
.nos-tl-card:hover {
  box-shadow: 0 8px 28px rgba(13,27,64,.1);
  transform: translateY(-4px);
}
.nos-tl-card__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(13,27,64,.05);
  display: flex; align-items: center; justify-content: center;
  color: #0D1B40;
  margin-bottom: 16px;
}
.nos-tl-card__icon--red {
  background: rgba(196,30,58,.08);
  color: #C41E3A;
}
.nos-tl-card__year {
  font-size: 1.1rem; font-weight: 700;
  color: #0D1B40; margin: 0 0 4px;
  font-family: 'Playfair Display', Georgia, serif;
}
.nos-tl-card__title {
  font-size: .88rem; font-weight: 700;
  color: #0D1B40; margin: 0 0 8px;
}
.nos-tl-card__desc {
  font-size: .78rem; color: #6B7280;
  line-height: 1.6; margin: 0;
}

/* ── MVV: 3 tarjetas iguales en fila ── */
.nos-mvv-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.nos-mvv-card2 {
  background: #fff;
  border: 1px solid rgba(13,27,64,.07);
  border-radius: 16px;
  padding: 28px 22px;
  transition: box-shadow .25s, transform .25s;
}
.nos-mvv-card2:hover {
  box-shadow: 0 8px 28px rgba(13,27,64,.09);
  transform: translateY(-3px);
}
.nos-mvv-card2__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(196,30,58,.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.nos-mvv-card2__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem; font-weight: 700;
  color: #0D1B40; margin: 0 0 10px;
}
.nos-mvv-card2__desc {
  font-size: .83rem; color: #4B5563; line-height: 1.65;
}
.nos-mvv-card2__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.nos-mvv-card2__list li {
  display: flex; align-items: center; gap: 8px;
  font-size: .83rem; color: #374151; font-weight: 500;
}

/* ── Testimonial: label + footer con dots + nav ── */
.nos-testimonial-label {
  font-size: .62rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(13,27,64,.35);
  margin: 0 0 12px;
}
.nos-testimonial-card__footer {
  display: flex; align-items: center;
  justify-content: space-between;
  margin: 20px 0 8px;
}
.nos-tst-nav {
  width: 32px; height: 32px;
  border: 1px solid rgba(13,27,64,.12);
  border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #0D1B40;
  transition: background .2s, border-color .2s;
}
.nos-tst-nav:hover { background: #0D1B40; color: #fff; border-color: #0D1B40; }
.nos-tst-nav + .nos-tst-nav { margin-left: 6px; }
.nos-testimonial-card__nav { display: flex; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nos-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .nos-tl-grid { grid-template-columns: repeat(2, 1fr); }
  .nos-mvv-row { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 600px) {
  .nos-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .nos-tl-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   HISTORIA TIMELINE ALTERNANTE — v4 con GSAP
   ══════════════════════════════════════════════════════════════════ */

.htl-section {
  background: #F8F9FB;
  padding: 80px 0 96px;
  overflow: hidden;
}

/* ── Intro centrado ── */
.htl-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 72px;
}
.htl-intro__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #0D1B40;
  line-height: 1.15;
  margin: 10px 0 16px;
}
.htl-intro__desc {
  font-size: .95rem;
  color: #4B5563;
  line-height: 1.75;
}

/* ── Contenedor del timeline ── */
.htl-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Línea vertical central */
.htl-spine {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #C41E3A, rgba(196,30,58,.15));
  transform: translateX(-50%);
  transform-origin: top center;
  pointer-events: none;
}

/* ── Fila ── */
.htl-row {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
  position: relative;
}
.htl-row--last { margin-bottom: 0; }

/* ── Columna imagen ── */
.htl-col--img { padding: 0 28px; }

.htl-img-card {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 16px 48px rgba(13,27,64,.12);
  will-change: transform;
}
.htl-img-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.htl-img-card:hover img { transform: scale(1.04); }

/* ── Columna central: dot ── */
.htl-col--dot {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.htl-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #C41E3A;
  box-shadow: 0 0 0 5px rgba(196,30,58,.12);
  flex-shrink: 0;
  will-change: transform, opacity;
}
.htl-dot--active {
  background: #C41E3A;
  width: 22px; height: 22px;
  box-shadow: 0 0 0 6px rgba(196,30,58,.15);
}
.htl-dot--red { background: #C41E3A; }

/* ── Columna texto ── */
.htl-col--text { padding: 0 28px; }

.htl-year {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #9CA3AF; display: block; margin-bottom: 10px;
}
.htl-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem; font-weight: 700;
  color: #0D1B40; margin: 0 0 12px; line-height: 1.25;
}
.htl-desc {
  font-size: .88rem; color: #4B5563;
  line-height: 1.75; margin: 0;
}

/* will-change para perf GSAP */
.htl-from-left,
.htl-from-right { will-change: transform, opacity; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .htl-spine { display: none; }
  .htl-row {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto;
    margin-bottom: 48px;
    gap: 20px;
  }
  /* Forzar orden: imagen arriba, dot, texto — independiente del dir */
  .htl-row .htl-col--img { order: 1; padding: 0; }
  .htl-row .htl-col--dot { order: 2; }
  .htl-row .htl-col--text { order: 3; padding: 0; text-align: left !important; }
  .htl-col--dot { justify-content: flex-start; padding-left: 4px; }
  .htl-img-card { border-radius: 14px; }
  .htl-intro { margin-bottom: 48px; }
  /* Simplificar animaciones en mobile */
  .htl-from-left, .htl-from-right { will-change: auto; }
}

@media (max-width: 480px) {
  .htl-section { padding: 56px 0 72px; }
  .htl-intro__title { font-size: 1.75rem; }
  .htl-title { font-size: 1.15rem; }
}

/* ══════════════════════════════════════════════════════════════════
   HISTORIA TIMELINE — LAYOUT FIX v5
   (Reemplaza las reglas htl-* anteriores con layout correcto)
   ══════════════════════════════════════════════════════════════════ */

/* Forzar override de reglas htl previas que pueden tener grid roto */
.htl-section {
  background: #F8F9FB !important;
  padding: 80px 0 96px !important;
  overflow: visible !important;  /* no hidden — GSAP necesita espacio */
}

.htl-intro {
  text-align: center !important;
  max-width: 640px !important;
  margin: 0 auto 72px !important;
}
.htl-intro__title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2rem, 3.5vw, 2.8rem) !important;
  font-weight: 700 !important; color: #0D1B40 !important;
  line-height: 1.15 !important; margin: 10px 0 16px !important;
}
.htl-intro__desc {
  font-size: .95rem !important; color: #4B5563 !important; line-height: 1.75 !important;
}

/* Contenedor del timeline: position relative para la línea */
.htl-wrap {
  position: relative !important;
  max-width: 880px !important;
  margin: 0 auto !important;
}

/* Línea vertical central */
.htl-spine {
  position: absolute !important;
  left: 50% !important;
  top: 28px !important;
  bottom: 28px !important;
  width: 2px !important;
  background: linear-gradient(to bottom, #C41E3A 0%, rgba(196,30,58,.18) 100%) !important;
  transform: translateX(-50%) !important;
  transform-origin: top center !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Cada fila: flexbox 3 columnas */
.htl-row {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  margin-bottom: 56px !important;
  position: relative !important;
}
.htl-row--last { margin-bottom: 0 !important; }

/* Lados: imagen y texto — 50% menos el dot */
.htl-side {
  flex: 1 !important;
  min-width: 0 !important;
}
.htl-side--img { padding: 0 32px 0 0; }
.htl-side--text { padding: 0 0 0 32px; }

/* En filas invertidas: texto primero, imagen después */
.htl-row--rev .htl-side--text { padding: 0 32px 0 0 !important; order: 1 !important; }
.htl-row--rev .htl-center      { order: 2 !important; }
.htl-row--rev .htl-side--img  { padding: 0 0 0 32px !important; order: 3 !important; }

/* Columna central del dot */
.htl-center {
  width: 56px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  z-index: 2 !important;
}
.htl-dot {
  width: 18px !important; height: 18px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 3px solid #C41E3A !important;
  box-shadow: 0 0 0 5px rgba(196,30,58,.13) !important;
}
.htl-dot--active {
  background: #C41E3A !important;
  width: 22px !important; height: 22px !important;
  box-shadow: 0 0 0 6px rgba(196,30,58,.16) !important;
}
.htl-dot--red { background: #C41E3A !important; }

/* Imagen */
.htl-img-card {
  border-radius: 18px !important;
  overflow: hidden !important;
  aspect-ratio: 4 / 3 !important;
  box-shadow: 0 16px 48px rgba(13,27,64,.12) !important;
}
.htl-img-card img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; display: block !important;
  transition: transform .55s ease !important;
}
.htl-img-card:hover img { transform: scale(1.04) !important; }

/* Texto */
.htl-year {
  font-size: .68rem !important; font-weight: 700 !important;
  letter-spacing: .18em !important; text-transform: uppercase !important;
  color: #9CA3AF !important; display: block !important; margin-bottom: 10px !important;
}
.htl-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.3rem !important; font-weight: 700 !important;
  color: #0D1B40 !important; margin: 0 0 12px !important; line-height: 1.25 !important;
}
.htl-desc {
  font-size: .88rem !important; color: #4B5563 !important; line-height: 1.75 !important; margin: 0 !important;
}

/* GSAP will-change */
.htl-from-left, .htl-from-right { will-change: transform, opacity; }

/* ── Mobile ── */
@media (max-width: 720px) {
  .htl-spine { display: none !important; }
  .htl-row, .htl-row--rev {
    flex-direction: column !important;
    margin-bottom: 48px !important;
  }
  .htl-row--rev .htl-side--text,
  .htl-row--rev .htl-center,
  .htl-row--rev .htl-side--img { order: unset !important; }
  .htl-side--img { padding: 0 !important; order: 1 !important; width: 100% !important; }
  .htl-center { order: 2 !important; width: 100% !important; justify-content: flex-start !important; padding-left: 4px !important; margin: 12px 0 !important; }
  .htl-side--text { padding: 0 !important; order: 3 !important; width: 100% !important; }
  .htl-row--rev .htl-side--img  { order: 1 !important; padding: 0 !important; }
  .htl-row--rev .htl-side--text { order: 3 !important; padding: 0 !important; text-align: left !important; }
  .htl-img-card { border-radius: 12px !important; }
  .htl-intro { margin-bottom: 40px !important; }
  .htl-wrap { max-width: 100% !important; }
}
