@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #16324F;
  --navy-2: #1E3F5F;
  --navy-deep: #0E2238;
  --gold: #B8873A;
  --gold-h: #9A6F2C;
  --gold-text: #8A5A12; /* AA on cream/white for small text */
  --gold-light: #E0C07A;
  --cream: #F6F1E8;
  --white: #FFFcf8;
  --ink: #1A1A1A;
  --muted: #3D4A57;
  --line: #E4DCD0;
  --header-h: 5rem;
  --ribbon-h: 0px;
  --callbar-h: 0px;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(14, 34, 56, 0.12);
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.25rem; /* 20px — large type for seniors */
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  padding-bottom: var(--callbar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--gold-h); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: var(--white); padding: 0.6rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.container.narrow { width: min(740px, calc(100% - 2rem)); }
.section { padding: 4.5rem 0; }
/* Keep #quote / #contact below the sticky header when a QR or in-page link lands here */
#contact,
#quote,
#estimate,
.section-anchor {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}
.section-anchor { display: block; height: 0; }
.section-tint { background: var(--cream); }
.section-dark { background: var(--navy-deep); color: var(--cream); }
.section-dark a { color: var(--gold-light); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head p, .section-head + p { color: var(--muted); }
.eyebrow {
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.125rem; /* 18px */
  color: var(--gold-text);
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: inherit;
}
.eyebrow.light { color: var(--gold-light); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.85rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.55rem); }
h3 { font-size: 1.35rem; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.lead { font-size: 1.25rem; color: var(--muted); margin: 0 0 1.5rem; }
.accent { color: var(--gold-h); font-style: italic; }
.sample-note { display: inline-block; color: var(--gold-text); font-size: 1.125rem; font-weight: 700; }
.section-dark .sample-note, .hero-sample { color: var(--gold-light); }

/* Preview ribbon */
.preview-ribbon {
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 1.125rem;
  position: relative;
  z-index: 40;
  border-bottom: 3px solid var(--gold);
}
.preview-ribbon strong { color: var(--gold-light); }

/* Header */
.site-header {
  position: sticky;
  top: var(--ribbon-h);
  z-index: 30;
  background: rgba(246, 241, 232, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; flex: 0 0 auto; min-width: auto;
  gap: 0.6rem; text-decoration: none; color: var(--navy);
}
.brand img { width: 48px; height: 48px; flex: 0 0 auto; }
.brand-text {
  font-family: var(--font-display); font-weight: 650;
  font-size: 1.5rem; line-height: 1.15; color: var(--navy);
  letter-spacing: -0.01em; white-space: nowrap;
}
.brand-footer { color: var(--cream); }
.brand-footer .brand-text { color: var(--cream); }
.brand:hover { color: var(--navy); }
.brand-footer:hover .brand-text { color: var(--gold-light); }
.header-hours {
  /* Hidden at all current widths: the 1120px header cannot fit this label
     plus the nav without overlapping the brand. Hours stay in the hero and footer. */
  display: none;
  margin: 0 auto 0 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.125rem;
  color: var(--navy);
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.live-dot {
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: #2F7A4A; box-shadow: 0 0 0 4px rgba(47, 122, 74, 0.2);
  display: inline-block;
  flex: 0 0 auto;
}
.main-nav { margin-left: auto; }
.nav-toggle {
  display: none;
  background: none; border: 0; font: inherit; color: var(--navy);
  align-items: center; gap: 0.35rem; padding: 0.6rem 0.75rem; cursor: pointer;
  min-height: 48px; font-size: 1.125rem; font-weight: 700;
}
.nav-list {
  display: flex; align-items: center; gap: 1.15rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1.125rem; white-space: nowrap; }
.nav-list a:hover { color: var(--gold-text); }
.nav-list .btn-primary,
.nav-list .btn-primary:hover { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700; letter-spacing: 0.02em;
  text-decoration: none; border: 2px solid transparent;
  border-radius: 999px; padding: 0.7rem 1.35rem; cursor: pointer;
  font-size: 1.125rem; /* 18px */
  min-height: 48px;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); color: var(--white); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 1.125rem; min-height: 48px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 3.5rem 0 4.5rem;
}
.hero h1 { color: var(--white); }
.hero .accent { color: var(--gold-light); }
.hero .lead { color: #D6D0C6; }
.hero .eyebrow { color: var(--gold-light); }
.hero .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}
.hero .btn-secondary:hover,
.hero .btn-secondary:focus-visible {
  background: var(--white);
  color: var(--navy-deep);
}
.hero-grid {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
}
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; color: #D6D0C6; }
.hero-points li { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0.5rem 0; }
.hero-points .icon { color: var(--gold-light); flex: 0 0 auto; margin-top: 0.2rem; }
.hero-sample { margin: 0.85rem 0 0; }
.hero-panel {
  background: var(--navy);
  border: 1px solid #2A4A68;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.hero-panel img { margin: 0 auto 1rem; width: 160px; height: 160px; }
.hero-panel-title {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 650;
  color: var(--white); margin: 0;
}
.hero-panel-sub {
  color: var(--gold-light); letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; font-size: 1.125rem; margin: 0.25rem 0 1rem;
}
.hero-panel-badge {
  display: inline-block; background: var(--gold); color: var(--navy-deep);
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.45rem 0.95rem; border-radius: 999px; margin: 0; font-size: 1.125rem;
}

/* Feature lists and highlight cards */
.feature-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.feature-list li {
  display: flex; gap: 0.85rem; align-items: flex-start;
  margin: 0 0 1.15rem; color: var(--muted);
}
.feature-list .icon { color: var(--gold-h); flex: 0 0 auto; margin-top: 0.15rem; }
.feature-list strong { color: var(--navy); }
.highlight-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}
.highlight-card .icon { color: var(--gold-h); margin-bottom: 0.75rem; }
.highlight-card p { margin: 0; color: var(--muted); }
.highlight-card-navy {
  background: var(--navy);
  border-color: #2A4A68;
  color: var(--cream);
}
.highlight-card-navy h3 { color: var(--white); }
.highlight-card-navy p { color: #D6D0C6; }
.highlight-card-navy .icon { color: var(--gold-light); }
.section-tint .highlight-card:not(.highlight-card-navy) { background: var(--white); }
.section-head .eyebrow { color: var(--gold-text); }

/* Steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.steps li { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; }
.step-num {
  font-family: var(--font-display); color: var(--gold-h); font-size: 1.5rem; font-weight: 650;
  display: block; margin-bottom: 0.5rem;
}
.steps p { margin: 0; color: var(--muted); }

/* FAQ */
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.2rem 1.15rem;
  margin: 0 0 0.75rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 0;
  color: var(--navy);
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold-h);
  font-weight: 700;
  font-size: 1.25rem;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 1rem; color: var(--muted); }

/* Form */
.help-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: start;
}
.help-phone-block {
  display: flex; gap: 0.85rem; align-items: center;
  background: var(--cream); border-radius: var(--radius); padding: 1rem 1.15rem; margin-top: 1.5rem;
}
.help-phone-block a {
  font-family: var(--font-display); font-size: 2rem; color: var(--navy);
  text-decoration: none; font-weight: 650; display: inline;
}
.help-phone-block small { display: block; color: var(--muted); font-size: 1.125rem; font-family: var(--font-body); }
.help-phone-block small a { font-family: inherit; font-size: inherit; font-weight: 700; }
.help-form {
  background: var(--cream); border-radius: 20px; padding: 1.5rem;
}
.field { margin-bottom: 1rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.3rem; font-size: 1.25rem; }
.req { color: var(--gold-text); font-weight: 400; font-size: 1.125rem; }
.hint { margin: 0 0 0.35rem; color: var(--muted); font-size: 1.125rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.25rem; padding: 0.75rem 0.9rem;
  min-height: 48px;
  border: 1px solid #D3CBBE; border-radius: 10px; background: var(--white); color: var(--ink);
  max-width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(184, 135, 58, 0.35);
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-fine { font-size: 1.125rem; color: var(--muted); margin: 0.85rem 0 0; }

/* Area */
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; }
.split-rev { grid-template-columns: 0.8fr 1.2fr; }
.split-rev > div:first-child { order: 2; }
.area-card {
  background: var(--navy); border: 1px solid #2A4A68; border-radius: 20px;
  padding: 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
}
.area-card strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--white); }
.area-hours {
  margin-top: 0.75rem; background: var(--gold); color: var(--navy-deep);
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 1.125rem;
}

