:root {
  --cbp-navy: #071526;
  --cbp-logo-bg: #010710;
  --cbp-blue: #0f4c81;
  --cbp-accent: #1b75bc;
  --cbp-gold: #d8a84f;
  --cbp-soft: #f6f9fc;
  --cbp-text: #132033;
  --cbp-muted: #637083;
  --cbp-border: #dbe4ee;
  --cbp-focus: #7dc4ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: var(--cbp-soft);
  color: var(--cbp-text);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--cbp-focus);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--cbp-logo-bg);
  color: #ffffff;
  padding: 12px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border-radius: 8px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 58px;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  position: relative;
  color: #d7e3f0;
  border-radius: 6px;
  padding: 8px 2px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #ffffff;
}

.main-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--cbp-gold);
  content: "";
}

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--cbp-gold);
  color: var(--cbp-navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-whatsapp:hover {
  filter: brightness(1.06);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  padding: 9px 12px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle__icon {
  display: grid;
  gap: 4px;
  width: 20px;
}

.menu-toggle__icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  padding: 72px 0;
  background: linear-gradient(135deg, #071526, #0f4c81);
  color: #ffffff;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
}

.hero p {
  max-width: 760px;
  font-size: 20px;
  line-height: 1.55;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 20px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: var(--cbp-gold);
  color: var(--cbp-navy);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-whatsapp {
  background: #ffffff;
  color: var(--cbp-navy);
}

.section {
  padding: 56px 0;
}

.section-white {
  background: #ffffff;
}

.section-cta {
  background: var(--cbp-blue);
  color: #ffffff;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(7, 21, 38, 0.08);
}

.btn-row-light {
  margin-top: 22px;
}

.btn-dark {
  background: var(--cbp-navy);
  color: #ffffff;
}

.btn-outline-dark {
  border: 1px solid rgba(7, 21, 38, 0.28);
  color: var(--cbp-navy);
}

.contact-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-links a {
  display: grid;
  gap: 2px;
  border-radius: 8px;
  text-decoration: none;
}

.contact-links__label {
  color: #9eb4c9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-block {
  padding: 32px;
  border: 1px solid var(--cbp-border);
  border-radius: 20px;
  background: #ffffff;
}

.trust-block h2 {
  margin: 0 0 20px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: var(--cbp-soft);
}

.trust-item__mark {
  color: var(--cbp-blue);
  font-weight: 900;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border-radius: 22px;
  background: var(--cbp-blue);
  color: #ffffff;
}

.final-cta h2,
.final-cta p {
  margin-top: 0;
}

.final-cta p {
  margin-bottom: 0;
  color: #d7e3f0;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  padding: 44px 0 24px;
  background: var(--cbp-logo-bg);
  color: #d7e3f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 420px;
  margin: 18px 0 0;
}

.footer-logo-link {
  display: inline-flex;
  border-radius: 8px;
}

.footer-logo {
  display: block;
  width: auto;
  height: 50px;
}

.footer-heading {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #d7e3f0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.calculator-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.calculator-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.calculator-card p {
  flex: 1;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--cbp-blue);
  text-decoration: none;
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .calculator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-panel {
    gap: 14px;
  }

  .main-nav {
    gap: 12px;
  }
}

@media (max-width: 800px) {
  .site-header {
    padding: 10px 0;
  }

  .nav-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
  }

  .brand-logo {
    height: 48px;
  }

  .menu-toggle {
    align-self: center;
  }

  .js-enabled .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    grid-column: 1 / -1;
    display: flex;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 12px 0 4px;
  }

  .js-enabled .nav-panel {
    display: none;
  }

  .js-enabled .nav-panel.is-open {
    display: flex;
  }

  .main-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .main-nav a {
    min-height: 44px;
    padding: 10px 8px;
  }

  .main-nav a[aria-current="page"]::after {
    right: auto;
    width: 48px;
  }

  .nav-whatsapp {
    width: 100%;
  }

  .hero {
    padding: 52px 0;
  }

  .card-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .final-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 24px, 1120px);
  }

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

  .hero p {
    font-size: 18px;
  }

  .btn-row,
  .final-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Step 3.4 homepage */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 82px;
  background:
    radial-gradient(circle at 82% 16%, rgba(27, 117, 188, 0.42), transparent 32%),
    linear-gradient(135deg, #071526 0%, #0a2744 58%, #0f4c81 100%);
}

