/* ============================================================
   FESTALI — Estilos compartidos
   styles.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

@font-face {
  font-family: 'Cocogoose Pro';
  src: url('Cocogoose-Pro-Light-trial.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Cocogoose Pro';
  src: url('Cocogoose-Pro-Regular-trial.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Cocogoose Pro';
  src: url('Cocogoose-Pro-Bold-trial.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* ==================== VARIABLES ==================== */
:root {
  --morado: #4b4495;
  --rosa: #e72268;
  --gradiente: linear-gradient(135deg, #e72268, #4b4495);
  --gradiente-hover: linear-gradient(135deg, #d01e5e, #3d3880);
  --blanco: #ffffff;
  --gris-claro: #f8f6ff;
  --gris-texto: #666;
  --sombra: 0 8px 32px rgba(75, 68, 149, 0.14);
  --sombra-hover: 0 20px 52px rgba(75, 68, 149, 0.26);
  --radio: 18px;
  --transicion: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET ==================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: #fafafa;
  color: #333;
  overflow-x: hidden;
  position: relative;
}

body.form-page {
  background-color: var(--gris-claro);
}

/* ==================== DECORATIVOS ==================== */
.deco-flor,
.deco-estrella {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.055;
  background-repeat: no-repeat;
  background-size: contain;
}

.deco-flor {
  width: 420px;
  height: 420px;
  bottom: -100px;
  left: -90px;
  background-image: url('festali-08.png');
  animation: floatSlow 9s ease-in-out infinite;
}

.deco-estrella {
  width: 360px;
  height: 360px;
  top: 80px;
  right: -70px;
  background-image: url('festali-09.png');
  animation: floatSlow 12s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-22px) rotate(6deg); }
}

/* ==================== HEADER ==================== */
.site-header {
  background: var(--blanco);
  padding: 28px 20px 20px;
  text-align: center;
  box-shadow: 0 2px 18px rgba(75, 68, 149, 0.08);
  position: relative;
  z-index: 10;
}

.logo {
  height: 70px;
  width: auto;
  display: block;
  margin: 0 auto 10px;
  object-fit: contain;
}

.slogan {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: var(--morado);
  font-size: 1rem;
  letter-spacing: 0.5px;
  opacity: 0.82;
}

/* ==================== HERO ==================== */
.hero {
  background: var(--gradiente);
  color: var(--blanco);
  text-align: center;
  padding: 84px 24px 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('festali-09.png') no-repeat center / 560px;
  opacity: 0.045;
}

.hero h1 {
  font-family: 'Cocogoose Pro', 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 18px;
  position: relative;
  text-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

.hero p {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(0.95rem, 2.5vw, 1.18rem);
  font-weight: 400;
  max-width: 580px;
  margin: 0 auto;
  opacity: 0.9;
  position: relative;
  line-height: 1.6;
}

/* ==================== SECCIÓN PAQUETES ==================== */
.paquetes {
  padding: 74px 20px 84px;
  position: relative;
  z-index: 1;
}

.paquetes-titulo {
  text-align: center;
  font-family: 'Cocogoose Pro', 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  color: var(--morado);
  margin-bottom: 10px;
}

.paquetes-subtitulo {
  text-align: center;
  color: var(--gris-texto);
  font-size: 0.98rem;
  margin-bottom: 52px;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* ==================== CARDS ==================== */
.card {
  background: var(--blanco);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 36px 28px 32px;
  position: relative;
  transition: var(--transicion);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradiente);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--sombra-hover);
}

.card:hover::after {
  transform: scaleX(1);
}

.card.destacado {
  border: 2px solid var(--rosa);
  transform: scale(1.04);
  box-shadow: 0 14px 48px rgba(231, 34, 104, 0.2);
}

.card.destacado::after {
  transform: scaleX(1);
}

.card.destacado:hover {
  transform: scale(1.04) translateY(-10px);
  box-shadow: 0 24px 60px rgba(231, 34, 104, 0.28);
}

