/* MedTrack North Carolina: customer site */

/* ── Fonts (self-hosted, latin subset, variable) ─────────────────── */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/open-sans-latin-var.woff2') format('woff2');
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }

/* ── Tokens ──────────────────────────────────────────────────────── */
:root {
  --navy-900: #00152c;   /* hero, footer */
  --navy-800: #011d3b;
  --navy-700: #022346;   /* services strip, buttons */
  --navy-text: #0a1f3d;
  --blue: #1565c0;       /* accents on white: 5.7:1 on white, 5.3:1 on sky-50 */
  --blue-bright: #0bb8fa; /* accents on navy */
  --cyan: #8adefa;       /* eyebrow and badges on navy */
  --sky-50: #eef6fe;
  --sky-100: #dcefff;
  --sky-200: #c5e7fe;
  --bg: #f3f6fa;
  --line: #d9e1ec;
  --line-strong: #b9c5d6;
  --text: #1c2b40;
  --muted: #55657c;
  --error: #c62828;
  --white: #fff;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(10, 31, 61, .06), 0 6px 20px rgba(10, 31, 61, .07);

  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;

  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
}
a { color: var(--blue); }
a:hover { color: var(--navy-700); }
:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .container { padding: 0 24px; } }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

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

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border: 0; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .1s;
}
.btn-navy { background: var(--navy-700); color: var(--white); }
.btn-navy:hover { background: #063566; color: var(--white); }
.btn-navy:active { transform: translateY(1px); }
.btn-outline {
  background: var(--white); color: var(--navy-700);
  border: 1.5px solid var(--navy-700);
}
.btn-outline:hover { background: var(--sky-50); }
/* On navy: hero and footer calls to action */
.btn-bright, .site-footer .btn-bright { background: var(--blue-bright); color: var(--navy-900); }
.btn-bright:hover, .site-footer .btn-bright:hover { background: var(--cyan); color: var(--navy-900); }
.btn-bright:active { transform: translateY(1px); }

/* ── Header ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
}
.brand img { width: 170px; height: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--navy-700); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(10, 31, 61, .12);
  padding: 8px 16px 16px;
}
.site-nav.is-open { display: block; }
.site-nav ul { display: flex; flex-direction: column; }
.site-nav li a {
  display: block; padding: 12px 8px;
  color: var(--navy-text); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.site-nav li a.is-active { color: var(--blue); }
.nav-cta { margin-top: 12px; width: 100%; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.header-email { margin-top: 12px; width: 100%; }
.header-email .icon { width: 22px; height: 22px; }

@media (min-width: 1100px) {
  :root { --header-h: 96px; }
  .brand img { width: 240px; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex !important; align-items: center; gap: 12px;
    position: static; padding: 0; border: 0; box-shadow: none; background: none;
    flex: 1; justify-content: flex-end;
  }
  .site-nav ul { flex-direction: row; gap: 6px; margin-right: auto; margin-left: 32px; }
  .site-nav li a {
    border: 0; padding: 8px 12px; border-radius: 6px;
    font-size: .95rem; position: relative;
  }
  .site-nav li a:hover { background: var(--sky-50); color: var(--navy-700); }
  .site-nav li a.is-active { background: var(--sky-50); color: var(--navy-700); }
  .site-nav li a.is-active::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px;
    height: 2px; background: var(--blue); border-radius: 2px;
  }
  .brand { flex-shrink: 0; }
  .site-nav li a { white-space: nowrap; }
  .nav-cta { margin: 0; width: auto; padding: 12px 20px; white-space: nowrap; }
  /* The full address does not fit beside the nav and Start a Pickup even in
     the widest container, so on desktop the email button is icon only. The
     address stays its accessible name and tooltip, and is in the sidebar and
     footer; the mobile menu still shows it in full. */
  .header-email { margin: 0; width: auto; padding: 12px; }
  .header-email-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: relative; }
/* Phones get a short photo band so the form stays close to the top */
.hero-media img { width: 100%; height: 130px; object-fit: cover; object-position: 45% 58%; }
@media (min-width: 600px) and (max-width: 1023px) {
  .hero-media img { height: 220px; object-position: 50% 50%; }
}
.hero-inner { position: relative; z-index: 1; padding-top: 20px; padding-bottom: 24px; }
.eyebrow {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(.85rem, 1.5vw, 1.2rem);
  letter-spacing: .01em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}
