/* Success Car & Limousine Service — main stylesheet
   Palette from the brand: logo black/white, the near-black #0c1315 and the
   champagne gold #bfa37c the business has used for years. */

:root {
  /* REPLACEABLE IMAGES */
  /* (all images are placed with <img src="assets/..."> — none in CSS) */

  --ink: #0c1315;          /* brand near-black */
  --ink-2: #141d20;        /* one step lighter, for panels on ink */
  --ink-3: #1f2a2e;        /* borders on ink */
  --black: #000000;        /* logo black */
  --white: #ffffff;        /* logo white */
  --gold: #bfa37c;         /* champagne gold accent (on dark) */
  --gold-light: #d8c4a4;   /* hover step on dark */
  --gold-text: #6f5a3b;    /* gold darkened for text on light (5.9:1) */
  --stone: #d9d6ce;        /* warm neutral */
  --paper: #fafafa;
  --paper-2: #f2f0eb;
  --text: #2b2f31;
  --muted: #5a5f61;        /* 6.4:1 on white */
  --on-ink: #e9e7e2;
  --on-ink-muted: #b4b2ac; /* 8:1 on ink */

  --font-head: "Bitter", "Roboto Slab", Rockwell, Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: clamp(3.5rem, 7vw, 6rem);
  --radius: 4px;
  --header-h: 72px;
}

