/* Stanford Limo — 2026 redesign ("Mission").
   Sandstone, terracotta and deep green, from the campus architecture.
   Fonts: css/v2-fonts.css (self-hosted DM Serif Display + Manrope). */

:root {
  --ink: #1F1B16;
  --body: #4A4238;
  --sand: #F6F0E6;
  --sand-2: #FBF8F3;
  --line: #E6DCCB;
  --field: #DCCFBC;
  --card: #FFFFFF;
  --green: #1F3A2E;
  --green-text: #C9D6CC;
  --terra: #9C3F22;       /* text/links on light: 6.3:1 on sand */
  --terra-btn: #B0532F;   /* buttons with white text: 4.9:1 */
  --terra-btn-dark: #8E4024;
  --peach: #F1C9A8;
  --radius: 16px;
  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: Manrope, 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(--sand); color: var(--ink); font: 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); }
a:hover { color: #7A2F17; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.06; }
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; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #C77B55; outline-offset: 2px; }

/* ---- Header ---- */
.site-header { background: var(--card); 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: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }
.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: 600; font-size: 15px; white-space: nowrap; padding: 10px 12px; min-height: 44px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav-group > button:hover, .nav-group.open > button { background: var(--sand); color: var(--ink); }
.nav-group { position: relative; }
.nav-group > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-group ul { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; margin: 0; padding: 8px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 32px rgba(31, 27, 22, 0.12); }
.nav-group.open ul { display: block; }
.nav-group ul a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.nav-group ul a:hover { background: var(--sand); color: var(--terra); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.phone-link { color: var(--ink); text-decoration: none; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 22px; border-radius: 999px; border: 0; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #152A20; color: #fff; }
.btn-terra { background: var(--terra-btn); color: #fff; }
.btn-terra:hover { background: var(--terra-btn-dark); color: #fff; }
.btn-ghost { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-lg { min-height: 52px; padding: 14px 28px; }
.menu-toggle { display: none; background: var(--sand); color: var(--ink); }

@media (max-width: 1040px) {
  .menu-toggle { display: inline-flex; padding: 11px 14px; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0 4px; }
  .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; border-radius: 10px; }
  .phone-link { display: none; }
}
@media (max-width: 480px) {
  .brand img { height: 46px; }
  .header-actions .btn-green { padding: 10px 16px; }
}

/* ---- Hero ---- */
.hero { position: relative; background: var(--green); color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-inner { position: relative; background: rgba(18, 26, 22, 0.58); }
.hero-inner .wrap { padding-top: 130px; padding-bottom: 110px; }
.eyebrow { margin: 0 0 18px; font-weight: 700; letter-spacing: 0.22em; font-size: 13px; text-transform: uppercase; color: var(--peach); }
.hero h1 { max-width: 900px; font-size: clamp(36px, 5vw, 60px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---- Sections ---- */
.section { padding-top: 88px; padding-bottom: 40px; }
.section h2 { font-size: clamp(34px, 4vw, 46px); color: var(--green); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 28px; }
.section-sub { margin: 8px 0 0; color: var(--body); }

.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-copy { flex: 1 1 520px; min-width: 0; }
.about-copy p { margin: 18px 0 0; color: var(--body); font-size: 17px; }
.about-photo { flex: 1 1 400px; min-width: 0; max-width: 520px; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 200px 200px 16px 16px; }

.band { background: var(--green); color: var(--green-text); }
.band .wrap { padding-top: 88px; padding-bottom: 88px; }
.band h2 { color: #fff; font-size: clamp(34px, 4vw, 46px); margin-bottom: 40px; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; }
.pillar { border-top: 2px solid #C77B55; padding-top: 20px; }
.pillar h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; color: #fff; }
.pillar p { margin: 0; }

.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.area { position: relative; min-height: 250px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; display: flex; align-items: flex-end; background: var(--green); }
.area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.area span { position: relative; background: rgba(18, 26, 22, 0.7); width: 100%; padding: 18px 20px; font-family: var(--display); font-size: 26px; }
.area:hover { color: #fff; }
.area:hover img { transform: scale(1.04); }

.vehicles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.vehicle { background: var(--card); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.vehicle img { width: 100%; height: 170px; object-fit: contain; }
.vehicle h3 { font-size: 20px; font-weight: 700; margin-top: 6px; }
.vehicle span, .vehicle p { color: var(--terra); font-weight: 600; margin: 0; }

/* ---- Forms ---- */
.panel { background: var(--card); border-radius: 24px; padding: 44px; }
.contact { display: flex; flex-wrap: wrap; gap: 44px; }
.contact-info { flex: 1 1 320px; min-width: 0; }
.contact-info h2 { margin-bottom: 14px; }
.contact-info .big-phone { display: block; font-size: 30px; font-weight: 700; color: var(--terra); text-decoration: none; }
.contact-info .mail { display: block; margin-top: 6px; font-size: 18px; }
.contact-info p { color: var(--body); }
.form { flex: 2 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--body); }
.field input, .field select, .field textarea { border: 1px solid var(--field); border-radius: 12px; padding: 12px; min-height: 48px; background: var(--sand-2); color: var(--ink); font-weight: 400; font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.form-section { grid-column: 1 / -1; margin: 10px 0 0; font-family: var(--display); font-size: 24px; color: var(--green); }
.form button { grid-column: 1 / -1; justify-self: start; min-height: 50px; padding: 14px 30px; font-size: 16px; }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } .panel { padding: 26px; } }

/* ---- Inner pages ---- */
.page-hero { background: var(--green); color: #fff; }
.page-hero .wrap { padding-top: 56px; padding-bottom: 52px; }
.crumbs { margin: 0 0 12px; font-size: 14px; color: var(--green-text); }
.crumbs a { color: var(--green-text); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 52px); }
.page-body { display: flex; flex-wrap: wrap; gap: 44px; padding-top: 64px; padding-bottom: 72px; align-items: center; }
.page-body .photo { flex: 1 1 420px; min-width: 0; max-width: 560px; }
.page-body .photo img { width: 100%; border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; }
.prose { flex: 1 1 480px; min-width: 0; color: var(--body); font-size: 18px; }
.prose p { margin: 0 0 16px; }
.cta-strip { background: var(--card); border-top: 1px solid var(--line); }
.cta-strip .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.cta-strip h2 { font-size: clamp(26px, 3vw, 34px); color: var(--green); }
.cta-strip .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.notice { text-align: center; padding-top: 88px; padding-bottom: 96px; }
.notice h2 { font-size: clamp(26px, 3vw, 34px); color: var(--green); margin-bottom: 26px; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #D8CFC2; font-size: 14px; }
.site-footer .wrap { padding-top: 44px; padding-bottom: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.site-footer strong { color: #fff; display: block; margin-bottom: 8px; font-size: 15px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: #D8CFC2; }
.site-footer a:hover { color: #fff; }
.site-footer .hl { color: var(--peach); }
.site-footer .brand-name { font-family: var(--display); font-size: 26px; color: #fff; }
.footer-bottom { border-top: 1px solid #3A332B; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 24px; }

/* ---- Two-step quote / reservation (same flow as sanfranciscolimo.com) ---- */
.steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; color: var(--body); }
.form > .steps { grid-column: 1 / -1; }
.steps li { padding: 6px 14px; border-radius: 999px; background: var(--sand-2); border: 1px solid var(--field); }
.steps li[aria-current="step"] { background: var(--green); border-color: var(--green); color: #fff; }
.step2-form { display: block; flex: 2 1 460px; min-width: 0; }
.step2-form .steps { margin-bottom: 18px; }
.step2-form .container, .step2-form .row, .step2-form [class*="col-"] { display: block; width: auto; max-width: none; padding: 0; margin: 0; }
.step2-form h2 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 8px 0 16px; text-align: left; color: var(--green) !important; }
.step2-form center { text-align: left; }
.step2-form br { display: none; }
.step2-form label { display: block; font-size: 13px; font-weight: 700; color: var(--body); 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 var(--field); border-radius: 12px; padding: 12px; min-height: 48px; background: var(--sand-2); color: var(--ink); font: inherit; font-size: 16px; margin-bottom: 14px; }
.step2-form textarea { min-height: 120px; resize: vertical; }
.step2-form input[type="submit"], .step2-form button[type="submit"] { display: inline-flex; background: var(--green) !important; color: #fff; border: 0; border-radius: 999px; padding: 14px 30px; min-height: 50px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; width: auto !important; }
.step2-form input[type="submit"]:hover, .step2-form button[type="submit"]:hover { background: #152A20 !important; }