.hero h1 {
  font-family: var(--font-head); font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -.005em;
  margin-bottom: 12px;
}
.h1-main { display: block; font-size: clamp(1.6rem, 4.6vw, 2.6rem); }
.h1-sub { display: block; font-size: clamp(1.3rem, 3.4vw, 2rem); margin-top: .14em; }
.hero h1 .accent { color: var(--blue-bright); }
.hero-text {
  font-size: clamp(.95rem, 1.3vw, 1.08rem);
  line-height: 1.55;
  max-width: 38em;
  color: #dce8f6;
  margin-bottom: 18px;
}
.btn-cta {
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
  padding: 12px 26px;
}

@media (min-width: 1024px) {
  .hero-media {
    position: absolute; top: 0; right: 0; bottom: 0; width: 64%;
  }
  .hero-media picture, .hero-media img { width: 100%; height: 100%; }
  .hero-media img {
    object-fit: cover; object-position: 60% 50%;
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  }
  /* fades the photo into the navy under the copy */
  .hero-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--navy-900) 0%, rgba(0, 21, 44, .55) 22%, rgba(0, 21, 44, 0) 45%);
    pointer-events: none;
  }
  .hero-inner { padding-top: 44px; padding-bottom: 44px; min-height: 420px; display: flex; flex-direction: column; justify-content: center; }
  .hero-copy { max-width: 50%; }
}
@media (min-width: 1100px) {
  .hero-media { width: 60%; }
  .hero-inner { min-height: 470px; }
}

/* ── Trust strip ─────────────────────────────────────────────────── */
.trust { background: var(--navy-800); color: var(--cyan); border-top: 1px solid rgba(138, 222, 250, .18); }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 12px 0; }
.trust-list li {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600;
  font-size: .74rem; line-height: 1.2; text-transform: uppercase;
}
.trust-list .icon { width: 24px; height: 24px; }
@media (min-width: 768px) {
  .trust-list { grid-template-columns: repeat(4, auto); justify-content: space-between; padding: 14px 0; }
  .trust-list li { font-size: .8rem; }
  .trust-list .icon { width: 28px; height: 28px; }
}
@media (min-width: 1100px) {
  .trust-list { justify-content: start; gap: 0; }
  .trust-list li { font-size: .88rem; padding: 4px 28px; border-left: 1px solid rgba(138, 222, 250, .3); }
  .trust-list li:first-child { padding-left: 0; border-left: 0; }
  .trust-list .icon { width: 32px; height: 32px; }
}

/* ── Pickup section ──────────────────────────────────────────────── */
.pickup { background: var(--bg); padding: 32px 0 40px; }
.pickup-grid { display: grid; gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-card { padding: 20px 16px 24px; }
.form-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-700); color: var(--white); flex-shrink: 0;
}
.icon-badge .icon { width: 28px; height: 28px; }
.form-head h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.1;
  text-transform: uppercase; color: var(--navy-text);
  margin-bottom: 4px;
}
.form-head p { color: var(--text); font-size: .95rem; }
.form-required-note { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.req { color: var(--error); }
.optional { font-weight: 400; color: var(--muted); }

/* Form layout */
.form-grid { display: grid; gap: 0 20px; }
.fs { display: grid; align-content: start; }
.fs legend {
  font-family: var(--font-head); font-weight: 700;
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
  padding: 14px 0 6px;
  width: 100%;
  border-top: 1px solid var(--line);
}
.fs-customer legend { border-top: 0; padding-top: 4px; }
.fs-row { grid-template-columns: 1fr; column-gap: 16px; }
/* State + ZIP share a row when there is room, and stack in narrow columns
   rather than truncating "North Carolina" */
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); column-gap: 12px; }

/* Field pattern from the drivers site: the error sits absolutely under the
   control so showing it never shifts the grid. */
