:root {
  --g21-navy: #0b1f36;
  --g21-blue: #123b63;
  --g21-teal: #18a999;
  --g21-sky: #d9ebf8;
  --g21-ink: #102133;
  --g21-sand: #f5f8fb;
  --g21-border: rgba(16, 33, 51, 0.12);
  --g21-shadow: 0 24px 60px rgba(11, 31, 54, 0.14);
}

html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--g21-ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(24, 169, 153, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(18, 59, 99, 0.15), transparent 25%),
    linear-gradient(180deg, #f8fbfe 0%, #edf4fa 100%);
}

a {
  color: var(--g21-blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--g21-teal);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  padding-inline: 1.2rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--g21-blue), var(--g21-teal));
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(18, 59, 99, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #0f3357, #139885);
  border-color: transparent;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
}

.btn:focus-visible,
.nav-link:focus-visible,
.navbar-brand:focus-visible,
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(24, 169, 153, 0.24);
}

.site-header {
  background: rgba(11, 31, 54, 0.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(11, 31, 54, 0.12);
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.84);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  color: #fff;
}

.site-main {
  position: relative;
}

.page-shell,
.hero-shell,
.content-shell,
.cta-band,
.form-shell,
.legal-shell,
.blog-shell {
  position: relative;
  border: 1px solid var(--g21-border);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--g21-shadow);
}

.hero-shell {
  overflow: hidden;
  padding: clamp(1.25rem, 2vw, 2rem);
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto -5rem -7rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 169, 153, 0.35), transparent 65%);
  pointer-events: none;
}

.page-hero {
  background: linear-gradient(135deg, var(--g21-navy), var(--g21-blue));
  color: #fff;
}

.page-hero .text-secondary,
.page-hero .lead,
.page-hero p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(24, 169, 153, 0.12);
  color: var(--g21-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: currentColor;
}

.display-balance,
h1, h2, h3, h4, h5, .navbar-brand {
  text-wrap: balance;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 60ch;
}

.trust-strip {
  margin-top: 1.25rem;
}

.trust-chip {
  height: 100%;
  border-radius: 1.15rem;
  border: 1px solid rgba(18, 59, 99, 0.12);
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem 1rem 1.1rem;
}

.trust-chip strong {
  display: block;
  margin-bottom: 0.25rem;
}

.service-grid .card,
.blog-grid .card,
.metric-card,
.process-card,
.faq-card,
.quote-note,
.info-card {
  height: 100%;
  border: 1px solid rgba(16, 33, 51, 0.1);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(11, 31, 54, 0.08);
}

.service-card,
.post-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(11, 31, 54, 0.14);
}

.service-badge,
.post-badge {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.95rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--g21-blue), var(--g21-teal));
}

.cta-band {
  background: linear-gradient(135deg, var(--g21-navy), #0f3357 55%, #125f68);
  color: #fff;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -6rem -5rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 169, 153, 0.35), transparent 65%);
  pointer-events: none;
}

.cta-band .text-secondary {
  color: rgba(255, 255, 255, 0.82) !important;
}

.cta-band .btn-outline-light {
  color: #fff;
}

.process-step {
  position: relative;
  padding: 1.25rem;
}

.process-step .step-number {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, var(--g21-blue), var(--g21-teal));
  color: #fff;
  font-weight: 800;
}

.accordion-item {
  border-radius: 1rem !important;
  overflow: hidden;
}

.accordion-button {
  font-weight: 700;
}

.form-shell .form-control,
.form-shell .form-select,
.quote-note {
  border-radius: 1rem;
}

.form-control,
.form-select {
  border-color: rgba(16, 33, 51, 0.16);
  padding-block: 0.9rem;
}

.form-control::placeholder {
  color: rgba(16, 33, 51, 0.45);
}

.map-frame {
  min-height: 360px;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(16, 33, 51, 0.12);
  box-shadow: 0 16px 42px rgba(11, 31, 54, 0.08);
  background: linear-gradient(135deg, #d6e7f7, #eef8f5);
}

.legal-shell,
.blog-shell,
.content-shell {
  padding: clamp(1.2rem, 2vw, 2rem);
}

.site-footer {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
}

.site-footer a {
  color: var(--g21-ink);
}

.site-footer a:hover {
  color: var(--g21-teal);
}

.shadow-soft {
  box-shadow: var(--g21-shadow);
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
