:root {
  --gold: #1E5AA8;
  --gold-light: #0D2E5C;
  --gold-dark: #0A2347;
  --silver: #C5CDD6;
  --black: #f4f7fb;
  --dark: #ffffff;
  --dark-card: #ffffff;
  --text: #1a2b44;
  --muted: #5b6b80;
}

* { box-sizing: border-box; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--text);
}

a { color: var(--gold); }

#header {
  min-height: 92px;
  position: sticky;
  top: 0;
  z-index: 1030;
}
#footer { min-height: 280px; }

.navbar {
  background: var(--dark) !important;
  box-shadow: 0 2px 16px rgba(13, 46, 92, 0.08);
  border-bottom: 1px solid rgba(30, 90, 168, 0.12);
}

.navbar-brand img {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0;
}

.footer-logo {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
}

.footer-brand .small {
  max-width: 240px;
}

.nav-link {
  font-weight: 500;
  color: var(--muted) !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold) !important;
}

.nav-link.active {
  border-bottom: 2px solid var(--gold);
}

.navbar-toggler {
  border-color: rgba(30, 90, 168, 0.4);
}

.navbar-toggler-icon {
  filter: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff !important;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  transition: all 0.25s;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #3d7bc9, var(--gold));
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(30, 90, 168, 0.35);
}

.btn-apply,
.btn-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  padding: 0.75rem 1.9rem;
  font-weight: 700;
  border-radius: 6px;
  color: #fff !important;
}

.btn-apply:hover,
.btn-cta:hover,
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #3d7bc9, var(--gold));
  color: #fff !important;
}

