/* ==========================================================
   Orbis Institute · Hoja de estilos
   ========================================================== */

:root {
  --ink: #0F1B2D;
  --ink-soft: #3A4658;
  --paper: #F7F4EE;
  --white: #FFFFFF;
  --coral: #FF6B4A;
  --coral-dark: #E5532F;
  --sand: #EDE3D1;
  --sage: #DCE4D6;
  --mustard: #F2B544;
  --teal: #3FA796;
  --line: rgba(15, 27, 45, .14);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(15,27,45,.06), 0 12px 32px -12px rgba(15,27,45,.18);
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 50;
}
h1 em, h2 em { font-style: italic; color: var(--coral-dark); font-weight: 500; }

p { margin: 0 0 1em; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 820px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(255,107,74,.9); }
.btn-primary:hover { background: #FF8466; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-aside { font-size: .95rem; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .8rem/1 var(--font-body);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.1em;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--coral); flex: none;
}
.eyebrow-light { color: #C9CFD8; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 40px; height: 40px; flex: none; color: currentColor; }
.mark-planet { fill: var(--coral); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font: 700 1.25rem/1.05 var(--font-display); letter-spacing: -0.01em; }
.logo-tag { font-size: .72rem; color: var(--ink-soft); margin-top: 3px; }
.logo-light { color: var(--paper); }
.logo-light .logo-tag { color: #B9C0CB; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,238,.88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }

.nav-toggle {
  width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; border-radius: 12px; color: var(--ink);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 8px 16px 24px;
  display: none;
}
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.main-nav li a {
  display: block; padding: 14px 4px; text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static; display: flex !important; align-items: center; gap: 28px;
    background: none; border: 0; padding: 0;
  }
  .main-nav ul { display: flex; gap: 24px; margin: 0; }
  .main-nav li a { padding: 6px 0; border: 0; font-size: .95rem; position: relative; }
  .main-nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
  }
  .main-nav li a:hover::after, .main-nav li a:focus-visible::after { transform: scaleX(1); }
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 10vw, 6rem); font-weight: 600; margin-bottom: .35em; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--ink-soft); max-width: 36em; margin-bottom: 1.6em; }
.hero-art { max-width: 420px; margin: 0 auto; width: 100%; }

.orbit-system .orbit-line { fill: none; stroke: var(--ink); stroke-opacity: .22; stroke-width: 1.5; }
.orbit-system .dashed { stroke-dasharray: 4 8; }
.orbit-system .sun { fill: var(--ink); }
.orbit-system .ring { fill: none; stroke: #3FA796; stroke-width: 2; stroke-opacity: .5; }

.spin { transform-origin: 200px 200px; animation: orbit linear infinite; }
.spin-a { animation-duration: 18s; }
.spin-b { animation-duration: 32s; animation-direction: reverse; }
.spin-c { animation-duration: 48s; }
@keyframes orbit { to { transform: rotate(360deg); } }

.facts {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.facts li { background: var(--paper); padding: 18px 20px; display: flex; align-items: center; gap: 12px; font-size: 1rem; }
.facts strong { font-weight: 700; }
.fact-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); }

@media (min-width: 820px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 48px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Secciones ---------- */
.section { padding: 80px 0; position: relative; }
.section-sand { background: var(--sand); }
.section-sage { background: var(--sage); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 5.5vw, 3.25rem); }
.section-intro { font-size: 1.15rem; color: var(--ink-soft); }
@media (min-width: 820px) { .section { padding: 112px 0; } }

/* ---------- Método ---------- */
.method { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; position: relative; }
.method-step {
  background: var(--paper); border-radius: var(--radius); padding: 28px 24px 24px;
  position: relative; box-shadow: var(--shadow);
}
.method-step h3 { font-size: 1.5rem; margin-top: 12px; }
.method-step p { color: var(--ink-soft); margin: 0; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 1.4rem/1 var(--font-display);
  background: var(--ink); color: var(--paper);
  position: relative;
}
.step-num::after {
  content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--coral); top: -2px; right: -4px; border: 2px solid var(--paper);
}
.ratio { display: flex; margin-top: 16px; border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 700; }
.ratio span { padding: 6px 10px; }
.ratio-concept { flex: 0 0 20%; background: var(--ink); color: var(--paper); text-align: center; }
.ratio-do { flex: 1; background: var(--coral); color: var(--ink); }

