/* ============================================================================
   Cursos WEBAPP Design — v1.2.0
   Diseño gemelo del corporativo expertech.es: dark navy (#1a1a2e/#16213e),
   acento #e94560, naranja #f5a623, tipografías Exo 2 (títulos) y Open Sans.
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;700;900&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #e94560;
  --accent2: #f5a623;
  --blue: #0f3460;
  --blue-light: #1e6eb5;
  --progress-red: #ef233c;
  --progress-blue: #1e6eb5;
  --text: #e0e0e0;
  --text-dark: #333;
  --white: #ffffff;
  --muted: #aaa;
  --card-bg: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.1);
  --gradient: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
  --shadow: 0 10px 30px -12px rgba(0,0,0,.55);
  --font-h: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
  --font-b: 'Open Sans', 'Segoe UI', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b); background: var(--primary); color: var(--text);
  line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent2); text-decoration: none; transition: all .3s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 700; }
button { font-family: inherit; }

/* ===== HEADER / NAV (idéntico al corporativo) ===== */
.topbar {
  background: rgba(15, 52, 96, 0.97);
  position: sticky; top: 0; z-index: 40;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.topbar-in {
  max-width: 1200px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-h); font-size: 1.05rem; color: var(--white); letter-spacing: .3px; }
.brand img { height: 38px; width: auto; }
.brand b { color: var(--accent2); font-weight: 700; }
.topnav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.topnav a {
  font-family: var(--font-h); font-size: .86rem; font-weight: 600; color: var(--text);
  padding: 8px 14px; border-radius: 4px; transition: .25s;
}
.topnav a:hover { background: rgba(255,255,255,.08); color: var(--accent2); }
.lockbtn {
  margin-left: 6px; border: 1px solid var(--border); background: transparent; color: var(--muted);
  width: 36px; height: 36px; border-radius: 4px; cursor: pointer; display: grid; place-items: center; transition: .25s;
}
.lockbtn:hover { color: var(--accent2); border-color: var(--accent2); }

