/* ==========================================================
   QUEDIFY - Estilos
   Copia del diseño: cristal translúcido, bordes luminosos,
   destellos y fotos de Sevilla de fondo.
   Si falta alguna foto, se ve un degradado en su lugar.
   ========================================================== */

/* ---------- Tipografía (alojada en la propia web) ---------- */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

/* ---------- Variables ---------- */

:root {
  --violeta: #8a3fd9;
  --violeta-vivo: #a24fe0;
  --violeta-oscuro: #4a1c86;
  --morado-texto: #5b2a9b;
  --magenta: #c653c7;
  --rosa: #e86fc0;
  --melocoton: #ffd2a6;
  --naranja: #f5a259;
  --dorado: #ffc98a;
  --texto: #3a2460;
  --texto-suave: #6a5486;
  --blanco: #ffffff;
  --error: #c62f4a;

  --fuente: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* cristal */
  --cristal-fondo: linear-gradient(160deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 240, 250, 0.5) 100%);
  --cristal-borde: rgba(255, 255, 255, 0.85);
  --cristal-sombra:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 24px rgba(255, 255, 255, 0.45),
    0 14px 40px rgba(110, 40, 160, 0.22);

  /* botones */
  --boton-degradado: linear-gradient(90deg, #8b3fe0 0%, #a94bd8 45%, #c954c6 100%);
  --boton-brillo:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -8px 14px rgba(70, 20, 130, 0.35),
    0 0 18px rgba(255, 190, 240, 0.7),
    0 0 42px rgba(190, 110, 230, 0.55),
    0 10px 24px rgba(90, 30, 150, 0.35);

  --degradado-respaldo: linear-gradient(165deg, #6c3fd0 0%, #b863c4 45%, #f3a9a0 80%, #ffd3a1 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 17px;
  line-height: 1.45;
  color: var(--texto);
  background: #f3d7ea;
  padding-bottom: 86px; /* espacio para la barra inferior */
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Fondo fijo de Sevilla para las páginas interiores */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    url("../img/fondo-sevilla.jpg") center top / cover no-repeat,
    var(--degradado-respaldo);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
}

.fondo-claro::after {
  background: linear-gradient(180deg, rgba(255, 236, 248, 0.5) 0%, rgba(252, 226, 244, 0.8) 45%, rgba(250, 222, 236, 0.9) 100%);
}

.fondo-oscuro::after {
  background: linear-gradient(180deg, rgba(75, 30, 145, 0.55) 0%, rgba(130, 60, 175, 0.35) 45%, rgba(210, 110, 165, 0.25) 100%);
}

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

a {
  color: var(--violeta);
}

h1, h2, h3 {
  line-height: 1.12;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 12px;
}

.contenedor {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.estrecho {
  max-width: 600px;
}

.icono {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.centrar {
  text-align: center;
}

/* ---------- Cristal ---------- */

.cristal {
  position: relative;
  background: var(--cristal-fondo);
  border: 1px solid var(--cristal-borde);
  border-radius: 26px;
  box-shadow: var(--cristal-sombra);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
}

.cristal-oscuro {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 0 30px rgba(255, 255, 255, 0.25),
    0 14px 40px rgba(40, 10, 80, 0.3);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

/* Destellos sobre las tarjetas */
.destellos::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0.9) 1.5px, transparent 3px),
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0.8) 1px, transparent 2.5px),
    radial-gradient(circle at 85% 90%, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0.8) 1.5px, transparent 3px),
    radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.8) 0, transparent 2px),
    radial-gradient(circle at 60% 4%, rgba(255, 255, 255, 0.8) 0, transparent 2px),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.35) 0, transparent 55%);
}

/* ---------- Cabecera ---------- */

.cabecera {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--blanco);
}

.fondo-claro:not(.pagina-inicio) .cabecera {
  color: var(--violeta-oscuro);
}

.cabecera-fila {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 27px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(40, 10, 80, 0.35);
}

.logo .icono-logo {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 6px rgba(40, 10, 80, 0.35));
}

