/* =========================================================
   ILCADEL — Sistema de Diseño Institucional
   Paleta: Azul Marino #101F38 · Dorado #C6A34A · Blanco #FFFFFF
   ========================================================= */

:root {
  --navy-deep: #091324;
  --navy: #101F38;
  --navy-mid: #182D4F;
  --navy-soft: #223B65;

  --gold: #C6A34A;
  --gold-light: #DFC06E;
  --gold-hover: #D4B259;
  --gold-dark: #8A671B;       /* Contraste AA sobre blanco */
  --gold-tint: #FAF5E8;
  --gold-tint-strong: #F3E8C9;
  --gold-border: rgba(198, 163, 74, 0.38);

  --white: #FFFFFF;
  --gray: #646A77;
  --ink-soft: #363D4C;
  --gray-bg: #F4F6F9;
  --warm-bg: #FAF9F5;
  --line: #E2E6EE;
  --input-line: #C7CEDB;
  --on-navy: #D2DAEA;
  --on-navy-soft: #A8B5CD;

  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1520px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --header-h: 98px;

  --shadow-xs: 0 2px 6px rgba(16, 31, 56, 0.05);
  --shadow-sm: 0 8px 24px -8px rgba(16, 31, 56, 0.09), 0 2px 6px -1px rgba(16, 31, 56, 0.04);
  --shadow-md: 0 18px 40px -16px rgba(16, 31, 56, 0.16), 0 4px 12px -2px rgba(16, 31, 56, 0.06);
  --shadow-lg: 0 28px 60px -20px rgba(9, 19, 36, 0.32);
  --shadow-gold: 0 12px 28px -8px rgba(198, 163, 74, 0.55);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a {
  color: var(--gold-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  margin: 0;
  font-optical-sizing: auto;
  color: inherit;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 64px 0; }
.section--gray {
  background: var(--gray-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--navy {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--white);
}

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 300;
  background: var(--gold); color: var(--navy-deep);
  padding: 10px 18px; border-radius: var(--radius); font-weight: 700;
  text-decoration: none; box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 14px; }

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Etiqueta de sección (Eyebrow / Kicker) ---------- */
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before, .kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex: none;
}
.section--navy .eyebrow,
.hero .eyebrow,
.page-hero .kicker {
  color: var(--gold-light);
}

.section-title {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.015em;
}
.lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--gray);
}

