:root {
  --navy: #0d1b2a;
  --blue: #123b6d;
  --teal: #0f8b8d;
  --gold: #c7a54b;
  --silver: #d9e2ec;
  --white: #f8fbfd;
  --ink: #243447;
  --muted: #6c7b88;
  --shadow: 0 20px 50px rgba(13, 27, 42, 0.14);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

/* ── Row 1: Utility bar ─────────────────────────────── */
.utility-bar {
  background: linear-gradient(90deg, var(--navy), var(--blue));
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
}

.utility-wrap,
.two-column,
.verification-panel,
.cta-banner,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-wrap {
  padding: 0.7rem 0;
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.utility-right a {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.utility-right a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.utility-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.35);
}

.lang-toggle {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  display: inline-flex;
  gap: 0.4rem;
  cursor: pointer;
}

.lang-toggle .active {
  color: #9fe3e4;
  font-weight: 700;
}

/* ── Row 2: Brand bar ───────────────────────────────── */
.brand-bar {
  background: #fff;
  border-bottom: 1px solid rgba(18, 59, 109, 0.10);
  overflow: visible;
  position: relative;
  z-index: 10;
}

.brand-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  margin-top: -20px;
  margin-bottom: -20px;
  filter: drop-shadow(0 4px 12px rgba(18,59,109,0.18));
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy);
  font-size: 1.15rem;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.85rem;
}

.brand-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
  align-items: center;
}

.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
  border-radius: 6px;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-outline-blue:hover {
  background: var(--blue);
  color: #fff;
}

/* ── Row 3: Navigation bar ──────────────────────────── */
.nav-bar {
  background: var(--blue);
  position: relative;
}

.primary-nav {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
}

.primary-nav > a,
.nav-dropdown {
  position: relative;
}

.primary-nav > a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s;
}

.primary-nav > a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.primary-nav > a::after {
  display: none;
}

.primary-nav > a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Dropdown in nav bar */
.nav-dropdown {
  display: flex;
  align-items: stretch;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-drop-toggle {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  padding: 0.85rem 1rem;
  transition: background 0.2s;
}

.nav-drop-toggle:hover,
.nav-dropdown:hover .nav-drop-toggle {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-drop-toggle svg {
  transition: transform 0.22s ease;
  flex-shrink: 0;
  stroke: rgba(255, 255, 255, 0.8);
}

.nav-dropdown:hover .nav-drop-toggle svg,
.nav-drop-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-drop-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid rgba(18, 59, 109, 0.09);
  border-top: 3px solid var(--teal);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 40px rgba(13, 27, 42, 0.18);
  padding: 0.5rem 0;
  display: none;
  z-index: 50;
}

.nav-dropdown:hover .nav-drop-panel,
.nav-drop-toggle[aria-expanded="true"] + .nav-drop-panel {
  display: block;
}

.nav-drop-panel a {
  display: block;
  padding: 0.65rem 1.2rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.93rem;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-drop-panel a::after {
  display: none;
}

.nav-drop-panel a:hover {
  background: rgba(15, 139, 141, 0.08);
  color: var(--teal);
  padding-left: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #1f9da0);
  box-shadow: 0 14px 28px rgba(15, 139, 141, 0.28);
}

.btn-secondary,
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(13, 27, 42, 0.15);
  color: var(--navy);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(199, 165, 75, 0.35);
}

.btn-gold:hover {
  background: #d4b05c;
  box-shadow: 0 18px 32px rgba(199, 165, 75, 0.45);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* ── Hero section (nuevo diseño institucional) ──────────── */
.hero-section {
  position: relative;
  color: #fff;
}

.hero-single {
  background:
    linear-gradient(160deg, #002060 0%, #003087 50%, #004aad 100%);
  position: relative;
  overflow: hidden;
}

.hero-single::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(199, 165, 75, 0.12), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(15, 139, 141, 0.10), transparent 35%);
  pointer-events: none;
}

.hero-main-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 500px;
  align-items: center;
  gap: 4rem;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
  max-width: 1100px;
}

/* Columna izquierda */
.hero-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.8rem;
}

/* Columna derecha */
.hero-col-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-verify-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  width: 100%;
  backdrop-filter: blur(8px);
}

.hero-verify-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1.2rem;
}

/* Chips de acreditación */
.hero-accreditations {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.accred-chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.accred-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

/* Título principal */
.hero-main-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0;
  color: #fff;
}

/* Pills de beneficios */
.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.hero-benefits li {
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.benefit-check {
  color: var(--gold);
  font-size: 0.9rem;
}

/* CTAs principales */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1rem;
}

/* Divisor */
.hero-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.hero-divider::before,
.hero-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

