/* SFO Limousine — 2026 redesign ("Grand Tour").
   Fonts: css/v2-fonts.css (self-hosted Cormorant Garamond + Jost). */

:root {
  --ink: #1E1A1B;
  --ink-2: #4A4245;
  --muted: #6A6064;
  --line: #E7E1DA;
  --bg: #FAF8F5;
  --card: #FFFFFF;
  --wine: #7A1F2E;
  --wine-dark: #5A1621;
  --wine-soft: #F4E7E9;
  --night: #1E1A1B;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Jost, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); }
a:hover { color: var(--wine-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; }
input, select, button, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid #C25A6B; outline-offset: 2px; }
.eyebrow { margin: 0; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--wine); }

/* ---- Header ---- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.wordmark { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; letter-spacing: 0.01em; }
.wordmark span { color: var(--wine); }
.wordmark:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav-group > button { background: none; border: 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; padding: 10px 12px; min-height: 44px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.nav > a:hover, .nav-group > button:hover, .nav-group.open > button { color: var(--wine); }
.nav-group { position: relative; }
.nav-group > button::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-group ul { display: none; position: absolute; top: calc(100% + 4px); left: 0; min-width: 280px; margin: 0; padding: 8px; list-style: none; background: var(--card); border: 1px solid var(--line); box-shadow: 0 14px 32px rgba(30, 26, 27, 0.12); }
.nav-group.open ul { display: block; }
.nav-group ul a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; }
.nav-group ul a:hover { background: var(--wine-soft); color: var(--wine-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-wine { background: var(--wine); color: #fff; }
.btn-wine:hover { background: var(--wine-dark); color: #fff; }
.btn-line { border-color: var(--wine); color: var(--wine); background: transparent; }
.btn-line:hover { background: var(--wine); color: #fff; }
.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.menu-toggle { display: none; background: var(--wine-soft); color: var(--wine-dark); }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; padding: 6px 0; }
  .site-header.menu-open .nav { display: flex; }
  .nav-group ul { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .nav > a, .nav-group > button { width: 100%; justify-content: space-between; }
  .header-actions .call-link { display: none; }
}
@media (max-width: 480px) {
  .wordmark { font-size: 25px; }
  .header-actions .btn { padding: 10px 14px; }
}

/* ---- Home hero ---- */
.hero { position: relative; color: #fff; background: var(--night); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-inner { position: relative; background: rgba(24, 12, 14, 0.5); }
.hero-inner .wrap { padding-top: 150px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero .eyebrow { color: #fff; letter-spacing: 0.28em; }
.hero h1 { max-width: 820px; font-size: clamp(44px, 6vw, 72px); line-height: 1.02; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* ---- Sections ---- */
.section { padding-top: 96px; padding-bottom: 24px; }
.section h2 { font-size: clamp(36px, 4vw, 48px); }
.lede { color: var(--ink-2); }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > .head { flex: 1 1 340px; min-width: 0; }
.split > .body { flex: 2 1 560px; min-width: 0; color: var(--ink-2); }
.split > .body p { margin: 0 0 16px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 28px; }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.tile { position: relative; min-height: 420px; text-decoration: none; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--night); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: relative; width: 100%; padding: 22px; background: rgba(24, 12, 14, 0.72); font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.1; }
.tile:hover { color: #fff; }

.vehicle { background: var(--card); border: 1px solid var(--line); text-align: center; padding: 28px 22px; }
.vehicle img { width: 100%; height: 180px; object-fit: contain; }
.vehicle h3 { margin: 14px 0 2px; font-size: 26px; }
.vehicle p { margin: 0; color: var(--wine); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
.vehicle[hidden] { display: none; }

.dark-band { background: var(--night); color: #F1ECE8; margin-top: 72px; }
.dark-band .wrap { padding-top: 96px; padding-bottom: 96px; }
.dark-band h2 { color: #fff; font-size: clamp(36px, 4vw, 48px); }
.dark-band .body { color: #D9D1CC; }

.option { border: 1px solid var(--line); background: var(--card); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.option h3 { font-size: 30px; }
.option p { margin: 0; color: var(--ink-2); }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 36px; }
.quotes figure { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.quotes .mark { font-family: var(--serif); font-size: 72px; line-height: 0.6; color: var(--wine); }
.quotes blockquote { margin: 0; color: var(--ink-2); }
.quotes figcaption strong { display: block; }
.quotes figcaption span { color: var(--wine); font-size: 15px; }
.center { text-align: center; }

/* ---- Inner pages ---- */
.page-hero { background: var(--night); color: #fff; }
.page-hero .wrap { padding-top: 72px; padding-bottom: 64px; }
.page-hero .crumbs { margin: 0 0 12px; font-size: 14px; letter-spacing: 0.06em; color: #D9D1CC; }
.page-hero .crumbs a { color: #D9D1CC; }
.page-hero h1 { font-size: clamp(40px, 5vw, 60px); }
.feature { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 80px; padding-bottom: 40px; align-items: flex-start; }
.feature figure { flex: 1 1 420px; min-width: 0; margin: 0; }
.feature figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prose { flex: 1 1 520px; min-width: 0; color: var(--ink-2); }
.prose h2 { font-size: 34px; color: var(--ink); margin: 0 0 14px; }
.prose h3 { font-size: 30px; color: var(--ink); margin: 28px 0 12px; }
.prose > h3:first-child, .prose > h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose strong { color: var(--ink); }

.cta-band { background: var(--wine); color: #fff; margin-top: 64px; }
.cta-band .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.4vw, 40px); }
.btn-light { background: #fff; color: var(--wine-dark); }
.btn-light:hover { background: var(--wine-soft); color: var(--wine-dark); }

/* Fleet */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { background: var(--card); border: 1px solid var(--line); padding: 10px 18px; min-height: 44px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px; cursor: pointer; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--line); padding: 32px; }
.form-card h2 { font-size: 36px; margin-bottom: 20px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields .wide { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-2); }
.field input, .field select, .field textarea { border: 1px solid #D8CFC6; background: #fff; padding: 12px 14px; min-height: 48px; color: var(--ink); font-size: 16px; font-weight: 400; letter-spacing: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.form-card .btn { margin-top: 20px; }

.info-grid { display: flex; flex-wrap: wrap; gap: 40px; }
.info-grid > div { flex: 1 1 300px; min-width: 0; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 8px 0; }
.map { width: 100%; height: 420px; border: 0; display: block; }
.notice { padding-top: 72px; padding-bottom: 72px; }

/* ---- Footer ---- */
.site-footer { background: var(--wine); color: #F6E9EB; margin-top: 0; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.site-footer .brand { font-family: var(--serif); font-size: 30px; font-weight: 700; color: #fff; }
.site-footer h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin: 0 0 8px; }
.site-footer p { margin: 0; }
.site-footer a { color: #F6E9EB; }
.site-footer a:hover { color: #fff; }
.site-footer .social { display: flex; gap: 16px; margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 24px; font-size: 14px; grid-template-columns: none; }

/* ---- Two-step quote / reservation (js/quote-steps.js) ---- */
.steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.steps li { padding: 7px 14px; background: var(--wine-soft); color: var(--wine-dark); }
.steps li[aria-current="step"] { background: var(--wine); color: #fff; }
.step2-form .container, .step2-form .row, .step2-form [class*="col-"] { display: block; width: auto; max-width: none; padding: 0; margin: 0; }
.step2-form h2:not(#form-title) { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 22px 0 12px; text-align: left; color: var(--ink) !important; }
.step2-form center { text-align: left; }
.step2-form br { display: none; }
.step2-form label { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-2); margin-bottom: 6px; }
.step2-form input:not([type="hidden"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .step2-form select, .step2-form textarea { display: block; width: 100% !important; box-sizing: border-box; border: 1px solid #D8CFC6; background: #fff; padding: 12px 14px; min-height: 48px; color: var(--ink); font-size: 16px; margin-bottom: 14px; }
.step2-form textarea { min-height: 130px; }
.step2-form input[type="submit"], .step2-form button[type="submit"] { background: var(--wine) !important; color: #fff !important; border: 0; padding: 14px 28px; min-height: 50px; font-weight: 600; letter-spacing: 0.04em; font-size: 16px; cursor: pointer; width: auto !important; margin-top: 8px; }
.step2-form input[type="submit"]:hover, .step2-form button[type="submit"]:hover { background: var(--wine-dark) !important; }
.step2-form .heading2 { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { .fields { grid-template-columns: minmax(0, 1fr); } }
