/* Tesla On Call — operated by Sabet Transportation LLC
   Preview one-pager for teslaoncall.com and sabettransportation.com.
   Bay Area first. Visual language: night navy, Bodoni serif headline, white type. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/BodoniModa.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  font-optical-sizing: auto;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/BodoniModa-Italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  font-optical-sizing: auto;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #07090f;
  --navy-2: #0c1018;
  --ink: #f4f1ea;
  --muted: #b9b4aa;
  --line: rgba(244, 241, 234, 0.16);
  --gold: #d7c4a3;
  --topbar-h: 2.15rem;
  --header-h: 4.25rem;
  --chrome-h: calc(var(--topbar-h) + var(--header-h));
  --serif: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", system-ui, sans-serif;
  --max: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 8.5rem; }
@media (min-width: 1100px) {
  html { scroll-padding-top: 7.25rem; }
}
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--gold); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--navy);
  padding: 0.5rem 0.9rem;
  z-index: 100;
}
.skip:focus { top: 0.75rem; }

/* ----- Header ----- */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar {
  min-height: var(--topbar-h);
  height: auto;
  background: rgba(7, 9, 15, 0.92);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.topbar-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0.3rem var(--gutter);
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.topbar a {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.topbar a:hover { color: var(--gold); }
.topbar-sep { color: var(--gold); opacity: 0.85; }
.site-header {
  position: relative;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 9, 15, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand img {
  height: 2rem;
  width: auto;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
}
@media (max-width: 1099px) {
  .site-nav { margin-left: 0; }
}
.site-nav a:not(.btn) {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.site-nav a:not(.btn):hover { color: var(--gold); }

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.45rem;
}
.header-actions .btn { padding: 0.75em 1.15em; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85em 1.4em;
  border: 1px solid transparent;
  border-radius: 1px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn-book {
  background: var(--ink);
  color: var(--navy) !important;
}
.btn-book:hover {
  background: var(--gold);
  color: var(--navy) !important;
}
.btn-ghost {
  background: rgba(7, 9, 15, 0.4);
  color: var(--ink);
  border-color: rgba(244, 241, 234, 0.4);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 1.75rem;
}
.hero-actions .btn { padding: 0.95em 1.6em; }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  color: var(--ink);
  isolation: isolate;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 42%;
  z-index: -2;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(7, 9, 15, 0.72) 0%,
      rgba(7, 9, 15, 0.50) 20%,
      rgba(7, 9, 15, 0.22) 38%,
      rgba(7, 9, 15, 0.06) 52%,
      transparent 64%),
    linear-gradient(180deg,
      rgba(7, 9, 15, 0.50) 0%,
      rgba(7, 9, 15, 0.12) 22%,
      transparent 36%);
}
.hero-content {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vh, 7.5rem) var(--gutter) 4rem;
  max-width: 100%;
}
.hero-copy {
  max-width: 24.5rem;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(2.35rem, 6.4vw, 4.15rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0;
  text-wrap: balance;
}
.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 1.15rem 0 0;
  color: var(--ink);
}

.license-badge {
  display: inline-block;
  margin: 1.05rem 0 0;
  padding: 0.45em 0.9em;
  border: 1px solid rgba(215, 196, 163, 0.65);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(7, 9, 15, 0.35);
}

.also-serving {
  margin: 0.9rem 0 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.also-serving a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(215, 196, 163, 0.45);
}
.also-serving a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.section h2.subhead {
  margin-top: 2.25rem;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
}
.section-secondary {
  background: var(--navy-2);
}
.section-secondary h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}
.frame.landscape.fleet-tesla img,
.frame.landscape img {
  object-position: 50% 50%;
}

.lede {
  margin: 1.35rem 0 0;
  color: var(--ink);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 24rem;
  line-height: 1.55;
}

/* ----- Shared sections ----- */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter);
  scroll-margin-top: calc(var(--chrome-h) + 0.5rem);
}
.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
}
.section .lead {
  color: var(--muted);
  font-weight: 300;
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 0 2rem;
}
.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split.reverse { direction: rtl; }
  .split.reverse > * { direction: ltr; }
}

