/* ============================= */
/* SOPORTE AION                  */
/* Solo estilos de soporte.html  */
/* ============================= */

.page {
  grid-template-rows: 122px minmax(0, 1fr) 54px;
  padding-bottom: 0;
}

.support-main {
  width: 100%;
  height: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 28px 46px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  min-height: 0;
}

.support-hero,
.support-card {
  border: 1px solid rgba(90, 180, 255, 0.28);
  background:
    radial-gradient(circle at 18% 16%, rgba(53, 168, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(5, 18, 40, 0.70), rgba(2, 9, 24, 0.74));
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 26px rgba(40, 150, 255, 0.13),
    inset 0 0 24px rgba(80, 180, 255, 0.05);
}

.support-hero {
  position: relative;
  align-self: center;
  border-radius: 28px;
  padding: 34px;
  overflow: hidden;
}

.support-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(90, 190, 255, 0.10) 45%, transparent 72%);
  pointer-events: none;
}

.support-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(100, 195, 255, 0.34);
  background: rgba(4, 16, 36, 0.58);
  color: #9ed8ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.support-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(53, 168, 255, 0.95);
}

.support-hero h1 {
  position: relative;
  max-width: 660px;
  margin-bottom: 18px;
  color: #dff5ff;
  font-size: clamp(38px, 4.1vw, 66px);
  line-height: 0.98;
  letter-spacing: 0.4px;
  text-shadow:
    0 0 18px rgba(95, 205, 255, 0.78),
    0 0 42px rgba(40, 145, 255, 0.44);
}

.support-hero p {
  position: relative;
  max-width: 660px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.support-actions {
  position: relative;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.support-actions .btn {
  min-width: 220px;
}

/* LADO DERECHO: SOLO ESTE SCROLLEA */
.support-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 14px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(53, 168, 255, 0.85) rgba(2, 9, 24, 0.55);
}

/* SCROLL ESTILO AION */
.support-content::-webkit-scrollbar {
  width: 8px;
}

.support-content::-webkit-scrollbar-track {
  background: rgba(2, 9, 24, 0.55);
  border-radius: 999px;
  border: 1px solid rgba(80, 180, 255, 0.14);
}

.support-content::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(120, 220, 255, 0.95),
    rgba(53, 168, 255, 0.70),
    rgba(10, 95, 210, 0.80)
  );
  border-radius: 999px;
  box-shadow:
    0 0 10px rgba(53, 168, 255, 0.55),
    inset 0 0 8px rgba(220, 245, 255, 0.20);
}

.support-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(190, 240, 255, 1),
    rgba(53, 168, 255, 0.95),
    rgba(10, 95, 210, 0.95)
  );
}

.support-card {
  border-radius: 24px;
  padding: 22px;
  overflow: hidden;
}

.support-card h2 {
  margin-bottom: 15px;
  color: #eaf4ff;
  font-size: 22px;
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(90, 170, 255, 0.24);
}

.support-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(100, 190, 255, 0.18);
  background: rgba(1, 8, 20, 0.36);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  color: #dcecff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: #8fd0ff;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(80, 180, 255, 0.55);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 13.6px;
  line-height: 1.42;
}

/* Seguridad */

.security-list {
  display: grid;
  gap: 10px;
}

.security-list p {
  position: relative;
  padding-left: 22px;
}

.security-list p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(53, 168, 255, 0.80);
}

/* Contacto */

.support-email {
  display: inline-block;
  margin-top: 12px;
  color: #8fd0ff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  word-break: break-word;
  text-shadow: 0 0 14px rgba(80, 180, 255, 0.35);
}

.support-email:hover {
  color: #dff5ff;
}

/* Anclas */

#faq,
#seguridad {
  scroll-margin-top: 16px;
}

/* ============================= */
/* AJUSTE LAPTOP                 */
/* ============================= */

@media (max-width: 1500px) {
  .page {
    grid-template-rows: 116px minmax(0, 1fr) 54px;
  }

  .support-main {
    padding: 24px 34px;
    gap: 24px;
  }

  .support-hero {
    padding: 30px;
  }

  .support-hero h1 {
    font-size: clamp(36px, 4vw, 58px);
  }

  .support-hero p {
    font-size: 17px;
  }

  .support-card {
    padding: 20px;
  }
}

@media (max-height: 900px) {
  .page {
    grid-template-rows: 116px minmax(0, 1fr) 54px;
  }

  .support-main {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .support-hero {
    padding: 28px;
  }

  .support-kicker {
    margin-bottom: 14px;
  }

  .support-hero h1 {
    margin-bottom: 15px;
    font-size: clamp(34px, 3.7vw, 54px);
  }

  .support-hero p {
    margin-bottom: 20px;
    font-size: 16.5px;
  }

  .support-card h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .faq-item summary {
    padding: 12px 14px;
    font-size: 14px;
  }

  .faq-item p {
    padding: 0 14px 12px;
    font-size: 13px;
  }

  .security-list {
    gap: 8px;
  }

  .security-list p {
    font-size: 13.5px;
  }
}

/* ============================= */
/* MOBILE / TABLET               */
/* ============================= */

@media (max-width: 1100px) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow: auto;
  }

  .page {
    height: auto;
    min-height: 100dvh;
    grid-template-rows: auto 1fr auto;
    overflow: visible;
  }

  .support-main {
    height: auto;
    grid-template-columns: 1fr;
    padding: 28px 24px;
    overflow: visible;
  }

  .support-content {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .support-actions {
    flex-direction: column;
  }

  .support-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .support-main {
    padding: 22px 16px;
  }

  .support-hero {
    padding: 24px;
    border-radius: 24px;
  }

  .support-hero h1 {
    font-size: 36px;
  }

  .support-hero p {
    font-size: 16px;
  }

  .support-card {
    padding: 18px;
    border-radius: 20px;
  }

  .support-card h2 {
    font-size: 20px;
  }
}