/* ==========================================================================
   vivasolar - Estilos Principales
   Paleta: Morado Profundo y Elegante (#0e041a, #1a0833, #2b0c53, #4c1d95)
   Acentos y Marca: Amarillo Solar Brillante (#FFD700, #FACC15, #F59E0B)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Marca VivaSolar - Paleta Morada */
  --bg-deep: #0c0317;
  --bg-main: #140727;
  --bg-card: rgba(30, 11, 56, 0.75);
  --bg-card-hover: rgba(45, 18, 84, 0.85);
  --bg-elevated: #240d43;
  --purple-primary: #581c87;
  --purple-light: #7e22ce;
  --purple-border: rgba(147, 51, 234, 0.25);
  --purple-glow: rgba(168, 85, 247, 0.35);

  /* Marca VivaSolar - Paleta Amarilla Solar */
  --yellow-primary: #FACC15;
  --yellow-bright: #FFD700;
  --yellow-glow: #F59E0B;
  --yellow-light: #FEF08A;
  --yellow-dark: #CA8A04;
  --yellow-bg-badge: rgba(250, 204, 21, 0.15);
  --yellow-border-badge: rgba(250, 204, 21, 0.4);

  /* Textos y Acentos */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dark: #0F172A;

  /* Estados y Funcionales */
  --success: #10B981;
  --info: #38BDF8;
  --danger: #EF4444;

  /* Transiciones y Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-solar: 0 0 25px rgba(250, 204, 21, 0.35);
  --shadow-purple: 0 0 30px rgba(126, 34, 206, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Fondos ambientales y resplandores solares */
body::before {
  content: "";
  position: fixed;
  top: -15%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(126, 34, 206, 0.28) 0%, rgba(20, 7, 39, 0) 70%);
  z-index: -2;
  pointer-events: none;
  filter: blur(60px);
}

body::after {
  content: "";
  position: fixed;
  top: 40%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.08) 0%, rgba(20, 7, 39, 0) 70%);
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
}

/* Tipografía */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* Marca VivaSolar */
.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--yellow-bright);
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}

.brand-name span {
  color: var(--text-primary);
}

.brand-badge {
  background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-glow));
  color: var(--text-dark);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* Header & Barra de Navegación */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 4, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--purple-border);
  transition: var(--transition-fast);
}

.navbar-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-glow));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.4rem;
  box-shadow: var(--shadow-solar);
  transition: transform var(--transition-fast);
}

.navbar-logo:hover .logo-icon {
  transform: rotate(15deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-item {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid transparent;
}

.nav-item:hover {
  color: var(--yellow-bright);
  background: rgba(126, 34, 206, 0.2);
}

.nav-item.active {
  color: var(--text-dark);
  background: var(--yellow-bright);
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.4);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-yellow {
  background: linear-gradient(135deg, var(--yellow-bright) 0%, var(--yellow-glow) 100%);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.5);
  background: linear-gradient(135deg, #FFE033 0%, var(--yellow-bright) 100%);
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple-primary) 100%);
  color: var(--text-primary);
  border: 1px solid rgba(216, 180, 254, 0.3);
  box-shadow: 0 4px 15px rgba(126, 34, 206, 0.3);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(168, 85, 247, 0.5);
}

.btn-outline-yellow {
  background: transparent;
  color: var(--yellow-bright);
  border: 1.5px solid var(--yellow-bright);
}

.btn-outline-yellow:hover {
  background: rgba(250, 204, 21, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.25);
}

.btn-outline-purple {
  background: rgba(36, 13, 67, 0.6);
  color: var(--text-secondary);
  border: 1px solid var(--purple-border);
}

.btn-outline-purple:hover {
  background: rgba(88, 28, 135, 0.4);
  color: var(--text-primary);
  border-color: var(--purple-light);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background: #20BA5A;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4rem 1.5rem 3.5rem;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid var(--yellow-border-badge);
  color: var(--yellow-bright);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(250, 204, 21, 0.2); }
  50% { box-shadow: 0 0 22px rgba(250, 204, 21, 0.45); }
}