.menu-boton {
  background: none;
  border: none;
  padding: 8px;
  color: inherit;
  cursor: pointer;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.menu-boton .icono {
  width: 30px;
  height: 30px;
}

.menu-escritorio {
  display: none;
}

.menu-movil {
  display: none;
  margin: 0 16px;
  overflow: hidden;
}

.menu-movil.abierto {
  display: block;
}

.menu-movil a {
  display: block;
  padding: 14px 20px;
  color: var(--texto);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(138, 63, 217, 0.12);
}

.menu-movil a:last-child {
  border-bottom: none;
}

/* ---------- Botones ---------- */

.boton {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  font-family: var(--fuente);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.boton:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.boton .icono {
  width: 26px;
  height: 26px;
}

.boton-principal {
  background: var(--boton-degradado);
  color: var(--blanco);
  box-shadow: var(--boton-brillo);
  text-shadow: 0 1px 4px rgba(60, 10, 110, 0.4);
}

.boton-contorno {
  min-height: 46px;
  padding: 8px 22px;
  font-size: 17px;
  color: var(--blanco);
  background: linear-gradient(90deg, rgba(150, 70, 220, 0.55), rgba(200, 90, 210, 0.55));
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.8),
    0 0 16px rgba(255, 200, 245, 0.6),
    0 6px 16px rgba(80, 20, 140, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.boton-contorno .icono {
  width: 20px;
  height: 20px;
}

.boton-oscuro {
  background: rgba(60, 25, 100, 0.5);
  color: var(--blanco);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.55),
    0 0 18px rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.boton-ancho {
  width: 100%;
}

.boton[disabled] {
  opacity: 0.6;
  cursor: wait;
}

/* ==========================================================
   INICIO (página de presentación con el formulario)
   ========================================================== */

.pagina-inicio::before,
.pagina-inicio::after {
  display: none;
}

.pagina-inicio {
  background: #f7dcef;
}

.portada {
  position: relative;
  isolation: isolate;
  padding: 92px 0 36px;
}

/* Foto principal */
.portada-foto {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 640px;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(60, 20, 110, 0.5) 0%, rgba(60, 20, 110, 0.2) 35%, rgba(247, 220, 239, 0) 68%, rgba(247, 220, 239, 1) 100%),
    url("../img/hero.jpg") 70% center / cover no-repeat,
    var(--degradado-respaldo);
}

/* Velo rosa suave sobre toda la portada, como en el diseño */
.portada::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 170, 230, 0) 0%, rgba(255, 190, 235, 0.12) 50%, rgba(255, 200, 235, 0.25) 100%);
}

.rejilla-inicio {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "texto"
    "formulario"
    "como"
    "planes"
    "nota";
  gap: 18px;
}

.zona-texto {
  grid-area: texto;
  color: var(--blanco);
  padding-bottom: 170px;
}

.zona-formulario {
  grid-area: formulario;
}

.zona-como {
  grid-area: como;
}

.zona-planes {
  grid-area: planes;
}

.zona-nota {
  grid-area: nota;
}

.portada h1 {
  font-size: 46px;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-shadow: 0 3px 18px rgba(40, 10, 80, 0.45);
}

.portada h1 .resaltado {
  position: relative;
  display: inline-block;
  font-size: 1.22em;
  font-weight: 600;
  background: linear-gradient(180deg, #fff1d6 0%, #ffd49a 55%, #f0a860 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 3px 10px rgba(40, 10, 80, 0.45));
  padding-bottom: 10px;
}

/* Trazo naranja bajo "Sevilla" */
.trazo {
  display: block;
  width: 100%;
  height: 14px;
  margin-top: -14px;
}

.portada .entradilla {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.3;
  max-width: 330px;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(40, 10, 80, 0.55);
}

.insignias {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.insignia {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 18px;
  border-radius: 16px;
  font-weight: 500;
  line-height: 1.15;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.insignia .icono {
  width: 30px;
  height: 30px;
}

.insignia-edad {
  background: linear-gradient(180deg, rgba(255, 224, 180, 0.95) 0%, rgba(255, 200, 150, 0.95) 100%);
  color: var(--violeta-oscuro);
  font-size: 21px;
  font-weight: 600;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.85),
    0 0 18px rgba(255, 220, 190, 0.6),
    0 6px 16px rgba(80, 20, 140, 0.25);
}

.insignia-citas {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.14) 100%);
  color: var(--blanco);
  font-size: 15px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.75),
    0 0 16px rgba(255, 255, 255, 0.35),
    0 6px 16px rgba(80, 20, 140, 0.25);
  text-shadow: 0 1px 6px rgba(40, 10, 80, 0.4);
}

