:root {
  --primary-blue: #1a365d;
  --primary-blue2: #1e3c72;
  --accent-green: #10b981;
  --dark-bg: #0f172a;
  --light-bg: #f8fafc;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: #ffffff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent-green);
  outline-offset: 2px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 10px 16px;
  background: var(--primary-blue);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  z-index: 10000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* -------------------------------------------------------------------------
   CVG Global Nav
------------------------------------------------------------------------- */

#cvg-global-nav {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 9999;
}

#cvg-global-nav .nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.cvg-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 800;
}

.cvg-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

#cvg-global-nav a,
#cvg-global-nav button {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#cvg-global-nav a:hover,
#cvg-global-nav button:hover {
  background: rgba(255, 255, 255, 0.25);
}

.cvg-more {
  position: relative;
}

#cvg-dropdown {
  max-height: 70vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.cvg-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  background: white;
  min-width: 980px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  padding: 10px;
  z-index: 10000;
}

.cvg-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 10px;
  padding: 6px;
}

.cvg-dropdown-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
}

.cvg-dropdown-title {
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  color: #0f172a;
  margin: 4px 6px 10px;
}

.cvg-menu-link {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  color: #1e293b !important;
  background: transparent !important;
  text-decoration: none;
  border-radius: 10px;
}

.cvg-menu-link:hover {
  background: rgba(26, 54, 93, 0.08) !important;
}

.cvg-menu-title {
  display: block;
  font-weight: 900;
}

.cvg-menu-desc {
  display: block;
  font-size: 12px;
  opacity: 0.75;
}

/* -------------------------------------------------------------------------
   Trust banner + site nav
------------------------------------------------------------------------- */

.trust-banner {
  background: var(--dark-bg);
  color: white;
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
  border-bottom: 3px solid var(--primary-blue);
}

.site-nav {
  background: white;
  padding: 1rem 0;
  position: sticky;
  top: var(--cvg-global-nav-height, 0px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid var(--primary-blue);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-nav .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.2rem;
}

.site-nav .logo img {
  height: 40px;
  width: 40px;
}

.site-nav .nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  color: var(--primary-blue);
  font-weight: 800;
  cursor: pointer;
}

.site-nav .nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav .nav-links a {
  color: var(--primary-blue);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  font-weight: 800;
}

.site-nav .nav-links a:hover {
  color: var(--accent-green);
}

.site-nav .cta-btn {
  background: var(--primary-blue);
  color: white !important;
  border-radius: 6px;
  padding: 0.6rem 1.4rem;
  font-weight: 900;
}

/* -------------------------------------------------------------------------
   Hero
------------------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(
      900px 520px at 15% 10%,
      rgba(16, 185, 129, 0.25),
      transparent 60%
    ),
    linear-gradient(135deg, #1a365d 0%, #0f172a 100%);
  color: white;
  padding: 5.5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  max-width: 900px;
  margin: 0 auto 2rem;
  opacity: 0.96;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-block;
  padding: 1rem 2.3rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.02rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent-green);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary-blue);
}

.btn-outline {
  border: 2px solid white;
  color: white;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* -------------------------------------------------------------------------
   Sections
------------------------------------------------------------------------- */

.section {
  padding: 5rem 0;
}

.section--light {
  background: var(--light-bg);
}

.section--white {
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 920px;
  margin: 0 auto;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: #ffffff;
  border: 2px solid var(--border);
  border-top: 5px solid var(--accent-green);
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.step-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--primary-blue);
  margin-bottom: 0.6rem;
}

/* Stats */
.stats {
  background: var(--light-bg);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.2rem;
  text-align: center;
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--accent-green);
}

.stat-label {
  font-weight: 900;
  color: var(--primary-blue);
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border: 2px solid var(--border);
  border-top: 5px solid var(--accent-green);
  padding: 2rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.service-card h3 {
  color: var(--primary-blue);
  margin-bottom: 0.6rem;
  font-weight: 900;
}

.service-card p {
  color: #475569;
}

/* Portal cards */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.portal-card {
  background: #f8fafc;
  border: 2px solid var(--border);
  border-top: 5px solid var(--primary-blue);
  border-radius: 14px;
  padding: 1.8rem;
  text-decoration: none;
  color: var(--primary-blue);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.portal-card .icon {
  font-size: 2.2rem;
}

/* FAQ */
.faq {
  max-width: 980px;
  margin: 0 auto;
}

.faq details {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.faq details + details {
  margin-top: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--primary-blue);
}

.faq p {
  margin-top: 10px;
  color: #475569;
}

/* Contact */
.contact {
  background: linear-gradient(135deg, #1a365d 0%, #0f172a 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.contact a {
  color: white;
  text-decoration: none;
  font-weight: 900;
}

.contact-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
  font-weight: 900;
}

.contact-lead {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 2rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-footnote {
  margin-top: 1.5rem;
  font-weight: 800;
}

/* Footer */
footer {
  background: var(--dark-bg);
  color: white;
  padding: 60px 2rem 30px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-section h4 {
  color: var(--accent-green);
  margin-bottom: 12px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 4px 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}

/* -------------------------------------------------------------------------
   Responsive
------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .cvg-dropdown {
    min-width: 92vw;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .cvg-dropdown-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3.8rem 0;
  }

  .site-nav .nav-toggle {
    display: inline-flex;
  }

  .site-nav .nav-links {
    width: 100%;
    justify-content: center;
    padding: 10px;
    border-radius: 12px;
    border: 2px solid var(--border);
    background: #ffffff;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
