/* ============================================================
   Galería de Emprendedores — Quinta de Tilcoco
   Design System + Componentes
   ============================================================ */

/* --- Variables / Design Tokens --- */
:root {
  /* Nuevos tokens — Editorial Organicism */
  --color-primary:           #25521f;
  --color-primary-dark:      #1a3d15;
  --color-primary-container: #3d6b35;
  --color-primary-fixed:     #bcf1ad;
  --color-secondary:         #98470f;
  --color-terra:             #E8854A;
  --color-gold:              #C9A44A;

  /* Superficie */
  --color-surface:                  #fff8f5;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low:    #faf2ee;
  --color-surface-container:        #f4ece8;
  --color-surface-container-high:   #eee7e3;
  --color-surface-container-highest:#e9e1dd;
  --color-surface-dim:               #e0d8d5;

  /* Texto */
  --color-on-surface:         #1e1b19;
  --color-on-surface-variant: #42493e;
  --color-outline:            #72796d;
  --color-outline-variant:    #c2c9bb;

  /* Legado — compatibilidad */
  --color-card:        #FFFFFF;
  --color-text:        #1e1b19;
  --color-muted:       #42493e;
  --color-placeholder: #72796d;
  --color-border:      #c2c9bb;

  --radius-card:   1rem;
  --radius-btn:    0.625rem;
  --radius-pill:   999px;
  --shadow-card:   0 2px 20px rgba(30,27,25,0.06);
  --shadow-hover:  0 20px 40px rgba(30,27,25,0.06);
  --transition:    250ms cubic-bezier(0.4, 0, 0.2, 1);

  --section-gap:   clamp(3rem, 8vw, 5.5rem);
}

/* --- Reset mínimo adicional --- */
*, *::before, *::after { box-sizing: border-box; }
img, video { display: block; max-width: 100%; }
button { cursor: pointer; }

/* --- Tipografía global --- */
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--color-on-surface);
  background-color: var(--color-surface);
  line-height: 1.6;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.15;
}

/* --- Focus visible (accesibilidad WCAG 2.2) --- */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Utilidad screen reader only --- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
.sr-only.focus\:not-sr-only:focus {
  position: static;
  width: auto; height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ============================================================
   COMPONENTE: Producer Card
   ============================================================ */
.producer-card {
  background: var(--color-surface-container-lowest);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.producer-card:focus-within {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.producer-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e5e0d8;
}

.producer-card__image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.producer-card:hover .producer-card__image-wrap img {
  transform: scale(1.04);
}

.producer-card__category {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.producer-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.producer-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
}

.producer-card__sector {
  font-size: 0.78rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.producer-card__desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.producer-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   COMPONENTE: Botones
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-btn);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }

.btn-terra {
  background: var(--color-terra);
  color: #fff;
}
.btn-terra:hover { background: #d4733a; color: #fff; }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1fba57; color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--color-muted);
  border-color: transparent;
  font-weight: 500;
}
.btn-ghost:hover { color: var(--color-primary); }

.btn-sm {
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
}

.btn-pill { border-radius: var(--radius-pill); }

/* ============================================================
   COMPONENTE: Category Chip
   ============================================================ */
.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--color-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  min-height: 44px;
}

.category-chip:hover,
.category-chip.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #f0f5ef;
}

.category-chip .count {
  font-size: 0.72rem;
  color: var(--color-placeholder);
  font-weight: 400;
}

/* ============================================================
   COMPONENTE: Hero (Home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-color: #2b4a23;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.35;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42rem;
  padding: 4rem 1.5rem;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}

/* Buscador hero */
.hero__search {
  display: flex;
  gap: 0;
  max-width: 34rem;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  overflow: hidden;
}

.hero__search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.875rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text);
  background: transparent;
  min-height: 52px;
}

.hero__search button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  min-height: 52px;
  white-space: nowrap;
}

.hero__search button:hover { background: var(--color-primary-dark); }

/* ============================================================
   COMPONENTE: Section
   ============================================================ */
.section {
  padding: var(--section-gap) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terra);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   COMPONENTE: Producer Grid
   ============================================================ */
.producer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .producer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   COMPONENTE: Form
   ============================================================ */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.form-required { color: var(--color-terra); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  background: var(--color-card);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 44px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(61,107,53,0.12);
}

.form-input.error, .form-select.error, .form-textarea.error {
  border-color: #DC2626;
}

