:root {
  --navy: #0b1c2e;
  --navy-2: #12263a;
  --navy-3: #1a334c;
  --paper: #f4f0e6;
  --muted: #b7c3ce;
  --accent: #ff5a1f;
  --accent-ink: #1a0a04;
  --line: color-mix(in oklab, var(--paper) 14%, transparent);
  --line-strong: color-mix(in oklab, var(--paper) 24%, transparent);

  --font: "Barlow", "Segoe UI", system-ui, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-md: 1.125rem;
  --text-lg: clamp(1.35rem, 1.1rem + 1vw, 1.6rem);
  --text-xl: clamp(1.85rem, 1.2rem + 3.2vw, 2.75rem);

  --leading-tight: 1.12;
  --leading-snug: 1.28;
  --leading-body: 1.5;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-btn:
    0 0 0 1px color-mix(in oklab, var(--accent-ink) 18%, transparent),
    0 1px 2px color-mix(in oklab, var(--accent-ink) 28%, transparent);
  --shadow-card: 0 0 0 1px var(--line);

  --wrap: 44rem;
  --wrap-wide: 58rem;

  --header-h: 3.5rem;
  --sticky-h: 4.75rem;

  --motion-quick: 150ms;
  --motion-fast: 250ms;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--paper);
  background: var(--navy);
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom));
  text-wrap: pretty;
}

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

a {
  color: inherit;
}

a:focus-visible,
.btn-call:focus-visible,
.header-phone:focus-visible,
.lang a:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--paper);
  color: var(--navy);
  padding: var(--space-2) var(--space-4);
  z-index: 40;
}

.skip:focus {
  left: var(--space-3);
  top: var(--space-3);
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.site-header {
  background: var(--navy);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand phone"
    "lang lang";
  align-items: center;
  column-gap: var(--space-3);
  row-gap: 0;
  padding-block: var(--space-2);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  min-width: 0;
  grid-area: brand;
}

.brand-mark {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 7px;
  background: var(--navy-3);
  color: var(--paper);
  font-weight: 800;
  font-size: 1rem;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px var(--line), inset 0 -3px 0 var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}

.header-phone {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 10px;
  color: var(--paper);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  white-space: nowrap;
  grid-area: phone;
  justify-self: end;
}

.header-phone svg {
  color: var(--accent);
}

.lang {
  grid-area: lang;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  min-height: 48px;
}

.lang a,
.lang span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 10px 0 0;
  font-size: var(--text-sm);
  font-weight: 800;
  text-decoration: none;
}

.lang span[aria-current="page"] {
  color: var(--muted);
  font-weight: 700;
}

.lang a {
  color: var(--accent);
}

.lang-sep {
  color: var(--muted);
  padding: 0 4px;
  font-weight: 600;
}

.footer-lang {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
  font-weight: 700;
}

.footer-lang a {
  color: var(--accent);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding-right: 10px;
}

.footer-lang span[aria-current="page"] {
  color: var(--paper);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0 var(--space-7);
  background: var(--navy);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.final h2,
.section h2 {
  text-wrap: balance;
  letter-spacing: -0.03em;
  line-height: var(--leading-tight);
}

.hero h1 {
  margin: 0 0 var(--space-4);
  font-size: var(--text-xl);
  font-weight: 800;
}

.lede,
.section-lede {
  margin: 0 0 var(--space-5);
  color: var(--muted);
  font-size: var(--text-md);
  max-width: 36rem;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 1.25rem 0 1.1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-btn);
  transition:
    transform var(--motion-quick) var(--ease-out),
    filter var(--motion-quick) var(--ease-out);
}

.btn-call:hover {
  filter: brightness(1.06);
}

.btn-call:active {
  transform: scale(0.98);
}

.hero-alt {
  margin: var(--space-4) 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.hero-alt a {
  color: var(--paper);
  font-weight: 700;
  text-underline-offset: 3px;
}

.vent {
  position: absolute;
  right: -1.5rem;
  bottom: 0;
  width: min(42vw, 11rem);
  display: flex;
  flex-direction: column;
  gap: 7px;
  opacity: 0.22;
  pointer-events: none;
}

.vent span {
  display: block;
  height: 10px;
  background: var(--paper);
  border-radius: 2px;
  transform: skewX(-18deg);
}

.vent span:nth-child(2) {
  width: 86%;
}
.vent span:nth-child(3) {
  width: 72%;
}
.vent span:nth-child(4) {
  width: 58%;
}
.vent span:nth-child(5) {
  width: 44%;
}

.section {
  padding: var(--space-7) 0;
}

.section h2 {
  margin: 0 0 var(--space-2);
  font-size: var(--text-lg);
  font-weight: 800;
}

.section-alt {
  background: var(--navy-2);
  border-block: 1px solid var(--line);
}

.svc-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.svc {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--navy-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.section-alt .svc,
.svc {
  align-items: start;
}

.svc svg {
  margin-top: 2px;
  color: var(--accent);
}

.svc h3,
.why h3 {
  margin: 0 0 4px;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.svc p,
.why p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.places {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.places li {
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: var(--navy-3);
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--text-sm);
  box-shadow: 0 0 0 1px var(--line);
}

.why {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.why li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--navy-2);
  border-radius: calc(var(--radius-md) + var(--space-4));
  box-shadow: var(--shadow-card);
}

.why-n {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 1.125rem;
  display: grid;
  place-items: center;
}

.final {
  background: var(--navy-3);
  padding: var(--space-7) 0;
  text-align: center;
  border-top: 1px solid var(--line-strong);
}

.final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final h2 {
  margin: 0 0 var(--space-3);
  font-size: var(--text-lg);
  font-weight: 800;
}

.final-number {
  margin: 0 0 var(--space-5);
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.final-number a {
  color: var(--paper);
  text-decoration: none;
}

.final .btn-call {
  max-width: 28rem;
}

.site-footer {
  padding: var(--space-6) 0 var(--space-5);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-sm);
}

.footer-inner {
  display: grid;
  gap: var(--space-4);
}

.site-footer strong {
  color: var(--paper);
  font-size: var(--text-base);
}

.site-footer a {
  color: var(--paper);
  font-weight: 700;
}

.footer-meta {
  margin: 0;
}

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: var(--space-2) var(--space-4);
  padding-bottom: calc(var(--space-2) + env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--navy) 92%, black);
  border-top: 1px solid var(--line-strong);
}

.btn-sticky {
  min-height: 52px;
}

@media (min-width: 640px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "brand lang phone";
  }

  .lang {
    justify-self: end;
  }

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

  .btn-call {
    width: auto;
    min-width: 18rem;
  }

  .wrap {
    width: min(100% - 3rem, var(--wrap-wide));
  }
}

@media (min-width: 800px) {
  .sticky-call {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

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

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

  .why li {
    grid-template-columns: 1fr;
  }

  .header-phone {
    font-size: var(--text-base);
  }

  .brand-name {
    font-size: var(--text-base);
  }
}

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

  .btn-call {
    transition: none;
  }
}
