/*
 * styles.css — Estilos globales de QR Peluditos
 * Mobile-first. Todos los breakpoints parten desde 320px.
 * Fuentes: Bricolage Grotesque (títulos) + Plus Jakarta Sans (cuerpo)
 */

/* ──────────────────────────────────────────────
   VARIABLES Y TOKENS DE DISEÑO
────────────────────────────────────────────── */

:root {
  /* Paleta de color */
  --verde-profundo:   #1A3C34;   /* principal, fondos oscuros */
  --verde-medio:      #2D6A4F;   /* botones secundarios, hover */
  --verde-suave:      #52B788;   /* acentos verdes, éxito */
  --terracota:        #D4663A;   /* CTA principal, énfasis */
  --terracota-claro:  #E8965A;   /* hover terracota */
  --crema:            #FDFAF5;   /* fondo principal */
  --crema-oscura:     #F0EBE0;   /* fondos de sección alternos */
  --arena:            #C9B99A;   /* bordes suaves */
  --texto-oscuro:     #1A1A1A;   /* cuerpo de texto */
  --texto-medio:      #4A4A4A;   /* subtextos */
  --texto-suave:      #787878;   /* hints, labels */
  --blanco:           #FFFFFF;

  /* Tipografía */
  --fuente-titulo: 'Bricolage Grotesque', 'Georgia', serif;
  --fuente-cuerpo: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;

  /* Tamaños de fuente — escala móvil */
  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-lg:   1.125rem;  /* 18px */
  --fs-xl:   1.375rem;  /* 22px */
  --fs-2xl:  1.75rem;   /* 28px */
  --fs-3xl:  2.25rem;   /* 36px */
  --fs-4xl:  3rem;      /* 48px */

  /* Espaciado */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radios */
  --radio-sm:   6px;
  --radio-md:   12px;
  --radio-lg:   20px;
  --radio-xl:   32px;
  --radio-full: 9999px;

  /* Sombras */
  --sombra-sm:  0 1px 3px rgba(26, 60, 52, 0.08), 0 1px 2px rgba(26, 60, 52, 0.06);
  --sombra-md:  0 4px 16px rgba(26, 60, 52, 0.10), 0 2px 6px rgba(26, 60, 52, 0.06);
  --sombra-lg:  0 10px 40px rgba(26, 60, 52, 0.14), 0 4px 12px rgba(26, 60, 52, 0.08);
  --sombra-btn: 0 4px 14px rgba(212, 102, 58, 0.35);

  /* Transiciones */
  --trans-rapida:  150ms ease;
  --trans-normal:  250ms ease;
  --trans-suave:   400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --ancho-max:     1200px;
  --ancho-contenido: 760px;
  --padding-seccion: var(--sp-16) var(--sp-4);
}

/* ──────────────────────────────────────────────
   RESET Y BASE
────────────────────────────────────────────── */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fuente-cuerpo);
  background-color: var(--crema);
  color: var(--texto-oscuro);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografía base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fuente-titulo);
  line-height: 1.2;
  color: var(--verde-profundo);
  font-weight: 700;
}

p { max-width: 68ch; }
a { color: var(--verde-medio); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Listas sin estilo base (se usa en múltiples contextos) */
.lista-sin-estilo {
  list-style: none;
}

/* ──────────────────────────────────────────────
   CONTENEDORES Y LAYOUT
────────────────────────────────────────────── */

.contenedor {
  width: 100%;
  max-width: var(--ancho-max);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.contenedor--angosto {
  max-width: var(--ancho-contenido);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.seccion {
  padding: var(--padding-seccion);
}

.seccion--oscura {
  background-color: var(--verde-profundo);
  color: var(--blanco);
}
.seccion--oscura h1,
.seccion--oscura h2,
.seccion--oscura h3 {
  color: var(--blanco);
}

.seccion--crema-oscura {
  background-color: var(--crema-oscura);
}

.encabezado-seccion {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.encabezado-seccion h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-3);
}

.encabezado-seccion p {
  font-size: var(--fs-lg);
  color: var(--texto-medio);
  margin: 0 auto;
}

/* ──────────────────────────────────────────────
   HEADER / NAVEGACIÓN
────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 245, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--crema-oscura);
  padding: var(--sp-3) 0;
  transition: box-shadow var(--trans-normal);
}

.header.scrolled {
  box-shadow: var(--sombra-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

/* Logo */
.logo {
  font-family: var(--fuente-titulo);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--verde-profundo);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
}

.logo:hover { text-decoration: none; }

.logo__icono {
  font-size: 1.5rem;
  line-height: 1;
}

.logo__qr {
  color: var(--terracota);
}

/* Navegación escritorio */
.nav {
  display: none;
  align-items: center;
  gap: var(--sp-6);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--texto-medio);
  text-decoration: none;
  transition: color var(--trans-rapida);
  letter-spacing: 0.01em;
}