/* ---------- Tarjeta del formulario ---------- */

.tarjeta-formulario {
  padding: 56px 20px 24px;
  margin-top: -120px;
  border-radius: 34px;
}

.icono-formulario {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, rgba(255, 240, 255, 0.55) 0%, rgba(230, 170, 255, 0.4) 40%, rgba(170, 90, 230, 0.6) 100%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 24px rgba(255, 220, 255, 0.9),
    0 0 50px rgba(220, 150, 255, 0.7);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.icono-formulario .icono {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 1px 4px rgba(60, 10, 110, 0.5));
}

.tarjeta-formulario h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--violeta-oscuro);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.garantias {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.garantia {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--texto);
}

.garantia:last-child {
  border-left: 1px solid rgba(138, 63, 217, 0.2);
  padding-left: 12px;
}

.garantia .icono {
  color: var(--violeta);
  width: 32px;
  height: 32px;
}

/* ---------- Formulario ---------- */

.campo {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 12px;
  padding: 7px 0;
}

.campo-icono {
  width: 48px;
  height: 48px;
  margin-top: 24px;
  border-radius: 15px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.55) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 4px 12px rgba(110, 40, 160, 0.12);
  color: var(--violeta);
  display: flex;
  align-items: center;
  justify-content: center;
}

.campo-icono .icono {
  width: 26px;
  height: 26px;
}

.campo-titulo {
  display: block;
  font-weight: 600;
  font-size: 17px;
  color: var(--violeta-oscuro);
  margin-bottom: 6px;
}

.obligatorio {
  color: var(--violeta);
}

.campo input[type="text"],
.campo input[type="email"],
.campo input[type="tel"],
.campo select {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  font-family: var(--fuente);
  font-size: 17px;
  color: var(--texto);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 2px rgba(110, 40, 160, 0.08),
    0 0 10px rgba(255, 255, 255, 0.5);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.campo input::placeholder {
  color: #8b7aa5;
}

.campo select {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a3fd9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  background-repeat: no-repeat;
  background-position: right 14px center, 0 0;
  background-size: 20px, auto;
  padding-right: 44px;
}

.campo select:invalid,
.campo select option[value=""] {
  color: #8b7aa5;
}

.campo input:focus,
.campo select:focus {
  border-color: var(--violeta);
  box-shadow: 0 0 0 3px rgba(138, 63, 217, 0.2), 0 0 14px rgba(255, 255, 255, 0.8);
}

.ayuda {
  display: block;
  font-size: 14px;
  color: var(--texto-suave);
  margin-top: 6px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 8px;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 3px 8px rgba(110, 40, 160, 0.1);
  font-size: 15px;
  font-weight: 500;
  color: var(--texto);
  cursor: pointer;
  user-select: none;
}

.chip input:checked + span {
  background: var(--boton-degradado);
  color: var(--blanco);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.7),
    0 0 14px rgba(220, 150, 255, 0.7);
}

.chip input:focus-visible + span {
  outline: 3px solid var(--naranja);
}

/* Casillas y botones de opción, como en el diseño */

.casilla {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.casilla input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  flex: 0 0 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(138, 63, 217, 0.5);
  cursor: pointer;
  display: inline-grid;
  place-content: center;
}

.casilla input[type="radio"] {
  border-radius: 50%;
}

.casilla input::before {
  content: "";
  width: 12px;
  height: 12px;
  transform: scale(0);
  transition: transform 0.12s ease;
  background: var(--blanco);
  clip-path: polygon(14% 44%, 0 62%, 40% 100%, 100% 20%, 86% 6%, 40% 70%);
}