.services-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.services-list li {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.services-list li span {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  min-width: 1.5rem;
}
.frame {
  overflow: hidden;
  border-radius: 2px;
  background: #111;
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  object-position: 50% 30%;
}
.frame.landscape img {
  aspect-ratio: 5 / 4;
  object-position: 42% 40%;
}
.caption {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.promo {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.35;
  margin: 1.25rem 0 0;
  color: var(--ink);
  max-width: 22rem;
}

.flight-note,
.price-note,
.concierge-note {
  margin: 1.15rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 2px solid var(--gold);
  background: rgba(215, 196, 163, 0.08);
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 36rem;
}
.price-note { font-weight: 600; }
.section-reserve .flight-note {
  margin: 0 0 1.25rem;
  max-width: none;
}
.reserve-actions {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.quote-disclaimer {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 36rem;
}
.hero .quote-disclaimer {
  color: var(--ink);
  max-width: 24rem;
  opacity: 0.92;
}
.section-reserve .quote-disclaimer {
  margin: 1rem 0 1.25rem;
  max-width: none;
}

/* App */
.section-app { background: var(--navy-2); }
.app-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 800px) {
  .app-grid { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 4rem; }
}
.phone {
  max-width: 18rem;
  margin: 0 auto;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45));
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  align-items: center;
}
.badges a { display: block; text-decoration: none; }
.badges img {
  height: 3rem;
  width: auto;
}

/* Reserve */
.section-reserve { background: #05060a; }
.iframe-wrap {
  margin-top: 1.75rem;
  background: #0b0d12;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.iframe-wrap iframe {
  display: block;
  width: 100%;
  height: 950px;
  border: 0;
  background: #111;
}

/* Contact / footer */
.contact-rows {
  display: grid;
  gap: 1.25rem 3rem;
}
@media (min-width: 600px) {
  .contact-rows { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .contact-rows { grid-template-columns: repeat(4, 1fr); }
}
.contact-rows h3 {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.contact-rows p,
.contact-rows a {
  font-family: var(--serif);
  font-size: 1.35rem;
  text-decoration: none;
  margin: 0;
}
.contact-rows a:hover { color: var(--gold); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem var(--gutter) 2.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
}
.site-footer a { text-decoration: underline; text-underline-offset: 3px; }

/* ----- Narrow header: booking stays visible; links go in the menu ----- */
@media (max-width: 1099px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: 0; }
  .header-actions { margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 9, 15, 0.96);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem var(--gutter) 1.25rem;
    gap: 0.85rem;
  }
  .site-header.is-open .site-nav { display: flex; }
}

@media (max-width: 799px) {
  .topbar { font-size: 0.72rem; }
  .topbar-inner { justify-content: center; gap: 0.45rem; }
  .brand img { height: 1.7rem; }
  .header-actions { gap: 0.35rem; }
  .header-actions .btn { padding: 0.62em 0.7em; letter-spacing: 0.08em; font-size: 0.62rem; }
  .hero {
    min-height: 100svh;
  }
  .hero-media img { object-position: 40% 28%; }
  .hero-scrim {
    background:
      linear-gradient(180deg,
        rgba(7, 9, 15, 0.88) 0%,
        rgba(7, 9, 15, 0.78) 20%,
        rgba(7, 9, 15, 0.68) 40%,
        rgba(7, 9, 15, 0.52) 58%,
        rgba(7, 9, 15, 0.32) 74%,
        rgba(7, 9, 15, 0.16) 88%,
        rgba(7, 9, 15, 0.10) 100%);
  }
  .hero-copy { max-width: 22rem; }
  .hero-content { padding-top: 3.75rem; padding-bottom: 2.25rem; }
  .hero-actions { margin-top: 1.15rem; }
  .hero .quote-disclaimer { margin-top: 0.65rem; }
  .iframe-wrap iframe { height: 850px; }
  .phone { max-width: 14.5rem; }
}

@media (min-width: 800px) {
  .hero-copy { max-width: 26rem; }
}

.section h2 { text-wrap: balance; }
.section-pair .lead { margin-bottom: 0; }
.faq-list {
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 1.05rem 0;
}
.faq-list summary {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1;
  flex: 0 0 auto;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.faq-list details p {
  color: var(--muted);
  font-weight: 300;
  margin: 0.8rem 0 0.15rem;
  max-width: 42rem;
}
.faq-list details p a { color: var(--ink); }
.faq-list details p a:hover { color: var(--gold); }

@media (max-width: 419px) {
  .header-actions .btn-corporate { padding: 0.62em 0.55em; }
}

.booking-meta {
  margin: 0.15rem 0 0;
}
.booking-meta p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-inner {
  align-items: center;
}
.footer-social {
  margin: 0;
}
.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  text-decoration: none;
}
.facebook-link:hover { color: var(--gold); }
.facebook-link svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}


/* ----- Preview banner, operator line, text button, topbar labels ----- */
.preview-banner {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.42rem 1rem;
}
.topbar-label {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.66rem;
  margin-right: 0.28rem;
}
.operator {
  margin: 0.45rem 0 0;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.btn-text {
  border-color: rgba(215, 196, 163, 0.55);
}
