/* ─── NAV ────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 16, 48, .82);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(99, 102, 241, .15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem;
  gap: var(--s4);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--r-md);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(99, 102, 241, .35);
}

.nav__logo-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.nav__logo-tagline {
  display: none;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--s8);
}

@media (min-width:960px) {
  .nav__links {
    display: flex;
  }
}

.nav__link {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .5);
  transition: color var(--t);
}

.nav__link:hover {
  color: var(--white);
}

.nav__mode-toggle {
  display: none;
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-full);
  padding: 3px;
  gap: 2px;
}

@media (min-width:640px) {
  .nav__mode-toggle {
    display: flex;
  }
}

.nav__mode-btn {
  display: inline-flex;
  align-items: center;
  padding: .375rem var(--s4);
  border-radius: var(--r-full);
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .45);
  transition: all var(--t);
  white-space: nowrap;
}

.nav__mode-btn:hover {
  color: var(--white);
}

.nav__mode-btn.active {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  font-weight: 600;
}

.nav__actions {
  display: none;
  align-items: center;
  gap: var(--s3);
}

@media (min-width:768px) {
  .nav__actions {
    display: flex;
  }
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2rem;
  height: 2rem;
  padding: var(--s1);
  border-radius: var(--r-md);
  flex-shrink: 0;
  transition: background var(--t);
}

.nav__hamburger:hover {
  background: rgba(255, 255, 255, .08);
}

@media (min-width:768px) {
  .nav__hamburger {
    display: none;
  }
}

.nav__hamburger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, .7);
  border-radius: 1px;
  transition: transform var(--t), opacity var(--t);
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.nav__mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--s1);
  padding: var(--s3) var(--s5) var(--s5);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.nav__mobile-menu.is-open {
  display: flex;
}

@media (min-width:768px) {
  .nav__mobile-menu {
    display: none !important;
  }
}

.nav__mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .5);
  padding: var(--s2) var(--s2);
  border-radius: var(--r-md);
  transition: all var(--t);
}

.nav__mobile-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, .05);
}

.nav__mobile-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin: var(--s2) 0;
}

/* ─── BOTONES ─────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: .625rem var(--s5);
  border-radius: var(--r-full);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--t);
  cursor: pointer;
  white-space: nowrap;
}

.btn--lg {
  padding: .875rem 2rem;
  font-size: 1rem;
}

.btn--white {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--violet {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(99, 102, 241, .35);
}

.btn--violet:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, .45);
}

.btn--ghost {
  background: rgba(255, 255, 255, .07);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .15);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .3);
}

.btn--outline {
  background: transparent;
  color: var(--gray-800);
  border: 1.5px solid var(--gray-200);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--outline-dark {
  background: transparent;
  color: var(--gray-900);
  border: 1.5px solid var(--gray-300);
}

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

/* ─── HERO ────────────────────────────────────── */

.hero {
  background: var(--black);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width:1024px) {
  .hero {
    padding: 8rem 0 7rem;
  }
}

/* Orbe de fondo */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle,
      rgba(99, 102, 241, .18) 0%,
      rgba(79, 70, 229, .08) 30%,
      transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s6);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  border-radius: var(--r-full);
  border: 1px solid rgba(129, 140, 248, .3);
  background: rgba(129, 140, 248, .1);
  font-size: .8125rem;
  font-weight: 600;
  color: #818cf8;
  letter-spacing: .01em;
}

.hero__label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #818cf8;
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

.hero__h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--white);
  max-width: 18ch;
}

.hero__h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .5);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s3);
}

/* Divider stats */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s6) var(--s10);
  padding-top: var(--s8);
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: var(--s4);
  width: 100%;
}

.hero__stat-label {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .35);
  margin-top: var(--s1);
}

.hero__stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero__stat-accent {
  color: #818cf8;
}

/* Panel cards hero */
.hero__cards {
  display: grid;
  gap: var(--s4);
  width: 100%;
  margin-top: var(--s8);
}