.casilla input[type="radio"]::before {
  border-radius: 50%;
  clip-path: none;
  width: 10px;
  height: 10px;
}

.casilla input:checked {
  background: var(--boton-degradado);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(220, 150, 255, 0.8);
}

.casilla input:checked::before {
  transform: scale(1);
}

.casilla input:focus-visible {
  outline: 3px solid var(--naranja);
  outline-offset: 2px;
}

.aceptaciones {
  padding: 14px 0 8px;
}

.aceptaciones .casilla {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.aceptaciones a {
  font-weight: 500;
}

.mensaje-error {
  display: none;
  background: #fde8ec;
  color: var(--error);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  font-weight: 500;
}

.mensaje-error.visible {
  display: block;
}

.oculto-trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formulario-inscripcion .boton {
  margin-top: 8px;
}

/* ---------- Cómo funciona ---------- */

.como-funciona {
  padding: 20px 16px 22px;
}

.como-funciona h2,
.tarjeta-planes h2 {
  font-size: 26px;
  font-weight: 600;
  color: var(--violeta-oscuro);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.pasos {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 2px;
  text-align: center;
}

.paso {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--texto);
}

.paso-icono {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 230, 255, 0.75) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.95),
    0 0 14px rgba(255, 255, 255, 0.6),
    0 8px 18px rgba(110, 40, 160, 0.15);
  color: var(--violeta);
  display: flex;
  align-items: center;
  justify-content: center;
}

.paso-icono .icono {
  width: 40px;
  height: 40px;
}

.paso-flecha {
  color: var(--violeta-vivo);
  margin-top: 26px;
}

.paso-flecha .icono {
  width: 22px;
  height: 22px;
}

/* ---------- Próximos planes ---------- */

.tarjeta-planes {
  padding: 20px 14px 16px;
}

.planes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.plan {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #c979cf 0%, #a455c2 100%);
  color: var(--blanco);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 14px rgba(255, 255, 255, 0.35),
    0 10px 24px rgba(110, 40, 160, 0.25);
  display: flex;
  flex-direction: column;
}

.plan-foto {
  height: 112px;
  background-size: cover;
  background-position: center;
}

.plan-foto-sabado {
  background-image: url("../img/cafe-sabado.jpg"), linear-gradient(135deg, #f8c58f, #e48c6a);
}

.plan-foto-domingo {
  background-image: url("../img/cafe-domingo.jpg"), linear-gradient(135deg, #f3b07a, #9b5ad8);
}

.plan-cuerpo {
  position: relative;
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  background: linear-gradient(180deg, rgba(200, 120, 210, 0.75) 0%, rgba(160, 80, 195, 0.95) 100%);
  margin-top: -22px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.plan h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  text-shadow: 0 1px 6px rgba(60, 10, 110, 0.35);
}

.plan-hora {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

.plan-hora .icono {
  width: 18px;
  height: 18px;
}

.plan-boton {
  margin-top: auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--boton-degradado);
  color: var(--blanco);
  font-weight: 600;
  font-size: 19px;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.8),
    0 0 14px rgba(255, 200, 250, 0.8),
    0 6px 14px rgba(70, 20, 130, 0.35);
}

.plan-boton .icono {
  width: 20px;
  height: 20px;
}

.nota-planes {
  font-size: 14px;
  color: var(--texto-suave);
  text-align: center;
  margin: 12px 0 0;
}

/* ---------- Tarjeta "sé de las primeras personas" ---------- */

.tarjeta-primeros {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.primeros-icono {
  flex: 0 0 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(160deg, #ffe1b8 0%, #f5a259 100%);
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 18px rgba(255, 220, 190, 0.8), 0 6px 14px rgba(110, 40, 160, 0.2);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
}

.primeros-icono .icono {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 1px 3px rgba(150, 70, 0, 0.3));
}

.tarjeta-primeros h2 {
  font-size: 19px;
  font-weight: 600;
  color: var(--violeta-oscuro);
  margin-bottom: 4px;
}

.tarjeta-primeros p {
  margin: 0;
  font-size: 15px;
  color: var(--texto);
}

.puntos {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.puntos span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(138, 63, 217, 0.3);
}

.puntos span:first-child {
  background: var(--violeta);
}

/* ---------- Franja de ventajas ---------- */

.ventajas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  padding: 18px 16px;
  margin-top: 22px;
}

.ventaja {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
}

.ventaja .icono {
  width: 38px;
  height: 38px;
  color: var(--violeta);
}

/* ---------- Llamada final con Sevilla al fondo ---------- */

.llamada-final {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: 50px 16px 170px;
  margin-top: 10px;
}

.llamada-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(247, 220, 239, 1) 0%, rgba(247, 220, 239, 0.75) 30%, rgba(247, 220, 239, 0) 65%),
    url("../img/cta-sevilla.jpg") center bottom / cover no-repeat,
    linear-gradient(180deg, #f7dcef 0%, #f3bfd6 60%, #e59bb8 100%);
}