/* Barra de búsqueda */
.hero-search-form {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-search-box {
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.15);
  gap: 0.5rem;
}

.hero-search-box svg {
  flex-shrink: 0;
  color: #003087;
}

.hero-search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.05rem;
  color: #002060;
  font-family: inherit;
  padding: 0.55rem 0;
  min-width: 0;
}

.hero-search-box input::placeholder {
  color: rgba(0, 32, 96, 0.4);
}

.hero-search-box button {
  flex-shrink: 0;
  background: #003087;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.hero-search-box button:hover {
  background: #002060;
}

.hero-search-hint {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.03em;
}

.hero-verify-notfound {
  margin-top: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  background: rgba(220, 53, 69, 0.18);
  border: 1px solid rgba(220, 53, 69, 0.45);
  color: #ffd6d9;
}

.btn-ghost-white {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.75);
}

.hero-actions,
.cta-actions,
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.eyebrow,
.section-kicker,
.highlight-kicker,
.news-tag,
.leader-role {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}

.eyebrow {
  color: #9fe3e4;
  margin-bottom: 1rem;
}

.hero-text {
  max-width: 680px;
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 600px) {
  .hero-main-layout {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    gap: 1.5rem;
  }

  .hero-main-title {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .hero-search-box {
    border-radius: 16px;
    flex-wrap: wrap;
    padding: 12px 14px;
    gap: 0.6rem;
  }

  .hero-search-box button {
    width: 100%;
    border-radius: 10px;
    padding: 0.85rem 1rem;
  }

  .hero-benefits li {
    font-size: 0.78rem;
  }
}
/* ── End hero section ────────────────────────────────────── */


  background: linear-gradient(180deg, #f3f7fb 0%, #f9fbfe 100%);
  border-bottom: 1px solid rgba(18, 59, 109, 0.08);
  padding: 1.8rem 0 2rem;
}

.trust-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.trust-header .section-kicker {
  margin: 0;
}

.trust-header h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.7vw, 1.9rem);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}

.trust-item {
  background: #fff;
  border: 1px solid rgba(18, 59, 109, 0.08);
  border-radius: 14px;
  padding: 0.9rem 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 92px;
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.06);
}

.trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 139, 141, 0.1);
  font-size: 0.92rem;
  flex-shrink: 0;
}

.trust-item p {
  margin: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.4;
}

.section {
  padding: 6rem 0;
}