.nav__link:hover {
  color: var(--verde-profundo);
  text-decoration: none;
}

/* Acciones del header */
.header__acciones {
  display: none;
  align-items: center;
  gap: var(--sp-3);
}

/* Botón hamburguesa móvil */
.btn-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--sp-2);
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: var(--radio-sm);
  transition: background var(--trans-rapida);
}

.btn-menu:hover { background: var(--crema-oscura); }

.btn-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--verde-profundo);
  border-radius: 2px;
  transition: transform var(--trans-normal), opacity var(--trans-normal);
}

.btn-menu.abierto span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btn-menu.abierto span:nth-child(2) { opacity: 0; }
.btn-menu.abierto span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil desplegable */
.nav-movil {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--crema);
  z-index: 99;
  flex-direction: column;
  padding: var(--sp-20) var(--sp-6) var(--sp-8);
  overflow-y: auto;
}

.nav-movil.visible {
  display: flex;
}

.nav-movil__link {
  font-family: var(--fuente-titulo);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--verde-profundo);
  text-decoration: none;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--crema-oscura);
  display: block;
  transition: color var(--trans-rapida);
}

.nav-movil__link:hover { color: var(--terracota); text-decoration: none; }

.nav-movil__cerrar {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--texto-medio);
  padding: var(--sp-2);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radio-sm);
}

.nav-movil__ctas {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* ──────────────────────────────────────────────
   BOTONES
────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--fuente-cuerpo);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radio-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--trans-normal), background var(--trans-normal),
              box-shadow var(--trans-normal), border-color var(--trans-normal);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px; /* Accesibilidad táctil */
}

.btn:hover { text-decoration: none; }

.btn:active {
  transform: scale(0.97);
}

/* Botón primario — terracota */
.btn--primario {
  background: var(--terracota);
  color: var(--blanco);
  box-shadow: var(--sombra-btn);
}
.btn--primario:hover {
  background: var(--terracota-claro);
  box-shadow: 0 6px 20px rgba(212, 102, 58, 0.45);
  transform: translateY(-2px);
}

/* Botón secundario — verde outline */
.btn--secundario {
  background: transparent;
  color: var(--verde-profundo);
  border-color: var(--verde-profundo);
}
.btn--secundario:hover {
  background: var(--verde-profundo);
  color: var(--blanco);
}

/* Botón fantasma — solo texto */
.btn--fantasma {
  background: transparent;
  color: var(--texto-medio);
  padding-left: 0;
  padding-right: 0;
}
.btn--fantasma:hover { color: var(--verde-profundo); }

/* Variante sobre fondo oscuro */
.btn--blanco {
  background: var(--blanco);
  color: var(--verde-profundo);
  border-color: var(--blanco);
}
.btn--blanco:hover {
  background: var(--crema-oscura);
}

/* Botón WhatsApp */
.btn--whatsapp {
  background: #25D366;
  color: var(--blanco);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}

/* Botón llamada */
.btn--llamar {
  background: var(--verde-medio);
  color: var(--blanco);
}
.btn--llamar:hover {
  background: var(--verde-profundo);
  transform: translateY(-2px);
}

/* Botón pequeño */
.btn--sm {
  font-size: var(--fs-sm);
  padding: 0.6rem 1.1rem;
  min-height: 40px;
}

/* Botón ancho completo */
.btn--bloque {
  width: 100%;
}

/* Estado cargando */
.btn--cargando {
  opacity: 0.75;
  pointer-events: none;
}

.btn__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: girar 0.7s linear infinite;
}

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

/* ──────────────────────────────────────────────
   FORMULARIOS
────────────────────────────────────────────── */

.campo {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.campo__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--verde-profundo);
  letter-spacing: 0.01em;
}

.campo__requerido {
  color: var(--terracota);
  margin-left: 2px;
}