.field { position: relative; margin-bottom: 22px; display: flex; flex-direction: column; }
.field label, .label-with-tip {
  display: block;
  font-size: .82rem; font-weight: 600; color: var(--navy-text);
  margin-bottom: 4px;
}
.label-with-tip { display: flex; align-items: center; gap: 6px; }
.label-with-tip label { margin: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 1rem;              /* 16px stops iOS zooming on focus */
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230a1f3d' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.field select:invalid, .field select option[value=""] { color: #647389; }
.field select option { color: var(--text); }
.field textarea { resize: vertical; min-height: 88px; }
.field ::placeholder { color: #647389; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .3);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(198, 40, 40, .22); }
.field-error {
  position: absolute; top: 100%; left: 0; right: 0;
  font-size: .76rem; line-height: 1.25; color: var(--error);
  padding-top: 2px;
}
.field-error:empty { display: none; }
.field-hint { font-size: .76rem; color: var(--muted); margin-top: 4px; }
.field:has(.field-hint) { margin-bottom: 14px; }

/* Priority tooltip */
.tip { position: relative; display: inline-flex; }
.tip-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; padding: 0; margin: -4px 0;
  background: none; border: 0; border-radius: 50%;
  color: var(--blue); cursor: pointer;
}
.tip-btn .icon { width: 18px; height: 18px; }
.tip-text {
  position: absolute; z-index: 20;
  bottom: calc(100% + 8px); right: -12px;
  width: min(290px, 80vw);
  padding: 12px 14px;
  background: var(--navy-700); color: var(--white);
  font-size: .8rem; font-weight: 400; line-height: 1.5;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.tip-text::after {
  content: ''; position: absolute; top: 100%; right: 18px;
  border: 7px solid transparent; border-top-color: var(--navy-700);
}
.tip:hover .tip-text, .tip-btn:focus-visible + .tip-text, .tip.is-open .tip-text {
  opacity: 1; visibility: visible; transform: none;
}

/* Stops */
.stop-row { background: var(--sky-50); border-radius: var(--radius-sm); padding: 0 12px; margin-bottom: 12px; }
.stop-row legend { border-top: 0; float: left; padding-top: 12px; }
.stop-row legend + * { clear: left; }

/* Estimate panel */
.estimate {
  margin: 8px 0 20px;
  padding: 18px 16px;
  background: var(--sky-50);
  border: 1px solid var(--sky-200);
  border-radius: var(--radius);
}
.estimate h3 {
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  text-transform: uppercase; color: var(--navy-text);
  margin-bottom: 10px;
}
.estimate-lines > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: .92rem;
}
.estimate-lines dt { color: var(--muted); }
.estimate-lines dd { font-weight: 600; color: var(--navy-text); text-align: right; font-variant-numeric: tabular-nums; }
.estimate-lines dd.is-flag { color: #9a4d00; }
.estimate-note { font-size: .82rem; color: #7a4100; background: #fff4e0; border-radius: 4px; padding: 6px 10px; margin-top: 10px; }
.estimate-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 10px;
  border-top: 2px solid var(--navy-700);
  font-family: var(--font-head); font-weight: 800; color: var(--navy-text);
}
.estimate-total span { font-size: 1rem; text-transform: uppercase; }
.estimate-total strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.estimate-fine { font-size: .78rem; color: var(--muted); margin-top: 8px; }

/* Honeypot */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-error:empty { display: none; }
.form-error {
  color: var(--error); background: #fdecec; border-radius: var(--radius-sm);
  padding: 10px 14px; margin-bottom: 12px; font-size: .9rem;
}

.btn-submit {
  width: 100%; min-height: 54px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .02em;
}
.btn-submit .icon { width: 22px; height: 22px; color: var(--blue-bright); }
@media (max-width: 480px) { .btn-submit { font-size: .92rem; letter-spacing: 0; } }
.btn-submit[disabled] { opacity: .75; cursor: progress; }
.spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .35); border-top-color: var(--white);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.success { text-align: left; }
.success:focus { outline: none; }
.success-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.success-head .icon { width: 40px; height: 40px; color: #1b7a45; }
.success h3 {
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  line-height: 1.25; color: var(--navy-text); margin-bottom: 4px;
}
.success .estimate { margin-top: 0; }
.success .btn { margin-top: 4px; }

/* Sidebar */
.sidebar { display: grid; gap: 20px; align-content: start; }
.info-card { padding: 8px 20px; }
.info-block { display: flex; gap: 16px; padding: 18px 0; }
.info-block + .info-block { border-top: 1px solid var(--line); }
.info-icon { width: 34px; height: 34px; color: var(--navy-700); margin-top: 2px; }
.info-block h3 {
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  text-transform: uppercase; color: var(--navy-text); line-height: 1.25;
  margin-bottom: 8px;
}
.info-block h3 span { display: block; }
.info-block address { font-style: normal; }
.info-block a { font-weight: 600; word-break: break-word; }
.hours { display: grid; gap: 0; }
.hours dt { font-weight: 700; color: var(--navy-text); }
.hours dd { margin-bottom: 8px; }
.serving-card {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 20px;
  background: linear-gradient(135deg, var(--sky-100), var(--sky-200));
  border-color: var(--sky-200);
}
.serving-nc { width: 92px; height: 38px; color: var(--blue); flex-shrink: 0; }
.serving-card p {
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  text-transform: uppercase; color: var(--navy-text); line-height: 1.3;
}
.serving-card strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--blue); line-height: 1.1; }

