:root {
  --primary: #134392;
  --accent: #01adf2;
  --danger: #db2b25;
  --ink: #0d1728;
  --muted: #627086;
  --line: #dfe7f0;
  --panel: #ffffff;
  --soft: #f5f8fc;
  --hero: #071a35;
  --shadow: 0 24px 70px rgba(13, 23, 40, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.narrow {
  --max: 820px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px max(20px, calc((100vw - var(--max)) / 2));
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 40px rgba(13, 23, 40, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 72px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a:hover {
  color: var(--accent);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.link-button {
  padding: 9px 4px;
  font-size: 0.9rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  color: #ffffff;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: 0 13px 32px rgba(19, 67, 146, 0.26);
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

.button:hover {
  background: #0f397c;
  transform: translateY(-1px);
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.button-outline {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: none;
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.62);
}

.button-wide {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 126px 0 80px;
  color: #ffffff;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 26, 53, 0.98) 0%, rgba(7, 26, 53, 0.9) 46%, rgba(19, 67, 146, 0.46) 100%),
    radial-gradient(circle at 24% 28%, rgba(1, 173, 242, 0.24), transparent 30%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 80px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 14px;
  color: #dff6ff;
  background: rgba(1, 173, 242, 0.13);
  border: 1px solid rgba(1, 173, 242, 0.34);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.eyebrow span,
.pulse {
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(1, 173, 242, 0.16);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 58px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 720px;
}

.stats strong {
  display: block;
  color: var(--accent);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.stats span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.hero-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #dff6ff;
  font-weight: 800;
}

.route {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.68);
}

.route strong {
  color: #ffffff;
}

.tracking-line {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 12px 0 28px;
}

.tracking-line::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: rgba(255, 255, 255, 0.26);
}

.tracking-line span {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 3px solid #ffffff;
  border-radius: 50%;
}

.hero-card ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-card li strong {
  color: #ffffff;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading > span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.light h2,
.section-heading.light p {
  color: #ffffff;
}

.section-heading.light p {
  opacity: 0.74;
}

.cards {
  display: grid;
  gap: 24px;
}

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

.service-card {
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(13, 23, 40, 0.06);
}

.service-card:hover {
  border-color: rgba(1, 173, 242, 0.42);
  box-shadow: 0 24px 60px rgba(13, 23, 40, 0.1);
}

.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--primary);
  background: rgba(19, 67, 146, 0.1);
  border-radius: 8px;
}

.icon-blue {
  color: var(--accent);
  background: rgba(1, 173, 242, 0.1);
}

.icon-red {
  color: var(--danger);
  background: rgba(219, 43, 37, 0.1);
}

.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.service-card p {
  color: var(--muted);
}

.service-card a {
  color: var(--primary);
  font-weight: 900;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.tags span {
  padding: 7px 10px;
  background: var(--soft);
  border-radius: 999px;
  color: #334057;
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 800px;
  margin: 56px auto 0;
}

.feature-row div {
  padding: 22px;
  text-align: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.feature-row strong,
.feature-row span {
  display: block;
}

.feature-row span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.process {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(19, 67, 146, 0.98), rgba(7, 26, 53, 0.98)),
    var(--primary);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.steps article {
  position: relative;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
}

.steps span {
  color: var(--accent);
  font-size: 2.25rem;
  font-weight: 900;
}

.steps h3 {
  margin: 22px 0 12px;
}

.steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.pricing {
  background: var(--soft);
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 28px;
}

.calculator,
.estimate {
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(13, 23, 40, 0.08);
}

.calc-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.calc-head h3,
.estimate h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.calc-head p,
.estimate p {
  margin-bottom: 0;
  color: var(--muted);
}

.mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 174px;
  padding: 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mode-toggle button {
  min-height: 38px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}

.mode-toggle button.active {
  color: #ffffff;
  background: var(--primary);
}

.field-group,
.stacked {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

label {
  color: #26344c;
  font-weight: 800;
}

.field-group label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

output {
  color: var(--primary);
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cfd9e6;
  border-radius: var(--radius);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(1, 173, 242, 0.14);
}

input[type="range"] {
  min-height: auto;
  padding: 0;
  accent-color: var(--primary);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-form label,
.two-col label {
  display: grid;
  gap: 8px;
}

.stacked span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.rate-card {
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.rate-card strong {
  display: block;
  margin-bottom: 10px;
}

.rate-card ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  list-style: none;
}

.rate-card li::before {
  content: "• ";
  color: var(--accent);
  font-weight: 900;
}

.estimate {
  display: grid;
  align-content: start;
  gap: 24px;
}

.total {
  padding: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), #0a285a);
  border-radius: 12px;
}

.total span,
.total small {
  display: block;
  opacity: 0.76;
}

.total strong {
  display: block;
  margin: 9px 0 4px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.breakdown h4 {
  margin-bottom: 14px;
}

.breakdown dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.breakdown dt {
  color: var(--muted);
}

.breakdown dd {
  margin: 0;
  font-weight: 900;
  white-space: nowrap;
}

.note {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.accordion {
  display: grid;
  gap: 12px;
}

details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

summary {
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.cta {
  padding: 84px 0;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(1, 173, 242, 0.3), transparent 28%),
    linear-gradient(135deg, var(--primary), #071a35);
}

.cta h2 {
  margin: 0 auto 16px;
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
}

.cta p {
  max-width: 670px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.cta div div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.contact-section {
  background: #ffffff;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

textarea {
  resize: vertical;
}

.site-footer {
  padding: 64px 0 28px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--hero);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 42px;
}

.footer-brand {
  color: #ffffff;
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 320px;
}

.site-footer h4 {
  margin-bottom: 15px;
  color: #ffffff;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
}

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

.contact-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.open .site-nav,
  .site-header.open .header-actions {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .site-header.open .site-nav {
    gap: 0;
    padding-top: 10px;
  }

  .site-header.open .site-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .site-header.open .header-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-grid,
  .calculator-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 520px;
  }

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

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .stats,
  .three,
  .feature-row,
  .steps,
  .two-col {
    grid-template-columns: 1fr;
  }

  .calc-head {
    display: grid;
  }

  .mode-toggle {
    width: 100%;
  }

  .calculator,
  .estimate,
  .contact-form {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