.campo__input,
.campo__select,
.campo__textarea {
  width: 100%;
  font-family: var(--fuente-cuerpo);
  font-size: var(--fs-base);
  color: var(--texto-oscuro);
  background: var(--blanco);
  border: 2px solid var(--arena);
  border-radius: var(--radio-md);
  padding: 0.75rem 1rem;
  transition: border-color var(--trans-rapida), box-shadow var(--trans-rapida);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  min-height: 48px;
}

.campo__input:focus,
.campo__select:focus,
.campo__textarea:focus {
  border-color: var(--verde-medio);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.campo__input.error,
.campo__select.error,
.campo__textarea.error {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.10);
}

.campo__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A4A4A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.campo__textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.campo__hint {
  font-size: var(--fs-xs);
  color: var(--texto-suave);
}

.campo__error {
  font-size: var(--fs-xs);
  color: #DC2626;
  display: none;
}

.campo__error.visible {
  display: block;
}

/* Contador de caracteres */
.campo__contador {
  font-size: var(--fs-xs);
  color: var(--texto-suave);
  text-align: right;
  margin-top: calc(-1 * var(--sp-1));
}

/* Checkbox personalizado */
.campo--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--sp-3);
}

.campo--checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  accent-color: var(--verde-medio);
  cursor: pointer;
  margin-top: 2px;
}

.campo--checkbox .campo__label {
  font-weight: 400;
  color: var(--texto-medio);
  cursor: pointer;
  font-size: var(--fs-sm);
}

/* Grupo de formulario — separador visual */
.campo-grupo {
  border: 1px solid var(--crema-oscura);
  border-radius: var(--radio-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-6);
  background: var(--blanco);
}

.campo-grupo__titulo {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--verde-profundo);
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* ──────────────────────────────────────────────
   TARJETAS
────────────────────────────────────────────── */

.tarjeta {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra-md);
  padding: var(--sp-8);
  border: 1px solid var(--crema-oscura);
}

.tarjeta--compacta {
  padding: var(--sp-5);
}

.tarjeta--destacada {
  border-color: var(--terracota);
  box-shadow: var(--sombra-lg);
}

/* ──────────────────────────────────────────────
   MENSAJES DE ESTADO
────────────────────────────────────────────── */

.mensaje-estado {
  border-radius: var(--radio-md);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: 600;
  display: none;
  align-items: flex-start;
  gap: var(--sp-3);
  line-height: 1.5;
}

.mensaje-estado.visible {
  display: flex;
}

.mensaje-estado--exito {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.mensaje-estado--error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.mensaje-estado--info {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

.mensaje-estado--advertencia {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}

/* ──────────────────────────────────────────────
   BADGES / ETIQUETAS
────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radio-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge--activo {
  background: #ECFDF5;
  color: #065F46;
}

.badge--inactivo {
  background: #FEF2F2;
  color: #991B1B;
}

.badge--nuevo {
  background: #FEF3C7;
  color: #92400E;
}

/* ──────────────────────────────────────────────
   HERO
────────────────────────────────────────────── */

.hero {
  padding: var(--sp-16) 0 var(--sp-12);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__contenido {
  position: relative;
  z-index: 1;
}

.hero__etiqueta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(26, 60, 52, 0.08);
  color: var(--verde-profundo);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radio-full);
  margin-bottom: var(--sp-5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(var(--fs-2xl), 5vw, var(--fs-4xl));
  line-height: 1.1;
  margin-bottom: var(--sp-5);
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--terracota);
}

.hero__sub {
  font-size: var(--fs-lg);
  color: var(--texto-medio);
  margin-bottom: var(--sp-8);
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
}

.hero__prueba-social {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--texto-suave);
}

.hero__avatares {
  display: flex;
  margin-right: var(--sp-2);
}

.hero__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--blanco);
  background: var(--crema-oscura);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-right: -8px;
}

/* ──────────────────────────────────────────────
   CÓMO FUNCIONA — PASOS
────────────────────────────────────────────── */