.hero-section {
  --text: #ffffff;
  --muted: #d7e2ee;
  --gold-light: #c5cdd6;
  background:
    linear-gradient(135deg, rgba(5, 12, 28, 0.88) 0%, rgba(8, 18, 40, 0.72) 50%, rgba(13, 46, 92, 0.42) 100%),
    url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  color: #fff;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-section h1 span { color: var(--silver); }

.page-hero {
  --text: #ffffff;
  --muted: #d7e2ee;
  --gold-light: #c5cdd6;
  background:
    linear-gradient(135deg, rgba(5, 12, 28, 0.78) 0%, rgba(8, 18, 40, 0.58) 50%, rgba(13, 46, 92, 0.36) 100%),
    url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  color: #fff;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 4rem 0 3rem;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.page-hero h1 span { color: var(--silver); }

.badge-services {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  color: var(--silver);
  border: 1px solid rgba(197, 205, 214, 0.55);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.feature-icon {
  font-size: 1.35rem;
  margin-right: 0.4rem;
  color: var(--gold);
}

.areas-bar {
  background: var(--dark-card);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(13, 46, 92, 0.12);
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(30, 90, 168, 0.2);
}

.area-item { text-align: center; padding: 0.5rem; }
.area-item i {
  font-size: 1.7rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}
.area-item span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.area-item small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.section-title {
  text-align: center;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2rem;
  position: relative;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 2px;
  background: rgba(30, 90, 168, 0.35);
}
.section-title::before { left: calc(50% - 160px); }
.section-title::after { right: calc(50% - 160px); }

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-top: -1.2rem;
  margin-bottom: 2rem;
}

.service-card {
  border: 1px solid rgba(30, 90, 168, 0.18);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  background: var(--dark-card);
}

.service-card:hover {
  box-shadow: 0 10px 30px rgba(30, 90, 168, 0.15);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.service-card i {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.service-card h5 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0;
}

.service-card a {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--gold);
}

.service-card a:hover { color: var(--gold-light); }

.requirements-section {
  background: linear-gradient(180deg, #eaf0f8 0%, var(--black) 100%);
  padding: 3.5rem 0;
}

.req-list { list-style: none; padding-left: 0; }
.req-list li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text);
}
.req-list li i {
  color: var(--gold);
  margin-right: 0.5rem;
}

.why-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.why-item i {
  width: 36px;
  height: 36px;
  background: rgba(30, 90, 168, 0.15);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.8rem;
  font-size: 1rem;
  flex-shrink: 0;
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: rgba(30, 90, 168, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.why-section h6 {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
}

.why-section p {
  color: var(--muted);
  font-size: 0.8rem;
}

.process-step { text-align: center; position: relative; }

.process-step .step-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
}

.process-step i {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

.process-step h6 {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--gold-light);
}

.process-step p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0;
}

.process-line {
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: rgba(30, 90, 168, 0.25);
  z-index: 1;
}

.cta-banner {
  background: var(--dark-card);
  border: 1px solid rgba(30, 90, 168, 0.2);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-banner h5 { color: var(--gold-light); }

.overview-card,
.region-card,
.info-card,
.benefit-card,
.checklist-card,
.login-card,
.form-card,
.legal-card,
.sidebar-card {
  background: var(--dark-card);
  border: 1px solid rgba(30, 90, 168, 0.18);
  border-radius: 12px;
  padding: 1.4rem;
}

.row > [class*="col"] > .overview-card:only-child,
.row > [class*="col"] > .region-card:only-child,
.row > [class*="col"] > .info-card:only-child,
.row > [class*="col"] > .benefit-card:only-child,
.row > [class*="col"] > .checklist-card:only-child {
  height: 100%;
}

.overview-card i,
.region-card i,
.info-card i,
.benefit-card i {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

.overview-card h6,
.region-card h6,
.info-card h6,
.benefit-card h6,
.checklist-card h6 {
  color: var(--gold-light);
  font-weight: 700;
}

.overview-card p,
.region-card p,
.info-card p,
.benefit-card p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.form-card,
.login-card,
.legal-card { padding: 1.8rem; }

.form-label {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
}

.form-control,
.form-select {
  background: #fff;
  border: 1px solid rgba(30, 90, 168, 0.28);
  color: var(--text);
}

.form-control:focus,
.form-select:focus {
  background: #fff;
  border-color: var(--gold);
  color: var(--text);
  box-shadow: 0 0 0 0.2rem rgba(30, 90, 168, 0.15);
}

.form-control::placeholder { color: #8a97a8; }

.form-select option { background: #fff; color: var(--text); }

.form-check-input {
  background-color: #fff;
  border-color: rgba(30, 90, 168, 0.45);
}

.form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

.form-check-label { color: var(--muted); font-size: 0.9rem; }

.form-section-title {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(30, 90, 168, 0.18);
  padding-bottom: 0.5rem;
  margin: 1.5rem 0 1rem;
}

.alert-success-custom {
  background: rgba(30, 90, 168, 0.12);
  border: 1px solid rgba(30, 90, 168, 0.35);
  color: var(--text);
  border-radius: 10px;
  padding: 1.2rem;
}

.sidebar-card h6 {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.sidebar-card p,
.sidebar-card li {
  color: var(--muted);
  font-size: 0.9rem;
}

.sidebar-card i { color: var(--gold); }

.legal-card h2 {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.8rem;
}

.legal-card h2:first-child { margin-top: 0; }

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.coverage-box,
.map-box {
  background: rgba(30, 90, 168, 0.08);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(30, 90, 168, 0.15);
}

.checklist-card ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.checklist-card li {
  color: var(--text);
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}
.checklist-card li i { color: var(--gold); margin-right: 0.45rem; }

footer {
  background: #eef3f9;
  color: var(--muted);
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(30, 90, 168, 0.12);
}

footer h6 {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

footer a:hover { color: var(--gold); }

footer a.d-inline { display: inline; }

.social-icons a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  background: rgba(30, 90, 168, 0.12);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  color: var(--gold);
}

.social-icons a:hover {
  background: var(--gold);
  color: #fff;
}

@media (max-width: 991px) {
  .hero-section h1,
  .page-hero h1 { font-size: 2.1rem; }
  .section-title::before,
  .section-title::after,
  .process-line { display: none; }
  .navbar-collapse {
    padding: 0.75rem 0 1rem;
    background: var(--dark);
  }
  .nav-link.active { border-bottom: none; }
  .navbar-brand img { height: 48px; max-width: 180px; }
  .footer-logo { max-width: 200px; }
}
