/* ============================================================
   Innova Institutional Consulting — Rediseño corporativo 2026
   Paleta: azul marino institucional + dorado Innova (#d9a625)
   ============================================================ */
:root {
  --navy-900: #0a1f38;
  --navy-800: #0e2745;
  --navy-700: #14355e;
  --navy-600: #1c4478;
  --gold-500: #d9a625;
  --gold-400: #e6b93f;
  --gold-100: #faf3df;
  --ink: #2c3a4a;
  --ink-soft: #5b6b7c;
  --line: #e3e9f0;
  --bg-soft: #f5f8fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(10, 31, 56, .07);
  --shadow-md: 0 12px 34px rgba(10, 31, 56, .12);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Source Serif 4', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: inline-block; }
a { color: var(--navy-700); text-decoration: none; }
ul { list-style: none; }
.container { width: min(1180px, 92%); margin-inline: auto; }

h1, h2, h3 { color: var(--navy-800); line-height: 1.2; font-weight: 800; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.7rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  border: 0; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn--outline:hover { background: var(--white); color: var(--navy-800); }
.btn--ghost { border: 2px solid var(--navy-800); color: var(--navy-800); background: transparent; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: #b9c6d6; font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; gap: 1.4rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__item svg { color: var(--gold-500); flex: none; }
.topbar a { color: #b9c6d6; }
.topbar a:hover { color: var(--gold-400); }
.topbar__social { margin-left: auto; display: inline-flex; gap: .8rem; }
.topbar__social a { display: inline-flex; padding: .15rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--navy-800);
  box-shadow: 0 2px 14px rgba(10, 31, 56, .25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: .55rem 0; gap: 1rem; }
.header__brand img { width: auto; height: 110px; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__link {
  color: #dbe4ee; font-weight: 600; font-size: .93rem; padding: .4rem 0;
  background: none; border: 0; cursor: pointer; font-family: var(--font);
  display: inline-flex; align-items: center; gap: .3rem;
  border-bottom: 2px solid transparent; transition: color .15s;
}
.nav__link:hover, .nav__link.is-active { color: var(--gold-400); border-bottom-color: var(--gold-500); }
.nav__dropdown { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + .9rem); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow-md);
  min-width: 330px; padding: .55rem; opacity: 0; visibility: hidden; transition: all .2s ease;
}
.nav__dropdown:hover .nav__menu, .nav__dropdown:focus-within .nav__menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__menu a {
  display: block; padding: .65rem .9rem; border-radius: 8px;
  font-size: .9rem; font-weight: 600; color: var(--navy-800);
}
.nav__menu a:hover { background: var(--gold-100); color: var(--navy-900); }
.header__burger { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.header__burger span { display: block; width: 26px; height: 3px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: all .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; color: var(--white); }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.1s ease; z-index: 0;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,31,56,.92) 20%, rgba(10,31,56,.65) 55%, rgba(10,31,56,.30));
}
.hero__content { position: relative; z-index: 2; max-width: 640px; padding: 5rem 0; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--gold-400); font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .18em; margin-bottom: 1.1rem;
}
.hero__kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold-500); }
.hero h1 { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.4rem); font-family: var(--font-display); margin-bottom: 1.2rem; }
.hero p { color: #d4dfeb; font-size: 1.08rem; margin-bottom: 2rem; max-width: 540px; }
.hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero__dots { position: absolute; z-index: 3; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; gap: .55rem; }
.hero__dots button {
  width: 34px; height: 4px; border-radius: 4px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.35); transition: background .2s;
}
.hero__dots button.is-active { background: var(--gold-500); }