.pasos {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

.paso {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
}

.paso__numero {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radio-full);
  background: var(--verde-profundo);
  color: var(--blanco);
  font-family: var(--fuente-titulo);
  font-size: var(--fs-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paso__contenido h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
}

.paso__contenido p {
  color: var(--texto-medio);
  font-size: var(--fs-base);
}

/* ──────────────────────────────────────────────
   BENEFICIOS — GRID DE ÍCONOS
────────────────────────────────────────────── */

.beneficios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.beneficio {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.beneficio__icono {
  width: 48px;
  height: 48px;
  border-radius: var(--radio-md);
  background: rgba(26, 60, 52, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.beneficio h3 {
  font-size: var(--fs-base);
  color: var(--verde-profundo);
}

.beneficio p {
  font-size: var(--fs-sm);
  color: var(--texto-medio);
}

/* ──────────────────────────────────────────────
   PRECIOS
────────────────────────────────────────────── */

.precios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.precio-tarjeta {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: var(--sp-8);
  border: 2px solid var(--crema-oscura);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color var(--trans-normal), box-shadow var(--trans-normal);
}

.precio-tarjeta:hover {
  border-color: var(--verde-suave);
  box-shadow: var(--sombra-md);
}

.precio-tarjeta--popular {
  border-color: var(--terracota);
  position: relative;
}

.precio-tarjeta--popular::before {
  content: '⭐ Más popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracota);
  color: var(--blanco);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radio-full);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.precio-tarjeta__nombre {
  font-family: var(--fuente-titulo);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--verde-profundo);
}

.precio-tarjeta__precio {
  font-family: var(--fuente-titulo);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--verde-profundo);
  line-height: 1;
}

.precio-tarjeta__precio span {
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--texto-suave);
}

.precio-tarjeta__descripcion {
  font-size: var(--fs-sm);
  color: var(--texto-medio);
}

.precio-tarjeta__lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}

.precio-tarjeta__lista li {
  font-size: var(--fs-sm);
  color: var(--texto-medio);
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
}

.precio-tarjeta__lista li::before {
  content: '✓';
  color: var(--verde-suave);
  font-weight: 700;
  min-width: 16px;
  margin-top: 1px;
}

/* ──────────────────────────────────────────────
   FAQ — ACORDEÓN
────────────────────────────────────────────── */

.faq-lista {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--crema-oscura);
  border-radius: var(--radio-md);
  overflow: hidden;
  background: var(--blanco);
}

.faq-item__pregunta {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: var(--sp-5) var(--sp-6);
  font-family: var(--fuente-cuerpo);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--verde-profundo);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  transition: background var(--trans-rapida);
  -webkit-tap-highlight-color: transparent;
}

.faq-item__pregunta:hover {
  background: var(--crema-oscura);
}

.faq-item__icono {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--crema-oscura);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: transform var(--trans-normal), background var(--trans-normal);
}

.faq-item.abierto .faq-item__icono {
  transform: rotate(45deg);
  background: var(--terracota);
  color: var(--blanco);
}

.faq-item__respuesta {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--trans-suave);
}

.faq-item.abierto .faq-item__respuesta {
  max-height: 400px;
}

.faq-item__respuesta-inner {
  padding: 0 var(--sp-6) var(--sp-5);
  color: var(--texto-medio);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* ──────────────────────────────────────────────
   PERFIL PÚBLICO
────────────────────────────────────────────── */

.perfil-pagina {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.perfil-header {
  background: var(--verde-profundo);
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
  color: var(--blanco);
}

.perfil-header__marca {
  font-family: var(--fuente-titulo);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.perfil-mascota {
  max-width: 480px;
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-4);
  flex: 1;
}

.perfil-mascota__emoji {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--crema-oscura);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto var(--sp-5);
  border: 4px solid var(--blanco);
  box-shadow: var(--sombra-md);
}

.perfil-mascota__nombre {
  font-size: var(--fs-3xl);
  text-align: center;
  color: var(--verde-profundo);
  margin-bottom: var(--sp-2);
}

.perfil-mascota__tipo {
  text-align: center;
  color: var(--texto-suave);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-5);
  text-transform: capitalize;
}

.perfil-mascota__mensaje {
  background: var(--crema-oscura);
  border-radius: var(--radio-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-8);
  font-size: var(--fs-base);
  color: var(--texto-oscuro);
  line-height: 1.6;
  text-align: center;
  border-left: 4px solid var(--terracota);
}

.perfil-mascota__acciones {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.perfil-mascota__privacidad {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--crema-oscura);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--texto-suave);
  line-height: 1.6;
}

/* Modal de reporte */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 60, 52, 0.65);
  z-index: 200;
  padding: var(--sp-4);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.visible {
  display: flex;
}

