/* =================================================================== */
/* ===    FASTALK - RESOURCES PAGE STYLES (CORREGIDO FINAL V2)     === */
/* =================================================================== */

/* 1. HERO Y CENTRADO */
.page-header-section--grid-bg {
  /* CRÍTICO: Permite que el dropdown salga de la caja */
  overflow: visible !important;
}

.hero-center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

.status-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 213, 115, 0.1);
  color: #2ed573;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(46, 213, 115, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #2ed573;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(46, 213, 115, 0.3);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.4);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(46, 213, 115, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0);
  }
}

/* 2. BÚSQUEDA Y RESULTADOS */
.help-search-wrapper {
  width: 100%;
  max-width: 700px;
  position: relative;
  margin: 2.5rem 0 1.5rem 0;
  /* CRÍTICO: Z-index altísimo para estar encima de todo */
  z-index: 9999;
}

.help-search-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 20px;
  color: var(--color-text-tertiary);
  pointer-events: none;
  z-index: 10;
  font-size: 24px;
}

.help-search-input {
  width: 100%;
  height: 60px;
  /* Padding derecho grande para que el botón no tape el texto */
  padding: 0 130px 0 55px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-pill);
  font-size: 1.05rem;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  appearance: none;
  position: relative;
  z-index: 5;
}

.help-search-input:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  box-shadow: 0 10px 40px rgba(74, 58, 255, 0.2);
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  border-radius: 50px;
  padding: 0 24px;
  z-index: 10;
  cursor: pointer;
  border: none;
  font-weight: 600;
}

/* DROPDOWN DE RESULTADOS */
.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-height: 400px;
  overflow-y: auto;
  margin-top: 12px;

  /* Animación de entrada */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);

  text-align: left;
  z-index: 9998;
  /* Justo debajo del input pero encima de la página */
}

.search-results-dropdown.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-result-item {
  display: block;
  padding: 1rem 1.5rem;
  text-decoration: none;
  border-bottom: 1px solid var(--color-border-light);
  transition: background-color 0.1s ease;
  background-color: #fff;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background-color: #f7f9ff;
}

.result-breadcrumb {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-accent-primary);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.result-title {
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.result-title .material-icons {
  font-size: 18px;
  color: var(--color-accent-primary);
}

.no-results-found {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--color-text-secondary);
}

/* 3. SUGERENCIAS */
.popular-searches {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  position: relative;
  z-index: 5;
}

.suggestion-btn {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  text-decoration: underline;
  text-decoration-style: dotted;
  cursor: pointer;
  padding: 0 5px;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.suggestion-btn:hover {
  color: var(--color-accent-primary);
}

/* 4. FIX MÓVIL AGRESIVO */
@media (max-width: 576px) {
  .help-search-input {
    /* Menos padding a la derecha, botón más pequeño */
    padding: 0 100px 0 45px;
    font-size: 0.95rem;
  }

  .search-btn {
    padding: 0 16px;
    font-size: 0.85rem;
  }

  .search-icon {
    left: 15px;
    font-size: 20px;
  }
}

/* Grid docs y demás se mantienen igual... */
.section-heading-sm {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 2.5rem;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.doc-card {
  background-color: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-light-lg);
  border-color: rgba(74, 58, 255, 0.3);
}

.doc-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-accent-subtle-bg);
  color: var(--color-accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.doc-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.doc-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.doc-card__links {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--color-border-light);
  padding-top: 1rem;
}

.doc-card__links li {
  margin-bottom: 0.75rem;
}

.doc-card__links a {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.doc-card__links a:hover {
  color: var(--color-accent-primary);
}

.doc-card__more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.community-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 992px) {
  .community-banner {
    flex-direction: row;
    justify-content: space-between;
  }

  .community-content {
    max-width: 50%;
  }

}

.community-content p {
  color: var(--color-text-medium);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.community-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.community-visual {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  text-align: center;
  min-width: 300px;
}

.avatar-stack {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.avatar-stack img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #111522;
  margin-left: -15px;
}

.avatar-count {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-accent-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  border: 3px solid #111522;
  margin-left: -15px;
  z-index: 2;
}

.community-caption {
  color: #fff;
  font-weight: 500;
  margin: 0;
}

.support-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.support-option {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border-light);
}

