:root {
  --navy: #0e2a3b;
  --navy-deep: #091d29;
  --charcoal: #25282d;
  --red: #d62828;
  --red-dark: #b01e1e;
  --red-light: #ff5c5c;
  --paper: #f5f6f3;
  --ink: #142430;
  --muted: #5a6872;
  --line: rgba(14, 42, 59, 0.12);
  --white: #ffffff;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --header-h: calc(72px + env(safe-area-inset-top, 0px));
  --container: 1180px;
  --shadow: 0 20px 50px -20px rgba(9, 29, 41, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--navy-deep);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  /* Safari 26 tints its top/bottom bars from the body background, so keep it dark (matches hero + footer).
     The light page content gets its paper color from <main> below. */
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
}

main {
  background: var(--paper);
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

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

.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.05rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--white);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: var(--navy-deep);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex-shrink: 0;
}

.brand-mark img {
  display: block;
  height: 54px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-top: 4px;
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: 28px;
}

.nav-list a {
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  opacity: 1;
  color: var(--red-light);
}

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

.header-call span {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 899px) {
  .nav.is-open {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
  }

  .nav.is-open .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav.is-open .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (min-width: 480px) {
  .header-call span {
    display: inline;
  }
}

@media (min-width: 900px) {
  .nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy-deep);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 29, 41, 0.95) 0%, rgba(9, 29, 41, 0.82) 45%, rgba(9, 29, 41, 0.35) 100%),
    linear-gradient(0deg, rgba(9, 29, 41, 0.6) 0%, rgba(9, 29, 41, 0) 40%);
}

.hero-inner {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: var(--container);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-light);
  box-shadow: 0 0 0 4px rgba(255, 92, 92, 0.25);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(255, 92, 92, 0);
  }
}

.hero-title {
  font-size: clamp(2.6rem, 8vw, 5.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.98;
  max-width: 14ch;
}

.hero-title .accent {
  color: var(--red-light);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 54ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.call-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 26px 12px 12px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 18px 40px -14px rgba(214, 40, 40, 0.55);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.call-card:hover {
  transform: translateY(-2px);
  background: var(--red-dark);
}

.call-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--white);
  flex-shrink: 0;
}

.call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.call-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.call-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  letter-spacing: -0.01em;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points svg {
  color: var(--red-light);
}

/* Sections */
.section {
  padding-block: 80px;
}

@media (min-width: 768px) {
  .section {
    padding-block: 112px;
  }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 48px;
}

.kicker {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-dark);
}

.kicker-light {
  color: var(--red-light);
}

.section-title {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--muted);
}

/* Services */
.service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--red-light);
  margin-bottom: 6px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* How it works */
.how {
  background: var(--charcoal);
  color: var(--white);
}

.how .section-title {
  color: var(--white);
}

.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  counter-reset: steps;
}

@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--red-light);
}

.step h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.step p {
  color: rgba(255, 255, 255, 0.75);
}

/* Why */
.why-inner {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .why-inner {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}

.why-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .why-media {
    aspect-ratio: 4 / 5;
  }
}

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

.why-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-list {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.why-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0 20px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--red);
  transform: rotate(45deg);
}

.why-list h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.why-list p {
  color: var(--muted);
}

/* Area */
.area {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-list li {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 600;
  font-size: 0.98rem;
}

.city-list .city-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* CTA */
.cta {
  background: var(--navy-deep);
  color: var(--white);
  padding-block: 72px;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media (min-width: 900px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.cta-lead {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0 calc(96px + env(safe-area-inset-bottom, 0px));
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 32px;
  }
}

.footer-inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand,
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--white);
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 4px;
}

.footer-col a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
}

.footer-col a:hover {
  color: var(--red-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--red-light);
}

/* Mobile sticky call bar: a full-width dark bar (matches the footer) holding the red button.
   When hidden it is visibility:hidden, so Safari can't pick up its color for the toolbar. */
.mobile-call-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
}

.mobile-call-bar.is-visible {
  transform: none;
  visibility: visible;
  transition: transform 0.35s ease;
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}

.mobile-call-btn:active {
  background: var(--red-dark);
}

@media (min-width: 768px) {
  .mobile-call-bar {
    display: none;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .dot {
    animation: none;
  }
}

/* Focus ring colors for dark / red surfaces */
.site-header :focus-visible,
.hero :focus-visible,
.how :focus-visible,
.cta :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--red-light);
}

.mobile-call-btn:focus-visible {
  outline-color: var(--white);
}

/* Phones: keep the whole hero (both buttons) on the first screen, even with Safari's toolbars showing */
@media (max-width: 599px) {
  .hero-inner {
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 28px;
    gap: 14px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8.4vw, 2.6rem);
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 2px;
  }

  .call-card {
    justify-content: center;
  }

  .hero-cta .btn {
    width: 100%;
  }
}

/* Short landscape screens (phones turned sideways) */
@media (max-height: 520px) and (orientation: landscape) {
  .hero-inner {
    padding-top: calc(var(--header-h) + 8px);
    padding-bottom: 16px;
    gap: 8px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 9vh, 2.6rem);
    max-width: none;
  }

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

  .hero-points {
    display: none;
  }
}

/* Phones: keep the tagline on one line */
@media (max-width: 480px) {
  .brand-name,
  .brand-sub {
    white-space: nowrap;
  }

  .brand-sub {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }
}

/* Very small phones (320-380px wide): shrink header + phone number so nothing wraps awkwardly */
@media (max-width: 380px) {
  .header-inner {
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark img {
    height: 42px;
  }

  .brand-name {
    font-size: 1rem;
    white-space: nowrap;
  }

  .brand-sub {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .call-card {
    gap: 10px;
    padding-right: 18px;
  }

  .call-number {
    font-size: 1.3rem;
    white-space: nowrap;
  }
}

/* Short phones: tighten the hero a little more so both buttons stay on screen */
@media (max-width: 599px) and (max-height: 640px) {
  .hero-inner {
    padding-top: calc(var(--header-h) + 12px);
    padding-bottom: 20px;
    gap: 10px;
  }

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

  .call-card {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

/* Smallest phones (320-340px wide) */
@media (max-width: 340px) {
  .brand-mark img {
    height: 36px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-sub {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }
}