.modal {
  background: var(--blanco);
  border-radius: var(--radio-xl);
  padding: var(--sp-8);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalEntrar 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalEntrar {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.modal__titulo {
  font-size: var(--fs-xl);
  color: var(--verde-profundo);
  margin-bottom: var(--sp-2);
}

.modal__subtitulo {
  font-size: var(--fs-sm);
  color: var(--texto-medio);
  margin-bottom: var(--sp-6);
}

.modal__acciones {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

/* ──────────────────────────────────────────────
   FORMULARIO DE ACTIVACIÓN / EDICIÓN
────────────────────────────────────────────── */

.pagina-formulario {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-4) var(--sp-16);
}

.pagina-formulario__encabezado {
  margin-bottom: var(--sp-8);
}

.pagina-formulario__encabezado h1 {
  font-size: var(--fs-2xl);
  color: var(--verde-profundo);
  margin-bottom: var(--sp-3);
}

.pagina-formulario__encabezado p {
  color: var(--texto-medio);
  font-size: var(--fs-base);
}

/* Indicador de progreso de activación */
.progreso {
  display: flex;
  align-items: center;
  margin-bottom: var(--sp-8);
  overflow-x: auto;
  gap: 0;
}

.progreso__paso {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.progreso__burbuja {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--crema-oscura);
  color: var(--texto-suave);
  font-size: var(--fs-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-normal), color var(--trans-normal);
}

.progreso__paso.activo .progreso__burbuja {
  background: var(--verde-profundo);
  color: var(--blanco);
}

.progreso__paso.completado .progreso__burbuja {
  background: var(--verde-suave);
  color: var(--blanco);
}

.progreso__linea {
  flex: 1;
  height: 2px;
  background: var(--crema-oscura);
  margin: 0 var(--sp-2);
  transition: background var(--trans-normal);
}

.progreso__paso.completado ~ .progreso__linea {
  background: var(--verde-suave);
}

/* ──────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────── */

.footer {
  background: var(--verde-profundo);
  color: rgba(255,255,255,0.75);
  padding: var(--sp-12) 0 var(--sp-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}

.footer__marca .logo {
  color: var(--blanco);
  margin-bottom: var(--sp-4);
}

.footer__descripcion {
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 300px;
}

.footer__titulo-columna {
  font-family: var(--fuente-titulo);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: var(--sp-4);
  letter-spacing: 0.02em;
}

.footer__lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__lista a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--trans-rapida);
}

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

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: center;
  text-align: center;
  font-size: var(--fs-xs);
}

.footer__aviso {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  max-width: 600px;
  text-align: center;
}

/* ──────────────────────────────────────────────
   UTILIDADES
────────────────────────────────────────────── */

.texto-centro { text-align: center; }
.texto-suave  { color: var(--texto-suave); }
.texto-medio  { color: var(--texto-medio); }

.margen-abajo-8  { margin-bottom: var(--sp-8); }
.margen-arriba-8 { margin-top: var(--sp-8); }

.divider {
  border: none;
  border-top: 1px solid var(--crema-oscura);
  margin: var(--sp-8) 0;
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--crema-oscura) 25%, var(--arena) 50%, var(--crema-oscura) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: var(--radio-sm);
}

@keyframes skeleton-pulse {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Ocultar visualmente pero mantener en DOM para lectores de pantalla */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ──────────────────────────────────────────────
   ANIMACIONES DE ENTRADA
────────────────────────────────────────────── */

.animar-entrada {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animar-entrada.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ──────────────────────────────────────────────
   BREAKPOINTS — TABLET (640px+)
────────────────────────────────────────────── */

@media (min-width: 640px) {
  .precios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pasos {
    grid-template-columns: repeat(2, 1fr);
  }

  .pagina-formulario {
    padding: var(--sp-10) var(--sp-6) var(--sp-16);
  }
}

/* ──────────────────────────────────────────────
   BREAKPOINTS — ESCRITORIO (1024px+)
────────────────────────────────────────────── */

@media (min-width: 1024px) {
  :root {
    --padding-seccion: var(--sp-24) var(--sp-6);
  }

  /* Mostrar nav escritorio */
  .nav { display: flex; }
  .header__acciones { display: flex; }
  .btn-menu { display: none; }

  .hero {
    padding: var(--sp-24) 0 var(--sp-20);
  }

  .hero h1 {
    font-size: var(--fs-4xl);
  }

  .encabezado-seccion h2 {
    font-size: var(--fs-3xl);
  }

  .precios-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pasos {
    grid-template-columns: repeat(4, 1fr);
  }

  .beneficios-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