@media (min-width:640px) {
  .hero__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero__card {
  text-align: left;
  padding: var(--s5) var(--s5);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
  transition: all var(--t);
}

.hero__card:hover {
  border-color: rgba(129, 140, 248, .3);
  background: rgba(129, 140, 248, .07);
}

.hero__card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-md);
  background: rgba(99, 102, 241, .2);
  border: 1px solid rgba(129, 140, 248, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  margin-bottom: var(--s3);
}

.hero__card-title {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--s1);
}

.hero__card-text {
  font-size: .8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .45);
}

/* ─── SECCIONES GENERALES ─────────────────────── */

.main {
  min-height: calc(100vh - 3.75rem);
}

.section {
  padding: var(--s20) 0;
}

.section--gray {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.section--black {
  background: var(--black);
  color: var(--white);
}

.kicker {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: var(--s4);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--gray-900);
  max-width: 22ch;
}

.section--black .section-title {
  color: var(--white);
}

.section-body {
  margin-top: var(--s4);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 48ch;
}

.section--black .section-body {
  color: rgba(255, 255, 255, .5);
}

.section-header {
  margin-bottom: var(--s12);
}

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

.section-header--center .section-title,
.section-header--center .section-body {
  margin-inline: auto;
}

/* ─── AUDIENCIAS — 2 cards grandes ──────────────── */

.audience-grid {
  display: grid;
  gap: var(--s5);
}

@media (min-width:768px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.audience-card {
  padding: var(--s8);
  border-radius: var(--r-2xl);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.audience-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #818cf8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}

.audience-card:hover {
  border-color: #c7d2fe;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.audience-card:hover::after {
  transform: scaleX(1);
}

.audience-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-lg);
  background: #eef2ff;
  color: var(--accent);
  border: 1px solid #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s6);
}

.audience-card__title {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  line-height: 1.25;
  margin-bottom: var(--s3);
}

.audience-card__text {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: var(--s6);
}

.audience-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.audience-card__item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: .875rem;
  color: var(--gray-700);
  font-weight: 500;
}

.audience-card__check {
  color: var(--green-500);
  flex-shrink: 0;
}

/* ─── BENEFICIOS — alternado icono / texto ──────── */

.benefits-grid {
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
}

@media (min-width:640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  display: flex;
  gap: var(--s4);
  padding: var(--s6);
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: all var(--t);
}

.benefit-item:hover {
  border-color: #e0e7ff;
  background: #eef2ff;
}

.benefit-item__icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: #eef2ff;
  color: var(--accent);
  border: 1px solid #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-item__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: var(--s2);
}

.benefit-item__text {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--gray-500);
}

/* ─── USUARIO PANEL — fondo oscuro ──────────────── */

.user-panel {
  background: var(--black);
  border-radius: var(--r-2xl);
  padding: var(--s10) var(--s8);
  margin-top: var(--s12);
  border: 1px solid rgba(255, 255, 255, .06);
}

@media (min-width:768px) {
  .user-panel {
    padding: 3.5rem;
  }
}

.user-panel .kicker {
  color: #818cf8;
}

.user-panel .section-title {
  color: var(--white);
}

.user-panel .section-body {
  color: rgba(255, 255, 255, .45);
}

.user-benefits-grid {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s8);
}

@media (min-width:640px) {
  .user-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .user-benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.user-benefit {
  padding: var(--s5);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .03);
  transition: all var(--t);
}

.user-benefit:hover {
  background: rgba(99, 102, 241, .1);
  border-color: rgba(129, 140, 248, .25);
}

.user-benefit__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-md);
  background: rgba(99, 102, 241, .2);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s4);
}

.user-benefit__title {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--s2);
  line-height: 1.3;
}

.user-benefit__text {
  font-size: .8125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .4);
}

/* ─── WORKFLOW — fila numerada ──────────────────── */

.workflow-grid {
  display: grid;
  gap: var(--s4);
  counter-reset: steps;
}