/* ---------- Botones ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
}
.btn svg {
  flex: none;
  transition: transform .22s ease;
}
.btn:hover svg { transform: translateX(4px); }

.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 20px -10px rgba(16, 31, 56, 0.55);
}
.btn--navy:hover {
  color: var(--white);
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(16, 31, 56, 0.65);
}

.btn--outline-navy {
  border-color: rgba(16, 31, 56, 0.28);
  background: var(--white);
  color: var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy-deep);
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
  background: linear-gradient(180deg, #E7CB7E 0%, var(--gold-hover) 100%);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(198, 163, 74, 0.75);
}

.btn--shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: shine 3.8s ease-in-out infinite;
}
@keyframes shine {
  0%, 62% { left: -80%; }
  100% { left: 135%; }
}

.btn--ghost {
  background: rgba(16, 31, 56, 0.48);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .5);
}

.btn--line {
  background: rgba(198, 163, 74, 0.08);
  color: var(--gold-light);
  border-color: var(--gold);
}
.btn--line:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13.5px;
}
.btn--lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 15.5px;
}

/* ---------- Barra superior (Topbar) ---------- */
.topbar {
  background: var(--navy-deep);
  color: var(--on-navy-soft);
  font-size: 13px;
  border-bottom: 1px solid rgba(198, 163, 74, 0.22);
}
.topbar a {
  color: var(--on-navy);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease;
}
.topbar a:hover { color: var(--gold-light); }
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar__group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}
.topbar__item {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.topbar__item svg {
  flex: none;
  color: var(--gold);
}
.topbar__group:last-child a {
  color: var(--gold-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar__group:last-child a:hover {
  color: var(--white);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 32px -16px rgba(16, 31, 56, 0.22);
}
.header__inner {
  display: flex;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.header__logo {
  flex: none;
  display: inline-flex;
  align-items: center;
}
.header__logo img {
  height: 68px;
  width: auto;
  transition: height .25s ease;
}
.header.is-scrolled .header__logo img {
  height: 56px;
}

.nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 4px 18px;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  min-width: 0;
}
.nav a:not(.btn) {
  position: relative;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 2px;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav a:not(.btn):hover,
.nav a:not(.btn).is-active {
  color: var(--gold-dark);
}
.nav a:not(.btn):hover::after,
.nav a:not(.btn).is-active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
}
.header__cta {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  font-size: 13.5px;
  white-space: nowrap;
  border-radius: var(--radius);
}
.header__cta:hover svg {
  transform: scale(1.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, background-color .2s ease;
}
.nav-toggle:hover {
  border-color: var(--gold);
  background: var(--gold-tint);
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero Principal (Home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  border-bottom: 4px solid var(--gold);
}
.hero__bg {
  position: absolute;
  inset: -4% 0 -4% 18%;
  background: url("../assets/img/hero.jpg") right center / cover no-repeat;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.09); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg,
      var(--navy-deep) 0%,
      var(--navy-deep) 36%,
      rgba(16, 31, 56, 0.94) 48%,
      rgba(16, 31, 56, 0.52) 66%,
      rgba(16, 31, 56, 0.14) 100%);
}
.hero__overlay::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 44%;
  width: 3px;
  background: linear-gradient(180deg, transparent 0%, rgba(198, 163, 74, 0.7) 50%, transparent 100%);
  transform: rotate(14deg);
  pointer-events: none;
}
.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(0deg, rgba(9, 19, 36, 0.85), rgba(9, 19, 36, 0));
}
.hero__inner {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 76px;
}
.hero__content {
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(198, 163, 74, 0.14);
  border: 1px solid rgba(198, 163, 74, 0.42);
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  max-width: 100%;
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}
.hero__title span {
  color: var(--gold-light);
  display: inline;
}
.hero__text {
  font-size: 18.5px;
  line-height: 1.6;
  color: #E0E6F2;
  max-width: 860px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 6px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.stats > div {
  position: relative;
  padding-left: 16px;
  border-left: 2px solid rgba(198, 163, 74, 0.55);
}
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}
.stat__num::after {
  content: "+";
  font-size: 0.65em;
  margin-left: 2px;
  color: var(--gold);
}
.stats > div:last-child .stat__num::after {
  content: "";
}
.stat__label {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--on-navy);
  margin-top: 6px;
}