.section-light {
  background: linear-gradient(180deg, #fbfdff, #f4f8fb);
}

.section-dark {
  background: linear-gradient(135deg, var(--navy), #112a46);
  color: white;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.section-kicker,
.highlight-kicker {
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-heading h2,
.two-column h2,
.verification-panel h2,
.cta-banner h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
}

.section-dark h2,
.section-dark p,
.section-dark .section-kicker {
  color: white;
}

.section-heading p,
.two-column p,
.verification-panel p,
.cta-banner p,
.card p,
.news-card p,
.highlight-box p,
.leader-card p,
.footer-grid p,
.footer-grid li {
  color: var(--muted);
  line-height: 1.8;
}

.section-dark p,
.section-dark .agreement-item {
  color: rgba(255, 255, 255, 0.86);
}

.two-column {
  align-items: stretch;
  gap: 2rem;
}

.two-column > * {
  flex: 1;
}

/* About section redesign */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-text h2 {
  margin: 0;
}

.about-text p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.about-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-benefit-card {
  background: #fff;
  border: 1px solid rgba(18, 59, 109, 0.1);
  border-radius: 12px;
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(18, 59, 109, 0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}

.about-benefit-card:hover {
  box-shadow: 0 6px 20px rgba(18, 59, 109, 0.12);
  transform: translateY(-2px);
}

.about-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(18, 59, 109, 0.07);
  color: var(--blue);
  flex-shrink: 0;
}

.about-benefit-card strong {
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.3;
}

.about-benefit-card p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.feature-panel,
.highlight-box,
.agreements-box,
.leader-card,
.verification-form,
.news-card,
.card,
.cta-banner,
.footer-grid {
  background: #fff;
  border: 1px solid rgba(18, 59, 109, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-panel,
.agreements-box,
.highlight-box,
.leader-card,
.verification-form,
.news-card,
.card {
  padding: 1.6rem;
}

.feature-panel {
  display: grid;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(15, 139, 141, 0.06), rgba(18, 59, 109, 0.05));
}

.feature-badge,
.agreement-item,
.benefit-item {
  border: 1px solid rgba(18, 59, 109, 0.09);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  font-weight: 700;
}

.cards-grid,
.news-grid,
.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.cards-grid {
  grid-template-columns: repeat(4, 1fr);
}

.cards-grid.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.card h3,
.news-card h3,
.highlight-box h3,
.leader-card h3 {
  margin-top: 0;
  color: var(--navy);
}

.card.soft {
  background: linear-gradient(180deg, #fff, #f5fbfb);
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.5rem;
}

.benefits-list {
  display: grid;
  gap: 0.9rem;
}

.highlight-box {
  background: linear-gradient(180deg, rgba(199, 165, 75, 0.09), rgba(15, 139, 141, 0.04));
}

.verification-panel {
  background: linear-gradient(135deg, var(--white), #f0f6f7);
  border-radius: 28px;
  padding: 2rem;
  align-items: stretch;
}

.verification-form {
  display: grid;
  gap: 1rem;
  min-width: 320px;
}

.verification-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--navy);
}

.verification-form input {
  border: 1px solid rgba(18, 59, 109, 0.14);
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-tag {
  color: var(--teal);
}

.partners-section {
  background: linear-gradient(140deg, #0b1c2f 0%, #12395f 55%, #0f4c68 100%);
}

.partners-head {
  max-width: 920px;
  margin-bottom: 2rem;
}

.partners-head .section-kicker {
  color: #9fe3e4;
}

.partners-head h2 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  line-height: 1.15;
}

.partners-head p {
  color: rgba(255,255,255,0.87);
  margin: 0.25rem 0;
  line-height: 1.8;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.partner-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  backdrop-filter: blur(2px);
}

.partner-card h3 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 1.08rem;
}

.partner-card p {
  margin: 0;
  color: rgba(255,255,255,0.84);
  line-height: 1.7;
  font-size: 0.94rem;
}

.partners-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  font-size: 0.82rem;
  font-weight: 700;
}

.leadership-wrap {
  align-items: center;
}

.leader-card {
  background: linear-gradient(135deg, rgba(18, 59, 109, 0.06), rgba(15, 139, 141, 0.06));
}

.cta-section {
  padding-top: 0;
}

.cta-banner {
  background: linear-gradient(135deg, var(--blue), #1b568f);
  padding: 2rem;
  color: white;
}

.cta-banner h2,
.cta-banner p,
.cta-banner .section-kicker {
  color: white;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  background: transparent;
  border: 0;
  box-shadow: none;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding: 0;
}

.footer-grid h3,
.footer-grid h4 {
  color: white;
}

.footer-grid p,
.footer-grid li,
.footer-bottom {
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.02);
}

.store-badge-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-badge-icon.apple-store {
  color: rgba(255, 255, 255, 0.95);
}

.store-badge-label {
  line-height: 1;
}

.store-badge:not(:has(.store-badge-icon))::before {
  content: '';
  width: 18px;
  height: 18px;
  display: inline-block;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.store-badges .store-badge:first-child:not(:has(.store-badge-icon))::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2334A853' d='M3.2 2.8c-.3.4-.5.9-.5 1.6v15.2c0 .7.2 1.2.5 1.6l10.7-10.8L3.2 2.8z'/%3E%3Cpath fill='%234285F4' d='M17.3 13.1l-3.4-3.4 3.4-3.4 4.1 2.3c1.2.7 1.2 1.8 0 2.5l-4.1 2z'/%3E%3Cpath fill='%23FBBC04' d='M17.3 13.1l-3.4-3.4L3.2 21.2c.5.5 1.3.5 2.2 0l11.9-6.7z'/%3E%3Cpath fill='%23EA4335' d='M17.3 6.3L5.4-.4C4.5-.9 3.7-.8 3.2-.3l10.7 10.6 3.4-3.4z'/%3E%3C/svg%3E");
}

.store-badges .store-badge:last-child:not(:has(.store-badge-icon))::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M16.84 12.96c.02 2.2 1.92 2.93 1.94 2.94-.02.05-.3 1.03-.99 2.05-.6.87-1.22 1.73-2.2 1.75-.95.02-1.26-.56-2.35-.56-1.09 0-1.43.54-2.33.58-.95.04-1.67-.95-2.27-1.82-1.23-1.77-2.17-5-1-7.03.58-1.01 1.63-1.65 2.77-1.67.89-.02 1.74.6 2.35.6.61 0 1.74-.74 2.93-.63.5.02 1.92.2 2.83 1.53-.07.04-1.69.99-1.68 2.96Zm-2.08-5.92c.5-.61.84-1.45.75-2.29-.72.03-1.58.48-2.1 1.09-.46.53-.87 1.38-.76 2.19.8.06 1.61-.41 2.11-.99Z'/%3E%3C/svg%3E");
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.4rem;
  margin-top: 2rem;
  font-size: 0.92rem;
}

/* ── Nav active state ───────────────────────────────── */
.primary-nav .nav-active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ── Page hero (inner pages) ────────────────────────── */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  padding: 4rem 0 3.5rem;
  color: #fff;
}

.page-hero .section-kicker {
  color: #9fe3e4;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
  color: #fff;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-hero .breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.page-hero .breadcrumb a:hover {
  color: #fff;
}

.page-hero .breadcrumb span {
  color: rgba(255,255,255,0.35);
}

/* ── Inner page content ─────────────────────────────── */
.page-body {
  padding: 4rem 0;
}

.page-body .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.page-body .prose h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-top: 2rem;
}