@media (min-width:768px) {
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1200px) {
  .workflow-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.step {
  padding: var(--s6);
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: all var(--t);
  counter-increment: steps;
}

.step:hover {
  border-color: #e0e7ff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step__num {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--gray-100);
  margin-bottom: var(--s4);
  /* content from counter */
}

.step__num::before {
  content: "0" counter(steps);
  color: var(--gray-200);
}

.step:nth-child(n+10) .step__num::before {
  content: counter(steps);
}

.step__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: var(--s2);
  line-height: 1.3;
}

.step__text {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--gray-500);
}

/* ─── SERVICIOS ──────────────────────────────────── */

.services-grid {
  display: grid;
  gap: var(--s5);
}

@media (min-width:768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  padding: var(--s8);
  border-radius: var(--r-2xl);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all var(--t);
}

.service-card:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-lg);
  background: var(--gray-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s6);
  box-shadow: var(--shadow-md);
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin-bottom: var(--s3);
  line-height: 1.3;
}

.service-card__text {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: var(--s6);
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.service-card__point {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: .875rem;
  color: var(--gray-700);
  font-weight: 500;
}

.service-card__check {
  color: var(--green-500);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── IMPACT ─────────────────────────────────────── */

.impact-wrap {
  border-radius: var(--r-2xl);
  background: var(--black);
  color: var(--white);
  padding: var(--s10) var(--s8);
  overflow: hidden;
  position: relative;
}

.impact-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at right center, rgba(99, 102, 241, .12) 0%, transparent 70%);
  pointer-events: none;
}

@media (min-width:768px) {
  .impact-wrap {
    padding: 3.5rem;
  }
}

.impact-grid {
  display: grid;
  gap: var(--s10);
  position: relative;
}

@media (min-width:1024px) {
  .impact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.impact-list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.impact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .03);
  font-size: .9375rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.5;
  transition: all var(--t);
}

.impact-item:hover {
  background: rgba(99, 102, 241, .1);
  border-color: rgba(129, 140, 248, .25);
}

.impact-item__icon {
  color: var(--green-400);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ─── CTA ────────────────────────────────────────── */

.cta-wrap {
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #ede9fe 100%);
  border: 1px solid #c7d2fe;
  color: var(--gray-900);
  padding: var(--s12) var(--s8);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 6px rgba(99, 102, 241, .06);
}

.cta-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 15% 40%, rgba(99, 102, 241, .08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 60%, rgba(139, 92, 246, .07) 0%, transparent 55%);
  pointer-events: none;
}

.cta-wrap .cta-title {
  color: #1e1b4b;
}

.cta-wrap .cta-body {
  color: var(--gray-600);
}

.cta-wrap .btn--ghost {
  background: rgba(99, 102, 241, .1);
  color: var(--accent);
  border-color: rgba(99, 102, 241, .25);
}

.cta-wrap .btn--ghost:hover {
  background: rgba(99, 102, 241, .18);
  border-color: rgba(99, 102, 241, .5);
}

@media (min-width:768px) {
  .cta-wrap {
    padding: 5rem;
  }
}

.cta-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  position: relative;
}

.cta-body {
  margin-top: var(--s4);
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .75);
  max-width: 44ch;
  margin-inline: auto;
  position: relative;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s3);
  margin-top: var(--s8);
  position: relative;
}

/* ─── PAGE HERO (subpáginas: contacto/PQRS) ─────── */

.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 5rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, .16) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero__title {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-top: var(--s5);
  max-width: 24ch;
  margin-inline: auto;
}

.page-hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero__sub {
  position: relative;
  z-index: 1;
  margin-top: var(--s4);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
  max-width: 46ch;
  margin-inline: auto;
}

.page-hero__tabs {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: var(--s3);
  margin-top: var(--s8);
}

.page-hero__tab {
  padding: .625rem 1.5rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  color: var(--white);
  font-weight: 600;
  font-size: .875rem;
  transition: all var(--t);
}

.page-hero__tab:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .3);
}

