:root {
  --bg: #eef4f8;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #ffffff;
  --surface-muted: #f7fbff;
  --line: rgba(14, 34, 57, 0.12);
  --ink: #13263c;
  --ink-soft: #486277;
  --brand: #0b5fa5;
  --brand-deep: #0d3f74;
  --accent: #ff8a1c;
  --accent-deep: #e46f00;
  --teal: #11a6a0;
  --success: #0d9488;
  --danger: #b42318;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 24px 70px rgba(18, 38, 60, 0.11);
  --shadow-soft: 0 16px 40px rgba(11, 95, 165, 0.11);
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(17, 166, 160, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 138, 28, 0.14), transparent 24%),
    linear-gradient(180deg, #f4f8fb 0%, #ebf2f7 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  background: rgba(7, 26, 45, 0.9);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.topbar a {
  color: #ffffff;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(244, 248, 251, 0.92);
  border-bottom: 1px solid rgba(13, 63, 116, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand-mark img {
  width: min(280px, 58vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(11, 95, 165, 0.08);
  color: var(--brand-deep);
}

.site-nav .nav-call {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(11, 95, 165, 0.14), rgba(17, 166, 160, 0.12));
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: 0.2s ease;
}

.breadcrumbs {
  width: var(--container);
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--brand-deep);
  font-weight: 700;
}

.breadcrumbs .current {
  color: var(--ink-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 184px;
  min-height: 700px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-home::before {
  background-image: url("/assets/img/hero-home.jpg");
}

.hero-service::before,
.hero-location::before {
  background-image: url("/assets/img/hero-location.jpg");
}

.hero-legal::before {
  background-image: url("/assets/img/contact-desk.jpg");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(9, 26, 46, 0.95) 0%, rgba(9, 26, 46, 0.86) 44%, rgba(9, 26, 46, 0.46) 74%, rgba(9, 26, 46, 0.08) 100%),
    radial-gradient(circle at 18% 20%, rgba(17, 166, 160, 0.18), transparent 28%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 720px);
}

.hero-copy {
  color: #ffffff;
  width: 100%;
  max-width: min(100%, 46rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.hero h1,
.section-head h2,
.content-card h2,
.legal-card h2 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  max-width: 14ch;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}

.hero-legal .hero-copy {
  max-width: min(100%, 56rem);
}

.hero-legal h1 {
  max-width: 16ch;
}

.hero .lead {
  margin: 20px 0 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.check-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.check-list li::before {
  content: "";
  color: var(--accent);
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--accent);
  flex: 0 0 10px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(255, 138, 28, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.button-full {
  width: 100%;
}

.button-outline {
  background: #ffffff;
  color: var(--brand-deep);
  border: 1px solid rgba(13, 63, 116, 0.16);
  box-shadow: 0 12px 28px rgba(18, 38, 60, 0.08);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-chips span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.section {
  padding: 86px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.64) 0%, rgba(246, 250, 252, 0.84) 100%);
}

.section-overlap {
  margin-top: -28px;
  padding-top: 0;
  position: relative;
  z-index: 3;
}

.metrics-grid,
.card-grid,
.card-grid-4,
.brand-grid,
.link-grid,
.footer-grid,
.contact-grid,
.split-grid {
  display: grid;
  gap: 22px;
}

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

.metrics-grid article {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(13, 63, 116, 0.08);
  box-shadow: var(--shadow);
}

.metrics-grid strong {
  display: block;
  font-family: "Sora", "Manrope", sans-serif;
  color: var(--brand-deep);
  font-size: 1.3rem;
}

.metrics-grid span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
}

.section-head {
  max-width: 860px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

.section-head p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.info-card,
.content-card,
.aside-card,
.legal-card,
.contact-card,
.link-tile,
.brand-tile,
.faq-item,
.centered-copy {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

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

.info-card {
  padding: 28px;
}

.card-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-card h3,
.aside-card strong,
.brand-tile strong,
.link-tile strong,
.legal-card h3,
.faq-item summary {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.info-card p,
.content-card p,
.link-tile span,
.brand-tile span,
.faq-item p,
.legal-card p,
.legal-card li,
.footer-brand p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.text-arrow {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 800;
}

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

.brand-tile {
  padding: 24px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-tile img {
  width: auto;
  max-width: 190px;
  height: 58px;
  object-fit: contain;
  filter: grayscale(0.1);
}

.brand-tile strong {
  font-size: 1.1rem;
  color: var(--brand-deep);
}

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

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

.link-tile {
  padding: 24px;
  display: block;
  transition: 0.2s ease;
}

.link-tile:hover,
.link-tile:focus-visible,
.brand-tile:hover,
.brand-tile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(11, 95, 165, 0.18);
}

.link-tile strong {
  display: block;
  color: var(--brand-deep);
}

.split-grid {
  grid-template-columns: minmax(0, 1.85fr) minmax(260px, 0.78fr);
  align-items: stretch;
}

.content-card,
.legal-card {
  padding: 34px;
}

.aside-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.aside-card img {
  max-width: 180px;
  object-fit: contain;
}

.aside-photo {
  padding: 0;
  overflow: hidden;
  background: #dfe8ef;
}

.aside-photo img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: left center;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: start;
}

.section-contact {
  padding-top: 32px;
}

.contact-copy {
  padding: 18px 0;
}

.contact-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.contact-points div {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
}

.contact-points strong {
  display: block;
  color: var(--brand-deep);
}

.contact-points span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
}

.contact-card {
  padding: 28px;
}

.contact-card form {
  display: grid;
  gap: 16px;
}

.contact-card label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--brand-deep);
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid rgba(13, 63, 116, 0.12);
  border-radius: 16px;
  padding: 15px 16px;
  background: #ffffff;
  color: var(--ink);
}

.contact-card textarea {
  min-height: 140px;
  resize: vertical;
}

.section-funnel {
  position: relative;
}

.funnel-shell {
  max-width: 980px;
  margin: 0 auto;
}

.funnel-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-weight: 700;
}

.funnel-progress-step,
.funnel-progress-percent {
  font-size: 1rem;
}

.funnel-progress-bar {
  height: 16px;
  border-radius: 999px;
  background: rgba(19, 38, 60, 0.08);
  overflow: hidden;
}

.funnel-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 138, 28, 0.9) 0%, rgba(17, 166, 160, 0.9) 100%);
  transition: width 0.28s ease;
}