.page-body .prose h3 {
  font-size: 1.2rem;
  color: var(--blue);
  margin-top: 1.5rem;
}

.page-body .prose p {
  color: var(--muted);
  line-height: 1.85;
}

.page-body .prose ul {
  color: var(--muted);
  line-height: 1.85;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

/* ── Affiliation form ───────────────────────────────── */
.form-card {
  background: #fff;
  border: 1px solid rgba(18,59,109,0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-grid.full {
  grid-template-columns: 1fr;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.form-field label .req {
  color: var(--teal);
  margin-left: 0.2rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid rgba(18,59,109,0.14);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--navy);
  background: #fafcfe;
  transition: border-color 0.2s;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-section-title {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(18,59,109,0.08);
  margin-top: 0.5rem;
}

.upload-box {
  border: 2px dashed rgba(18,59,109,0.18);
  border-radius: 12px;
  padding: 1.75rem 1rem;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.upload-box:hover {
  border-color: var(--teal);
  background: rgba(15,139,141,0.04);
}

.upload-box svg {
  margin-bottom: 0.5rem;
  color: var(--teal);
}

.signature-pad {
  border: 1.5px solid rgba(18,59,109,0.14);
  border-radius: 10px;
  background: #fafcfe;
  width: 100%;
  height: 120px;
  cursor: crosshair;
  display: block;
}

.signature-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: 999px;
}

.policy-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.6;
}

.policy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--teal);
}

.form-submit {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(18,59,109,0.08);
}

/* ── Verification page ──────────────────────────────── */
.verify-box {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(18,59,109,0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem 2.5rem;
  text-align: center;
}

.verify-box .form-field {
  text-align: left;
}

.verify-result {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  font-weight: 600;
  display: none;
}

.verify-result.valid {
  background: rgba(15,139,141,0.08);
  border: 1px solid rgba(15,139,141,0.3);
  color: var(--teal);
  display: block;
}

.verify-result.invalid {
  background: rgba(199,67,67,0.07);
  border: 1px solid rgba(199,67,67,0.25);
  color: #b94444;
  display: block;
}

/* ── Cards grid 3-col ───────────────────────────────── */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ── Info table (legal pages) ──────────────────────── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.info-table th,
.info-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(18,59,109,0.08);
  color: var(--muted);
}

.info-table th {
  font-weight: 700;
  color: var(--navy);
  background: rgba(18,59,109,0.03);
}

/* ── Contact page ───────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(18,59,109,0.07);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(15,139,141,0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--teal);
}

@media (max-width: 1080px) {
  .page-body .two-col,
  .contact-grid,
  .cards-grid-3,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .trust-grid,
  .cards-grid,
  .cards-grid.four-up,
  .news-grid,
  .footer-grid,
  .benefits-layout,
  .two-column,
  .verification-panel {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .partners-proof {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .utility-wrap,
  .cta-banner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-bar {
    display: none;
  }

  .nav-bar.open {
    display: block;
  }

  .primary-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav > a,
  .nav-drop-toggle {
    border-right: none;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    padding: 0.85rem 1.25rem;
    width: 100%;
  }

  .primary-nav > a:first-child {
    border-left: none;
  }

  .nav-dropdown {
    border-right: none;
  }

  .nav-drop-panel {
    position: static;
    box-shadow: none;
    border: none;
    border-top: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.18);
    padding: 0;
    display: none;
  }

  .nav-drop-toggle[aria-expanded="true"] + .nav-drop-panel {
    display: block;
  }

  .nav-drop-panel a {
    padding: 0.7rem 1.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
  }

  .nav-drop-panel a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-left: 2rem;
  }

  .brand-actions {
    display: none;
  }

  .hero-slider,
  .hero-content {
    min-height: 85vh;
  }

  .slider-controls {
    inset: 0;
  }

  .slider-arrow[data-direction="prev"] { left: 0.5rem; }
  .slider-arrow[data-direction="next"] { right: 0.5rem; }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .section {
    padding: 4.5rem 0;
  }
}