.page-hero__tab[aria-selected="true"] {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ─── CONTACTO ───────────────────────────────────── */

.contact-grid {
  display: grid;
  gap: var(--s10);
}

@media (min-width:1024px) {
  .contact-grid {
    grid-template-columns: .85fr 1.15fr;
    align-items: start;
  }
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  margin-top: var(--s8);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
}

.contact-info__icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: #eef2ff;
  color: var(--accent);
  border: 1px solid #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info__label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
}

.contact-info__value {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-top: 2px;
}

/* ─── FORMULARIOS (contacto / PQRS) ──────────────── */

.form-card {
  padding: var(--s8);
  border-radius: var(--r-2xl);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.form-card--wide {
  max-width: 760px;
  margin-inline: auto;
}

.form-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

.form-row {
  display: grid;
  gap: var(--s5);
  grid-template-columns: 1fr;
}

@media (min-width:560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--s3);
}

.form-label {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--gray-800);
}

.form-required {
  color: #ef4444;
}

.form-hint {
  font-weight: 500;
  color: var(--gray-400);
  font-size: .75rem;
}

.form-input {
  width: 100%;
  padding: .625rem var(--s4);
  border-radius: var(--r-md);
  border: 1.5px solid var(--gray-200);
  font: inherit;
  font-size: .9375rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .15);
}

.form-textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-select {
  appearance: none;
  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='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s4) center;
  padding-right: 2.5rem;
}

.form-file {
  padding: .375rem;
  font-size: .8125rem;
  color: var(--gray-500);
}

.form-file::file-selector-button,
.form-file::-webkit-file-upload-button {
  margin-right: var(--s3);
  padding: .5rem var(--s4);
  border-radius: var(--r-md);
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-800);
  font: inherit;
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
}

.form-file:hover::file-selector-button,
.form-file:hover::-webkit-file-upload-button {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: var(--accent);
}

.form-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.form-group--checkbox label {
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--gray-600);
}

.form-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

.form-card__submit {
  align-self: flex-start;
  margin-top: var(--s2);
}

.form-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.form-fieldset legend {
  padding: 0;
}

/* ─── PQRS — selector de tipo de solicitud ───────── */

.pqrs-type-grid {
  display: grid;
  gap: var(--s3);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width:640px) {
  .pqrs-type-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pqrs-type {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  padding: var(--s4);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  text-align: center;
  transition: all var(--t);
}

.pqrs-type input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.pqrs-type:hover {
  border-color: #c7d2fe;
}

.pqrs-type:has(input:checked) {
  border-color: var(--accent);
  background: #eef2ff;
}

.pqrs-type:has(input:checked) .pqrs-type__icon {
  background: var(--accent);
  color: var(--white);
}

.pqrs-type:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pqrs-type__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-md);
  background: var(--gray-100);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}

.pqrs-type__label {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--gray-700);
}

/* ─── FOOTER ─────────────────────────────────────── */

.footer {
  background: #14123a;
  color: var(--white);
  padding: var(--s16) 0 0;
}

.footer__grid {
  display: grid;
  gap: var(--s10);
}

@media (min-width:768px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--s8);
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s4);
}

.footer__logo-icon {
  width: 1.875rem;
  height: 1.875rem;
  border-radius: var(--r-md);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer__desc {
  font-size: .875rem;
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 22rem;
}

.footer__heading {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-600);
  margin-bottom: var(--s5);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.footer__list li {
  font-size: .875rem;
  color: var(--gray-600);
  transition: color var(--t);
  cursor: default;
}

.footer__list li:hover {
  color: var(--gray-300);
}

.footer__bottom {
  margin-top: var(--s12);
  border-top: 1px solid var(--gray-800);
  padding: var(--s6) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  font-size: .8125rem;
  color: var(--gray-700);
}

.footer__pqrs-link {
  color: #a5b4fc;
  font-weight: 600;
  transition: color var(--t);
}

.footer__pqrs-link:hover {
  color: var(--white);
  text-decoration: underline;
}