.llamada-final h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #6a2ab0 0%, #4a1c86 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.7));
}

.llamada-final h2 span {
  display: block;
}

.llamada-final .trazo {
  width: 150px;
  margin: 0 auto 22px;
}

.llamada-final .boton {
  font-size: 19px;
  padding: 14px 26px;
}

/* ==========================================================
   PÁGINAS INTERIORES
   ========================================================== */

.pagina {
  padding-top: 90px;
}

.titulo-pagina {
  text-align: center;
  margin-bottom: 20px;
}

.titulo-pagina h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.titulo-pagina p {
  font-size: 16px;
  max-width: 460px;
  margin: 0 auto;
}

.fondo-claro .titulo-pagina {
  text-align: left;
}

.fondo-claro .titulo-pagina h1 {
  color: var(--violeta-oscuro);
}

.fondo-claro .titulo-pagina p {
  color: var(--texto-suave);
  margin: 0;
}

.fondo-oscuro .titulo-pagina {
  color: var(--blanco);
  text-shadow: 0 2px 12px rgba(30, 10, 60, 0.45);
}

.icono-titulo {
  width: 66px;
  height: 66px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
}

.icono-titulo .icono {
  width: 40px;
  height: 40px;
}

.icono-titulo.con-circulo {
  background: radial-gradient(circle at 40% 30%, rgba(255, 240, 255, 0.5) 0%, rgba(200, 140, 255, 0.5) 45%, rgba(150, 70, 220, 0.7) 100%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 24px rgba(255, 220, 255, 0.8), 0 0 50px rgba(220, 150, 255, 0.6);
}

.icono-titulo.con-circulo .icono {
  width: 34px;
  height: 34px;
}

/* Pasos del formulario (página de gracias) */

.pasos-formulario {
  display: flex;
  justify-content: space-between;
  max-width: 340px;
  margin: 0 auto 18px;
  position: relative;
}

.pasos-formulario::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
}

.paso-formulario {
  position: relative;
  flex: 1;
  text-align: center;
  font-size: 14px;
  color: var(--blanco);
}

.paso-formulario span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 auto 4px;
  border-radius: 50%;
  background: var(--boton-degradado);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 12px rgba(220, 150, 255, 0.8);
  font-weight: 600;
  color: var(--blanco);
}

/* ---------- Gracias ---------- */

