/* ═══════════════════════════════════════════════════════════════
   Daniela Lopez Academy — Componentes UI
   Botones, Cards, Formularios, Badges, Alerts, Nav
   ═══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════
   BOTONES
   ══════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.3px;
  -webkit-user-select: none;
  user-select: none;
}

/* Efecto shimmer en hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 150%;
}

/* Tamaños */
.btn-sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}

.btn-md {
  padding: 12px 28px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

.btn-xl {
  padding: 18px 48px;
  font-size: 1.05rem;
}

/* Variantes */
.btn-primary {
  background: var(--verde);
  color: var(--white);
  border-color: var(--verde);
  box-shadow: 0 4px 16px rgba(45, 76, 71, 0.25);
}

.btn-primary:hover {
  background: var(--verde-dark);
  border-color: var(--verde-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 76, 71, 0.35);
}

.btn-mauve {
  background: var(--mauve);
  color: var(--white);
  border-color: var(--mauve);
  box-shadow: 0 4px 16px rgba(189, 154, 150, 0.3);
}

.btn-mauve:hover {
  background: var(--mauve-dark);
  border-color: var(--mauve-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-mauve);
}

.btn-outline {
  background: transparent;
  color: var(--verde);
  border-color: var(--verde);
}

.btn-outline:hover {
  background: var(--verde);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--verde-dark);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-body);
  border-color: var(--beige);
}

.btn-ghost:hover {
  background: var(--beige-light);
  border-color: var(--beige);
  color: var(--text-dark);
}

.btn-white {
  background: var(--white);
  color: var(--verde);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Estado deshabilitado */
.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
}

/* Botón solo ícono */
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--beige);
  background: var(--white);
  color: var(--text-body);
}

.btn-icon:hover {
  border-color: var(--mauve);
  color: var(--mauve);
  background: var(--beige-light);
}

/* Botón con spinner de carga */
.btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

/* ══════════════════════════════════════════
   CARDS DE PRODUCTO
   ══════════════════════════════════════════ */

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(218, 203, 189, 0.4);
}

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

.card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--beige-light);
  flex-shrink: 0;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-thumb img {
  transform: scale(1.05);
}

/* Overlay hover sobre la imagen */
.card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 51, 48, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover .card-thumb-overlay {
  opacity: 1;
}

/* Emoji placeholder cuando no hay imagen */
.card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--beige-light), var(--beige));
}

/* Badges sobre la imagen */
.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

/* Botón de favorito */
.card-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition-base);
  z-index: 2;
}

.card-fav:hover {
  background: var(--white);
  transform: scale(1.15);
}

.card-body {
  padding: var(--space-md) var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.card-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mauve);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta info: duración, dificultad */
.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Info para presenciales */
.card-event-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 10px 12px;
  background: var(--beige-light);
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

.card-event-info strong {
  color: var(--verde);
}

/* Barra de cupos */
.card-slots {
  margin-top: 2px;
}

.card-slots-bar {
  height: 4px;
  background: var(--beige);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 4px;
}

.card-slots-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--verde), var(--mauve));
  border-radius: var(--radius-full);
}