.funnel-card {
  margin-top: 26px;
  padding: 42px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 63, 116, 0.1);
  box-shadow: 0 28px 68px rgba(18, 38, 60, 0.14);
}

.funnel-question-wrap h3 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.funnel-question-wrap p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.funnel-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.funnel-option {
  width: 100%;
  min-height: 150px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(13, 63, 116, 0.12);
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 12px 28px rgba(18, 38, 60, 0.06);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.funnel-option:hover,
.funnel-option:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(11, 95, 165, 0.28);
  box-shadow: 0 18px 34px rgba(11, 95, 165, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(246, 250, 252, 1) 100%);
}

.funnel-option-title,
.funnel-option-note {
  display: block;
}

.funnel-option-title {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.26rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.funnel-option-note {
  margin-top: 12px;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.5;
}

.funnel-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.funnel-summary span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(11, 95, 165, 0.08);
  color: var(--brand-deep);
  font-weight: 700;
}

.funnel-actions-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.funnel-result-copy {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.funnel-result-meta {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.funnel-result-service {
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(11, 95, 165, 0.08) 0%, rgba(17, 166, 160, 0.08) 100%);
  border: 1px solid rgba(11, 95, 165, 0.12);
}

.funnel-result-service strong {
  display: block;
  font-family: "Sora", "Manrope", sans-serif;
  color: var(--brand-deep);
  font-size: 1.2rem;
}

.funnel-result-service p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.funnel-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.form-status {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}

.form-status.success {
  color: #065f46;
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.form-status.error {
  color: #842029;
  background: rgba(180, 35, 24, 0.1);
  border: 1px solid rgba(180, 35, 24, 0.18);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 22px 26px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  color: var(--brand-deep);
  padding-right: 28px;
  position: relative;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
  font-size: 1.4rem;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.legal-shell {
  padding-top: 0;
}

.legal-card h3 {
  margin-top: 28px;
  color: var(--brand-deep);
}

.centered-copy {
  padding: 36px;
  text-align: center;
}

.site-footer {
  margin-top: 40px;
  padding: 56px 0 28px;
  background: linear-gradient(180deg, rgba(9, 26, 46, 0.98) 0%, rgba(15, 38, 61, 1) 100%);
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
}

.footer-brand img {
  width: min(260px, 64vw);
}

.footer-brand p {
  max-width: 40ch;
}

.footer-contact,
.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.site-footer h3 {
  margin: 0;
  color: #ffffff;
  font-family: "Sora", "Manrope", sans-serif;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.sticky-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sticky-contact a {
  min-height: 46px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(10, 31, 51, 0.18);
  border: 1px solid rgba(13, 63, 116, 0.12);
  color: var(--brand-deep);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .metrics-grid,
  .card-grid-4,
  .brand-grid,
  .link-grid.compact,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .link-grid,
  .funnel-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(13, 63, 116, 0.12);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 16px;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 120px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .contact-points,
  .metrics-grid,
  .card-grid,
  .card-grid-4,
  .brand-grid,
  .link-grid,
  .link-grid.compact,
  .funnel-options,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar {
    display: none;
  }

  .nav-shell {
    padding: 14px 0;
  }

  .brand-mark img {
    width: min(220px, 62vw);
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.15rem, 10vw, 3.55rem);
    line-height: 0.96;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .section {
    padding: 68px 0;
  }

  .section-overlap {
    margin-top: -16px;
  }

  .content-card,
  .legal-card,
  .aside-card,
  .info-card,
  .contact-card,
  .link-tile,
  .brand-tile,
  .faq-item,
  .funnel-card {
    padding: 22px;
  }

  .funnel-question-wrap h3 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .funnel-option {
    min-height: 0;
    padding: 20px;
  }

  .funnel-progress-head,
  .funnel-actions-row,
  .funnel-result-actions {
    align-items: stretch;
  }

  .funnel-actions-row .button,
  .funnel-result-actions .button {
    width: 100%;
  }

  .aside-photo img {
    min-height: 280px;
  }

  .sticky-contact {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .sticky-contact a {
    flex: 1 1 calc(33.333% - 8px);
    justify-content: center;
    min-width: 0;
  }
}