/* Animación de entrada del hero */
.hero-in { animation: fadeUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .2s; }
.d3 { animation-delay: .32s; }
.d4 { animation-delay: .44s; }
.d5 { animation-delay: .56s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Franja bajo el hero ---------- */
.respaldo {
  background: #f7f8fa;
  border-bottom: 1px solid var(--line);
}
.respaldo__inner {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(240px, 0.85fr) minmax(420px, 1.25fr);
  align-items: stretch;
  min-height: 228px;
  background: var(--white);
}
.respaldo__photo {
  position: relative;
  margin: 0;
  min-height: 228px;
  overflow: hidden;
  background: var(--navy-deep);
}
.respaldo__photo img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.respaldo__about,
.respaldo__badges {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.respaldo__about h2,
.respaldo__badges h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
  color: var(--navy);
}
.respaldo__about p {
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.respaldo__about .btn {
  align-self: flex-start;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
}
.respaldo__badges {
  border-left: 1px solid var(--line);
}
.badge-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.badge {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  text-decoration: none;
  color: var(--navy);
}
.badge img {
  width: 52px;
  height: 46px;
  object-fit: cover;
  object-position: center 18%;
}
.badge--logo img,
.badge--wide img {
  object-fit: contain;
  object-position: center;
}
.badge--logo img {
  width: 72px;
  height: 76px;
}
.badge--wide img {
  width: 118px;
  height: 32px;
}
.badge__word {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--navy);
}
.badge__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.badge strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.badge span:last-child {
  font-size: 11px;
  line-height: 1.3;
  color: var(--gray);
}
.badge:hover strong { color: var(--gold-dark); }

/* ---------- Cabeceras de sección y Tarjetas ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.section-head > div { flex: 1 1 520px; min-width: 0; }
.section-head > p { flex: 1 1 340px; max-width: 440px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.service {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  opacity: 0;
  transition: opacity .25s ease;
}
.service:hover::before { opacity: 1; }

.service__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px -6px rgba(16, 31, 56, 0.35);
}
.service__photo {
  display: block;
  max-width: none;
  width: calc(100% + 52px);
  margin: -30px -26px 8px;
  height: 196px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 2px solid var(--gold);
  transition: filter .3s ease;
}
.service:hover .service__photo {
  filter: brightness(1.04);
}
.service__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.22;
  color: var(--navy);
}
.service__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gray);
  flex-grow: 1;
}
.service__list li {
  padding-left: 18px;
  position: relative;
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.service__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
  text-decoration: none;
  transition: color .2s ease, gap .2s ease;
}
.service__link::after {
  content: "→";
  color: var(--gold-dark);
  transition: transform .2s ease;
}
.service__link:hover {
  color: var(--gold-dark);
}
.service__link:hover::after {
  transform: translateX(4px);
}

/* ---------- Banda destacada ---------- */
.highlight {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--white);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(198, 163, 74, 0.16), transparent 55%);
  pointer-events: none;
}
.highlight__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.highlight__num {
  flex: none;
  font-family: var(--font-serif);
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-light);
  padding: 18px 28px;
  border-radius: var(--radius-lg);
  background: rgba(198, 163, 74, 0.1);
  border: 1px solid rgba(198, 163, 74, 0.35);
}
.highlight__text {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.highlight__text p:first-child {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 500;
  line-height: 1.32;
}
.highlight__text p:last-child {
  font-size: 15.5px;
  color: var(--on-navy);
}
.highlight .btn { flex: none; }

/* ---------- Pasos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 44px 0;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-xs);
  transition: transform .22s ease, box-shadow .22s ease;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gold-tint);
  border: 1px solid var(--gold-border);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-dark);
}
.step__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gray);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* ---------- Institución / About ---------- */
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}
.about__media {
  flex: 1 1 420px;
  min-width: 0;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__content {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about__content .section-title { margin-top: 0; }
.about__content > p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--gray);
}
.mv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 6px;
}
.mv__item {
  padding: 26px 24px;
  border-left: 4px solid var(--gold);
}
.mv__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}
.mv__item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray);
}
.about > .prose { flex: 1 1 480px; min-width: 0; max-width: none; }
.about > .with-figure__img {
  flex: 1 1 360px;
  max-width: 440px;
  position: static;
  align-self: center;
}
.about__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 6px;
  font-weight: 700;
  font-size: 15px;
}
.about__links a {
  text-decoration: none;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.about__links a:hover { color: var(--gold-dark); }

/* Hitos / Línea de tiempo institucional */
.milestones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0 12px;
}
.milestone {
  background: var(--warm-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}
.milestone__year {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.1;
}
.milestone__label {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-top: 6px;
}
.milestone__text {
  font-size: 13.5px;
  color: var(--gray);
  margin-top: 4px;
}

/* ---------- Recursos ---------- */
.resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.resource {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  color: var(--navy);
  text-decoration: none;
  border-radius: var(--radius-lg);
  background: var(--white);
}
.resource:hover { color: var(--navy); }
.resource svg {
  flex: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 10px;
  background: var(--gold-tint);
  color: var(--gold-dark);
  transition: background-color .2s ease, color .2s ease;
}
.resource:hover svg {
  background: var(--navy);
  color: var(--gold-light);
}
.resource__title {
  display: block;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
}
.resource__meta {
  display: inline-block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-dark);
}

