/* ─────────────────────────────────────────────────────────────
   Stockholm Limo Service — classic theme
   Ivory paper, warm black and the gold of the SLS eagle logo.
   Tailwind (CDN) handles layout utilities; this file holds the
   brand components shared by every page and the blog.
   ───────────────────────────────────────────────────────────── */
:root {
  --ink: #14120F;
  --ink-2: #1D1A16;
  --gold: #C29B57;
  --gold-dark: #9A7638;
  --gold-light: #E2C78F;
  --cream: #F6F1E7;
  --cream-2: #FBF8F2;
  --line: #E4DACA;
  --muted: #7C7366;
  --body: #4A4339;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', system-ui, sans-serif;
  background-color: #FFFFFF;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .font-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.005em;
}
::selection { background: var(--gold-light); color: var(--ink); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: rgba(194,155,87,0.45); }

/* ── Small caps label with a hairline ─────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Jost', sans-serif; font-weight: 500;
  font-size: 12px; line-height: 1.3; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; flex-shrink: 0; }
.eyebrow.is-center::after { content: ""; width: 36px; height: 1px; background: currentColor; flex-shrink: 0; }
.eyebrow.is-light { color: var(--gold-light); }

/* ── Ornamental divider: line · diamond · line ────────────── */
.ornament { display: flex; align-items: center; gap: 12px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 56px; background: currentColor; opacity: .7; }
.ornament.is-left::before { display: none; }
.ornament span { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; font-family: 'Jost', sans-serif; font-weight: 500;
  font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid transparent; transition: background-color .3s, color .3s, border-color .3s;
  cursor: pointer; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.btn-dark:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-outline { border-color: var(--gold); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark);
  font-weight: 500; transition: gap .3s, color .3s;
}
.link-arrow:hover { gap: 16px; color: var(--ink); }

/* ── Image frames ─────────────────────────────────────────── */
.frame { position: relative; isolation: isolate; }
.frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border: 1px solid var(--gold); transform: translate(18px, 18px);
}
.frame.is-left::after { transform: translate(-18px, 18px); }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .frame::after { transform: translate(10px, 10px); }
  .frame.is-left::after { transform: translate(-10px, 10px); }
}
.arch { border-radius: 999px 999px 0 0; overflow: hidden; }

/* Double hairline panel, used for the booking card and feature tiles */
.panel-classic { position: relative; background: var(--cream-2); }
.panel-classic::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid rgba(194,155,87,.45);
}

/* ── Typography helpers ───────────────────────────────────── */
.prose-classic p { color: var(--body); font-size: 17px; line-height: 1.8; margin: 0 0 1.1em; font-weight: 300; }
.prose-classic p:last-child { margin-bottom: 0; }
.prose-classic strong { color: var(--ink); font-weight: 500; }
.prose-classic a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.on-dark .prose-classic p, .prose-classic.on-dark p { color: rgba(255,255,255,.72); }
.dropcap::first-letter {
  float: left; font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 4.4em; line-height: .78; padding: 8px 12px 0 0; color: var(--gold);
}

.diamond-list { display: grid; gap: 12px; }
.diamond-list li { position: relative; padding-left: 28px; color: var(--ink); font-size: 16px; line-height: 1.55; }
.diamond-list li::before {
  content: ""; position: absolute; left: 3px; top: .55em;
  width: 8px; height: 8px; border: 1px solid var(--gold); background: rgba(194,155,87,.18); transform: rotate(45deg);
}
.on-dark .diamond-list li { color: rgba(255,255,255,.85); }