.form-error {
  font-size: 0.78rem;
  color: #DC2626;
  margin-top: 0.25rem;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.form-textarea { resize: vertical; min-height: 100px; }

.form-group { margin-bottom: 1.25rem; }

/* Char counter */
.char-counter {
  font-size: 0.72rem;
  color: var(--color-placeholder);
  text-align: right;
  margin-top: 0.2rem;
}

.char-counter.warn { color: var(--color-terra); }

/* ============================================================
   COMPONENTE: Flash message
   ============================================================ */
.flash {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-btn);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.flash-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.flash-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.flash-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* ============================================================
   COMPONENTE: Badge / Status
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-published { background: #dcfce7; color: #166534; }
.badge-pending   { background: #fef3c7; color: #92400e; }
.badge-rejected  { background: #fee2e2; color: #991b1b; }

/* ============================================================
   COMPONENTE: Lightbox (galería de fotos)
   ============================================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: min(900px, 95vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.25); }

.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ============================================================
   COMPONENTE: Spinner de carga
   ============================================================ */
.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* ============================================================
   COMPONENTE: Cómo funciona (Home)
   ============================================================ */
.how-step {
  text-align: center;
  padding: 0 1rem;
}

.how-step__number {
  width: 3rem; height: 3rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.how-step__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.how-step__desc {
  font-size: 0.88rem;
  color: var(--color-muted);
}

/* ============================================================
   ANIMACIONES de entrada
   ============================================================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE: Directorio con sidebar de filtros
   ============================================================ */
.directory-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .directory-layout {
    grid-template-columns: 240px 1fr;
  }
}

.filter-sidebar {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
}

.filter-group { margin-bottom: 1.25rem; }
.filter-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

/* ============================================================
   Admin panel
   ============================================================ */
.admin-layout {
  min-height: 100vh;
  background: #f8f9fa;
  font-family: 'Inter', sans-serif;
}

.admin-topbar {
  background: var(--color-primary);
  color: #fff;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.admin-table th {
  background: #f8f9fa;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.admin-table td {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafaf9; }

/* Stats cards admin */
.stat-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--color-primary);
}

.stat-card__number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.stat-card__label {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 4px;
}

/* ============================================================
   HOME — Rediseño Editorial Organicism
   ============================================================ */

/* El spacer del nav fijo se oculta cuando el hero se solapa (-mt-16) */
.hero ~ .nav-spacer,
section:first-child ~ .nav-spacer { display: none; }

/* Animación de entrada para cards */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Legado hero (mantenido para compatibilidad) */
.hero__accent {
  font-style: italic;
  color: var(--color-gold);
}

/* Badge eyebrow del hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 9999px;
  padding: 5px 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
}

/* Buscador glassmorphism */
.hero__search-glass {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 9999px;
  padding: 6px 6px 6px 20px;
  transition: background 0.2s, border-color 0.2s;
}

.hero__search-glass:focus-within {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.45);
}

.hero__search-glass input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.9rem;
  min-width: 0;
  min-height: 36px;
}

.hero__search-glass input::placeholder { color: rgba(255,255,255,0.6); }

.hero__search-glass button {
  background: var(--color-terra);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.hero__search-glass button:hover { background: #d4763c; }

/* Stats row */
.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 0.77rem;
  color: rgba(255,255,255,0.88);
}

.hero-stat strong { color: var(--color-gold); font-weight: 700; }

/* Categorías en grid de cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

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

.cat-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 1rem;
  padding: 1rem 0.4rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
  min-height: 44px;
}

.cat-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(61,107,53,0.12);
  background: #f0f5ef;
}

.cat-card__emoji {
  font-size: 1.5rem;
  line-height: 1;
  display: block;
}

.cat-card__name {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

.cat-card__count {
  font-size: 0.62rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* Producer card v2: hover con borde dorado */
.producer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
  border-color: var(--color-gold);
}

/* Chips dentro del cuerpo de la card */
.card-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FBF5E6;
  color: #8a6d2a;
  border: 1px solid #e8d9a0;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
}

.card-wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 600;
}

/* Botón icono WhatsApp */
.btn-wa-icon {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 0.75rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-wa-icon:hover { background: #dcfce7; color: #16a34a; }

/* CTA Banner redondeado */
.cta-banner {
  background: linear-gradient(135deg, #3D6B35 0%, #2e5228 100%);
  border-radius: 1.5rem;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: rgba(201,164,74,0.15);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -70px; left: -40px;
  width: 250px; height: 250px;
  background: rgba(232,133,74,0.1);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner__inner { position: relative; z-index: 1; }

.cta-banner__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.cta-banner__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-banner__desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn-glass {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25) !important;
  color: #fff !important;
}
.btn-glass:hover {
  background: rgba(255,255,255,0.22);
  color: #fff !important;
}

/* How-it-works v2 con íconos y conector */
.how-steps-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 640px) {
  .how-steps-v2 {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}

.how-step-v2 {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
}

.how-step-v2__icon {
  width: 56px; height: 56px;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.how-step-v2__icon--green { background: #EBF3E8; }
.how-step-v2__icon--terra { background: #FDF0E8; }
.how-step-v2__icon--gold  { background: #FBF5E6; }

.how-step-v2__label {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.88rem;
  margin-bottom: 0.375rem;
}

.how-step-v2__desc {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.how-connector {
  display: none;
  width: 2.5rem;
  height: 1.5px;
  flex-shrink: 0;
  margin-top: 27px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--color-border) 0,
    var(--color-border) 5px,
    transparent 5px,
    transparent 10px
  );
}

@media (min-width: 640px) { .how-connector { display: block; } }

/* ============================================================
   Location Picker (unete.php + admin/editar.php)
   ============================================================ */
.location-picker-wrap {
  background: #f8fdf6;
  border: 1.5px solid #c8e0c2;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-top: 0.5rem;
}

#location-map {
  z-index: 0; /* bajo el header sticky */
}

#location-search-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
