/* =========================================================
   Escuela de Surf La Isla Santa Marina
   Colores y tipografía de la marca (tema original de 2013).
   ========================================================= */
:root {
  --rosa: #d6006c;
  --rosa-claro: #eb80b6;
  --amarillo: #fcf037;
  --amarillo-fuerte: #ffff00;
  --texto: #000;
  --gris: #767676;
  --borde: #ccc;
  --fondo: #fff;

  --fuente: "Asap", Arial, Helvetica, sans-serif;
  --ancho: 980px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 18px;
  line-height: 1.5;
  color: var(--texto);
  background: var(--fondo);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.wrapper {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 16px;
}

.rosa { color: var(--rosa); }

h1, h2, h3 { color: var(--rosa); line-height: 1.3; margin: 0 0 0.5em; }
h1 { font-size: 26px; text-align: center; }
h2 { font-size: 1.4em; margin-top: 1em; }
h3 { font-size: 1.15em; margin-top: 1em; }

/* Texto resaltado en amarillo, como en la web original */
.resalta {
  display: inline-block;
  padding: 2px 8px;
  background: var(--amarillo-fuerte);
  font-weight: bold;
  color: var(--texto);
}

p { margin: 0 0 0.9em; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: relative;
  padding: 10px 0 26px;
}
.cabecera::after {
  /* línea rosa pintada a mano bajo la cabecera */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: url("/img/linea.png") no-repeat center / 100% 100%;
}
.cabecera-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.logo img { height: 190px; width: auto; }

.lateral {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  padding-bottom: 6px;
}
.cabecera-info {
  font-size: 16px;
  text-align: right;
}
.cabecera-info a { color: var(--rosa); font-weight: bold; }

.social { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.social img { width: 30px; height: 30px; }
.social a:hover { opacity: 0.7; }

.menu { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 20px; }
.menu > a,
.submenu-titulo {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 17px;
  cursor: pointer;
}
.menu a:hover,
.menu a[aria-current="page"] { color: var(--rosa); text-decoration: none; }

/* Desplegables amarillos, como en la web original */
.submenu { position: relative; }
.submenu-titulo::after { content: " ▾"; font-size: 0.8em; }
.submenu-items {
  display: none;
  position: absolute;
  z-index: 20;
  top: 100%;
  left: -10px;
  min-width: 210px;
  padding-top: 8px;
}
.submenu:hover .submenu-items,
.submenu:focus-within .submenu-items { display: block; }
.submenu-items a {
  display: block;
  margin-bottom: 2px;
  padding: 8px 12px;
  background: var(--amarillo);
  font-size: 16px;
  text-align: center;
}
.submenu-items a:hover { background: var(--rosa); color: #fff; }
.submenu-items a[aria-current="page"] { background: var(--rosa); color: #fff; }

.menu-toggle {
  display: none;
  padding: 8px 14px;
  border: 0;
  background: var(--amarillo);
  font: bold 16px var(--fuente);
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 760px) {
  .cabecera-inner { align-items: center; }
  .logo img { height: 120px; }
  .cabecera-info { display: none; }
  .lateral { gap: 12px; }
  .menu-toggle { display: block; }
  .menu {
    display: none;
    position: absolute;
    z-index: 10;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 16px 16px;
    background: var(--fondo);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  }
  .menu.abierto { display: flex; }
  .menu > a,
  .submenu-titulo {
    display: block;
    padding: 10px;
    background: var(--amarillo);
    text-align: center;
  }
  .submenu-titulo::after { content: ""; }
  .submenu-items {
    display: block;
    position: static;
    min-width: 0;
    padding: 2px 0 6px;
  }
  .submenu-items a {
    background: none;
    border-bottom: 1px solid var(--borde);
    font-size: 16px;
  }
}

/* ---------- Contenido ---------- */
.principal {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 32px;
  padding-top: 28px;
  padding-bottom: 20px;
}
.principal.ancho-completo { grid-template-columns: 1fr; }
@media (max-width: 760px) {
  .principal { grid-template-columns: 1fr; gap: 20px; }
}

.contenido ul { padding-left: 22px; }
.contenido li { margin-bottom: 4px; }

/* Carteles amarillos rotulados a mano */
.destacados {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
  margin: 10px 0 24px;
  padding: 0;
  list-style: none;
}
.destacados img { max-height: 90px; width: auto; }

.reclamos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.reclamos img { width: 200px; }
@media (max-width: 760px) {
  .reclamos { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .reclamos img { width: 150px; }
}
.destacados a:hover, .reclamos a:hover { opacity: 0.6; }

/* Tablas de tarifas */
.tarifas {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin: 8px 0 6px;
}
.tarifas th, .tarifas td { padding: 6px 4px; border-bottom: 1px solid var(--borde); text-align: center; }
.tarifas th:first-child, .tarifas td:first-child { text-align: left; }
.tarifas thead th {
  color: var(--rosa);
  text-transform: uppercase;
  border-bottom: 1px solid var(--rosa);
}
.nota { color: var(--rosa); font-size: 14px; }
.tabla-scroll { overflow-x: auto; }

/* Mapa */
.mapa {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  margin: 8px 0 4px;
}

/* ---------- Formularios ---------- */
.formulario {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-top: 16px;
}
.formulario .completo { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .formulario { grid-template-columns: 1fr; }
}
.formulario label { display: grid; gap: 4px; font-size: 16px; }
.formulario input[type="text"],
.formulario input[type="email"],
.formulario input[type="tel"],
.formulario input[type="date"],
.formulario select,
.formulario textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--borde);
  font: inherit;
  font-size: 16px;
}
.formulario input:focus, .formulario select:focus, .formulario textarea:focus {
  outline: 2px solid var(--rosa);
  outline-offset: 0;
}
.formulario fieldset {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--borde);
}
.formulario legend { color: var(--rosa); font-weight: bold; text-transform: uppercase; font-size: 16px; }
.opciones { display: grid; gap: 4px; }
.opciones label { display: flex; align-items: center; gap: 8px; }
.opciones label.campo { display: grid; gap: 4px; }
.formulario [hidden] { display: none; }

.boton {
  display: inline-block;
  justify-self: start;
  max-width: 100%;
  text-align: center;
  padding: 10px 28px;
  border: 0;
  background: var(--rosa);
  color: #fff;
  font: bold 18px var(--fuente);
  text-transform: uppercase;
  cursor: pointer;
}
.boton { border-radius: 999px; box-shadow: 0 4px 14px rgba(214, 0, 108, 0.25); transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.boton:hover { background: #b0005a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(214, 0, 108, 0.3); text-decoration: none; }
.boton:disabled { opacity: 0.6; cursor: wait; }

.estado { margin: 0; min-height: 1.5em; font-size: 16px; }
.estado.ok { color: #1a7f45; }
.estado.error { color: #b3261e; }

/* ---------- Pie ---------- */
.pie {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e04091;
}
.pie h3 { color: var(--texto); font-size: 18px; font-weight: normal; margin: 0 0 8px; }
.area-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 0; padding: 0; list-style: none; }
.logos img { height: 44px; width: auto; }
.creditos {
  margin: 18px 0;
  padding: 8px 0;
  border-top: 1px solid var(--rosa-claro);
  border-bottom: 1px solid var(--rosa-claro);
  font-size: 14px;
  text-align: center;
}
.creditos a { color: var(--rosa); }

/* ---------- Bloques de contenido ---------- */
.entradilla { font-size: 1.1em; }
.foto { width: 100%; margin: 0 0 18px; }
.cita {
  margin: 0 0 18px;
  padding: 10px 18px;
  border-left: 4px solid var(--rosa);
  font-style: italic;
  font-size: 1.1em;
}
.enlaces a, .contenido p a:not(.boton):not(.rosa) { color: var(--rosa); }
.pasos li { margin-bottom: 8px; }

/* Opiniones de alumnos */
.opiniones blockquote {
  margin: 0 0 16px;
  padding: 14px 18px;
  background: #fff9c4;
  border-left: 4px solid var(--amarillo);
}
.opiniones blockquote p { margin: 0 0 6px; }
.opiniones blockquote p::before { content: "★★★★★ "; color: var(--rosa); letter-spacing: 1px; }
.opiniones cite { font-size: 15px; font-weight: bold; font-style: normal; }
.opiniones[data-carrusel].listo blockquote { display: none; }
.opiniones[data-carrusel].listo blockquote.activa { display: block; }

/* Fichas: monitores, alojamientos */
.equipo {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin: 20px 0;
}
.equipo img { width: 100%; max-width: 220px; margin-bottom: 8px; }
.equipo h2 { margin-top: 0; }
.equipo p { font-size: 16px; }

/* Tarjetas con foto (niños, adultos, grupos) */
.tarjetas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 12px 0 20px;
  padding: 0;
  list-style: none;
}
.tarjetas a { display: block; font-weight: bold; color: var(--rosa); text-align: center; }
.tarjetas img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 6px; background: #f4f4f4; }

.dos-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .dos-columnas { grid-template-columns: 1fr; } }
.dos-columnas .formulario { margin-top: 0; }

.privacidad { font-size: 14px; color: var(--gris); margin: 0; }
.privacidad a { color: var(--rosa); }

/* ---------- Carrusel de la portada ---------- */
.hero {
  position: relative;
  height: clamp(340px, 64vh, 640px);
  overflow: hidden;
  background: #0d2b36;
  color: #fff;
  touch-action: pan-y;
}
.hero-fotos, .hero-foto { position: absolute; inset: 0; margin: 0; }
.hero-foto { opacity: 0; transition: opacity 1.2s ease; }
.hero-foto.activa { opacity: 1; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-foto.activa img { animation: hero-zoom 9s ease-out forwards; }
@keyframes hero-zoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero-foto figcaption { display: none; }
.hero-velo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 35%);
  pointer-events: none;
}
.hero-texto {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hero-antetitulo {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 10px;
  background: var(--amarillo);
  color: var(--texto);
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: none;
}
.hero-titulo {
  max-width: 620px;
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  font-weight: bold;
}
.hero-sub { max-width: 560px; font-size: clamp(16px, 2vw, 19px); margin: 0 0 22px; }
.hero-botones { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.boton-claro { background: rgba(255, 255, 255, 0.92); color: var(--texto); }
.boton-claro:hover { background: #fff; }
.hero-flecha {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 30px;
  line-height: 44px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.hero-flecha:hover, .hero-flecha:focus-visible { background: rgba(255, 255, 255, 0.4); }
.hero-anterior { left: 16px; }
.hero-siguiente { right: 16px; }
.hero-pie {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.hero-leyenda a { color: #fff; }
.hero-puntos { display: flex; gap: 8px; }
.hero-puntos button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}
.hero-puntos button[aria-current="true"] { width: 28px; background: var(--amarillo); }
.hero-progreso { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(255, 255, 255, 0.15); }
.hero-progreso span { display: block; height: 100%; width: 0; background: var(--rosa); }
.hero-progreso.corriendo span { animation: hero-barra var(--duracion, 7s) linear forwards; }
.hero.parado .hero-progreso span { animation-play-state: paused; }
@keyframes hero-barra { to { width: 100%; } }
@media (max-width: 760px) {
  .hero { height: 78vh; max-height: 560px; }
  .hero-flecha { display: none; }
  .hero-texto { top: auto; bottom: 64px; transform: none; }
  .hero-velo { background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 70%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-foto, .hero-puntos button { transition: none; }
  .hero-foto.activa img { animation: none; }
}
@media (max-width: 760px) { .solo-pc { display: none; } }

/* ---------- Toque moderno ---------- */

/* Cabecera fija que se compacta al bajar */
.cabecera {
  /* Fija arriba; el hueco que deja lo reserva main.js con padding en el body,
     así al compactarse no se mueve el contenido de la página */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  transition: padding 0.25s, box-shadow 0.25s;
}
.logo img { transition: height 0.25s; }
.cabecera.midiendo, .cabecera.midiendo .logo img { transition: none !important; }
.cabecera.compacta { padding-top: 4px; padding-bottom: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); }
.cabecera.compacta .logo img { height: 72px; }
.cabecera.compacta .social,
.cabecera.compacta .cabecera-info { display: none; }
@media (max-width: 760px) {
  .cabecera.compacta .logo img { height: 56px; }
}

/* Franja de datos bajo el carrusel: pintada como un brochazo */
.datos {
  position: relative;
  z-index: 3;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201200%20120%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M48%2041.7%20Q374%2039.1%20700%2041.8%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%220.24%22%20stroke-width%3D%220.9%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M-26%2060.8%20Q241%2058.2%20509%2059.1%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%220.25%22%20stroke-width%3D%222.0%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M95%2020.9%20Q415%2023.6%20734%2021.2%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%220.25%22%20stroke-width%3D%222.2%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M508%2012.8%20Q736%2010.7%20964%2011.3%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%220.23%22%20stroke-width%3D%221.9%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M328%2026.8%20Q651%2026.0%20973%2027.0%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%220.19%22%20stroke-width%3D%220.9%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M392%2029.4%20Q658%2028.3%20923%2029.8%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%220.26%22%20stroke-width%3D%221.2%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M404%2090.6%20Q620%2091.1%20836%2090.7%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%220.33%22%20stroke-width%3D%221.8%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M587%2037.9%20Q769%2037.5%20951%2039.0%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%220.21%22%20stroke-width%3D%221.5%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M384%2012.1%20Q741%2012.5%201097%2013.6%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%220.23%22%20stroke-width%3D%221.8%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E") center / 100% 100% no-repeat, #fcef40;
}
.datos::before, .datos::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  background-size: 100% 100%;
  pointer-events: none;
}
.datos::before { top: -17px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201200%2022%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23fcef40%22%20d%3D%22M0%2022%20L0.0%2010.4%20L13.3%2015.7%20L26.9%202.9%20L44.1%2016.4%20L63.3%207.6%20L80.0%208.7%20L88.6%202.9%20L106.9%205.6%20L119.2%200.5%20L132.4%2014.8%20L151.5%201.8%20L164.1%2014.8%20L185.5%204.6%20L195.2%209.0%20L210.6%202.1%20L223.3%2010.2%20L244.5%209.5%20L260.4%202.8%20L280.8%2014.7%20L299.6%207.8%20L307.2%202.9%20L314.3%204.4%20L325.8%202.0%20L334.2%207.3%20L340.6%204.1%20L349.0%207.0%20L360.8%2014.3%20L382.7%209.0%20L390.1%207.0%20L400.3%204.3%20L406.7%203.5%20L415.0%202.4%20L429.5%205.7%20L446.6%207.3%20L455.3%209.7%20L473.7%205.2%20L492.7%205.6%20L511.6%2012.7%20L521.2%207.2%20L527.7%206.1%20L537.9%2015.9%20L551.0%206.5%20L572.3%205.2%20L581.9%205.0%20L597.9%205.5%20L611.6%2013.6%20L618.9%2015.2%20L637.5%208.9%20L646.3%206.8%20L665.1%202.6%20L677.5%204.8%20L686.3%204.2%20L706.7%204.1%20L726.0%204.3%20L737.6%203.9%20L743.8%204.3%20L758.2%202.9%20L778.2%205.1%20L788.2%205.5%20L803.6%208.1%20L811.7%202.3%20L825.0%2015.1%20L837.7%203.3%20L852.3%202.3%20L865.3%202.1%20L884.1%208.9%20L901.7%206.7%20L916.0%2013.4%20L923.7%205.6%20L934.1%209.4%20L949.1%2015.2%20L962.2%209.3%20L976.4%208.6%20L990.9%2015.7%20L1008.1%206.2%20L1018.3%2015.7%20L1037.7%203.8%20L1050.8%205.5%20L1057.9%2013.4%20L1078.3%2012.4%20L1094.9%2014.8%20L1116.3%2015.8%20L1128.7%2016.4%20L1148.0%208.3%20L1162.3%204.8%20L1173.4%202.3%20L1188.2%202.3%20L1199.5%209.4%20L1200.0%2013.0%20L1200%2022%20Z%22/%3E%3C/svg%3E"); }
.datos::after { bottom: -17px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201200%2022%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23fcef40%22%20d%3D%22M0%200%20L0.0%205.9%20L7.7%2019.4%20L26.1%2018.1%20L38.9%2016.6%20L49.0%206.7%20L64.2%2018.7%20L71.1%2013.8%20L78.2%2017.8%20L97.1%207.6%20L104.1%2019.0%20L115.6%206.6%20L125.8%2012.4%20L135.7%2017.7%20L142.5%2015.5%20L153.3%2015.8%20L167.3%2015.0%20L173.6%2019.8%20L191.4%2017.3%20L205.0%2021.3%20L224.1%2012.8%20L243.4%2012.7%20L260.4%2019.7%20L279.7%2010.8%20L292.2%2019.2%20L300.3%209.3%20L310.4%2018.8%20L329.8%2017.6%20L340.4%2015.8%20L353.7%2013.5%20L363.9%2015.6%20L378.7%206.0%20L389.6%2020.0%20L401.7%2012.7%20L410.9%2019.9%20L421.2%2014.2%20L427.8%2015.6%20L437.6%2012.3%20L455.6%209.6%20L475.6%2015.3%20L497.4%209.5%20L513.7%207.9%20L534.0%209.4%20L553.0%2012.4%20L567.0%208.3%20L586.2%207.1%20L603.2%2016.7%20L609.7%2014.8%20L617.3%2011.9%20L633.4%2010.1%20L647.2%208.4%20L665.2%2012.2%20L681.7%209.3%20L691.8%2016.1%20L709.4%209.3%20L731.1%2014.5%20L744.7%208.9%20L760.6%2018.9%20L769.0%209.2%20L779.8%2019.8%20L786.8%2010.3%20L803.9%2015.8%20L818.1%2013.2%20L826.0%2020.7%20L847.7%2021.9%20L861.0%206.0%20L874.2%2017.0%20L895.3%2011.6%20L903.6%206.2%20L911.7%2012.6%20L931.9%2016.6%20L952.3%2019.6%20L958.3%2013.5%20L969.2%2015.0%20L980.2%2020.0%20L998.2%2018.3%20L1019.1%206.9%20L1029.7%2014.3%20L1051.7%2014.8%20L1064.5%2019.3%20L1072.2%2015.9%20L1093.1%2016.1%20L1107.3%2014.6%20L1128.6%2016.6%20L1144.7%2015.8%20L1159.5%2019.3%20L1177.2%209.1%20L1193.5%2019.3%20L1200.0%2018.6%20L1200%200%20Z%22/%3E%3C/svg%3E"); }
.datos-rejilla {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.dato { display: flex; flex-direction: column; gap: 2px; }
.dato strong { font-size: clamp(26px, 3.4vw, 38px); line-height: 1; color: var(--rosa); }
.dato span { font-size: 15px; line-height: 1.3; }
@media (max-width: 760px) { .datos-rejilla { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* Tarjetas de cursos de la portada */
.contenido .cursos-tarjetas, .cursos-tarjetas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
}
@media (max-width: 560px) { .cursos-tarjetas { grid-template-columns: 1fr; } }
.cursos-tarjetas a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.cursos-tarjetas img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cursos-tarjetas a:hover img { transform: scale(1.06); }
.cursos-tarjetas a:hover { text-decoration: none; }
.cursos-tarjetas span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 16px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  font-size: 15px;
  line-height: 1.3;
}
.cursos-tarjetas strong { display: block; font-size: 21px; }
.cursos-tarjetas strong::after { content: " →"; color: var(--amarillo); }
.enlace-flecha { color: var(--rosa); font-weight: bold; }
.enlace-flecha::after { content: " →"; }

/* Fotos, tablas y opiniones con acabado más suave */
.foto { border-radius: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); }
.equipo img { border-radius: 12px; }
.tabla-scroll { border-radius: 12px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); padding: 4px 12px; background: #fff; }
.opiniones blockquote { border-radius: 0 12px 12px 0; position: relative; }
.opiniones blockquote::after {
  content: "“";
  position: absolute;
  top: -6px;
  right: 14px;
  font-size: 70px;
  line-height: 1;
  color: rgba(214, 0, 108, 0.15);
  font-family: Georgia, serif;
}
.formulario fieldset, .formulario input, .formulario select, .formulario textarea { border-radius: 8px; }

/* Botón flotante de WhatsApp */
.whatsapp-flotante {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}
.whatsapp-flotante:hover { transform: translateY(-3px); text-decoration: none; }
@media (max-width: 760px) {
  .whatsapp-flotante { padding: 12px; }
  .whatsapp-flotante span { display: none; }
}

/* Aparición suave al hacer scroll */
.aparecer { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.aparecer.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .aparecer { opacity: 1; transform: none; transition: none; }
  .boton, .cursos-tarjetas img, .whatsapp-flotante, .cabecera, .logo img { transition: none; }
}

/* Borde superior del carrusel: la misma curva que la línea fucsia de la cabecera */
.hero::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20941%2020%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M0%200%20L0%2015.03%20L6%2014.58%20L12%2014.18%20L18%2013.75%20L24%2013.42%20L30%2012.71%20L36%2012.11%20L42%2011.71%20L48%2011.41%20L54%2011.14%20L60%2010.86%20L66%2010.73%20L72%2010.64%20L78%2010.55%20L84%2010.45%20L90%2010.36%20L96%2010.26%20L102%2010.20%20L108%2010.29%20L114%2010.39%20L120%2010.48%20L126%2010.58%20L132%2010.67%20L138%2010.76%20L144%2010.89%20L150%2011.08%20L156%2011.24%20L162%2011.42%20L168%2011.61%20L174%2011.80%20L180%2011.99%20L186%2012.18%20L192%2012.35%20L198%2012.36%20L204%2012.36%20L210%2012.30%20L216%2012.21%20L222%2012.05%20L228%2011.86%20L234%2011.67%20L240%2011.49%20L246%2011.28%20L252%2011.09%20L258%2010.86%20L264%2010.58%20L270%2010.31%20L276%2010.12%20L282%209.84%20L288%209.53%20L294%209.18%20L300%208.90%20L306%208.62%20L312%208.41%20L318%208.13%20L324%207.77%20L330%207.44%20L336%207.16%20L342%206.95%20L348%206.76%20L354%206.58%20L360%206.31%20L366%206.09%20L372%205.89%20L378%205.70%20L384%205.51%20L390%205.32%20L396%205.13%20L402%204.95%20L408%204.79%20L414%204.69%20L420%204.60%20L426%204.60%20L432%204.60%20L438%204.71%20L444%204.90%20L450%205.09%20L456%205.27%20L462%205.46%20L468%205.65%20L474%205.98%20L480%206.36%20L486%206.70%20L492%206.91%20L498%207.13%20L504%207.49%20L510%207.86%20L516%208.24%20L522%208.57%20L528%208.76%20L534%209.02%20L540%209.31%20L546%209.67%20L552%209.93%20L558%2010.12%20L564%2010.31%20L570%2010.50%20L576%2010.69%20L582%2010.84%20L588%2010.94%20L594%2011.00%20L600%2011.00%20L606%2011.00%20L612%2011.00%20L618%2011.00%20L624%2011.00%20L630%2011.00%20L636%2011.00%20L642%2011.00%20L648%2011.00%20L654%2011.00%20L660%2011.00%20L666%2011.00%20L672%2010.95%20L678%2010.86%20L684%2010.76%20L690%2010.67%20L696%2010.58%20L702%2010.40%20L708%2010.22%20L714%2010.03%20L720%209.84%20L726%209.75%20L732%209.65%20L738%209.56%20L744%209.46%20L750%209.40%20L756%209.40%20L762%209.40%20L768%209.40%20L774%209.40%20L780%209.40%20L786%209.40%20L792%209.40%20L798%209.46%20L804%209.56%20L810%209.67%20L816%209.85%20L822%2010.04%20L828%2010.23%20L834%2010.42%20L840%2010.61%20L846%2010.81%20L852%2011.00%20L858%2011.25%20L864%2011.47%20L870%2011.66%20L876%2011.85%20L882%2011.99%20L888%2012.04%20L894%2012.04%20L900%2011.96%20L906%2011.72%20L912%2011.35%20L918%2011.03%20L924%2010.81%20L930%2010.51%20L936%2010.25%20L941%2010.14%20L941%200%20Z%22/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
  pointer-events: none;
}
@media (max-width: 760px) { .hero::before { height: 14px; } }