.badge {
  position: absolute;
  top: -1px;
  right: 22px;
  background: var(--gradiente);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 0 0 10px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.card-icon {
  font-size: 2.1rem;
  margin-bottom: 8px;
}

.card-nombre {
  font-family: 'Cocogoose Pro', 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--morado);
  margin-bottom: 4px;
}

.card-subtitulo {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: var(--gris-texto);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.card-precio {
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--morado);
  margin-bottom: 20px;
  line-height: 1;
}

.card-precio span {
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--rosa);
}

.card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75,68,149,0.25), transparent);
  margin-bottom: 20px;
}

.features-list {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.features-list li {
  padding: 7px 0;
  font-size: 0.87rem;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
  border-bottom: 1px solid #f5f3ff;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li::before {
  content: '✦';
  color: var(--rosa);
  font-size: 0.65rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.btn-contratar {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: var(--gradiente);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  text-align: center;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.6px;
  transition: var(--transicion);
  box-shadow: 0 4px 18px rgba(231, 34, 104, 0.32);
  cursor: pointer;
  border: none;
  text-transform: uppercase;
}

.btn-contratar:hover {
  box-shadow: 0 8px 30px rgba(231, 34, 104, 0.48);
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.link-formulario {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.77rem;
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

.link-formulario:hover {
  color: var(--morado);
  text-decoration: underline;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: linear-gradient(135deg, #2a2760 0%, #4b4495 100%);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  padding: 52px 20px 34px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin: 0 auto 10px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.footer-slogan {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.88rem;
  margin-bottom: 26px;
  opacity: 0.68;
}

.footer-contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.footer-contacto a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-contacto a:hover {
  color: var(--blanco);
}

.footer-copy {
  font-size: 0.76rem;
  opacity: 0.46;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  margin-top: 6px;
}

/* ==================== BANNER PAQUETE ==================== */
.paquete-banner {
  background: var(--gradiente);
  color: white;
  text-align: center;
  padding: 13px 20px;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 5;
}

.paquete-nombre {
  font-family: 'Cocogoose Pro', 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  display: inline-block;
  margin-left: 4px;
}

/* ==================== FORMULARIO ==================== */
.form-container {
  max-width: 700px;
  margin: 40px auto 60px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.form-titulo {
  font-family: 'Cocogoose Pro', 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  color: var(--morado);
  text-align: center;
  margin-bottom: 8px;
}

.form-subtitulo {
  text-align: center;
  color: var(--gris-texto);
  font-size: 0.9rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  margin-bottom: 36px;
  line-height: 1.5;
}

.form-card {
  background: var(--blanco);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 42px 38px;
  overflow: hidden;
}

.form-section-title {
  font-family: 'Cocogoose Pro', 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  color: var(--rosa);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #fde8f0;
}

.form-section-title:first-child {
  margin-top: 0;
}

.form-group {
  margin-bottom: 22px;
  overflow: hidden;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--morado);
  margin-bottom: 7px;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.req {
  color: var(--rosa);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1.5px solid #ddd9f0;
  border-radius: 11px;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  color: #333;
  background: #fdfcff;
  transition: var(--transicion);
  outline: none;
  appearance: auto;
}

input[type="date"].form-control,
input[type="time"].form-control {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
}

.form-control:focus {
  border-color: var(--morado);
  box-shadow: 0 0 0 3px rgba(75, 68, 149, 0.1);
  background: white;
}

.form-control:disabled,
.form-control[readonly] {
  background: #f0eef8;
  color: #888;
  cursor: default;
  border-color: #e5e2f0;
}

textarea.form-control {
  min-height: 106px;
  resize: vertical;
  line-height: 1.55;
}

select.form-control {
  cursor: pointer;
}

.form-hint {
  font-size: 0.74rem;
  color: #aaa;
  margin-top: 5px;
  font-style: italic;
  line-height: 1.45;
}

/* ==================== FILE INPUT ==================== */
.file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 20px;
  border: 2px dashed #c5c0e8;
  border-radius: 12px;
  cursor: pointer;
  background: #fdfcff;
  transition: var(--transicion);
  text-align: center;
}

.file-label:hover {
  border-color: var(--morado);
  background: #f4f2ff;
}

.file-icon {
  font-size: 2rem;
}

.file-label .file-texto {
  font-size: 0.88rem;
  color: var(--morado);
  font-weight: 600;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.file-label .file-min {
  color: #bbb;
  font-size: 0.76rem;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

input[type="file"] {
  display: none;
}

/* ==================== RADIO GROUP ==================== */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-option {
  display: grid;
  grid-template-columns: 22px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  padding: 10px 14px;
  border: 1.5px solid #ddd9f0;
  border-radius: 11px;
  cursor: pointer;
  background: #fdfcff;
  transition: var(--transicion);
}

.radio-option:hover {
  border-color: var(--morado);
  background: #f4f2ff;
}

.radio-option input[type="radio"] {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--morado);
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.radio-option:has(input:checked) {
  border-color: var(--morado);
  background: #f0eeff;
}

.radio-label {
  grid-column: 2;
  grid-row: 1;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  display: block;
}

.radio-desc {
  grid-column: 2;
  grid-row: 2;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.76rem;
  color: #999;
  display: block;
  padding-left: 0;
  margin-top: 0;
}

/* ==================== CHECKBOX TOGGLE ==================== */
.checkbox-option {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid #ddd9f0;
  border-radius: 11px;
  cursor: pointer;
  background: #fdfcff;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  transition: var(--transicion);
  user-select: none;
}

.checkbox-option:hover {
  border-color: var(--morado);
  background: #f4f2ff;
}

.checkbox-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex-shrink: 0;
  accent-color: var(--morado);
  cursor: pointer;
}

.checkbox-option:has(input:checked) {
  border-color: var(--morado);
  background: #f0eeff;
}

/* ==================== PHONE INPUT ==================== */
.phone-input-group {
  display: flex;
  gap: 8px;
}

.phone-prefix {
  flex-shrink: 0;
  padding: 12px 10px;
  border: 1.5px solid #ddd9f0;
  border-radius: 11px;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.88rem;
  color: #333;
  background: #fdfcff;
  transition: var(--transicion);
  outline: none;
  cursor: pointer;
  appearance: auto;
}

.phone-prefix:focus {
  border-color: var(--morado);
  box-shadow: 0 0 0 3px rgba(75, 68, 149, 0.1);
}

.phone-number {
  flex: 1;
}

/* ==================== WIZARD ==================== */
.form-step { display: none; }

.wizard-progress {
  width: 100%;
  height: 5px;
  background: #ddd9f0;
  border-radius: 3px;
  margin-bottom: 8px;
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  background: var(--gradiente);
  border-radius: 3px;
  transition: width 0.35s ease;
  width: 0%;
}

.wizard-step-counter {
  text-align: center;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.75rem;
  color: #aaa;
  margin-bottom: 6px;
}

.wizard-step-title {
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}

.wizard-nav {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn-anterior {
  flex: 1;
  padding: 14px;
  background: #f4f2ff;
  color: var(--morado);
  border: 1.5px solid #ddd9f0;
  border-radius: 50px;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transicion);
}

.btn-anterior:hover {
  background: #e8e4ff;
}

.btn-siguiente {
  flex: 2;
  padding: 14px;
  background: var(--gradiente);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transicion);
  box-shadow: 0 4px 18px rgba(75, 68, 149, 0.3);
}

.btn-siguiente:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
}

/* ==================== BOTÓN ENVIAR ==================== */
.btn-enviar {
  width: 100%;
  padding: 17px;
  background: var(--gradiente);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Cocogoose Pro', 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: var(--transicion);
  box-shadow: 0 4px 22px rgba(231, 34, 104, 0.38);
  margin-top: 34px;
  text-transform: uppercase;
}

.btn-enviar:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(231, 34, 104, 0.5);
}

.btn-enviar:active {
  transform: translateY(0);
}

/* ==================== SPINNER ==================== */
.spinner-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(75, 68, 149, 0.52);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
}

.spinner-overlay.active {
  display: flex;
}

.spinner {
  width: 58px;
  height: 58px;
  border: 5px solid rgba(255,255,255,0.28);
  border-top-color: white;
  border-radius: 50%;
  animation: girar 0.75s linear infinite;
}

.spinner-texto {
  color: white;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

@keyframes girar {
  to { transform: rotate(360deg); }
}

/* ==================== CONFIRMACIÓN ==================== */
.confirmacion {
  display: none;
  text-align: center;
  padding: 60px 20px 40px;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-sizing: border-box;
}

.confirmacion.active {
  display: block;
}

.confirmacion-icono {
  font-size: 5.5rem;
  margin-bottom: 20px;
  display: block;
  animation: rebotar 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes rebotar {
  0% { transform: scale(0) rotate(-10deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.confirmacion h2 {
  font-family: 'Cocogoose Pro', 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.55rem;
  color: var(--morado);
  margin-bottom: 14px;
  line-height: 1.25;
}

.confirmacion .folio-label {
  color: var(--gris-texto);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.folio-display {
  display: inline-block;
  background: var(--gradiente);
  color: white;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 1.7rem;
  padding: 10px 34px;
  border-radius: 50px;
  margin: 4px 0 22px;
  letter-spacing: 4px;
  box-shadow: 0 6px 24px rgba(231, 34, 104, 0.3);
}

.confirmacion-pago-instruccion {
  font-size: 1rem;
  color: var(--gris-texto);
  margin: 18px auto 20px;
  max-width: 400px;
  line-height: 1.5;
}

.btn-pago-mp {
  display: inline-block;
  background-color: #009ee3;
  color: #fff;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 18px rgba(0,158,227,0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-bottom: 14px;
}

.btn-pago-mp:hover {
  background-color: #007ab8;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,158,227,0.45);
}

.confirmacion-metodos-pago {
  font-size: 0.78rem;
  color: var(--gris-texto);
  margin: 6px auto 18px;
  opacity: 0.75;
}

.confirmacion-pago-nota {
  font-size: 0.8rem;
  color: var(--gris-texto);
  max-width: 380px;
  margin: 0 auto 28px;
  line-height: 1.55;
  opacity: 0.85;
}

.confirmacion .confirmacion-desc {
  color: var(--gris-texto);
  font-size: 0.94rem;
  margin-bottom: 34px;
  line-height: 1.65;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.confirmacion-botones {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.btn-wsp {
  background: #25d366;
  color: white;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  transition: var(--transicion);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-wsp:hover {
  background: #1eba58;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.btn-email {
  background: var(--gradiente);
  color: white;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  transition: var(--transicion);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(231, 34, 104, 0.3);
}

.btn-email:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(231, 34, 104, 0.45);
}

.confirmacion-logo {
  height: 46px;
  width: auto;
  opacity: 0.65;
  margin-top: 8px;
}

/* ==================== ERROR STATE ==================== */
.form-control.error {
  border-color: var(--rosa) !important;
  box-shadow: 0 0 0 3px rgba(231, 34, 104, 0.13) !important;
  animation: temblor 0.32s ease;
}

@keyframes temblor {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-6px); }
  75%       { transform: translateX(6px); }
}

/* ==================== EXTRA FIELDS ==================== */
.extra-fields {
  border-top: 1px dashed #e0ddf0;
  margin-top: 4px;
  padding-top: 4px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .cards-container {
    max-width: 700px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
  }
}

@media (max-width: 680px) {
  .cards-container {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .card.destacado {
    transform: scale(1);
    box-shadow: var(--sombra);
  }

  .card.destacado:hover {
    transform: translateY(-10px);
  }

  .hero {
    padding: 60px 20px 72px;
  }

  .paquetes {
    padding: 52px 20px 60px;
  }

  .form-card {
    padding: 28px 16px;
  }

  /* iOS anti-zoom: todos los inputs deben tener font-size >= 16px */
  .form-control,
  .phone-prefix {
    font-size: 16px;
  }

  input[type="date"].form-control,
  input[type="time"].form-control {
    font-size: 16px;
    padding: 12px 10px;
    line-height: normal;
    height: auto;
  }

  .confirmacion-botones {
    flex-direction: column;
    align-items: center;
  }

  .folio-display {
    font-size: 1.35rem;
    padding: 10px 20px;
    max-width: 100%;
    word-break: break-all;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 56px;
  }

  .card {
    padding: 28px 20px 24px;
  }

  .form-titulo {
    font-size: 1.25rem;
  }

  .folio-display {
    font-size: 1.15rem;
    letter-spacing: 2px;
    padding: 10px 16px;
    max-width: 100%;
    word-break: break-all;
  }

  .spinner-texto {
    font-size: 1.25rem;
    padding: 0 20px;
    text-align: center;
  }

  .spam-aviso {
    font-size: 1.05rem;
  }
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: transparent;
}

/* Navbar con fondo blanco solo en la página de formulario */
body.form-page .navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(231,34,104,0.1);
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

/* ==================== LANG SWITCH ==================== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-flag {
  font-size: 1.2rem;
  opacity: 0.28;
  transition: opacity 0.2s, transform 0.15s;
  cursor: pointer !important;
  pointer-events: auto !important;
  user-select: none;
  line-height: 1;
  background: none;
  border: none;
  padding: 0;
  display: inline-block;
}

.lang-flag.active-flag {
  opacity: 1;
}

.lang-flag:hover {
  opacity: 0.75;
  transform: scale(1.18);
}

.lang-flag.active-flag:hover {
  opacity: 1;
  transform: scale(1.08);
}

.lang-div {
  width: 1px;
  height: 13px;
  background: rgba(255,255,255,0.28);
  flex-shrink: 0;
}

body.form-page .lang-div {
  background: rgba(75,68,149,0.22);
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s, opacity 0.2s;
}

.nav-link:hover { opacity: 0.75; }

/* Links rosa solo en formulario */
body.form-page .nav-link { color: #e72268; }
body.form-page .nav-link:hover { color: #c01755; opacity: 0.85; }

.hero-logo {
  height: 70px;
  width: auto;
  max-width: 150px;
  display: block;
  margin: 0 auto 22px;
  filter: brightness(0) invert(1);
}

body.has-navbar {
  padding-top: 58px;
}

/* ==================== BOTONES FLOTANTES ==================== */
.fab-stack {
  position: fixed;
  right: 16px;
  bottom: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.fab {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 3px 14px rgba(0,0,0,0.28);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  opacity: 0.78;
}

.fab:hover {
  transform: scale(1.13);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  opacity: 1;
}

.fab-top {
  background: rgba(75, 68, 149, 0.92);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}

.fab-wsp {
  background: #25d366;
  color: #fff;
}

.fab-email {
  background: #4b4495;
  color: #fff;
  font-size: 0.95rem;
}

/* ==================== VOLVER A INICIO (solo móvil) ==================== */
.btn-volver-inicio {
  display: none;
  text-align: center;
  margin: 20px auto 4px;
  padding: 10px 28px;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.btn-volver-inicio:hover { color: #fff; }

@media (max-width: 768px) {
  .btn-volver-inicio { display: block; }
}

/* ==================== EJEMPLOS (próximamente) ==================== */
.ejemplos {
  padding: 64px 24px;
  text-align: center;
}

.ejemplos-titulo {
  font-family: 'Cocogoose Pro', 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--blanco);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.ejemplos-subtitulo {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin-bottom: 36px;
}

.ejemplos-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
}

.ejemplo-card {
  background: rgba(255,255,255,0.05);
  border: 1.5px dashed rgba(255,255,255,0.18);
  border-radius: 18px;
  width: 230px;
  height: 155px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.38);
  font-size: 0.82rem;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-style: italic;
}

.ejemplo-icon {
  font-size: 2rem;
  opacity: 0.45;
}

/* ==================== FOTO PREVIEW GRID ==================== */
.foto-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.foto-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.foto-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.foto-preview-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  background: rgba(231,34,104,0.92);
  color: white;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.foto-preview-remove:hover {
  background: #c01060;
}

/* ==================== SPAM AVISO ==================== */
.spam-aviso {
  background: #fff3cd;
  border: 1.5px solid #f0c040;
  border-radius: 10px;
  color: #7a5000;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 18px;
  margin: 12px auto 20px;
  max-width: 400px;
  line-height: 1.5;
  font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