/* ---------- Secciones ---------- */
.section { padding: 5.2rem 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--white); }
.section__head { max-width: 720px; margin: 0 auto 3.2rem; text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--gold-500); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .18em; margin-bottom: .8rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold-500); }
.section__head h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-family: var(--font-display); margin-bottom: .9rem; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section__head p { color: var(--ink-soft); }
.section--navy .section__head p { color: #c2cfdd; }

/* ---------- Tarjetas de servicios ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,31,56,.35), transparent 55%); }
.card__body { padding: 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card__body h3 { font-size: 1.15rem; }
.card__body p { color: var(--ink-soft); font-size: .93rem; flex: 1; }
.card__link { color: var(--gold-500); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.card__link:hover { gap: .6rem; }
.card__link::after { content: "→"; transition: inherit; }

/* ---------- Franja de estadísticas ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
.stat { padding: 1.6rem 1rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.stat__num { font-size: 2.6rem; font-weight: 800; color: var(--gold-400); font-family: var(--font-display); }
.stat__num sup { font-size: 1.4rem; }
.stat__label { color: #c2cfdd; font-size: .9rem; margin-top: .3rem; }

/* ---------- Grid de logos (grandes, protagonistas) ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5rem 2.5rem; align-items: center; }
.logo-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.1rem; text-align: center; padding: .5rem;
  transition: transform .25s ease;
}
.logo-card:hover { transform: scale(1.05); }
.logo-card img { max-height: 150px; width: auto; max-width: min(100%, 340px); object-fit: contain; }
.logo-card span { font-size: .82rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 2.6rem 1.6rem; } .logo-card img { max-height: 110px; } }
@media (max-width: 540px) { .logo-grid { grid-template-columns: 1fr; } }

/* Carrusel continuo de logos (home) — logos grandes: son nuestros clientes */
.marquee { overflow: hidden; position: relative; padding: 1.4rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 5rem; align-items: center; width: max-content; animation: marquee 46s linear infinite; }
.marquee__track img { height: 150px; width: auto; max-width: 420px; object-fit: contain; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Pestañas de instituciones por servicio */
.inst-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-bottom: 3rem; }
.inst-tab {
  padding: .78rem 1.5rem; border-radius: 8px; border: 0; cursor: pointer;
  background: var(--gold-500); color: var(--navy-900);
  font-family: var(--font); font-weight: 700; font-size: .92rem;
  transition: background .18s, color .18s, transform .18s;
}
.inst-tab:hover { transform: translateY(-2px); }
.inst-tab.is-active { background: var(--navy-800); color: var(--white); }
.inst-pane { display: none; }
.inst-pane.is-active { display: block; animation: fadeUp .45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Niveles de insignia dentro de Evaluaciones Institucionales en EEUU */
.inst-tier { padding: 3rem 0; }
.inst-tier + .inst-tier { border-top: 1px solid var(--line); }
.inst-tier__head { text-align: center; margin-bottom: 2.6rem; }
.inst-tier__badge { height: 130px; width: auto; margin-bottom: 1.1rem; filter: drop-shadow(0 6px 16px rgba(10, 31, 56, .18)); }
.inst-tier__title { font-size: 1.35rem; text-transform: uppercase; letter-spacing: .08em; }
.inst-tier__sub { color: var(--ink-soft); font-size: .92rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-top: .2rem; }
.inst-tier__title::after { content: ''; display: block; width: 56px; height: 3px; background: var(--gold-500); margin: .7rem auto 0; border-radius: 2px; }
@media (max-width: 540px) { .inst-tier__badge { height: 100px; } }

.recaptcha-note { margin-top: 1rem; font-size: .78rem; color: var(--ink-soft); }
.recaptcha-note a { text-decoration: underline; }

/* ---------- Caja de autor (post del blog) ---------- */
.author-box {
  display: flex; gap: 1.7rem; align-items: flex-start;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 2.1rem; margin-top: 3.2rem; max-width: 760px; margin-inline: auto;
}
.author-box__photo {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0; box-shadow: var(--shadow-sm); border: 3px solid var(--white);
}
.author-box__initial {
  width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy-800); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.3rem; font-weight: 800;
}
.author-box__kicker {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--gold-500);
}
.author-box__name { margin-top: .2rem; font-size: 1.2rem; }
.author-box__role { color: var(--ink-soft); font-weight: 600; font-size: .9rem; margin-top: .15rem; }
.author-box__bio { margin-top: .65rem; font-size: .95rem; }
@media (max-width: 540px) {
  .author-box { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------- Partners (membresías y alianzas) ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4rem; }
.partners img { height: 105px; width: auto; max-width: 260px; object-fit: contain; transition: transform .25s; }
.partners img:hover { transform: scale(1.06); }

/* ---------- Bloque imagen + texto ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.4rem; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split__media::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 2px solid var(--gold-500); border-radius: var(--radius); z-index: -1;
}
.split h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-family: var(--font-display); margin-bottom: 1rem; }
.split p { color: var(--ink-soft); margin-bottom: 1rem; }

/* ---------- Listas con check ---------- */
.checklist { display: grid; gap: .85rem; margin: 1.2rem 0 1.6rem; }
.checklist li { position: relative; padding-left: 2.1rem; color: var(--ink); }
.checklist li strong { color: var(--navy-800); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: .05rem;
  width: 1.45rem; height: 1.45rem; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-500);
  font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center;
}