.hero-title {
  font-size: 3.2rem;
  color: var(--text-primary);
  max-width: 950px;
  margin: 0 auto 1.2rem;
  letter-spacing: -1px;
}

.hero-title .highlight-yellow {
  color: var(--yellow-bright);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 25px rgba(250, 204, 21, 0.35);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

/* Segment Switcher (3 Grandes Categorías) */
.category-switcher-container {
  max-width: 980px;
  margin: 0 auto 2.5rem;
  background: rgba(26, 9, 53, 0.7);
  border: 1px solid var(--purple-border);
  padding: 0.4rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.category-switcher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

.cat-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

.cat-tab-btn .tab-icon {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.cat-tab-btn:hover {
  background: rgba(88, 28, 135, 0.3);
  color: var(--text-primary);
}

.cat-tab-btn:hover .tab-icon {
  color: var(--yellow-bright);
}

.cat-tab-btn.active {
  background: linear-gradient(135deg, var(--yellow-bright) 0%, var(--yellow-glow) 100%);
  color: var(--text-dark);
  box-shadow: 0 4px 18px rgba(250, 204, 21, 0.4);
  font-weight: 700;
}

.cat-tab-btn.active .tab-icon {
  color: var(--text-dark);
}

/* Buscador Rápido y Filtros en Cascada */
.search-filter-card {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(34, 12, 66, 0.85) 0%, rgba(20, 6, 41, 0.9) 100%);
  border: 1px solid rgba(147, 51, 234, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(88, 28, 135, 0.2);
  backdrop-filter: blur(12px);
}

.filter-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.5fr auto;
  gap: 1rem;
  align-items: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.filter-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--yellow-bright);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.select-custom, .input-custom {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(15, 4, 30, 0.85);
  border: 1.5px solid var(--purple-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition-fast);
  outline: none;
}

.select-custom option {
  background: #190833;
  color: var(--text-primary);
  padding: 8px;
}

.select-custom:focus, .input-custom:focus {
  border-color: var(--yellow-bright);
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.3);
  background: rgba(22, 6, 44, 0.95);
}

.filter-actions {
  display: flex;
  gap: 0.5rem;
  align-self: flex-end;
}

/* Indicadores de Resultados y Filtro Rápido Alfabético */
.directory-controls {
  max-width: 1300px;
  margin: 3rem auto 1.5rem;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.results-count-badge {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.results-count-badge span {
  color: var(--yellow-bright);
  font-weight: 800;
}

.active-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.active-filter-tag {
  background: rgba(126, 34, 206, 0.3);
  border: 1px solid var(--purple-light);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.active-filter-tag button {
  background: transparent;
  color: var(--yellow-bright);
  font-weight: bold;
  font-size: 0.9rem;
}

/* Grid del Directorio de Proveedores */
.directory-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

/* Tarjeta de Proveedor */
.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.provider-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow-bright), var(--purple-light));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.provider-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(126, 34, 206, 0.25);
}

.provider-card:hover::before {
  opacity: 1;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.provider-avatar {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple-primary), #3b0764);
  border: 1.5px solid var(--yellow-border-badge);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow-bright);
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.provider-title-box {
  flex: 1;
}

.provider-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.verified-icon {
  color: var(--yellow-bright);
  font-size: 1.05rem;
  display: inline-flex;
}

.provider-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.provider-location i {
  color: var(--yellow-bright);
}

.provider-categories-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.cat-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.cat-pill.residencial {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.cat-pill.comercial {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.cat-pill.industrial {
  background: rgba(250, 204, 21, 0.15);
  color: var(--yellow-bright);
  border: 1px solid var(--yellow-border-badge);
}

.provider-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.provider-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.trust-badge {
  font-size: 0.75rem;
  background: rgba(88, 28, 135, 0.4);
  border: 1px solid rgba(147, 51, 234, 0.3);
  color: #E2E8F0;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.trust-badge i {
  color: var(--yellow-bright);
  font-size: 0.75rem;
}

.card-footer {
  border-top: 1px solid rgba(147, 51, 234, 0.2);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.rating-box {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--yellow-bright);
}

.rating-box i {
  color: var(--yellow-bright);
}

.rating-count {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 400;
}

.card-cta-group {
  display: flex;
  gap: 0.45rem;
}

/* Estado Vacío de Búsqueda */
.empty-state-box {
  grid-column: 1 / -1;
  background: rgba(30, 11, 56, 0.5);
  border: 1px dashed var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
}

.empty-icon {
  font-size: 3.5rem;
  color: var(--yellow-bright);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.empty-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.empty-text {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

/* Sección de Beneficios / ¿Por qué limpiar tus paneles? */
.why-clean-section {
  background: linear-gradient(180deg, rgba(20, 7, 39, 0.6) 0%, rgba(12, 3, 23, 0.95) 100%);
  border-top: 1px solid var(--purple-border);
  border-bottom: 1px solid var(--purple-border);
  padding: 5rem 1.5rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--yellow-bright);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: left;
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--yellow-border-badge);
  box-shadow: 0 10px 30px rgba(126, 34, 206, 0.3);
}

.benefit-icon-wrapper {
  width: 58px;
  height: 58px;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid var(--yellow-border-badge);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow-bright);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.benefit-title {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.benefit-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Banner de Registro para Proveedores */
.join-banner-section {
  padding: 4.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.join-banner-card {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.9) 0%, rgba(30, 11, 56, 0.95) 100%);
  border: 1.5px solid var(--yellow-bright);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-solar), var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.join-banner-content {
  max-width: 650px;
}

.join-banner-title {
  font-size: 2.1rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.join-banner-title span {
  color: var(--yellow-bright);
}

.join-banner-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.join-features-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.join-feature-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--yellow-light);
}

/* Footer */
.footer-wrapper {
  background: #080211;
  border-top: 1px solid var(--purple-border);
  padding: 4rem 1.5rem 2rem;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 1rem 0 1.5rem;
  max-width: 340px;
}

.footer-col-title {
  font-size: 1.05rem;
  color: var(--yellow-bright);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-link-item a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-link-item a:hover {
  color: var(--yellow-bright);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(147, 51, 234, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Modales */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 2, 17, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: linear-gradient(145deg, #1f0b3e 0%, #130527 100%);
  border: 1.5px solid var(--purple-border);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(126, 34, 206, 0.4);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.modal-content.modal-large {
  max-width: 900px;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(31, 11, 62, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.modal-title {
  font-size: 1.4rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-title i {
  color: var(--yellow-bright);
}

.btn-close-modal {
  background: rgba(88, 28, 135, 0.4);
  border: 1px solid var(--purple-border);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.btn-close-modal:hover {
  background: var(--danger);
  color: #FFFFFF;
  border-color: var(--danger);
}

.modal-body {
  padding: 2rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--yellow-bright);
}

.textarea-custom {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(15, 4, 30, 0.85);
  border: 1.5px solid var(--purple-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  min-height: 90px;
  outline: none;
}

.textarea-custom:focus {
  border-color: var(--yellow-bright);
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.3);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--yellow-bright);
  width: 17px;
  height: 17px;
}

/* Tabla de Administración en Modal */
.admin-table-wrapper {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-table th {
  background: rgba(88, 28, 135, 0.6);
  color: var(--yellow-bright);
  padding: 0.8rem 1rem;
  font-weight: 700;
}

.admin-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(147, 51, 234, 0.15);
  color: var(--text-secondary);
}

.admin-table tr:hover td {
  background: rgba(88, 28, 135, 0.2);
  color: var(--text-primary);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #1e0b38;
  border: 1.5px solid var(--yellow-bright);
  color: var(--text-primary);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-solar), var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  animation: slideInRight 0.3s ease;
}

.toast i {
  color: var(--yellow-bright);
  font-size: 1.2rem;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsividad */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.6rem; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .filter-actions { grid-column: span 2; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .join-banner-card { flex-direction: column; text-align: center; }
  .join-features-list { justify-content: center; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.1rem; }
  .category-switcher-grid { grid-template-columns: 1fr 1fr; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-actions { grid-column: span 1; }
  .providers-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