.card-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--beige-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.card-price {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.card-price .original {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.card-price .current {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--verde);
  font-family: var(--font-display);
}

.card-price .current.has-discount {
  color: var(--mauve-dark);
}

/* ══════════════════════════════════════════
   BADGES Y TAGS
   ══════════════════════════════════════════ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-verde    { background: var(--verde);       color: var(--white); }
.badge-mauve    { background: var(--mauve);       color: var(--white); }
.badge-beige    { background: var(--beige);       color: var(--verde-dark); }
.badge-dark     { background: var(--dark);        color: var(--beige-light); }
.badge-white    { background: rgba(255,255,255,0.9); color: var(--verde-dark); }
.badge-success  { background: #d1f0e0; color: #0a5c36; }
.badge-warning  { background: #fff3cd; color: #856404; }
.badge-danger   { background: #fde8e8; color: #9b1c1c; }
.badge-new      { background: var(--mauve);       color: var(--white); }
.badge-featured { background: var(--verde);       color: var(--white); }
.badge-free     { background: #d1f0e0;            color: #0a5c36; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--beige-light);
  color: var(--verde-dark);
  border: 1px solid var(--beige);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tag:hover,
.tag.active {
  background: var(--verde);
  color: var(--white);
  border-color: var(--verde);
}

/* ══════════════════════════════════════════
   FORMULARIOS
   ══════════════════════════════════════════ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-label .required {
  color: var(--mauve-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--beige);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 4px rgba(45, 76, 71, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

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

.form-input.success {
  border-color: #27ae60;
}

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

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232D4C47' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-error {
  font-size: 0.8rem;
  color: #e74c3c;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 18px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Input con ícono */
.form-input-wrap {
  position: relative;
}

.form-input-wrap .form-input {
  padding-left: 44px;
}

.form-input-wrap .form-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

/* Toggle de contraseña visible/oculta */
.form-input-wrap .toggle-pass {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 4px;
  transition: color var(--transition-fast);
}

.form-input-wrap .toggle-pass:hover {
  color: var(--verde);
}

/* Checkbox y Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--verde);
  cursor: pointer;
}

.form-check-label {
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
}

.form-check-label a {
  color: var(--verde);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   ALERTAS / MENSAJES FLASH
   ══════════════════════════════════════════ */

.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  border: 1px solid transparent;
  margin-bottom: var(--space-md);
}

.alert .alert-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-success {
  background: #d1f0e0;
  border-color: #a3d9be;
  color: #0a5c36;
}

.alert-error {
  background: #fde8e8;
  border-color: #f5c6c6;
  color: #9b1c1c;
}

.alert-warning {
  background: #fff3cd;
  border-color: #fde68a;
  color: #856404;
}

.alert-info {
  background: var(--beige-light);
  border-color: var(--beige);
  color: var(--verde-dark);
}

/* ══════════════════════════════════════════
   HEADER / NAVEGACIÓN
   ══════════════════════════════════════════ */

/* Announcement bar */
.ann-bar {
  background: var(--verde-dark);
  color: var(--beige-light);
  text-align: center;
  padding: 9px var(--space-lg);
  font-size: 0.82rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: var(--z-fixed);
}

.ann-bar .ann-text {
  position: relative;
  z-index: 1;
}

.ann-bar a {
  color: var(--mauve-light);
  font-weight: 700;
  text-decoration: underline;
}

/* Shimmer animado en el announcement bar */
.ann-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  animation: shimmer-bar 3s ease-in-out infinite;
}

@keyframes shimmer-bar {
  0%   { left: -100%; }
  60%  { left: 150%; }
  100% { left: 150%; }
}

/* Header principal */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  height: var(--header-height);
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  background: rgba(248, 244, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--beige);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--space-xl);
  gap: var(--space-lg);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(45,76,71,0.25);
  transition: transform var(--transition-bounce), box-shadow var(--transition-base);
  letter-spacing: -1px;
}

.site-logo:hover .logo-mark {
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(45,76,71,0.35);
}

/* Logo imagen (reemplaza .logo-mark cuando hay imagen real) */
.logo-img {
  height: 54px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  transition: transform var(--transition-bounce), opacity var(--transition-base);
}

.site-logo:hover .logo-img,
.logo-wrap:hover .logo-img {
  transform: scale(1.05);
  opacity: 0.88;
}

/* Tamaños alternativos para páginas de auth */
.logo-img-sm { height: 36px; }
.logo-img-md { height: 52px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 1px;
}

.logo-text .name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--verde-dark);
  letter-spacing: 0.2px;
}

.logo-text .academy {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--mauve);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.nav-links li a:hover,
.nav-links li a.active {
  background: var(--beige-light);
  color: var(--verde-dark);
}