@media (min-width: 700px) { .method { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .method { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .method::before {
    content: ""; position: absolute; left: 4%; right: 4%; top: 54px; height: 2px;
    background-image: linear-gradient(90deg, var(--ink) 50%, transparent 50%);
    background-size: 12px 2px; opacity: .3; z-index: 0;
  }
  .method-step { z-index: 1; }
}

.quote {
  margin: 56px 0 0; padding: 0; text-align: center;
}
.quote p {
  font: italic 500 clamp(1.5rem, 4vw, 2.4rem)/1.25 var(--font-display);
  max-width: 24em; margin: 0 auto;
}

/* ---------- Formaciones ---------- */
.course-cards { display: grid; gap: 20px; margin-bottom: 56px; }
@media (min-width: 900px) { .course-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.course-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px 28px;
  text-decoration: none; color: var(--ink);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-card::before {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  border: 1.5px dashed var(--planet); opacity: .45; top: -110px; right: -80px;
  transition: transform .6s ease;
}
.course-card:hover::before { transform: rotate(60deg) scale(1.05); }
.course-card h3 { font-size: 1.75rem; margin-top: 18px; }
.course-card p { color: var(--ink-soft); }

.planet {
  width: 56px; height: 56px; border-radius: 50%; background: var(--planet); display: block; position: relative;
  box-shadow: inset -8px -8px 0 rgba(15,27,45,.12);
  margin-bottom: 20px;
}
.planet-ring::after {
  content: ""; position: absolute; left: -12px; right: -12px; top: 50%; height: 14px; margin-top: -7px;
  border: 2px solid var(--ink); border-radius: 50%; transform: rotate(-18deg); opacity: .55;
}
.planet-sm { width: 28px; height: 28px; margin: 0; flex: none; box-shadow: inset -4px -4px 0 rgba(15,27,45,.12); }

.tag {
  display: inline-block; align-self: flex-start;
  font-size: .8rem; font-weight: 600; letter-spacing: .01em;
  padding: 6px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--planet, var(--coral)) 18%, white);
  color: var(--ink);
}
.tag-strong { background: var(--ink); color: var(--paper); }
.tag-inline { margin-bottom: 14px; }

.meta { display: flex; gap: 24px; margin: 8px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.meta dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.meta dd { margin: 2px 0 0; font-weight: 600; }
.card-link { margin-top: auto; font-weight: 600; display: inline-flex; gap: 6px; }
.course-card:hover .card-link span { transform: translateX(4px); }
.card-link span { transition: transform .2s ease; }

/* Fichas (acordeón) */
.fichas { display: grid; gap: 16px; }
.ficha {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  border-left: 6px solid var(--planet);
  overflow: hidden;
}
.ficha summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
  padding: 22px 24px; min-height: 64px;
}
.ficha summary::-webkit-details-marker { display: none; }
.ficha-title { font: 600 1.3rem/1.2 var(--font-display); flex: 1; }
.ficha-sub { display: block; font: 500 .85rem/1.4 var(--font-body); color: var(--ink-soft); margin-top: 2px; }

.chev {
  width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); flex: none;
  position: relative; transition: transform .3s ease, background-color .2s ease;
}
.chev::before, .chev::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor;
  transform: translate(-50%, -50%);
}
.chev::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s ease; }
details[open] > summary .chev::after { transform: translate(-50%, -50%) rotate(0deg); }
details[open] > summary .chev { background: var(--ink); color: var(--paper); }
summary:hover .chev { background: var(--coral); }

.ficha-body { padding: 4px 24px 32px; }
.ficha-body h4 {
  font: 700 .8rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); margin: 24px 0 10px;
}
.ficha-grid { display: grid; gap: 8px 48px; }
@media (min-width: 900px) { .ficha-grid { grid-template-columns: 1fr 1.25fr; } }
.edition {
  display: inline-block; background: var(--paper); border-radius: 12px; padding: 10px 16px; margin: 0 0 4px;
}
.hook { font: italic 500 1.35rem/1.35 var(--font-display); max-width: 32em; margin: 8px 0 18px; }

.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li {
  font-size: .9rem; padding: 6px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--planet) 16%, white);
}

.syllabus { list-style: none; padding: 0; margin: 0; counter-reset: wk; }
.syllabus li {
  position: relative; padding: 0 0 18px 44px; color: var(--ink-soft);
}
.syllabus li strong { color: var(--ink); display: block; margin-bottom: 2px; }
.syllabus li::before {
  counter-increment: wk; content: counter(wk);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; background: var(--planet); color: var(--ink);
  display: grid; place-items: center; font: 700 .9rem/1 var(--font-body);
}
.syllabus li::after {
  content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; background: var(--line);
}
.syllabus li:last-child::after { display: none; }

.eval {
  margin-top: 16px; padding: 4px 20px 16px; border-radius: 16px;
  background: var(--paper); border: 1px dashed var(--line);
}
.eval p { margin: 0; }
.note {
  margin: 20px 0 24px; padding-left: 14px; border-left: 3px solid var(--planet);
  font-style: italic; color: var(--ink-soft);
}

