/* =============================================
   SOPORTE — Estilos específicos
   Depende de style.css (variables y clases base)
   ============================================= */

/* ---- Nav active link ---- */
.nav-active {
  color: var(--text) !important;
  font-weight: 800 !important;
}

/* =============================================
   HERO SOPORTE
   ============================================= */
.support-hero {
  position: relative;
  min-height: min(760px, 100svh);
  padding: 128px 0 72px;
  overflow: hidden;
  text-align: center;
  display: grid;
  align-items: center;
}

.support-hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 28%, rgba(245, 166, 35, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 48% 38% at 50% 54%, rgba(232, 57, 29, 0.10) 0%, transparent 68%),
    radial-gradient(ellipse 54% 44% at 50% 100%, rgba(200, 202, 216, 0.05) 0%, transparent 72%);
}

.support-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-hero-title {
  max-width: 880px;
  margin: 14px auto 18px;
  font-size: clamp(44px, 5.4vw, 78px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -0.055em;
}

.support-hero-sub {
  max-width: 690px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
}

.support-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

/* ---- Store badges ---- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid rgba(201, 204, 216, .18);
  border-radius: 14px;
  color: var(--platinum);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    rgba(8, 9, 14, .62);
  text-decoration: none;
  box-shadow: 0 14px 42px rgba(0, 0, 0, .20);
  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 166, 35, .34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .024)),
    rgba(8, 9, 14, .72);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge span {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.store-badge small {
  color: rgba(244, 245, 248, .62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
}

.store-badge strong {
  color: var(--platinum);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.01em;
}

/* =============================================
   CATEGORÍAS
   ============================================= */
.support-categories-section {
  padding: 86px 0 96px;
}

.support-section-heading {
  margin-bottom: 30px;
}

.support-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.support-cat-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)),
    var(--surface);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.support-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
      rgba(245, 166, 35, 0.09), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.support-cat-card>* {
  position: relative;
  z-index: 1;
}

.support-cat-card:hover {
  border-color: rgba(245, 166, 35, .26);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.30);
  transform: translateY(-4px);
}

.support-cat-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid rgba(245, 166, 35, 0.22);
  border-radius: 14px;
  background: rgba(245, 166, 35, 0.12);
  color: #F5A623;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-cat-title {
  margin-bottom: 8px;
  color: var(--platinum);
  font-size: 18px;
  font-weight: 900;
}

.support-cat-desc {
  flex: 1;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.support-cat-count {
  color: rgba(244, 245, 248, .52);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* =============================================
   FAQ
   ============================================= */
.faq-section {
  padding: 86px 0 104px;
  background: var(--bg-alt);
}

.faq-header {
  margin-bottom: 34px;
}

.faq-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.faq-filter {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.faq-filter:hover,
.faq-filter.active {
  border-color: rgba(245, 166, 35, 0.38);
  background: rgba(245, 166, 35, 0.12);
  color: var(--text);
}

.faq-list {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

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

.faq-item[hidden] {
  display: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 23px 28px;
  border: none;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover,
.faq-question[aria-expanded="true"] {
  background: var(--surface-2);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: var(--surface-2);
  transition: max-height 0.32s ease;
}

.faq-answer p {
  padding: 0 28px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.faq-answer p strong,
.faq-answer p a {
  color: var(--text);
  font-weight: 800;
}

.faq-answer p a {
  text-decoration: underline;
  text-decoration-color: rgba(245, 166, 35, .42);
  text-underline-offset: 3px;
}

/* =============================================
   CONTACTO
   ============================================= */
.contact-section {
  padding: 104px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: start;
}

.contact-title {
  max-width: 620px;
  margin: 12px 0;
  color: var(--platinum);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.contact-sub {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ---- Form ---- */
.support-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  color: var(--platinum);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-active);
  border-radius: 12px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder {
  color: var(--muted);
}

.form-input:focus {
  border-color: rgba(245, 166, 35, 0.5);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.10);
}

.form-select {
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2370728A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

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

.btn-full {
  width: 100%;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid rgba(110, 229, 142, 0.25);
  border-radius: 12px;
  background: rgba(110, 229, 142, 0.10);
  color: #6ee58e;
  font-size: 14px;
  font-weight: 700;
}

/* ---- Canales ---- */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 60px;
}

.channels-title {
  margin-bottom: 4px;
  color: var(--platinum);
  font-size: 16px;
  font-weight: 900;
}

.channel-card,
.support-note-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.channel-card:hover {
  border-color: var(--border-active);
  background: var(--surface-2);
  transform: translateX(4px);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 166, 35, 0.20);
  border-radius: 13px;
  background: rgba(245, 166, 35, 0.10);
  color: #F5A623;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.channel-name {
  font-size: 14px;
  font-weight: 800;
}

.channel-detail {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.channel-arrow {
  color: var(--muted);
  flex-shrink: 0;
}

.support-note-card {
  align-items: flex-start;
}

.support-note-card strong {
  display: block;
  color: var(--platinum);
  font-size: 14px;
  margin-bottom: 4px;
}

.support-note-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.status-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: #6ee58e;
  box-shadow: 0 0 8px rgba(110, 229, 142, 0.5);
  flex-shrink: 0;
  animation: statusPulse 2.5s ease-in-out infinite;
}

@keyframes statusPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.support-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg);
}

.support-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .support-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-channels {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .support-hero {
    min-height: auto;
    padding: 124px 0 70px;
  }

  .support-hero-title {
    font-size: clamp(40px, 11vw, 56px);
  }

  .support-hero-actions {
    align-items: stretch;
    width: 100%;
    max-width: 360px;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }

  .support-categories-section,
  .faq-section,
  .contact-section {
    padding: 72px 0;
  }

  .support-categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .support-cat-card {
    min-height: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .faq-question {
    padding: 19px 20px;
    font-size: 15px;
  }

  .faq-answer p {
    padding: 0 20px 20px;
  }

  .support-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .faq-filter-bar {
    gap: 6px;
  }
}

.faq-item.open .faq-question {
  background: var(--surface-2);
}
/* =============================================
   SOPORTE — privacidad, errores y Turnstile
   ============================================= */

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
}

.privacy-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #F5A623;
  flex-shrink: 0;
}

.privacy-check a {
  color: var(--platinum);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(245, 166, 35, .42);
  text-underline-offset: 3px;
}

.turnstile-wrapper {
  min-height: 65px;
}

.form-success[hidden],
.form-error[hidden] {
  display: none !important;
}

.form-error {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 107, 107, 0.28);
  border-radius: 12px;
  background: rgba(255, 107, 107, 0.10);
  color: #ff8b8b;
  font-size: 14px;
  font-weight: 700;
}

.btn-primary:disabled {
  cursor: not-allowed;
  opacity: .68;
  transform: none;
}

/* =============================================
   SOPORTE — privacidad, errores y Turnstile
   ============================================= */

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
}

.privacy-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #F5A623;
  flex-shrink: 0;
}

.privacy-check a {
  color: var(--platinum);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(245, 166, 35, .42);
  text-underline-offset: 3px;
}

.turnstile-wrapper {
  min-height: 65px;
}

.form-success[hidden],
.form-error[hidden] {
  display: none !important;
}

.form-error {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 107, 107, 0.28);
  border-radius: 12px;
  background: rgba(255, 107, 107, 0.10);
  color: #ff8b8b;
  font-size: 14px;
  font-weight: 700;
}

.btn-primary:disabled {
  cursor: not-allowed;
  opacity: .68;
  transform: none;
}