/* Page hero / thank-you */
.page-hero { background: var(--navy-deep); color: var(--cream); padding: 3.5rem 0; }
.page-hero h1 { color: var(--white); }
.page-hero .lead, .page-hero p { color: #D6D0C6; }
.page-hero .btn-row { margin-top: 1.5rem; }
.page-hero .btn-secondary { color: var(--white); border-color: var(--white); }
.page-hero .btn-secondary:hover { background: var(--white); color: var(--navy); }
.prose p { margin: 0 0 1rem; }
.text-link { font-weight: 700; }

/* Footer */
.site-footer { background: #0A1929; color: #D6D0C6; padding: 3rem 0 6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: 2rem; }
.footer-brand p { margin: 0.6rem 0 0; }
.footer-brand .brand { margin-bottom: 0.75rem; }
.footer-brand img { height: 48px; width: 48px; }
.footer-title {
  font-family: var(--font-display); color: var(--white); font-size: 1.25rem;
  margin: 0 0 0.75rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.site-footer a { color: #D6D0C6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact .icon { flex: 0 0 auto; margin-top: 0.2rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #1C334C;
  font-size: 1.125rem;
}
.legal { display: flex; gap: 1rem; }

/* Sticky mobile call bar */
.mobile-call {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  background: var(--navy-deep); border-top: 2px solid var(--gold);
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr 1.6fr; gap: 0.5rem;
}
.mobile-call a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
  color: var(--white); text-decoration: none; font-size: 1.125rem; font-weight: 700;
  padding: 0.45rem 0.35rem; border-radius: 10px;
  text-align: center; min-height: 48px;
}
.mobile-call-primary { background: var(--gold); color: var(--navy-deep) !important; }

@media (max-width: 1180px) {
  .header-hours { display: none; }
}
@media (max-width: 1100px) {
  .header-hours { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header { overflow: visible; }
  .nav-list {
    display: none; position: absolute; top: 100%;
    left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line); gap: 0.4rem;
    z-index: 31;
  }
  .nav-list.is-open { display: flex; }
  .nav-cta { margin-top: 0.4rem; }
  .nav-cta .btn { width: 100%; }
  .main-nav { position: static; }
}
@media (max-width: 900px) {
  #estimate { padding-bottom: calc(4.5rem + var(--callbar-h)); }
  .hero-grid, .help-grid, .split, .split-rev, .footer-grid, .steps { grid-template-columns: 1fr; }
  .split-rev > div:first-child { order: 0; }
  .hero-panel { max-width: 22rem; margin-inline: auto; }
  .mobile-call { display: grid; }
  body { --callbar-h: 5.5rem; }
  .site-footer { padding-bottom: 7.5rem; }
  .field-row { grid-template-columns: 1fr; }
  .help-phone-block a { font-size: 1.45rem; word-break: break-word; }
}

@media (min-width: 901px) {
  .mobile-call { display: none !important; }
  body { --callbar-h: 0px; }
}

/* Fare estimator */
.estimator-intro { color: var(--muted); margin: 0 0 1.5rem; max-width: 46rem; }
.estimator-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  max-width: 46rem;
}
.section-tint .estimator-form { background: var(--white); }
.typeahead { position: relative; }
.typeahead-list {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% - 0.35rem);
  z-index: 8;
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 10px;
  margin: 0;
  padding: 0.25rem;
  max-height: 16rem;
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.typeahead-option {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1.4;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.typeahead-option:hover,
.typeahead-option[aria-selected="true"] {
  background: var(--navy);
  color: var(--white);
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.estimator-result {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
}
.estimator-result[data-kind="estimate"] {
  background: #f3f7f2;
  border-color: #c5d4c6;
}
.estimator-result[data-kind="error"],
.estimator-result[data-kind="airport"] {
  background: var(--cream);
}
.estimator-headline {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.6rem;
  line-height: 1.35;
}
.estimator-meta, .estimator-note, .estimator-rates, .estimator-attr {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 1.125rem;
}
.estimator-result .btn-row,
.estimator-result p .btn { margin-top: 0.35rem; margin-right: 0.5rem; margin-bottom: 0.35rem; }
.estimator-attr a { font-weight: 700; }
.estimator-form input { text-overflow: ellipsis; }