.support-icon {
  width: 60px;
  height: 60px;
  background: var(--color-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.support-icon .material-icons {
  font-size: 30px;
  color: var(--color-text-primary);
}

.support-option h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.support-option p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* --- Estilos para el nuevo mensaje de contacto (Fallback) --- */

.hero-support-fallback {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.hero-support-fallback p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.support-link {
  color: var(--color-accent-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.support-link:hover {
  color: var(--color-accent-dark);
  gap: 8px;
  /* Pequeña animación de desplazamiento */
  border-bottom-color: var(--color-accent-dark);
}

.support-link .material-icons {
  font-size: 16px;
  font-weight: bold;
}

/* Ajuste móvil para el texto de fallback */
@media (max-width: 576px) {
  .hero-support-fallback p {
    flex-direction: column;
    gap: 4px;
  }
}

/* =================================================================== */
/* ===    ESTILOS PREMIUM PARA LA GRID DE DOCUMENTACIÓN            === */
/* =================================================================== */

.section-header-left {
  margin-bottom: 3rem;
  text-align: left;
}

.section-heading-lg {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.section-heading-desc {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
}

/* --- THE GRID --- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

/* --- THE CARD --- */
.doc-card {
  background-color: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 24px;
  /* Más redondeado */
  padding: 2.5rem;
  /* Más espacio interno */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  /* Sombra sutil inicial */
}

/* Hover Effect: Lift + Shadow + Border */
.doc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(74, 58, 255, 0.3);
}

/* Top Gradient Line on Hover (Optional, adds nice touch) */
.doc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* --- HEADER & ICON --- */
.doc-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.doc-card__icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-card__icon-box .material-icons {
  font-size: 26px;
}

/* Icon Colors Variants */
.color-blue {
  background: rgba(74, 58, 255, 0.1);
  color: #4a3aff;
}

.color-purple {
  background: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.color-orange {
  background: rgba(230, 126, 34, 0.1);
  color: #e67e22;
}

.color-green {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}

.color-pink {
  background: rgba(233, 30, 99, 0.1);
  color: #e91e63;
}

.color-teal {
  background: rgba(26, 188, 156, 0.1);
  color: #1abc9c;
}

.doc-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.doc-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* --- LINK LIST (The Interactive Part) --- */
.doc-card__link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-card__link-list li {
  margin-bottom: 0.5rem;
}

.doc-card__link-list li:last-child {
  margin-bottom: 0;
}

.doc-card__link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: #f7f9fc;
  /* Fondo sutil para los links */
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

/* Hover on Link */
.doc-card__link-list a:hover {
  background-color: #fff;
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
  box-shadow: 0 4px 12px rgba(74, 58, 255, 0.1);
  transform: translateX(4px);
}

.doc-card__link-list a .arrow {
  font-size: 18px;
  color: var(--color-text-tertiary);
  transition: color 0.2s;
}

.doc-card__link-list a:hover .arrow {
  color: var(--color-accent-primary);
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .docs-grid {
    grid-template-columns: 1fr;
    /* Una sola columna en móvil */
  }

  .section-header-left {
    text-align: center;
  }

  .doc-card {
    padding: 2rem;
  }
}

/* =================================================================== */
/* ===    ESTILOS PARA COMUNIDAD (COMING SOON / WAITLIST)          === */
/* =================================================================== */

/* 1. BADGES Y TEXTO */
.badges-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.badge-status-upcoming {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 159, 67, 0.15);
  /* Naranja sutil */
  color: #ff9f43;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255, 159, 67, 0.3);
}

.status-dot-pulse {
  width: 6px;
  height: 6px;
  background-color: #ff9f43;
  border-radius: 50%;
  animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 159, 67, 0.4);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(255, 159, 67, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 159, 67, 0);
  }
}

/* 2. FORMULARIO WAITLIST */
.waitlist-form {
  max-width: 450px;
}

.waitlist-input-group {
  display: flex;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 4px;
  transition: border-color 0.3s ease;
}

.waitlist-input-group:focus-within {
  border-color: var(--color-accent-primary);
  background: rgba(255, 255, 255, 0.08);
}

.waitlist-input-group input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 0 1rem 0 3rem;
  /* Espacio para icono email */
  font-family: 'Inter', sans-serif;
  outline: none;
  font-size: 1rem;
}

.waitlist-input-group .input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0a8b7;
  font-size: 20px;
}

.waitlist-input-group button {
  padding: 12px 24px;
  font-size: 0.9rem;
  border-radius: 40px;
  white-space: nowrap;
}

.form-note {
  font-size: 0.8rem;
  color: #5a647b;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-note .material-icons {
  font-size: 14px;
}

/* 3. VISUAL "LOCKED" */
.visual-locked {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}

.blur-content {
  filter: blur(5px);
  opacity: 0.5;
  transition: all 0.5s ease;
  pointer-events: none;
  user-select: none;
}

.locked-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.lock-circle {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(74, 58, 255, 0.4);
  animation: float 3s ease-in-out infinite;
}

.lock-circle .material-icons {
  font-size: 28px;
  color: #fff;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Tarjetas flotantes de fondo (borrosas) */
.float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: absolute;
}

.float-card.card-1 {
  top: 20%;
  right: 20%;
  transform: rotate(10deg);
}

.float-card.card-2 {
  bottom: 25%;
  left: 15%;
  transform: rotate(-5deg);
}

/* Ajuste Móvil */
@media (max-width: 576px) {
  .waitlist-input-group {
    flex-direction: column;
    border-radius: 20px;
    padding: 1rem;
    gap: 1rem;
  }

  .waitlist-input-group input {
    padding-left: 2.5rem;
    width: 100%;
  }

  .waitlist-input-group button {
    width: 100%;
  }

  .waitlist-input-group .input-icon {
    top: 24px;
    /* Ajuste por el padding */
  }
}

/* =================================================================== */
/* ===    ESTILOS SOPORTE PREMIUM (support-card-premium)           === */
/* =================================================================== */

.support-section-bg {
  background-color: #fcfdff;
  /* Fondo muy sutil para diferenciar */
  border-top: 1px solid var(--color-border-light);
}

.support-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.support-card-premium {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* Hover Effect: Lift & Shadow */
.support-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(74, 58, 255, 0.3);
}

/* --- BADGE DE ESTADO (Top Right) --- */
.support-status {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f7f9fc;
  padding: 4px 10px;
  border-radius: 20px;
}

.support-status.online {
  color: #2ed573;
  background: rgba(46, 213, 115, 0.1);
}

.support-status.warning {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

.support-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

.support-status.online .dot {
  box-shadow: 0 0 0 2px rgba(46, 213, 115, 0.2);
  animation: pulse-green 2s infinite;
}

/* --- ICONO CENTRAL --- */
.support-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.support-icon-box .material-icons {
  font-size: 32px;
  color: white;
}

/* Colores de fondo de iconos */
.bg-blue {
  background: rgba(74, 58, 255, 0.1);
  color: #4a3aff;
}

.bg-purple {
  background: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.bg-red {
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
}

/* --- TEXTOS --- */
.support-card-premium h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.support-card-premium p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 260px;
  /* Para que el texto no se estire demasiado */
}

/* --- BOTÓN FULL WIDTH --- */
.full-width {
  width: 100%;
  justify-content: center;
}

/* Ajuste en Hover del botón dentro de la card */
.support-card-premium:hover .button--secondary {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
  background-color: var(--color-accent-subtle-bg);
}

/* =========================================
   ANIMACIONES DE ÉXITO (Formularios)
   ========================================= */

/* Estado de transición para ocultar el formulario suavemente */
.form-content-fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

/* Contenedor del mensaje de éxito */
.success-message-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Centrado para el Hub */
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  animation: fadeScaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Ajuste específico para el Footer (alineación a la izquierda o adaptativa) */
.footer-newsletter .success-message-container {
  align-items: center;
  /* En footer suele verse mejor alineado a la izq */
  text-align: center;
  padding: 10px 0;
}

/* El Icono de Check Animado */
.success-icon-circle {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.success-icon-circle .material-icons {
  color: white;
  font-size: 24px;
}

/* Texto de éxito */
.success-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  /* Asumiendo fondo oscuro o ajusta según contexto */
  margin-bottom: 4px;
}

.success-desc {
  font-size: 0.9rem;
  color: #a0a8b7;
  line-height: 1.4;
  margin: 0;
}

/* Keyframes para la entrada "Pop" */
@keyframes fadeScaleIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* =========================================
   ESTILOS DEL MODAL DE CONTACTO (FAS-223)
   ========================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-modal {
  background: #fff;
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  padding: 0;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  /* Para pantallas pequeñas */
}

.modal-overlay.active .contact-modal {
  transform: translateY(0);
}

/* Header del Modal */
.modal-header {
  padding: 24px;
  background: #f8f9fa;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.modal-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.close-modal-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #64748b;
  padding: 5px;
  transition: color 0.2s;
}

.close-modal-btn:hover {
  color: #0f172a;
}

/* Cuerpo del Modal (Scrollable) */
.modal-body {
  padding: 24px;
  overflow-y: auto;
}

/* Campos del Formulario */
.form-grid {
  display: grid;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a3aff;
  box-shadow: 0 0 0 3px rgba(74, 58, 255, 0.1);
}

.form-hint {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* Footer del Modal */
.modal-footer {
  padding: 16px 24px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Colores Dinámicos */
.bg-blue {
  background: #3b82f6;
}

.bg-purple {
  background: #7c3aed;
}

.bg-red {
  background: #ef4444;
}