/* ---------- Profesores ---------- */
.teachers { display: grid; gap: 20px; }
@media (min-width: 900px) { .teachers { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.teacher {
  background: var(--paper); border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow);
}
.avatar {
  width: 112px; height: 112px; border-radius: 50%; position: relative;
  background: color-mix(in srgb, var(--planet) 30%, var(--paper));
  margin-bottom: 20px; overflow: visible;
}
.avatar svg { width: 100%; height: 100%; border-radius: 50%; fill: var(--ink); opacity: .78; }
.avatar::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1.5px dashed var(--ink); opacity: .3;
}
.avatar::before {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: var(--planet); right: -4px; top: 6px; z-index: 1; border: 2px solid var(--paper);
}
.teacher-course {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: .5em;
}
.teacher h3 { font-size: 1.5rem; margin-bottom: .3em; }
.teacher-headline { font-weight: 600; margin-bottom: 1em; }
.teacher-list { margin: 0; padding: 0; list-style: none; }
.teacher-list li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--ink-soft); font-size: .98rem; }
.teacher-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--planet);
}
.placeholder {
  background: #FFF2B8; color: #5A4300; padding: 1px 6px; border-radius: 6px;
  border: 1px dashed #B58900; font-style: normal;
}

/* ---------- Certificado ---------- */
.section-dark h2 { font-size: clamp(2.2rem, 6vw, 3.75rem); color: var(--paper); }
.section-dark h2 em { color: var(--coral); }
.cert-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .cert-grid { grid-template-columns: 1.4fr 1fr; } }
.cert-points { list-style: none; padding: 0; margin: 28px 0 32px; }
.cert-points li {
  position: relative; padding: 0 0 16px 36px; font-size: 1.12rem; color: #DDE2E9;
}
.cert-points strong { color: var(--white); }
.cert-points li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--coral);
}
.cert-points li::after {
  content: ""; position: absolute; left: 6px; top: calc(.3em + 6px); width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
}
.fineprint { font-size: .85rem; color: #AEB6C2; margin: 0; }
.cert-art { max-width: 320px; margin: 0 auto; width: 100%; }
.cert-art .c-orbit { fill: none; stroke: var(--paper); stroke-opacity: .25; stroke-width: 1.5; }
.cert-art .dashed { stroke-dasharray: 3 7; }
.cert-art .c-seal { fill: var(--paper); }
.cert-art .c-check { fill: none; stroke: var(--ink); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Empresas ---------- */
.company-box {
  display: grid; gap: 28px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 28px; position: relative; overflow: hidden;
}
.company-box::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  right: -170px; bottom: -200px; background: var(--sage); z-index: 0;
}
.company-box > * { position: relative; z-index: 1; }
.company-box h2 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); }
.company-box p { color: var(--ink-soft); max-width: 38em; margin: 0; }
@media (min-width: 820px) {
  .company-box { grid-template-columns: 1fr auto; padding: 56px; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid rgba(15,27,45,.2); }
.faq details { border-bottom: 1px solid rgba(15,27,45,.2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font: 600 1.2rem/1.3 var(--font-display); min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 48px 22px 0; margin: 0; color: var(--ink-soft); }
.faq details a { color: var(--ink); font-weight: 600; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Contacto ---------- */
.contact { text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-mark { width: 72px; height: 72px; margin-bottom: 24px; color: var(--ink); }
.contact h2 { font-size: clamp(2.1rem, 6vw, 3.75rem); max-width: 14em; }
.contact p { color: var(--ink-soft); font-size: 1.1rem; }
.contact-email {
  display: inline-block; margin: 8px 0 28px;
  font: 600 clamp(1.4rem, 5.5vw, 2.6rem)/1.2 var(--font-display);
  color: var(--ink); text-decoration: none; word-break: break-word;
  background-image: linear-gradient(var(--coral), var(--coral));
  background-size: 100% 4px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 6px; transition: background-size .3s ease;
}
.contact-email:hover { background-size: 100% 100%; }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-claim { font: italic 500 1.2rem/1.3 var(--font-display); margin-top: 18px; color: #DDE2E9; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 24px; justify-content: start; }
.footer-links a, .footer-bottom a { color: #DDE2E9; text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--coral); text-decoration: underline; }
.footer-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #AEB6C2; margin-bottom: 6px; }
.footer-email { font: 600 1.15rem/1.3 var(--font-display); color: var(--paper); word-break: break-word; }
.footer-email:hover { color: var(--coral); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(247,244,238,.15);
  font-size: .9rem; color: #AEB6C2;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }

/* ---------- Páginas legales ---------- */
.legal { padding: 56px 0 96px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }
.legal .back { display: inline-block; margin-bottom: 32px; font-weight: 600; }
.pending {
  background: #FFF2B8; color: #5A4300; border: 1px dashed #B58900;
  padding: 2px 8px; border-radius: 6px; font-weight: 700; font-size: .9em;
}

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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