/* ---------- Pasos numerados ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold-500);
  display: block; margin-bottom: .6rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.step p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy-800) 0%, var(--navy-600) 100%);
  border-radius: calc(var(--radius) + 6px); color: var(--white);
  padding: 3.2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
  border-radius: 50%; background: radial-gradient(circle, rgba(217,166,37,.35), transparent 70%);
}
.cta h2 { color: var(--white); font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .4rem; }
.cta p { color: #c9d5e2; }

/* ---------- Página interior: cabecera ---------- */
.page-hero {
  background: linear-gradient(110deg, rgba(10,31,56,.94), rgba(14,39,69,.82)), var(--navy-800) center/cover;
  background-blend-mode: normal; color: var(--white); padding: 5.4rem 0 4.2rem; position: relative;
}
.page-hero--img { background-size: cover; background-position: center; }
.page-hero h1 { color: var(--white); font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 780px; }
.page-hero p { color: #c9d5e2; max-width: 640px; margin-top: .9rem; font-size: 1.05rem; }
.breadcrumbs { font-size: .82rem; color: #9fb1c4; margin-bottom: 1.2rem; display: flex; gap: .5rem; align-items: center; }
.breadcrumbs a { color: var(--gold-400); }

/* ---------- Prosa (páginas legales / blog post) ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 2.2rem 0 .9rem; font-family: var(--font-display); }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .7rem; }
.prose p { margin-bottom: 1rem; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.4rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .55rem; }
.prose img { border-radius: var(--radius); margin: 1.4rem 0; }
.prose blockquote { border-left: 4px solid var(--gold-500); background: var(--gold-100); padding: 1rem 1.4rem; border-radius: 0 10px 10px 0; margin: 1.4rem 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.post-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post-card__date { color: var(--gold-500); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.post-card__body h3 { font-size: 1.08rem; }
.post-card__body h3 a { color: var(--navy-800); }
.post-card__body h3 a:hover { color: var(--gold-500); }
.post-card__body p { color: var(--ink-soft); font-size: .9rem; flex: 1; }
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2.6rem; }
.pagination a, .pagination span {
  min-width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; padding: 0 .6rem;
}
.pagination .is-current { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }

.post-hero { padding: 4.6rem 0 3rem; background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: var(--white); }
.post-hero h1 { color: var(--white); font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 820px; }
.post-hero__meta { color: var(--gold-400); font-weight: 600; font-size: .88rem; margin-bottom: 1rem; }
.post-cover { max-width: 980px; margin: -2.4rem auto 0; padding: 0 4%; position: relative; z-index: 2; }
.post-cover img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 21/9; object-fit: cover; }

/* ---------- Formularios ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .form-field--full { grid-column: 1 / -1; }
.form-field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: var(--navy-800); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: .95rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s; background: var(--white);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 0; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(217,166,37,.18);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.alert { padding: 1rem 1.3rem; border-radius: 10px; margin-bottom: 1.4rem; font-weight: 600; font-size: .93rem; }
.alert--ok { background: #e7f6ec; color: #1c7c3c; border: 1px solid #bde5c8; }
.alert--error { background: #fdecec; color: #b3261e; border: 1px solid #f5c6c6; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.contact-aside { background: var(--navy-800); color: var(--white); border-radius: var(--radius); padding: 2.2rem; }
.contact-aside h3 { color: var(--white); margin-bottom: 1.2rem; font-size: 1.2rem; }
.contact-aside ul { display: grid; gap: 1.1rem; }
.contact-aside li { display: flex; gap: .8rem; align-items: flex-start; color: #cdd9e5; font-size: .93rem; }
.contact-aside li svg { color: var(--gold-400); flex: none; margin-top: .2rem; }
.contact-aside a { color: #cdd9e5; }
.contact-aside a:hover { color: var(--gold-400); }
.contact-map { border-radius: var(--radius); overflow: hidden; margin-top: 2.4rem; box-shadow: var(--shadow-sm); }
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Validación ---------- */
.validate-box {
  max-width: 560px; margin-inline: auto; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 2.4rem; border-top: 5px solid var(--gold-500);
}

/* ---------- Footer (estructura del sitio original, centrada) ---------- */
.footer { background: var(--navy-900); color: #aebccb; font-size: .92rem; text-align: center; }
.footer a { color: #aebccb; transition: color .15s; }
.footer a:hover { color: var(--gold-400); }

.footer__tech { padding: 3.2rem 0 2.6rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer__tech-title { color: var(--white); font-size: 1.15rem; font-weight: 700; margin-bottom: 2rem; }
.footer__tech-logos { display: flex; align-items: center; justify-content: center; gap: 3.5rem; flex-wrap: wrap; }
.footer__tech-logos img { height: 44px; width: auto; object-fit: contain; }
.footer__tech-logos .footer__tech-ssl { height: 56px; }
.footer__ssl-note { margin-top: 1.6rem; font-size: .82rem; color: #7f92a5; }

.footer__core { padding: 3rem 0 2.4rem; }
.footer__logo { width: 180px; height: auto; margin-bottom: 1.4rem; }
.footer__social { display: flex; justify-content: center; gap: .8rem; margin-bottom: 1.8rem; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center; transition: transform .18s, background .18s;
}
.footer__social a:hover { transform: translateY(-3px); background: var(--gold-400); color: var(--navy-900); }
.footer__links { display: flex; justify-content: center; gap: 2.2rem; flex-wrap: wrap; margin-bottom: 2.2rem; font-size: .9rem; }
.footer__badges { display: flex; justify-content: center; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.footer__badges img { height: 74px; width: auto; background: var(--white); border-radius: 10px; padding: .35rem .6rem; }
.footer__trademark {
  display: flex; align-items: center; justify-content: center; gap: 1.6rem;
  max-width: 880px; margin-inline: auto; text-align: left;
}
.footer__trademark p { font-size: .8rem; color: #8ea1b5; line-height: 1.7; }
.footer__qr { width: 86px; height: auto; flex: none; border-radius: 8px; background: var(--white); padding: .3rem; }

.footer__legal { border-top: 1px solid rgba(255,255,255,.09); padding: 1.3rem 0; font-size: .82rem; color: #7f92a5; }

@media (max-width: 640px) {
  .footer__tech-logos { gap: 1.8rem; }
  .footer__trademark { flex-direction: column; text-align: center; }
}

/* ---------- WhatsApp ---------- */
.whatsapp-float {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .55); }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .45); }
  70% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}
.btn--whatsapp {
  background: #25d366; color: #fff; margin-top: 1.6rem; width: 100%;
  justify-content: center;
}
.btn--whatsapp:hover { background: #1fc35a; color: #fff; }
.contact-aside__label { display: block; color: var(--gold-400); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .15rem; }

/* Conmutador de idioma */
.lang-switch { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1rem; font-weight: 700; font-size: .78rem; }
.lang-switch span { color: #55677c; }
.lang-switch a { color: #8ea1b5; letter-spacing: .05em; }
.lang-switch a.is-active { color: var(--gold-400); }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 404 / mantenimiento ---------- */
.error-page { min-height: 55vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 1rem; }
.error-page h1 { font-size: 5rem; font-family: var(--font-display); color: var(--gold-500); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cards, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split__media::before { display: none; }
}
@media (max-width: 780px) {
  .topbar__item--address { display: none; }
  .header__burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 84vw);
    background: var(--navy-900); flex-direction: column; align-items: flex-start;
    padding: 5.4rem 2rem 2rem; gap: 1.2rem; transform: translateX(100%);
    transition: transform .3s ease; z-index: 55; overflow-y: auto;
  }
  .nav.is-open { transform: none; box-shadow: -20px 0 60px rgba(0,0,0,.4); }
  /* Incluye :hover/:focus-within para anular el translateX(-50%) del menú de escritorio */
  .nav__menu,
  .nav__dropdown:hover .nav__menu,
  .nav__dropdown:focus-within .nav__menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; box-shadow: none; min-width: 0; padding: 0 0 0 .9rem; display: none;
  }
  .nav__dropdown.is-open .nav__menu { display: block; }
  .nav__menu a { color: #cfdae6; font-size: .88rem; }
  .nav__menu a:hover { background: rgba(255,255,255,.06); color: var(--gold-400); }
  .header.nav-open .header__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header.nav-open .header__burger span:nth-child(2) { opacity: 0; }
  .header.nav-open .header__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .cards, .post-grid, .form-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; text-align: center; padding: 2.4rem 1.6rem; }
  .hero { min-height: 540px; }
  .section { padding: 3.6rem 0; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