@media (min-width: 768px) {
  .pickup { padding: 40px 0 56px; }
  .form-card { padding: 24px 24px 28px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .fs-customer { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .fs-customer legend { grid-column: 1 / -1; }
  .fs-customer .field:last-child { grid-column: 1 / -1; }
  .fs-row { grid-template-columns: repeat(3, 1fr); }
  .fs-row legend { grid-column: 1 / -1; }
  .stop-row { grid-template-columns: 2fr 1fr 1fr; }
  .sidebar { grid-template-columns: 1fr 1fr; }
  .estimate { padding: 20px 24px; }
}
@media (min-width: 1100px) {
  .pickup-grid { grid-template-columns: minmax(0, 2.05fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
  .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fs-customer { grid-column: auto; grid-template-columns: 1fr; }
  .fs-customer .field:last-child { grid-column: auto; }
  .fs legend { border-top: 0; padding-top: 4px; }
  .fs-row legend { border-top: 1px solid var(--line); padding-top: 12px; }
  /* denser fields on desktop, as in the mockup */
  .field { margin-bottom: 16px; }
  .field label, .label-with-tip { font-size: .8rem; margin-bottom: 3px; }
  .field input, .field select, .field textarea { min-height: 40px; padding: 7px 10px; font-size: .9rem; }
  .field select { padding-right: 30px; background-position: right 10px center; }
  .field textarea { min-height: 96px; }
  .sidebar { grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + 16px); }
  .form-card { padding: 28px 28px 32px; }
}

/* ── Info sections ───────────────────────────────────────────────── */
.section { padding: 40px 0; background: var(--white); }
.section-alt { background: var(--bg); }
@media (min-width: 768px) { .section { padding: 56px 0; } }
.section-head { max-width: 760px; margin-bottom: 20px; }
.section-head h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.2;
  text-transform: uppercase; color: var(--navy-text); margin-bottom: 6px;
}
.section-head p { color: var(--muted); }
.section-head .kicker {
  font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 6px;
}

/* Why Choose and How It Works cards: icon beside the text on phones */
.card-grid { display: grid; gap: 14px; list-style: none; }
.feature { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; padding: 18px; }
.feature .icon-badge { grid-row: span 2; }
.feature h3, .price-table tbody th {
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; line-height: 1.25;
  text-transform: uppercase; color: var(--navy-text);
}
.feature h3 { margin: 2px 0 4px; }
.feature p { font-size: .95rem; }
.step-n { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
@media (min-width: 640px) {
  .card-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .feature { display: block; padding: 22px; }
  .feature h3 { margin: 14px 0 6px; }
}
@media (min-width: 1100px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }

/* Services & Delivery Speeds */
.price-card { padding: 4px 16px 18px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th {
  font-family: var(--font-head); font-weight: 700;
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); text-align: left;
  padding: 14px 12px 8px; border-bottom: 2px solid var(--navy-700);
}
.price-table tbody th, .price-table td {
  padding: 13px 12px; text-align: left; vertical-align: baseline;
  border-bottom: 1px solid var(--line);
}
.price-table tbody th { font-size: .95rem; }
.price-table .price {
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  color: var(--navy-text); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.price-table .price a { font-size: .95rem; }
.price-table td:last-child { color: var(--muted); }
/* Phones: each row becomes a block, level and price on one line, details under */
@media (max-width: 639px) {
  .price-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  }
  .price-table tbody, .price-table tr { display: block; }
  .price-table tr {
    display: grid; grid-template-columns: 1fr auto; column-gap: 12px;
    padding: 12px 0; border-bottom: 1px solid var(--line);
  }
  .price-table tbody th, .price-table td { display: block; padding: 0; border: 0; }
  .price-table .price { text-align: right; }
  .price-table td:last-child { grid-column: 1 / -1; margin-top: 2px; font-size: .9rem; }
}
.price-extras { display: grid; gap: 8px 24px; margin-top: 16px; font-size: .93rem; }
.price-extras li { display: flex; gap: 10px; align-items: baseline; }
.price-extras strong { font-family: var(--font-head); font-weight: 800; color: var(--blue); white-space: nowrap; }
.wait-note {
  margin-top: 14px; padding: 10px 14px;
  background: var(--sky-50); border: 1px solid var(--sky-200); border-radius: var(--radius-sm);
  font-size: .92rem; color: var(--navy-text);
}
@media (min-width: 640px) {
  .price-card { padding: 4px 24px 24px; }
  .price-extras { grid-template-columns: 1fr 1fr; }
}

/* Facility types: compact navy row under the price table */
.services-list { display: grid; gap: 14px; }
.services-list li { display: flex; align-items: center; gap: 14px; }
.services-list .icon { width: 36px; height: 36px; color: var(--white); }
.services-list h3 {
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .01em;
}
.services-list p { font-size: .85rem; color: #cfe0f3; }
.facilities {
  margin-top: 20px; padding: 18px 20px;
  background: var(--navy-700); color: var(--white); border-radius: var(--radius);
}
@media (min-width: 480px) { .services-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .services-list { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .services-list li { padding: 4px 18px; border-left: 1px solid rgba(255, 255, 255, .22); }
  .services-list li:first-child { padding-left: 0; border-left: 0; }
}

/* Service Area: map left; heading, copy and the road graphic right */
.area-grid { display: grid; gap: 20px; }
.graphic { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg); }
.graphic img { width: 100%; }
.area-map, .area-photo { width: 100%; max-width: 760px; justify-self: center; }
@media (min-width: 1024px) {
  .area-grid {
    grid-template-columns: 1.15fr 1fr; grid-template-areas: "map head" "map photo";
    column-gap: 32px; align-items: start;
  }
  .area-head { grid-area: head; margin-bottom: 0; }
  .area-map { grid-area: map; max-width: none; }
  .area-photo { grid-area: photo; max-width: none; }
}

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-900); color: #cfdcec; font-size: .92rem; }
.footer-cta { background: var(--navy-800); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 24px; padding-top: 28px; padding-bottom: 28px;
}
.footer-cta p {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); text-transform: uppercase; color: var(--white);
}
.footer-grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 32px; }
.logo-tile {
  display: inline-block; background: var(--white);
  padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 12px;
}
.logo-tile img { width: 200px; }
.footer-title {
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--white);
  margin-bottom: 10px;
}
.site-footer a { color: var(--cyan); }
.site-footer a:hover { color: var(--white); }
.site-footer address { font-style: normal; margin-top: 6px; }
.footer-links li + li { margin-top: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0; font-size: .85rem; color: #9fb1c8; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 0.8fr; } }

/* ── Mobile estimate bar ─────────────────────────────────────────── */
.estimate-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--navy-700); color: var(--white);
  border-top: 2px solid var(--blue-bright);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .2);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .2s ease, visibility .2s;
}
.estimate-bar.is-visible { transform: none; visibility: visible; }
.estimate-bar-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--cyan); }
.estimate-bar strong { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; }
.estimate-bar-link {
  color: var(--white); font-weight: 600; font-size: .9rem;
  padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--radius-sm);
  text-decoration: none; white-space: nowrap;
}
.estimate-bar-link:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
@media (min-width: 768px) { .estimate-bar { display: none; } }