/* ── Header ───────────────────────────────────────────────── */
#site-header { transition: background-color .45s ease, box-shadow .45s ease; }
#site-header .topbar { max-height: 48px; overflow: hidden; transition: max-height .4s ease, opacity .3s ease; }
#site-header .nav-link, #site-header .phone-link { color: #fff; transition: color .3s; }
#site-header .hamburger-line { background-color: #fff; transition: transform .2s, opacity .2s, background-color .3s; }
#site-header .nav-link:hover, #site-header .phone-link:hover, #site-header .nav-link.is-active { color: var(--gold-light); }
#site-header.scrolled { background-color: rgba(251,248,242,.97); backdrop-filter: blur(8px); box-shadow: 0 10px 30px -18px rgba(20,18,15,.35); }
#site-header.scrolled .topbar { max-height: 0; opacity: 0; }
#site-header.scrolled .nav-link, #site-header.scrolled .phone-link { color: var(--body); }
#site-header.scrolled .nav-link:hover, #site-header.scrolled .phone-link:hover, #site-header.scrolled .nav-link.is-active { color: var(--gold-dark); }
#site-header.scrolled .hamburger-line { background-color: var(--ink); }
#site-header.is-solid .topbar { max-height: 48px; opacity: 1; }
/* Logo: white "LIMO SERVICE" line over the dark hero, dark line on the ivory header */
#site-header .logo-on-light { display: none; }
#site-header.scrolled .logo-on-dark { display: none; }
#site-header.scrolled .logo-on-light { display: block; }
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero-shade { background: linear-gradient(100deg, rgba(20,18,15,.82) 0%, rgba(20,18,15,.5) 45%, rgba(20,18,15,.12) 100%); }
.hero-shade-bottom { background: linear-gradient(to top, rgba(20,18,15,.85), rgba(20,18,15,0) 60%); }

/* Dark band with a faint gold glow */
.band-dark {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(194,155,87,.14), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(194,155,87,.10), transparent 50%),
    var(--ink);
  color: #fff;
}

/* ── Forms ────────────────────────────────────────────────── */
.field-label { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 9px 0; font-size: 15px; color: var(--ink); font-family: 'Jost', sans-serif; border-radius: 0;
  transition: border-color .25s;
}
.field::placeholder { color: #ADA393; }
.field:focus { outline: none; border-bottom-color: var(--gold); }
select.field { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 22px; }
.field-box {
  width: 100%; border: 1px solid var(--line); background: #fff; padding: 13px 16px;
  font-size: 15px; color: var(--ink); font-family: 'Jost', sans-serif; border-radius: 0; transition: border-color .25s;
}
.field-box::placeholder { color: #ADA393; }
.field-box:focus { outline: none; border-color: var(--gold); }
.select-caret { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }

.dt-field { cursor: pointer; }
.dt-field input { cursor: pointer; }

/* Flatpickr themed to the brand */
.flatpickr-calendar { font-family: 'Jost', sans-serif; box-shadow: 0 16px 40px rgba(20,18,15,.22); border: 1px solid var(--line); border-radius: 0; }
.flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after { display: none; }
.flatpickr-months { padding: 10px 0 4px; }
.flatpickr-current-month { font-family: 'Cormorant Garamond', serif; font-size: 18px; }
.flatpickr-current-month .flatpickr-monthDropdown-months, .flatpickr-current-month input.cur-year { font-family: 'Jost', sans-serif; font-size: 15px; }
span.flatpickr-weekday { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.flatpickr-day { border-radius: 0; font-size: 13px; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.flatpickr-day.today { border-color: var(--gold); }
.flatpickr-day:hover { background: var(--cream); }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--gold); }
.flatpickr-calendar.noCalendar { width: 200px !important; }
.flatpickr-calendar.noCalendar .flatpickr-time { height: 40px; }
.flatpickr-time input:hover, .flatpickr-time input:focus, .flatpickr-time .flatpickr-am-pm:hover { background: var(--cream); }

/* ── FAQ (native <details>) ───────────────────────────────── */
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon { transition: transform .3s ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item[open] summary .faq-q { color: var(--gold-dark); }

/* ── Cards ────────────────────────────────────────────────── */
.service-card img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.service-card:hover img { transform: scale(1.06); }
.fleet-card img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.fleet-card:hover img { transform: translateX(8px); }

/* ── Scroll reveal (only when JS is running) ──────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .service-card img, .fleet-card img { transition: none; }
}

/* Legal pages */
.legal h2 { font-size: 28px; color: var(--ink); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--body); font-size: 16.5px; line-height: 1.8; font-weight: 300; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; display: grid; gap: 6px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.legal a { color: var(--gold-dark); text-decoration: underline; }