/* Fonts (self-hosted, SIL Open Font License; see assets/fonts/) */
@font-face { font-family: "Bitter"; src: url("assets/fonts/bitter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("assets/fonts/bitter-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("assets/fonts/bitter-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 .6em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.visually-hidden, .hp-field {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--ink); padding: .6rem 1rem; font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* Buttons — one vocabulary site-wide: "Call 732-381-0221" (primary) and "Request a quote" (secondary) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-3); border-color: var(--ink-3); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--white);
  border-bottom: 1px solid var(--ink-3);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 220px; height: auto; }
.header-call {
  margin-left: auto; display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: .5rem .9rem; border-radius: var(--radius);
  background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.header-call:hover { background: var(--gold-light); color: var(--ink); }
.header-call svg { width: 1.05em; height: 1.05em; }
.header-call .num { display: none; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink-3); border-radius: var(--radius);
  background: transparent; color: var(--white); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.js .nav-toggle { display: inline-flex; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; color: var(--on-ink); text-decoration: none; font-weight: 600;
  padding: .55rem .2rem; font-size: 1rem;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }

/* Phone/tablet nav. Without JS the menu shows as a scrollable row. */
@media (max-width: 1199px) {
  .header-inner { flex-wrap: wrap; }
  .brand img { width: 200px; }
  .site-nav { order: 3; width: 100%; }
  .site-nav ul { display: flex; gap: 1.1rem; overflow-x: auto; padding-bottom: .4rem; }
  .site-nav a { white-space: nowrap; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; padding-bottom: 1rem; }
  .js .site-nav.is-open ul { display: block; overflow: visible; }
  .js .site-nav.is-open li { border-top: 1px solid var(--ink-3); margin: 0; }
  .js .site-nav.is-open a { padding: .8rem 0; font-size: 1.08rem; }
  .js .site-nav.is-open a[aria-current="page"] { box-shadow: none; }
}
@media (min-width: 520px) { .header-call .num { display: inline; } }
@media (min-width: 1200px) {
  .brand img { width: 250px; }
  .site-nav { margin-left: auto; }
  .site-nav ul { display: flex; gap: 1.2rem; }
  .header-call { margin-left: .5rem; }
  .js .nav-toggle { display: none; }
}

/* Sections */
.section { padding: var(--space-5) 0; }
.section-tint { background: var(--paper-2); }
.section-ink { background: var(--ink); color: var(--on-ink); }
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-ink a:not(.btn) { color: var(--gold); }
.section-ink a:not(.btn):hover { color: var(--gold-light); }
.section-head { max-width: 720px; margin-bottom: var(--space-4); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-ink .section-head p { color: var(--on-ink-muted); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; }
.rule { display: block; width: 56px; height: 3px; background: var(--gold); border: 0; margin: 0 0 1.25rem; }

/* Home hero: text on ink, the signature Navigator photo shown whole */
.hero { background: var(--ink); color: var(--on-ink); padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.hero-name {
  display: block; font-family: var(--font-head); font-weight: 700; color: var(--gold);
  font-size: clamp(1rem, 1.6vw, 1.2rem); margin-bottom: .6rem; letter-spacing: .01em;
}
.hero h1 { color: var(--white); font-size: clamp(1.85rem, 3.6vw, 2.9rem); margin-bottom: .8rem; }
.hero .lead { color: var(--on-ink); margin-bottom: 1.4rem; }
.hero .btn-row { margin-bottom: 1.4rem; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; border-radius: var(--radius); }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--on-ink-muted); font-size: .98rem; }
.facts li { margin: 0; display: inline-flex; align-items: center; gap: .45rem; }
.facts svg { width: 1.05em; height: 1.05em; color: var(--gold); flex: none; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1.15fr; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: var(--on-ink); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero .lead { color: var(--on-ink); max-width: 62ch; margin-bottom: 1.5rem; }
.crumbs { font-size: .95rem; color: var(--on-ink-muted); margin-bottom: 1rem; }
.crumbs a { color: var(--gold); }
.page-hero-grid { display: grid; gap: 2rem; align-items: center; }
.page-hero-grid figure { margin: 0; }
.page-hero-grid img { width: 100%; border-radius: var(--radius); }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.1fr 1fr; } }

/* Trust strip */
.strip { background: var(--black); color: var(--on-ink); border-top: 1px solid var(--ink-3); }
.strip ul { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.strip li { margin: 0; display: flex; gap: .75rem; align-items: flex-start; }
.strip svg { width: 28px; height: 28px; color: var(--gold); flex: none; margin-top: .1rem; }
.strip strong { display: block; color: var(--white); font-family: var(--font-head); font-weight: 700; }
.strip span { font-size: .95rem; color: var(--on-ink-muted); }

/* Service cards (photos shown at their own portrait shape) */
.services-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.service-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; }
.service-card figure { margin: 0; background: var(--ink); }
.service-card img { width: 100%; max-width: 350px; margin: 0 auto; }
.service-card .body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card p { color: var(--muted); }
.service-card .more { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--gold-text); }
.service-card .more:hover { text-decoration: underline; }
.service-card .more::after { content: " \2192"; }

/* Split feature rows */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split figure { margin: 0; }
.split img { width: 100%; border-radius: var(--radius); }
.split figure.portrait img { max-width: 350px; margin: 0 auto; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse > figure { order: 2; }
  .split.wide-text { grid-template-columns: 1.4fr 1fr; }
}

/* Airports */
.airports { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.airports li { margin: 0; padding: .7rem .85rem; border: 1px solid var(--stone); border-left: 3px solid var(--gold); border-radius: var(--radius); background: var(--white); line-height: 1.3; }
.airports b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.airports small { color: var(--muted); font-size: .9rem; }
.section-ink .airports li { background: var(--ink-2); border-color: var(--ink-3); border-left-color: var(--gold); }
.section-ink .airports b { color: var(--white); }
.section-ink .airports small { color: var(--on-ink-muted); }

/* Values list */
.values { display: grid; gap: 1.6rem 2.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); list-style: none; padding: 0; margin: 0; }
.values li { margin: 0; padding-top: 1rem; border-top: 2px solid var(--gold); }
.values h3 { margin-bottom: .35rem; font-size: 1.2rem; }
.values p { margin: 0; color: var(--muted); }
.section-ink .values p { color: var(--on-ink-muted); }

/* Signature quote */
.signature { margin: 0; padding: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; color: var(--ink); }
.signature::before { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin-bottom: 1.1rem; }
.section-ink .signature { color: var(--white); }

/* Fleet */
.fleet-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.fleet-card { border: 1px solid var(--stone); border-radius: var(--radius); background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.fleet-card figure { margin: 0; background: var(--white); border-bottom: 1px solid var(--stone); aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fleet-card figure picture { display: contents; }
.fleet-card figure img { width: 100%; height: 100%; object-fit: contain; }
.fleet-card .body { padding: 1.2rem 1.3rem 1.4rem; }
.fleet-card p { margin: 0; color: var(--muted); }
.fleet-card .models { margin-top: .6rem; font-size: .95rem; color: var(--gold-text); font-weight: 600; }

.vehicle { display: grid; gap: 1.5rem 3rem; align-items: center; padding: 2.5rem 0; border-top: 1px solid var(--stone); }
.vehicle:first-of-type { border-top: 0; padding-top: 0; }
.vehicle figure { margin: 0; }
.vehicle figure img { width: 100%; max-width: 560px; margin: 0 auto; border-radius: var(--radius); }
.vehicle .tag { display: inline-block; font-weight: 700; color: var(--gold-text); margin-bottom: .3rem; }
@media (min-width: 860px) {
  .vehicle { grid-template-columns: 1fr 1fr; }
  .vehicle:nth-of-type(even) > figure { order: 2; }
}

/* Area / mood photos */
.mood { margin: 0; }
.mood img { width: 100%; border-radius: var(--radius); }
.counties { columns: 2 180px; column-gap: 2rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.counties li { break-inside: avoid; padding: .3rem 0; border-bottom: 1px solid var(--ink-3); margin: 0; }
.section:not(.section-ink) .counties li { border-bottom-color: var(--stone); }
.states { font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: 1.1rem; margin-bottom: .6rem; }
.section:not(.section-ink) .states { color: var(--gold-text); }

/* Check list */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: .55rem;
  border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg);
}

/* Pricing options */
.options { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.option { padding: 1.5rem; background: var(--white); border: 1px solid var(--stone); border-top: 3px solid var(--gold); border-radius: var(--radius); }
.option h3 { margin-bottom: .4rem; }
.option p { color: var(--muted); margin: 0; }
.option .price { display: block; margin-top: .8rem; font-weight: 700; color: var(--ink); }
.option .price:empty { display: none; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--on-ink); padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 3px solid var(--gold); }
.cta-band .wrap { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .4rem; }
.cta-band p { margin: 0; color: var(--on-ink-muted); }
@media (min-width: 860px) { .cta-band .wrap { grid-template-columns: 1.3fr auto; } }

/* Contact */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.25fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--stone); margin: 0; }
.contact-list svg { width: 24px; height: 24px; color: var(--gold-text); flex: none; margin-top: .2rem; }
.contact-list b { display: block; font-family: var(--font-head); color: var(--ink); }
.contact-list a { font-weight: 600; }
.hours-table { width: 100%; border-collapse: collapse; margin-bottom: .5rem; }
.hours-table td { padding: .2rem 0; }
.hours-table td + td { text-align: right; font-weight: 700; color: var(--ink); }