.pagina-gracias .pagina {
  min-height: calc(100vh - 86px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 30px;
}

.tarjeta-gracias {
  max-width: 420px;
  margin: 70px auto 0;
  padding: 70px 22px 26px;
  text-align: center;
  color: var(--blanco);
}

.icono-ok {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd7f0 0%, #e27dc7 45%, #8a4be0 100%);
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 40px rgba(255, 170, 230, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icono-ok .icono {
  width: 48px;
  height: 48px;
}

.tarjeta-gracias h1 {
  font-size: 50px;
  font-weight: 700;
  text-shadow: 0 3px 14px rgba(40, 10, 80, 0.4);
}

.tarjeta-gracias .destacado {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(40, 10, 80, 0.4);
  margin-bottom: 20px;
}

.aviso-whatsapp {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.9);
  color: var(--texto);
  border-radius: 999px;
  padding: 10px 18px 10px 10px;
  font-size: 14px;
  line-height: 1.3;
}

.aviso-whatsapp p {
  margin: 0;
}

.icono-whatsapp {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icono-whatsapp .icono {
  width: 28px;
  height: 28px;
}

.adorno {
  width: 70px;
  height: 4px;
  margin: 22px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--naranja), transparent);
}

.volver {
  text-align: center;
  margin-top: 26px;
}

/* ---------- Tarjetas de normas ---------- */

.lista-tarjetas {
  display: grid;
  gap: 10px;
}

.tarjeta {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
}

.tarjeta-icono {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 230, 255, 0.75) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95), 0 4px 10px rgba(110, 40, 160, 0.12);
  color: var(--violeta);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tarjeta-icono .icono {
  width: 26px;
  height: 26px;
}

.tarjeta h2,
.tarjeta h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--violeta-oscuro);
}

.tarjeta p {
  margin: 0;
  font-size: 15px;
  color: var(--texto);
  line-height: 1.35;
}

/* ---------- Blog ---------- */

.filtros {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 16px;
  scrollbar-width: none;
}

.filtros::-webkit-scrollbar {
  display: none;
}

.filtro {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: var(--fuente);
  font-size: 15px;
  font-weight: 500;
  color: var(--texto);
  cursor: pointer;
}

.filtro.activo {
  background: var(--boton-degradado);
  color: var(--blanco);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7), 0 0 12px rgba(220, 150, 255, 0.7);
}

.articulos {
  display: grid;
  gap: 12px;
}

.articulo {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 14px 10px 10px;
}

.articulo-foto {
  flex: 0 0 104px;
  height: 104px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
}

.foto-terrazas {
  background-image: url("../img/blog-terrazas.jpg"), linear-gradient(135deg, #f8c58f, #e48c6a);
}

.foto-planes {
  background-image: url("../img/blog-planes.jpg"), linear-gradient(135deg, #9fc3f0, #7b3fe4);
}

.foto-amigos {
  background-image: url("../img/blog-amigos.jpg"), linear-gradient(135deg, #f3a9c8, #b863c4);
}

.foto-compania {
  background-image: url("../img/blog-compania.jpg"), linear-gradient(135deg, #ffd3a1, #f08a5d);
}

.articulo-texto {
  flex: 1;
}

.articulo h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--violeta-oscuro);
}

.articulo .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--texto-suave);
  margin: 0;
}

.articulo .meta .icono {
  width: 16px;
  height: 16px;
}

.articulo-flecha {
  color: var(--violeta);
}

.proximamente {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--violeta-oscuro);
  background: rgba(138, 63, 217, 0.12);
  border-radius: 999px;
  padding: 1px 9px;
}

.llamada-blog {
  margin-top: 20px;
  padding: 24px 20px;
  text-align: center;
}

.llamada-blog h2 {
  color: var(--violeta-oscuro);
  font-size: 24px;
  font-weight: 600;
}

/* ---------- Páginas legales ---------- */

.legal {
  padding: 22px 20px;
  margin-bottom: 30px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 22px;
  color: var(--violeta-oscuro);
}

.legal ul {
  padding-left: 22px;
  margin: 0 0 12px;
}

.legal li {
  margin-bottom: 6px;
}

.pendiente {
  background: #fff3d6;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 15px;
}

/* ---------- Pie ---------- */

.pie {
  margin-top: 36px;
  background: rgba(55, 22, 100, 0.9);
  color: #e6dcf7;
  padding: 28px 0 24px;
  font-size: 15px;
}

.pie .logo {
  color: var(--blanco);
  text-shadow: none;
}

.pie .enlaces {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 14px 0;
}

.pie a {
  color: var(--blanco);
  text-decoration: none;
}

.pie .copy {
  font-size: 13px;
  opacity: 0.8;
  margin: 0;
}

/* ---------- Barra inferior (móvil) ---------- */