.home-hero::after {
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.home-hero__content {
  position: relative;
  z-index: 1;
}

.home-eyebrow,
.home-section-label,
.home-card-kicker {
  margin: 0 0 14px;
  color: var(--cbp-gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.035em;
}

.home-hero .home-hero__lead {
  max-width: 790px;
  margin: 0;
  color: #d7e3f0;
  font-size: clamp(18px, 2vw, 21px);
}

.home-hero__primary-actions {
  margin-top: 30px;
}

.home-hero__secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 18px;
}

.home-hero__text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 750;
  text-underline-offset: 4px;
}

.home-section {
  padding: 72px 0;
}

.home-section__heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.home-section__heading--wide {
  max-width: 880px;
}

.home-section__heading h2,
.home-split-section h2,
.home-feature-band h2,
.home-clarity h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.home-section__heading p,
.home-split-section > p,
.home-feature-band p,
.home-clarity p {
  color: var(--cbp-muted);
  font-size: 18px;
}

.home-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.home-path-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--cbp-border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(7, 21, 38, 0.07);
}

.home-path-card h3,
.home-service-card h3,
.home-process-step h3 {
  margin: 0 0 10px;
  color: var(--cbp-navy);
  font-size: 22px;
}

.home-path-card p:not(.home-card-kicker),
.home-service-card p,
.home-process-step p {
  margin-top: 0;
  color: var(--cbp-muted);
}

.home-path-card .text-link,
.home-service-card .text-link {
  margin-top: auto;
}

.home-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-process-step {
  display: flex;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--cbp-border);
  border-radius: 18px;
  background: var(--cbp-soft);
}

.home-process-step__number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cbp-blue);
  color: #ffffff;
  font-weight: 850;
}

.home-process-step p {
  margin-bottom: 0;
}

.home-trust-section {
  background: var(--cbp-navy);
  color: #ffffff;
}

.home-trust-section .home-section__heading p {
  color: #c6d6e5;
}

.home-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-check-grid li {
  position: relative;
  padding: 16px 18px 16px 50px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.home-check-grid li::before {
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--cbp-gold);
  content: "✓";
  font-weight: 900;
}

.home-note {
  max-width: 900px;
  margin: 24px 0 0;
  color: #aebfd0;
  font-size: 14px;
}

.home-service-grid {
  align-items: stretch;
}

.home-service-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  border: 1px solid var(--cbp-border);
  box-shadow: none;
}

.home-split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 72px;
}

.home-split-section > p {
  margin: 0;
}

.home-feature-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 40px;
  border: 1px solid var(--cbp-border);
  border-radius: 24px;
  background: var(--cbp-soft);
}

.home-feature-band > div {
  max-width: 760px;
}

.home-feature-band p {
  margin-bottom: 0;
}

.home-feature-band .btn {
  flex: 0 0 auto;
}

.home-clarity {
  max-width: 850px;
  text-align: center;
}

.home-clarity p {
  margin: 18px auto 0;
}

.home-final-section {
  padding: 0 0 72px;
}

@media (max-width: 800px) {
  .home-hero {
    padding: 64px 0 60px;
  }

  .home-section {
    padding: 56px 0;
  }

  .home-path-grid,
  .home-process-grid,
  .home-check-grid,
  .home-split-section {
    grid-template-columns: 1fr;
  }

  .home-split-section {
    gap: 20px;
  }

  .home-feature-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .home-hero h1 {
    font-size: 40px;
  }

  .home-hero__secondary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-hero__text-link {
    width: 100%;
  }

  .home-path-card,
  .home-process-step,
  .home-feature-band {
    padding: 24px;
  }

  .home-process-step {
    flex-direction: column;
  }

  .home-final-section {
    padding-bottom: 56px;
  }
}