/* ===== Barra de aviso (como la corporativa) ===== */
.notice-bar { background: var(--accent); color: #fff; text-align: center; padding: 9px 16px; font-size: .88rem; }
.notice-bar a { color: #fff; font-weight: 700; text-decoration: underline; }
.notice-bar a:hover { color: var(--accent2); }

/* ===== HERO / CABECERA (imagen + overlay degradado a la izquierda) ===== */
.hero { position: relative; width: 100%; height: 380px; overflow: hidden; }
.hero img.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(15,52,96,0.82) 30%, rgba(15,52,96,.25) 70%, transparent 100%);
  display: flex; align-items: center; padding: 0 60px;
}
.hero-text h1 {
  font-size: 2.8rem; color: var(--white); text-shadow: 2px 2px 8px rgba(0,0,0,.8);
  margin-bottom: 10px; line-height: 1.12;
}
.hero-text h1 .accent2 { color: var(--accent2); }
.hero-text p { font-size: 1.1rem; color: rgba(255,255,255,.92); max-width: 520px; text-shadow: 1px 1px 4px rgba(0,0,0,.7); }
.hero-text .hero-cta { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.hero-stats .stat {
  background: rgba(0,0,0,.35); border: 1px solid var(--border); border-radius: 4px;
  padding: 6px 14px; font-size: .82rem; color: #fff; backdrop-filter: blur(3px);
}
.hero-stats .stat b { color: var(--accent2); margin-right: 5px; font-family: var(--font-h); }

/* ===== Botones (idénticos al corporativo) ===== */
.btn {
  display: inline-block; padding: 12px 30px; background: var(--accent); color: #fff !important;
  font-family: var(--font-h); font-weight: 600; font-size: .95rem; border: none; border-radius: 4px;
  cursor: pointer; transition: all .3s; text-align: center;
}
.btn:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,69,96,.4); color: #1a1a2e !important; }
.btn.ghost { background: transparent; border: 1px solid var(--accent2); color: var(--accent2) !important; }
.btn.ghost:hover { background: var(--accent2); color: #1a1a2e !important; }
.btn.mini { padding: 7px 16px; font-size: .8rem; }
.btn.line { background: transparent; border: 1px solid var(--border); color: var(--text) !important; }
.btn.line:hover { border-color: var(--accent2); color: var(--accent2) !important; background: rgba(245,166,35,.08); }
.btn.danger { background: transparent; border: 1px solid var(--accent); color: var(--accent) !important; }
.btn.danger:hover { background: var(--accent); color: #fff !important; }
.btn-small {
  display: inline-block; margin-top: 15px; padding: 8px 20px; border: 1px solid var(--accent);
  color: var(--accent); border-radius: 4px; font-family: var(--font-h); font-size: .84rem; font-weight: 600; transition: all .3s;
}
.btn-small:hover { background: var(--accent); color: #fff; }

/* ===== SECCIONES (título centrado con subrayado acento) ===== */
main { max-width: 1200px; margin: 0 auto; padding: 10px 20px 60px; }
.seccion { padding-top: 60px; scroll-margin-top: 96px; }
.section-title { text-align: center; margin-bottom: 42px; position: relative; }
.section-title h2 {
  font-size: 2.2rem; color: var(--white); position: relative; display: inline-block; padding-bottom: 15px;
}
.section-title h2::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px; background: var(--accent);
}
.section-title p { color: var(--muted); margin-top: 15px; font-size: 1rem; }
.section-title .sec-count { color: var(--accent2); font-weight: 600; }
.section-title .sp { position: absolute; right: 0; top: 4px; display: flex; gap: 5px; }
.section-title .sp button {
  border: 1px solid var(--border); background: transparent; border-radius: 4px; cursor: pointer;
  width: 30px; height: 30px; font-size: .8rem; color: var(--muted);
}
.section-title .sp button:hover { border-color: var(--accent2); color: var(--accent2); }

/* ===== TARJETAS (service-card del corporativo + imagen) ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 25px; }
.card {
  position: relative; background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: all .3s; display: flex; flex-direction: column;
  opacity: 0; translate: 0 18px;
}
.card.in { opacity: 1; translate: 0 0; transition: opacity .55s ease, translate .55s ease, transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(233,69,96,.55); box-shadow: 0 14px 34px -12px rgba(0,0,0,.65); }
.card-img { position: relative; aspect-ratio: 16/9.2; overflow: hidden; background: var(--secondary); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-img .chip {
  position: absolute; top: 10px; left: 10px; font-size: .66rem; font-weight: 700; letter-spacing: .1em;
  font-family: var(--font-h); color: #fff; background: var(--sec, var(--accent));
  padding: 4px 11px; border-radius: 3px; text-transform: uppercase; box-shadow: 0 4px 12px -4px rgba(0,0,0,.5);
}
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; text-align: center; }
.card-body h3 { font-size: 1.15rem; color: var(--white); }
.card-body p { font-size: .86rem; color: var(--muted); flex: 1; }
/* v1.7: el CTA ya no se estira hasta el borde derecho, donde viven los
   botones flotantes: queda centrado a su ancho y nunca se solapa con ellos. */
.card-go { margin-top: 10px; max-width: 100%; }
.card-admin { position: absolute; top: 10px; right: 10px; display: none; gap: 5px; z-index: 3; }
body.admin .card-admin { display: flex; }
.card-admin button {
  width: 29px; height: 29px; border-radius: 4px; border: 1px solid var(--border); cursor: pointer;
  background: rgba(10,10,26,.82); color: #fff; font-size: .8rem;
}
.card-admin button:hover { background: var(--accent); border-color: var(--accent); }

/* ===== Botones flotantes ===== */
.fabs { position: fixed; right: 20px; bottom: 22px; display: flex; flex-direction: column; gap: 10px; z-index: 50; }
.fab {
  width: 48px; height: 48px; border-radius: 8px; border: none; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(0,0,0,.7); transition: .25s; color: #fff;
}
.fab.down { background: var(--accent); }
.fab.up { background: var(--blue); }
.fab:hover { transform: translateY(-3px); filter: brightness(1.12); }
.fab[disabled] { opacity: .35; pointer-events: none; }

/* ===== FOOTER (corporativo: #0a0a1a + borde acento) ===== */
.footer { background: #0a0a1a; border-top: 2px solid var(--accent); padding: 44px 20px 20px; margin-top: 40px; }
.footer-in { max-width: 1200px; margin: 0 auto; text-align: center; display: grid; gap: 12px; justify-items: center; }
.footer-brand img { height: 52px; margin: 0 auto 6px; }
.footer-dev { font-size: 1rem; font-weight: 600; color: #fff; font-family: var(--font-h); }
.footer-dev a { color: var(--accent2); font-weight: 700; }
.footer-dev a:hover { color: var(--accent); text-decoration: underline; }
.footer-meta { font-size: .8rem; color: var(--muted); display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; align-items: center; }
.footer-meta .dot { color: #3a3a55; }
.foot-version {
  cursor: pointer; border: 1px solid var(--border); padding: 2px 12px; border-radius: 3px;
  user-select: none; color: var(--text); font-family: var(--font-h); font-size: .76rem;
}
.foot-version:hover { color: var(--accent2); border-color: var(--accent2); }

/* ===== MODALES (dark) ===== */
.overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(10,10,26,.72); backdrop-filter: blur(5px);
  display: grid; place-items: center; padding: 18px; overflow: auto;
}
.overlay[hidden] { display: none; }
.modal {
  background: var(--secondary); border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); width: min(560px, 100%); padding: 26px;
  color: var(--text); animation: pop .22s ease;
}
.modal.narrow { width: min(420px, 100%); }
.modal.wide { width: min(860px, 100%); max-height: 88vh; display: flex; flex-direction: column; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(8px); } }
.modal h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 6px; }
.modal-hint { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.xbtn { border: 1px solid var(--border); background: transparent; width: 32px; height: 32px; border-radius: 4px; cursor: pointer; color: var(--muted); }
.xbtn:hover { color: var(--accent); border-color: var(--accent); }
.modal-acts { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.modal-acts.end { justify-content: space-between; }
.stack { display: grid; gap: 12px; }
.stack label { display: grid; gap: 5px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.stack input, .stack textarea, .stack select {
  border: 1px solid var(--border); border-radius: 4px; padding: 10px 12px; font: inherit; font-size: .9rem;
  color: var(--text); background: rgba(255,255,255,.05); width: 100%;
}
.stack input:focus, .stack textarea:focus, .stack select:focus { outline: 1px solid var(--accent2); border-color: var(--accent2); }
#loginPass {
  width: 100%; border: 1px solid var(--border); border-radius: 4px; padding: 11px 13px; font: inherit;
  margin-bottom: 4px; background: rgba(255,255,255,.05); color: var(--text);
}
.login-err { color: var(--accent); font-size: .84rem; margin-top: 10px; font-weight: 600; }

/* ===== PANEL ADMIN (dark) ===== */
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 14px; }
.atab { border: 1px solid var(--border); background: transparent; border-radius: 4px; padding: 7px 15px; font-size: .82rem; font-weight: 600; color: var(--muted); cursor: pointer; font-family: var(--font-h); }
.atab.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.admin-body { overflow: auto; padding-right: 4px; }
.adm-sec { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 14px; overflow: hidden; }
.adm-sec-h { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: rgba(255,255,255,.04); font-weight: 700; font-size: .92rem; color: var(--white); font-family: var(--font-h); }
.adm-sec-h .sp { margin-left: auto; display: flex; gap: 5px; }
.adm-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--border); font-size: .87rem; }
.adm-row .t { font-weight: 600; color: var(--text); }
.adm-row .u { color: var(--muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.adm-row .sp { margin-left: auto; display: flex; gap: 5px; }
.adm-row button, .adm-sec-h button {
  border: 1px solid var(--border); background: transparent; border-radius: 4px; cursor: pointer;
  width: 28px; height: 28px; font-size: .8rem; color: var(--muted);
}
.adm-row button:hover, .adm-sec-h button:hover { border-color: var(--accent2); color: var(--accent2); }
.adm-row button.del:hover, .adm-sec-h button.del:hover { border-color: var(--accent); color: var(--accent); }
.adm-note { font-size: .8rem; color: var(--muted); background: rgba(255,255,255,.03); border: 1px dashed var(--border); border-radius: 6px; padding: 12px 14px; margin-top: 12px; }
.adm-log { font-size: .8rem; display: grid; gap: 7px; }
.adm-log div { border-left: 3px solid var(--accent); padding: 6px 12px; background: rgba(255,255,255,.03); border-radius: 0 6px 6px 0; }
.adm-log b { color: var(--accent2); }
.adm-log span { color: var(--muted); font-size: .72rem; display: block; }
h4 { color: var(--white); }

/* ===== v2.3 · Añadir tarjetas (admin) ===== */
.adm-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.adm-toolbar span { color: var(--muted); font-size: .82rem; }
.adm-sec-h button.adm-add {
  width: auto; padding: 0 14px; height: 30px; font-family: var(--font-h); font-weight: 600; font-size: .78rem;
  color: #fff; background: var(--accent); border-color: var(--accent); white-space: nowrap;
}
.adm-sec-h button.adm-add:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.adm-empty { padding: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: .84rem; font-style: italic; }

/* casilla «＋» al final de cada rejilla, solo en modo admin */
.card-add {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 190px; padding: 20px; border: 2px dashed rgba(233,69,96,.55); border-radius: 8px; cursor: pointer;
  background: rgba(233,69,96,.05); color: var(--accent); font-family: var(--font-h); font-weight: 600; font-size: .92rem;
  text-align: center; transition: all .25s;
}
.card-add .plus { font-size: 2.4rem; line-height: 1; }
.card-add:hover { background: rgba(233,69,96,.14); border-color: var(--accent); transform: translateY(-4px); }

/* formulario de tarjeta: subida de imagen */
.stack [hidden], .img-up [hidden] { display: none !important; }
.stack .field { display: grid; gap: 5px; }
.stack .flabel { font-size: .8rem; font-weight: 600; color: var(--muted); }
.img-up { display: flex; gap: 14px; align-items: center; }
.img-prev {
  flex: none; width: 150px; aspect-ratio: 16/9.2; border: 1px dashed var(--border); border-radius: 6px; overflow: hidden;
  display: grid; place-items: center; background: rgba(255,255,255,.04); color: var(--muted); font-size: .76rem;
}
.img-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-up-acts { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.img-up-acts small { color: var(--muted); font-size: .72rem; line-height: 1.35; font-weight: 400; }
@media (max-width: 600px) {
  .img-up { flex-direction: column; align-items: stretch; }
  .img-prev { width: 100%; max-width: 240px; }
  .adm-toolbar .btn { width: 100%; justify-content: center; }
}

/* ===== TOAST ===== */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 120;
  background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 4px;
  font-size: .88rem; font-weight: 600; font-family: var(--font-h);
  box-shadow: 0 10px 30px -8px rgba(233,69,96,.6); animation: pop .2s ease; max-width: 90vw; text-align: center;
}
.toast[hidden] { display: none; }

/* ===== Menú móvil ===== */
.menubtn {
  display: none; margin-left: auto; border: 1px solid var(--border); background: transparent;
  color: var(--text); width: 38px; height: 38px; border-radius: 4px; cursor: pointer; place-items: center;
}
.mnav {
  position: fixed; inset: 0; z-index: 80; background: rgba(10,10,26,.96); backdrop-filter: blur(6px);
  padding: 64px 26px 30px; overflow: auto;
}
.mnav[hidden] { display: none; }
.mnav-x { position: absolute; top: 16px; right: 16px; }
.mnav a {
  display: block; font-family: var(--font-h); font-size: 1.15rem; font-weight: 600; color: var(--white);
  padding: 15px 6px; border-bottom: 1px solid var(--border);
}
.mnav a:hover { color: var(--accent2); }
.mnav .mnav-extra { margin-top: 18px; display: grid; gap: 10px; }

/* ===== BARRA DE PROGRESO DE LECTURA (tablets/móvil en rojo, escritorio en azul) ===== */
.scroll-progress {
  position: absolute; bottom: 0; left: 0; height: 3px; width: 0%;
  background: var(--progress-red, #ef233c);
  z-index: 5; /* por encima del contenido del topbar, dentro de su propio stacking context */
  display: none;
  transition: width .08s linear;
  box-shadow: 0 0 6px rgba(239,35,60,.6);
}
/* Se muestra en dispositivos táctiles (tablets y móviles reales, sea cual
   sea su orientación) y también por debajo de 1024px por si acaso alguien
   usa una ventana de escritorio estrecha — así una tablet en horizontal
   (que en CSS suele medir más de 1024px) no se queda sin la barra. */
@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .scroll-progress { display: block; }
}
/* Escritorio real (ratón + puntero preciso + ventana ancha): misma barra,
   pero en azul en vez de en rojo, para diferenciarla a simple vista del
   aviso táctil de tablets/móvil. */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .scroll-progress {
    display: block;
    background: var(--progress-blue, #1e6eb5);
    box-shadow: 0 0 6px rgba(30,110,181,.6);
  }
}

/* ===== RESPONSIVE ===== */
/* Tablet horizontal y portátiles pequeños */
@media (max-width: 1024px) {
  .topbar-in { padding: 10px 16px; gap: 12px; }
  .topnav a { padding: 7px 10px; font-size: .8rem; }
  .hero { height: 350px; }
  .hero-overlay { padding: 0 34px; }
  .hero-text h1 { font-size: 2.3rem; }
  main { padding: 6px 16px 50px; }
}
/* Tablet vertical */
@media (max-width: 820px) {
  .topnav { display: none; }
  .menubtn { display: grid; }
  .lockbtn { margin-left: 0; }
  .hero { height: 330px; }
  .hero-overlay { padding: 0 26px; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 1rem; }
  .section-title h2 { font-size: 1.8rem; }
  .grid { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}
/* Móvil grande / pequeño */
@media (max-width: 600px) {
  .notice-bar { display: none; }   /* v1.8: sin barra de aviso en móviles */
  .topbar-in { padding: 9px 12px; }
  .brand img { height: 30px; }
  .notice-bar { font-size: .78rem; padding: 8px 12px; }
  /* v1.5: hero de altura auto en móvil: el contenido manda y nunca se recorta;
     la imagen queda absoluta detrás y el degradado sigue cubriendo. */
  .hero { height: auto; min-height: 300px; }
  .hero img.hero-bg { position: absolute; inset: 0; height: 100%; }
  .hero-overlay { position: relative; inset: auto; align-items: stretch; padding: 34px 18px 30px; }
  .hero-text h1 { font-size: 1.62rem; }
  .hero-text p { font-size: .88rem; margin-bottom: 4px; }
  .hero-stats .stat { padding: 4px 10px; font-size: .72rem; }
  .btn { padding: 10px 20px; font-size: .88rem; }
  main { padding: 2px 12px 118px; }
  .seccion { padding-top: 44px; scroll-margin-top: 76px; }
  .section-title { margin-bottom: 28px; }
  .section-title h2 { font-size: 1.5rem; }
  .section-title p { font-size: .86rem; margin-top: 10px; }
  .section-title .sp { position: static; justify-content: center; margin-top: 10px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .card-body { padding: 18px 16px 20px; }
  .fabs { right: 12px; bottom: 14px; gap: 8px; }
  .fab { width: 44px; height: 44px; border-radius: 7px; }
  .footer { padding: 34px 14px 16px; }
  .footer-brand img { height: 44px; }
  .footer-dev { font-size: .92rem; }
  .footer-meta { font-size: .72rem; }
  .modal { padding: 20px 16px; border-radius: 6px; }
  .modal h3 { font-size: 1.12rem; }
  .admin-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
  .atab { flex: none; padding: 7px 12px; font-size: .78rem; }
  .adm-row { flex-wrap: wrap; }
  .adm-row .u { max-width: 100%; }
  .modal-acts { flex-wrap: wrap; }
  .modal-acts .btn { flex: 1 1 auto; justify-content: center; }
}
/* Móvil muy estrecho */
@media (max-width: 380px) {
  .hero { min-height: 280px; }
  .hero-overlay { padding: 28px 14px 26px; }
  .hero-text h1 { font-size: 1.42rem; }
  .hero-cta { justify-content: center; }
  .hero-cta .btn { width: auto; min-width: 78%; }
  .grid { grid-template-columns: 1fr; }
}
/* Respeto por movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card.in { transition: none; opacity: 1; translate: 0 0; }
}