/* Nav actions (carrito, login, registro) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Botón carrito con badge */
.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--beige-light);
  border: 1px solid var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--verde-dark);
  text-decoration: none;
}

.cart-btn:hover {
  background: var(--verde);
  color: var(--white);
  border-color: var(--verde);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: var(--mauve);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
  border: 2px solid var(--cream);
}

/* Menú hamburguesa (móvil) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: var(--beige-light);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--verde-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-4px);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menú móvil */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  z-index: calc(var(--z-fixed) - 1);
  overflow-y: auto;
  padding: var(--space-lg);
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-links {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}

.mobile-menu .nav-links li a {
  padding: 14px var(--space-md);
  border-radius: var(--radius-md);
  font-size: 1rem;
  border-bottom: 1px solid var(--beige-light);
}

.mobile-menu .nav-actions {
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--beige);
}

.mobile-menu .nav-actions .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .nav-links         { display: none; }
  .nav-actions .btn:not(.cart-btn) { display: none; }
  .hamburger         { display: flex; }
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */

/* ── PRE-FOOTER ───────────────────────────────────────────────── */
.prefooter {
  background: var(--verde);
  padding-block: 56px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.prefooter-inner {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.prefooter-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
}

.prefooter-text p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 440px;
  line-height: 1.7;
}

.prefooter-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 780px) {
  .prefooter-inner { flex-direction: column; text-align: center; }
  .prefooter-actions { justify-content: center; }
  .prefooter-text p { margin-inline: auto; }
}

/* ── FOOTER ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: var(--beige-light);
  padding-top: var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

.footer-brand .logo-mark {
  background: var(--mauve);
}

.footer-brand .logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
  height: 48px;
}

.footer-brand .logo-text .name { color: var(--cream); }
.footer-brand .logo-text .academy { color: var(--mauve-light); }

.footer-desc {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: rgba(218, 203, 189, 0.7);
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(189, 154, 150, 0.15);
  border: 1px solid rgba(189, 154, 150, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mauve-light);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--mauve);
  border-color: var(--mauve);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: var(--space-md);
  display: block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(218, 203, 189, 0.7);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--mauve-light);
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-md);
}

.payment-chip {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(189, 154, 150, 0.15);
  border: 1px solid rgba(189, 154, 150, 0.25);
  font-size: 0.75rem;
  color: var(--mauve-light);
}

.footer-bottom {
  border-top: 1px solid rgba(189, 154, 150, 0.15);
  padding: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(218, 203, 189, 0.45);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(218, 203, 189, 0.45);
}

.footer-bottom a:hover {
  color: var(--mauve-light);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   PÁGINA DE AUTH (login/registro)
   ══════════════════════════════════════════ */

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-visual {
  background: linear-gradient(160deg, var(--verde-dark) 0%, var(--verde) 60%, var(--mauve-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.auth-visual::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(189, 154, 150, 0.12);
  top: -100px;
  left: -100px;
}

.auth-visual::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(248, 244, 240, 0.06);
  bottom: -80px;
  right: -80px;
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.auth-visual-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.auth-visual-content h2 em {
  color: var(--mauve-light);
}

.auth-visual-content p {
  color: rgba(255,255,255,0.75);
  max-width: 320px;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.7;
}

.auth-visual-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  justify-content: center;
  flex-wrap: wrap;
}

.auth-stat {
  text-align: center;
}

.auth-stat .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--mauve-light);
  display: block;
}

.auth-stat .lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  display: block;
}

.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  background: var(--cream);
  overflow-y: auto;
}

.auth-form-inner {
  width: 100%;
  max-width: 420px;
}

.auth-form-inner .logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-xl);
  text-decoration: none;
}

.auth-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.auth-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.auth-link {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-link a {
  color: var(--verde);
  font-weight: 600;
}

@media (max-width: 768px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-form-panel { min-height: 100vh; padding: var(--space-lg); }
}