.barra-inferior {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -6px 20px rgba(59, 26, 120, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}

.barra-inferior a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 64px;
  font-size: 12px;
  font-weight: 500;
  color: var(--texto-suave);
  text-decoration: none;
}

.barra-inferior a .icono {
  width: 26px;
  height: 26px;
}

.barra-inferior a.activo {
  color: var(--violeta);
  font-weight: 600;
}

/* Al saltar a un bloque, que no quede pegado arriba */
#apuntate,
#planes,
#como-funciona {
  scroll-margin-top: 60px;
}

/* ==========================================================
   ESCRITORIO
   ========================================================== */

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .barra-inferior,
  .menu-boton,
  .menu-movil,
  .menu-movil.abierto {
    display: none;
  }

  .menu-escritorio {
    display: flex;
    align-items: center;
    gap: 34px;
  }

  .menu-escritorio a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
    text-shadow: 0 1px 8px rgba(40, 10, 80, 0.35);
  }

  .menu-escritorio a.activo {
    font-weight: 600;
  }

  .menu-escritorio .boton {
    margin-left: 12px;
    text-shadow: none;
  }

  .portada {
    padding-top: 110px;
  }

  .portada-foto {
    height: 720px;
    background:
      linear-gradient(180deg, rgba(60, 20, 110, 0.5) 0%, rgba(60, 20, 110, 0) 18%),
      linear-gradient(90deg, rgba(60, 20, 110, 0.6) 0%, rgba(60, 20, 110, 0.25) 38%, rgba(60, 20, 110, 0) 58%),
      linear-gradient(180deg, rgba(247, 220, 239, 0) 72%, rgba(247, 220, 239, 1) 100%),
      url("../img/hero.jpg") center / cover no-repeat,
      var(--degradado-respaldo);
  }

  .rejilla-inicio {
    grid-template-columns: 1fr 1.15fr;
    grid-template-areas:
      "texto formulario"
      "como formulario"
      "planes formulario"
      "nota formulario";
    grid-template-rows: auto auto auto 1fr;
    column-gap: 30px;
    row-gap: 22px;
  }

  .zona-texto {
    padding-bottom: 10px;
  }

  .zona-formulario {
    padding-top: 320px;
  }

  .tarjeta-formulario {
    margin-top: 0;
    padding: 56px 32px 26px;
  }

  .tarjeta-formulario h2 {
    font-size: 36px;
  }

  .portada h1 {
    font-size: 72px;
  }

  .portada .entradilla {
    font-size: 21px;
    max-width: 420px;
  }

  .zona-nota {
    align-self: start;
  }

  .plan-foto {
    height: 140px;
  }

  .ventajas {
    grid-template-columns: repeat(4, 1fr);
    padding: 22px 26px;
  }

  .ventaja {
    font-size: 16px;
  }

  .ventaja + .ventaja {
    border-left: 1px solid rgba(138, 63, 217, 0.18);
    padding-left: 16px;
  }

  .llamada-final {
    padding: 80px 16px 280px;
  }

  .llamada-final h2 {
    font-size: 58px;
  }

  .llamada-final .boton {
    font-size: 22px;
    padding: 16px 36px;
  }

  .lista-tarjetas,
  .articulos {
    grid-template-columns: 1fr 1fr;
  }

  .titulo-pagina h1 {
    font-size: 42px;
  }

  .pagina {
    padding-top: 110px;
  }
}

/* Trazo bajo "Sevilla": curva naranja más gruesa y separada de la palabra */
.portada h1 .resaltado {
  padding-bottom: 0;
}

.portada h1 .trazo {
  position: absolute;
  left: 4%;
  bottom: -14px;
  width: 104%;
  height: 20px;
  margin: 0;
  filter: drop-shadow(0 2px 6px rgba(255, 160, 80, 0.6));
}

.llamada-final .trazo {
  height: 18px;
  width: 190px;
}

/* Logo en imagen */
.logo .icono-logo {
  width: 46px;
  height: auto;
}

@media (min-width: 900px) {
  .logo .icono-logo {
    width: 52px;
  }
}