/* ---------- Contacto y Formularios ---------- */
.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}
.contact__info {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact a { color: var(--gold-light); text-decoration: none; }
.contact a:hover { color: var(--white); text-decoration: underline; }

.sedes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  font-size: 14.5px;
  color: var(--on-navy);
}
.sedes > div {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sede__name {
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.phones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.phones > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
}

.form {
  flex: 1 1 460px;
  min-width: 0;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-xl);
  padding: 36px 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field--full, .form__footer { grid-column: 1 / -1; }
.field label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--input-line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  color: var(--navy);
  background: #FCFDFE;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field input[type="file"] {
  height: auto;
  padding: 12px 14px;
  background: var(--warm-bg);
  border-style: dashed;
  border-color: var(--gold-dark);
  cursor: pointer;
}
.field textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 3.5px rgba(198, 163, 74, 0.22);
}
.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: #B42318;
  background: #FFFBFB;
}
.field__error {
  font-size: 12.5px;
  font-weight: 500;
  color: #B42318;
  min-height: 0;
}
.form__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.form__note {
  font-size: 13px;
  color: var(--gray);
  max-width: 340px;
}
.form__status {
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 600;
  color: #0F5132;
  background: #D1E7DD;
  border: 1px solid #BADBCC;
  padding: 12px 16px;
  border-radius: var(--radius);
}
.form__status:empty { display: none; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: var(--on-navy-soft);
  font-size: 14px;
  border-top: 3px solid var(--gold);
}
.footer a {
  color: var(--on-navy);
  text-decoration: none;
  transition: color .2s ease;
}
.footer a:hover { color: var(--gold-light); }
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding-top: 68px;
  padding-bottom: 124px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(150px, 1fr));
  gap: 32px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
}
.footer__brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: .01em;
  color: var(--white);
}
.footer__brand span { color: var(--gold); }
.footer__title {
  font-weight: 700;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.libro {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background: rgba(198, 163, 74, 0.1);
  border: 1px solid rgba(198, 163, 74, 0.55);
  border-radius: var(--radius);
  color: var(--gold-light) !important;
  font-weight: 700;
  transition: background-color .2s ease, transform .2s ease;
}
.libro:hover {
  background: var(--gold);
  color: var(--navy-deep) !important;
  transform: translateY(-2px);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}
.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

/* ---------- Consulta flotante ---------- */
.wa-dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  min-height: 64px;
  padding: 6px 18px 6px 6px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 18px 36px -16px rgba(9, 19, 36, 0.55), 0 0 0 1px rgba(9, 19, 36, 0.06);
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.wa-dock .wa-float { position: relative; right: auto; bottom: auto; z-index: auto; }
.wa-float:hover {
  color: var(--navy-deep);
  background: var(--gold-hover);
  transform: translateY(-2px);
}
.wa-float:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.wa-float__mark {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(223, 192, 110, 0.4);
}
.wa-float__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  padding-right: 2px;
}
.wa-float__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
}
.wa-float__label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}
.wa-dock.is-open .wa-float { background: var(--navy); }
.wa-dock.is-open .wa-float__mark { background: var(--gold); color: var(--navy-deep); box-shadow: none; }
.wa-dock.is-open .wa-float__kicker { color: var(--gold-light); }
.wa-dock.is-open .wa-float__label { color: var(--white); }
.wa-dock.is-open .wa-float:hover { background: var(--navy-mid); color: var(--white); }
.wa-panel {
  width: min(380px, calc(100vw - 32px));
  max-height: min(540px, calc(100vh - 128px));
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--navy);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-border);
  transform-origin: bottom right;
}
.wa-panel[hidden] { display: none; }
.wa-panel:not([hidden]) { animation: wa-rise .28s ease; }
@keyframes wa-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.wa-panel__head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 163, 74, 0.22), transparent 46%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 62%, var(--navy-mid));
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}
.wa-panel__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.wa-panel__kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.wa-panel__title {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}
.wa-panel__close {
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(198, 163, 74, 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.wa-panel__close:hover { background: rgba(198, 163, 74, 0.16); color: var(--white); }
.wa-panel__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  overflow: auto;
}
.wa-agent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--warm-bg);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.wa-agent:hover {
  border-color: var(--gold-border);
  background: var(--gold-tint);
  color: var(--navy);
  transform: translateY(-1px);
}
.wa-agent__mark {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--gold-border);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
}
.wa-agent__body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.wa-agent__role { font-weight: 700; font-size: 14.5px; }
.wa-agent__phone { font-size: 13px; color: var(--gray); }
.wa-agent__go {
  flex: none;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wa-agent:hover .wa-agent__go { background: var(--gold); color: var(--navy-deep); }
.wa-panel__note {
  margin: 0;
  padding: 2px 16px 14px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--gray);
}
@media (max-width: 640px) {
  .wa-dock { right: 16px; bottom: 16px; }
  .wa-float { right: 16px; bottom: 16px; padding: 0; min-height: 0; }
  .wa-float__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

/* ---------- Calculadora de costos ---------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}
.calc__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.calc__tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
.calc__tab {
  min-height: 52px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: var(--navy);
  color: var(--on-navy);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.calc__tab.is-active { color: var(--white); border-bottom-color: var(--gold); background: var(--navy-deep); }
.calc__tab:hover { color: var(--gold-light); }
.calc__body { padding: 28px 28px 22px; }
.calc__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
}
.calc__lead { margin-top: 8px; color: var(--gray); }
.calc__label { display: block; margin-top: 22px; font-weight: 700; font-size: 14px; color: var(--navy); }
.calc__field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--input-line);
  border-radius: var(--radius);
  background: var(--gray-bg);
}
.calc__field span { font-weight: 700; color: var(--navy); }
.calc__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 18px;
  color: var(--navy);
  outline: none;
}
.calc__error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #FDECEC;
  color: #8C2F2F;
  font-size: 14px;
}
.calc__results { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.calc__results[hidden], .calc__error[hidden], .calc__row[hidden] { display: none; }
.calc__row, .calc__total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.calc__row span, .calc__total span { color: var(--ink-soft); }
.calc__row strong, .calc__total strong { color: var(--navy); font-variant-numeric: tabular-nums; }
.calc__row--sub { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.calc__total {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}
.calc__total span, .calc__total strong { color: var(--white); }
.calc__total strong { font-size: 22px; color: var(--gold-light); }
.calc__note { margin-top: 16px; font-size: 13px; color: var(--gray); }
.calc__aside {
  padding: 8px 8px 0 12px;
}
.calc__aside h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.calc__aside .btn { margin-top: 18px; }
@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .calc__tabs { grid-template-columns: 1fr; }
  .calc__body { padding: 22px 18px 18px; }
}

/* ---------- Páginas Interiores ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
  padding: 56px 0 48px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 22%, rgba(198, 163, 74, 0.16), transparent 45%),
    repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 36px);
  pointer-events: none;
}
.page-hero > .container { position: relative; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--on-navy-soft);
  margin-bottom: 14px;
}
.breadcrumb a {
  color: var(--on-navy);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb__sep { color: var(--gold); }

.page-hero h1 {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
.page-hero p {
  margin-top: 14px;
  max-width: 66ch;
  font-size: 18px;
  line-height: 1.6;
  color: #DCE4F2;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 76ch;
}
.with-figure {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.75fr);
  gap: 44px 56px;
  align-items: start;
}
.with-figure > .prose { max-width: none; }
.with-figure__img {
  margin: 0;
  position: sticky;
  top: 112px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: var(--navy);
}
.with-figure__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 430px;
  object-fit: cover;
  display: block;
}

.prose h2, .block-title {
  font-family: var(--font-serif);
  font-size: clamp(25px, 2.8vw, 33px);
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy);
  margin-top: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 12px;
}
.prose p, .prose li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.prose ul, .stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prose li, .stack li {
  padding-left: 22px;
  position: relative;
}
.prose li::before, .stack li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-tint-strong);
}

/* Cláusula arbitral interactiva */
.clause-box {
  margin: 12px 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
  background: linear-gradient(135deg, var(--warm-bg) 0%, var(--gold-tint) 100%);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.clause-box__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(16, 31, 56, 0.04);
  border-bottom: 1px solid var(--gold-border);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.clause-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.clause-copy:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.clause {
  margin: 0;
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  background: var(--warm-bg);
  font-family: var(--font-serif);
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--navy);
}
.clause-box .clause {
  border-left: 0;
  background: transparent;
}

/* Tarjetas de personas y certificaciones */
.person {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  border-top: 3px solid var(--gold);
}
.person__role {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.person strong {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
}
.person p {
  font-size: 14.5px;
  color: var(--gray);
  flex-grow: 1;
}
.person a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.person a::after {
  content: "↗";
  color: var(--gold-dark);
}
.person a:hover { color: var(--gold-dark); }

/* Nóminas destacadas (árbitros / peritos) */
.nomina-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.nomina-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px 36px;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.nomina-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  color: inherit;
}
.nomina-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(198, 163, 74, 0.12);
  color: var(--navy);
  margin-bottom: 8px;
}
.nomina-card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.nomina-card__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}
.nomina-card__meta {
  font-size: 15px;
  color: var(--gray);
  flex-grow: 1;
}
.nomina-card__cta {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.nomina-card:hover .nomina-card__cta {
  color: var(--gold-dark);
}
.hitos {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.hitos th,
.hitos td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.hitos th {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.hitos-poster {
  margin: 8px auto 0;
  max-width: 820px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.hitos-poster img {
  width: 100%;
  height: auto;
  display: block;
}
.hitos-poster__actions {
  display: flex;
  justify-content: center;
  padding: 18px 20px 22px;
}
.with-figure__img--portrait { overflow: visible; background: transparent; border: 0; box-shadow: none; }
.with-figure__img--portrait img {
  aspect-ratio: 3 / 4;
  max-height: 560px;
  object-position: center 18%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.with-figure__img figcaption {
  margin-top: 12px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.hitos td:first-child {
  width: 88px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
}

/* Nóminas agrupadas en Institución */
.rosters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.roster {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.roster h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.roster ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.roster li {
  padding-left: 18px;
  position: relative;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.roster li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Áreas de Defensa Legal */
.area {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 3px solid var(--gold);
}
.area h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
.area p { font-size: 15px; color: var(--gray); }
.area ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.area li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--gray);
}
.area li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.cards--areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Galería y Lightbox */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.gallery figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: zoom-in;
}
.gallery figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.gallery figure:hover img {
  transform: scale(1.03);
}
.gallery--press {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.gallery--press img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--navy-deep);
}
.gallery figcaption {
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(9, 19, 36, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(198, 163, 74, 0.5);
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(16, 31, 56, 0.8);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

.about__media--photo { border: 0; background: var(--navy); }

/* ---------- Revelado al hacer scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav { gap: 4px 10px; font-size: 13.5px; }
  .header__actions { gap: 8px; }
  .header__cta { padding: 0 12px; font-size: 12.5px; }
}
@media (max-width: 1160px) {
  .respaldo__inner { grid-template-columns: 260px minmax(0, 1fr); }
  .respaldo__badges {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (max-width: 1160px) {
  .nav-toggle { display: inline-flex; }
  .header__actions { display: none; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 2px solid var(--gold);
    box-shadow: var(--shadow-lg);
    padding: 8px 24px 22px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn {
    margin-top: 10px;
    border-bottom: 0;
    justify-content: center;
  }
  .nav .btn--navy { color: var(--white); }
  .nav .btn--outline-navy { color: var(--navy); }
  .nav .btn--gold { color: var(--navy-deep); }
  .nav a:not(.btn) + .nav__cta-mobile { margin-top: 16px; }
}
@media (min-width: 1161px) {
  .nav .nav__cta-mobile { display: none; }
}
@media (max-width: 960px) {
  .rosters,
  .nomina-grid { grid-template-columns: 1fr; }
  .cards--areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .with-figure { grid-template-columns: 1fr; }
  .with-figure__img { position: static; }
  .with-figure__img img { height: 280px; }
  .respaldo__about,
  .respaldo__badges { padding: 24px 22px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .header__logo img { height: 50px; }
  .header.is-scrolled .header__logo img { height: 44px; }
  .hero__bg { inset: 0; }
  .hero__inner { min-height: 0; padding-top: 64px; padding-bottom: 56px; }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(9, 19, 36, 0.88) 0%, rgba(16, 31, 56, 0.96) 100%);
  }
  .hero__overlay::after { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr; gap: 16px; }
  .respaldo__inner { grid-template-columns: 1fr; }
  .respaldo__photo { height: 210px; }
  .badge-row { flex-wrap: wrap; justify-content: center; }
  .badge { flex: 1 1 30%; }
  .cards--4,
  .steps,
  .cards--areas,
  .sedes,
  .form { grid-template-columns: 1fr; }
  .topbar__item--hide-sm { display: none; }
  .form { padding: 24px 20px; }
}

/* ---------- Equipo, pagos y accesos destacados ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.team-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 520px;
  object-fit: cover;
  object-position: center 12%;
}
.roster { max-width: var(--container); text-align: left; }
.prose ul.people-cols {
  display: block;
  width: 100%;
  columns: 2;
  column-gap: 48px;
}
.prose ul.people-cols li { break-inside: avoid; margin-bottom: 10px; }
.policy {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px 48px;
  align-items: center;
}
.policy__photo { margin: 0; }
.policy__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.policy__quote {
  margin: 8px 0 16px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 560;
  line-height: 1.25;
}
@media (max-width: 860px) {
  .policy { grid-template-columns: 1fr; }
  .prose ul.people-cols { columns: 1; }
}
.team-card__body { padding: 22px 24px 28px; }
.team-card__role {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.team-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  margin: 8px 0 12px;
  color: var(--navy);
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  background: var(--navy);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover {
  color: inherit;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card__kicker {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.feature-card strong {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  color: var(--white);
}
.feature-card span:last-child { color: rgba(255, 255, 255, .84); }
.feature-card__go {
  margin-top: auto;
  color: var(--gold-light);
  font-weight: 700;
}
.pay-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 28px 0 8px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
}
.pay-banner__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.pay-banner strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  color: var(--gold-light);
  overflow-wrap: anywhere;
}
.pay-heading {
  margin: 36px 0 0;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--navy);
}
.pay-owner {
  margin: 22px 0 14px;
  font-weight: 700;
  color: var(--navy);
}
.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.pay-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
}
.pay-card strong {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--navy);
}
.pay-card span {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5d6b80;
}
.pay-card b {
  font-weight: 700;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.comunicado__title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  color: var(--white);
  margin: 0 0 18px;
}
.comunicado p {
  color: rgba(255, 255, 255, .92);
  font-size: 18px;
  line-height: 1.65;
}
.comunicado__photo {
  flex: 0 1 380px;
  margin: 0;
  min-width: 0;
}
.comunicado__photo img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(198, 163, 74, .45);
}
@media (max-width: 860px) {
  .team-grid,
  .feature-row { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .pay-banner { padding: 22px 20px; }
  .comunicado__photo,
  .comunicado__photo img { height: auto; }
  .comunicado__photo img { height: 280px; }
}

/* ---------- Academia Jurídica ---------- */
.acad-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}
.acad-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.acad-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(9, 19, 36, .94) 0%, rgba(16, 31, 56, .82) 48%, rgba(16, 31, 56, .45) 100%);
}
.acad-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  padding-bottom: 64px;
  text-align: left;
}
.acad-hero .kicker { color: var(--gold-light); }
.acad-hero h1 {
  margin: 16px 0 14px;
  max-width: 12em;
  font-family: var(--font-serif);
  font-weight: 560;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.02;
  color: var(--white);
  text-align: left;
}
.acad-hero h1 span {
  display: block;
  color: var(--gold-light);
}
.acad-hero p {
  max-width: 62ch;
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.6;
  color: #E4EAF3;
}
.acad-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.acad-btn-line {
  border-color: rgba(255, 255, 255, .55);
  background: transparent;
  color: var(--white);
}
.acad-btn-line:hover {
  background: var(--white);
  color: var(--navy);
}
.acad-trust { background: var(--gray-bg); border-bottom: 1px solid var(--line); }
.acad-trust__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acad-trust__grid > div {
  padding: 22px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.acad-trust__grid > div:last-child { border-right: 0; }
.acad-trust strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy);
}
.acad-trust span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray);
}
.acad-block { padding: 76px 0; }
.acad-block--paper { background: var(--gray-bg); }
.acad-head { max-width: 740px; margin-bottom: 32px; }
.acad-head h2,
.acad-method h2 {
  margin: 10px 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 560;
  line-height: 1.12;
  color: var(--navy);
}
.acad-head p { margin: 0; color: var(--gray); font-size: 17px; line-height: 1.6; }
.acad-about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items: start;
}
.acad-about > div > p { color: var(--ink-soft); }
.acad-checks { list-style: none; margin: 18px 0 0; padding: 0; }
.acad-checks li { position: relative; padding: 8px 0 8px 28px; color: #405064; }
.acad-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}
.acad-photo { margin: 0; }
.acad-photo img,
.acad-people img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.acad-about__side .acad-photo img { height: 280px; object-position: center 40%; }
.acad-panel {
  margin-top: 16px;
  padding: 28px;
  background: var(--gray-bg);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.acad-block--paper .acad-panel { background: var(--white); }
.acad-panel h3,
.acad-credentials h3,
.acad-contact h3,
.acad-form-card > h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--navy);
}
.acad-panel p { margin: 0; color: var(--gray); }
.acad-areas,
.acad-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.acad-area,
.acad-course {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.acad-area { min-height: 180px; }
.acad-area:hover,
.acad-course:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.acad-area__n { font-family: var(--font-serif); font-size: 28px; color: var(--gold-dark); }
.acad-area h3,
.acad-course h3 {
  margin: 8px 0 8px;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
}
.acad-area p,
.acad-course > p { margin: 0; color: var(--gray); font-size: 14.5px; }
.acad-course { display: flex; flex-direction: column; }
.acad-course__top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.acad-course__top span:first-child {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.acad-course__top span:last-child {
  font-size: 12px;
  color: var(--gray);
  background: var(--gray-bg);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}
.acad-course details { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.acad-course summary { cursor: pointer; color: var(--gold-dark); font-size: 13px; font-weight: 700; }
.acad-course details p { margin: 10px 0 0; color: var(--gray); font-size: 13.5px; }
.acad-note { margin: 18px 0 0; font-size: 13px; color: var(--gray); }
.acad-method { background: var(--navy); color: var(--white); }
.acad-method .kicker,
.acad-method h2 { color: var(--white); }
.acad-method .kicker { color: var(--gold-light); }
.acad-method .acad-head p,
.acad-steps p { color: #C9D3E2; }
.acad-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.acad-steps article { min-width: 0; border-top: 2px solid var(--gold); padding-top: 16px; }
.acad-steps strong { font-family: var(--font-serif); font-size: 32px; color: var(--gold-light); }
.acad-steps h3 { margin: 8px 0; font-family: var(--font-serif); font-size: 20px; color: var(--white); }
.acad-steps p { margin: 0; font-size: 14px; }
.acad-people { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: 22px; margin-bottom: 28px; }
.acad-people img { height: 340px; object-position: center 18%; }
.acad-people figcaption { padding: 12px 2px 0; }
.acad-people strong { display: block; color: var(--navy); font-size: 16px; }
.acad-people span { color: var(--gold-dark); font-size: 13px; font-weight: 700; }
.acad-credentials,
.acad-constancia,
.acad-inquiry { display: grid; gap: 22px; }
.acad-credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acad-credentials article {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--white);
}
.acad-credentials p { margin: 0; color: var(--gray); }
.acad-constancia { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: stretch; }
.acad-constancia .acad-photo img { height: 100%; min-height: 240px; object-position: center 20%; }
.acad-constancia .acad-panel { margin: 0; display: flex; flex-direction: column; justify-content: center; }
.acad-inquiry { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.acad-contact {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.acad-contact h3 { color: var(--white); }
.acad-contact p { color: #D5DEEA; font-size: 15px; }
.acad-contact a { color: var(--gold-light); font-weight: 700; }
.acad-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.acad-form-card > p { margin: 0 0 18px; color: var(--gray); font-size: 14px; }
.acad .form {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.acad .form__status { grid-column: 1 / -1; }
.acad .form__footer { border-top: 0; padding-top: 0; }
.acad .form__footer .btn { width: 100%; }
.acad-consent__label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
}
.acad-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--navy);
}
@media (max-width: 960px) {
  .acad-areas,
  .acad-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acad-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .acad-hero { min-height: 0; }
  .acad-hero__inner { padding: 48px 0 40px; }
  .acad-about,
  .acad-constancia,
  .acad-inquiry,
  .acad-credentials,
  .acad-people { grid-template-columns: 1fr; }
  .acad-people { max-width: 420px; }
  .acad-trust__grid { grid-template-columns: 1fr; }
  .acad-trust__grid > div { border-right: 0; border-bottom: 1px solid var(--line); text-align: left; }
  .acad-trust__grid > div:last-child { border-bottom: 0; }
  .acad-block { padding: 56px 0; }
}
@media (max-width: 640px) {
  .acad-areas,
  .acad-courses,
  .acad-steps { grid-template-columns: 1fr; }
  .acad-hero h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg, .hero-in, .btn--shine::after, .wa-panel:not([hidden]) { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