/* Forms */
.form-card { background: var(--paper-2); border: 1px solid var(--stone); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; gap: 1rem 1.2rem; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: .3rem; font-size: .98rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; font: inherit; color: var(--text);
  background: var(--white); border: 1px solid #a9a59b; border-radius: var(--radius);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.form-note { font-size: .95rem; color: var(--muted); margin: 1rem 0; }
.form-actions { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius); font-weight: 600; }
.form-status.ok { background: #e9f3ea; color: #1f4d26; border: 1px solid #a8cfae; }
.form-status.err { background: #fbecea; color: #7a1f14; border: 1px solid #e3b1aa; }
.cf-turnstile { margin-top: 1rem; min-height: 65px; }

/* Prose */
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }

/* Footer */
.site-footer { background: var(--black); color: var(--on-ink-muted); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; font-size: .98rem; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 2rem; border-bottom: 1px solid var(--ink-3); }
.footer-brand img { width: 220px; margin-bottom: 1rem; }
.footer-brand p { max-width: 36ch; }
.site-footer h2 { font-size: 1.05rem; color: var(--white); margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-contact li { display: flex; gap: .6rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: .25rem; }
.open-badge { display: inline-block; margin-top: .3rem; padding: .25rem .6rem; border: 1px solid var(--gold); color: var(--gold); border-radius: var(--radius); font-weight: 700; font-size: .92rem; }
.fine { padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; font-size: .9rem; }
.fine p { margin: 0; }
.site-footer [data-ss-credit] { color: var(--on-ink-muted); }
.site-footer [data-ss-credit] a { color: var(--on-ink-muted); text-decoration: underline; }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 719px) {
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
    background: var(--ink); border-top: 1px solid var(--ink-3);
  }
  .call-bar .btn { min-height: 46px; padding: .6rem .5rem; font-size: .98rem; }
  body { padding-bottom: 72px; }
}

/* 404 */
.notfound { min-height: 50vh; }
.notfound ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
