/* =========================================================
   EverBest Car Rental — shared stylesheet
   Palette: "Ink & Gold" — deep jade #0b3b2e, warm gold #dcb267, cream #faf7ef
   Type: Spectral (headings) + Nunito Sans (body)
   Look: floating frosted pill nav, cinematic full-bleed hero, pill buttons, rounded cards
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,600;1,500&family=Nunito+Sans:wght@400;600;700;800&display=swap');

:root {
  --navy: #0b3b2e;        /* was navy #16213e — now deep jade */
  --navy-dark: #071f18;   /* was #0f1830 */
  --gold: #dcb267;        /* was #c9a15a — brighter, warmer gold */
  --gold-dark: #bf9646;   /* was #b48d47 */
  --cream: #d8d3c3;       /* was #f5f0e6 — page background */
  --white: #e8e4d8;       /* card / header background */
  --ink: #10201a;         /* was #22283a — near-black jade ink, body text */
  --muted: #6a7871;       /* was #6b7280 */
  --border: #e2e6dd;      /* was #e5e0d5 */
  --jade-tint: #dbece2;   /* light jade wash for hover/focus states */
  --heading: #0b3b2e;     /* heading/label/icon text — same as --navy in light mode, but a separate token so dark mode can flip it independently while hero/footer/sidebar (which use --navy as a fixed dark surface) stay put */
  --input-bg: #faf8f3;    /* input/select/textarea fill, slightly off card white */
  --on-dark: #ffffff;     /* text that sits on the always-dark hero / footer / sidebar. NEVER flips with dark mode (unlike --white, which is the card surface and does). */
  --radius: 20px;         /* cards, panels */
  --radius-sm: 12px;      /* inputs, alerts, small blocks */
  --nav-h: 76px;          /* height of the floating pill nav; the hero slides up underneath it */
  --success-bg: #e6f4ea;
  --success-text: #256029;
  --error-bg: #fbe9e7;
  --error-text: #b3261e;
  --pending-bg: #fdf3d9;
  --pending-text: #8a6410;
  --font-head: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Dark mode ----------
   Toggled by setting data-theme="dark" on <html> (see header.php).
   --navy / --navy-dark / --gold / --gold-dark are deliberately NOT
   redefined here — the hero, footer, and dashboard sidebar stay the
   same fixed deep-jade band in both themes, and gold reads well on
   dark surfaces without adjustment. Only the "paper" tokens (page/card
   backgrounds, body text, borders) and --heading flip. */
[data-theme="dark"] {
  --cream: #0d1712;
  --white: #142620;
  --ink: #e9f2ec;
  --muted: #93a89e;
  --border: #22352b;
  --jade-tint: rgba(220, 178, 103, .16);
  --heading: #d9f0e5;
  --input-bg: #0f1f19;
}

body,
.site-header,
.card,
.form-card,
.car-card,
.value-box,
.stat-box,
.panel,
.payment-option,
.photo-placeholder,
input, select, textarea {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

* { box-sizing: border-box; }

/* Browser default text-selection highlight is a plain blue that clashes
   with light text on dark surfaces (and vice versa). Use the brand's
   gold/dark-navy pair instead — good contrast in both themes since
   neither token flips with dark mode. */
::selection { background: var(--gold); color: var(--navy-dark); }
::-moz-selection { background: var(--gold); color: var(--navy-dark); }

html { -webkit-text-size-adjust: 100%; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }

/* Visible keyboard focus everywhere — buttons, links, inputs */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; color: var(--heading); margin: 0 0 10px; }
p { margin: 0 0 12px; color: var(--ink); }
a { text-decoration: none; color: inherit; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Nav — floating frosted pill ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 20px 0;
  pointer-events: none;            /* clicks pass through the gutter around the pill */
}
/* On pages that open with a hero, slide the hero up underneath the pill. */
body:has(main > .hero:first-child) .site-header { margin-bottom: calc(var(--nav-h) * -1); }

.nav-wrap {
  pointer-events: auto;
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 10px 9px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  background: color-mix(in srgb, var(--white) 80%, transparent);
  border: 1px solid rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .16);
}
[data-theme="dark"] .nav-wrap { border-color: rgba(255, 255, 255, .1); box-shadow: 0 10px 34px rgba(0, 0, 0, .45); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: color .15s ease;
}
.brand-logo {
  flex: none;
  height: 35px;
  width: auto;
  display: block;
  margin: -8px 0;   /* keeps the bigger logo from making the header taller */
}
.brand-ever { color: #0b4132; }
.brand-best { color: #bf9646; }
[data-theme="dark"] .brand-ever { color: #3ddc97; }   /* lighter emerald so it shows on dark mode */

.brand-text { display: flex; flex-direction: column; align-items: stretch; min-width: 0; line-height: 1; }
.brand-name { display: flex; justify-content: space-between; font-size: 24px; line-height: .95; }
.brand-ever, .brand-best { display: contents; }
.brand-sub { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); }
.brand-sub::before, .brand-sub::after { content: ""; height: 1px; width: 8px; background: currentColor; }

.brand:hover { color: var(--gold-dark); }

.main-nav { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.main-nav a {
  position: relative;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  transition: background-color .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--jade-tint); color: var(--heading); }
.main-nav a.is-active { color: var(--heading); font-weight: 800; }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--gold-dark);
}
.main-nav a.nav-cta {
  margin-left: 8px;
  padding: 11px 24px;
  background: var(--gold);
  color: var(--navy-dark) !important;
  font-weight: 800;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.main-nav a.nav-cta:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(11, 59, 46, .25); }

/* ---------- Dark mode toggle ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--heading);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.theme-toggle { margin-left: 6px; }
.theme-toggle:hover { border-color: var(--gold-dark); background: var(--jade-tint); transform: translateY(-1px); }

/* Hamburger toggle — hidden checkbox drives a pure-CSS mobile menu */
.nav-toggle-checkbox { display: none; }
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 19px;
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-toggle-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--heading);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-checkbox:checked ~ .nav-toggle-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle-checkbox:checked ~ .nav-toggle-btn span:nth-child(2) { opacity: 0; }
.nav-toggle-checkbox:checked ~ .nav-toggle-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero — cinematic, full-bleed ----------
   Drop a dark, moody car photo at  assets/img/hero.jpg  and it is used
   automatically (darkened by the overlay so the text stays readable).
   Without a photo you get the gold light-ray gradient below. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 400px;
  padding: calc(var(--nav-h) + 56px) max(24px, calc((100% - 1180px) / 2)) 64px;
  text-align: left;
  color: var(--on-dark);
  background-color: #08150f;
  background-image:
    linear-gradient(180deg, rgba(5, 16, 12, .62) 0%, rgba(5, 16, 12, .36) 45%, rgba(5, 16, 12, .84) 100%),
    url('../img/hero.jpg'),
    radial-gradient(90% 70% at 72% -8%, rgba(220, 178, 103, .42), transparent 62%),
    repeating-linear-gradient(112deg, transparent 0 46px, rgba(220, 178, 103, .09) 62px, transparent 118px),
    linear-gradient(160deg, var(--navy), var(--navy-dark));
  background-size: cover;
  background-position: center;
}
.hero h1 {
  max-width: 14em;
  margin: 0 0 18px;
  font-size: clamp(36px, 5.4vw, 66px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--on-dark);
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p {
  max-width: 520px;
  margin: 0 0 28px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255, 255, 255, .86);
}

/* Home page: taller hero with a headline block and a bottom row */
.hero-cinema {
  align-items: stretch;
  justify-content: space-between;
  min-height: min(100vh, 900px);
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 40px;
}
.hero-cinema .hero-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 24px 0 36px; }
.hero-cinema h1 { font-size: clamp(44px, 7.4vw, 96px); max-width: 9.2em; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }

.hero-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px 12px 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-stat:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(0, 0, 0, .45); }
.hero-stat-thumb {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 18px;
  overflow: hidden;
  background: #dcebe3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b3b2e;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-stat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-stat-avatars { display: flex; align-items: center; margin-bottom: 6px; }
.hero-stat-avatars span {
  width: 30px;
  height: 30px;
  margin-left: -9px;
  border-radius: 50%;
  border: 2px solid #fff;
  overflow: hidden;
  background: #cfe0d6;
}
.hero-stat-avatars span:first-child { margin-left: 0; }
.hero-stat-avatars span img { width: 100%; height: 100%; object-fit: cover; }
.hero-stat-avatars .plus { display: flex; align-items: center; justify-content: center; background: var(--gold); color: #071f18; font-weight: 800; font-size: 16px; }
.hero-stat strong { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; color: #071f18; }
.hero-stat small { display: block; margin-top: 2px; font-size: 12px; color: #4d5f57; }

.hero-cta { max-width: 400px; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero .hero-cta p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .82); }

/* ---------- Buttons — pills ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .3px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  text-align: center;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(11, 59, 46, .25); }
.btn-navy { background: var(--navy); color: var(--on-dark); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(11, 59, 46, .28); }
.btn-outline { background: transparent; border: 1.5px solid var(--heading); color: var(--heading); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.btn-ghost { background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 255, 255, .75); color: var(--on-dark); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--navy-dark); transform: translateY(-2px); }
.btn-danger { background: var(--error-text); color: var(--on-dark); }
.btn-danger:hover { background: #8f1d17; }
.btn:disabled, .btn[disabled] { cursor: not-allowed; opacity: .6; transform: none; box-shadow: none; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Sections / cards ---------- */
.hero + .container { padding-top: 64px; }   /* breathing room below the tall hero */
section { padding: clamp(30px, 6vw, 50px) 20px; }
.section-title { text-align: center; font-size: clamp(26px, 4vw, 40px); font-weight: 500; letter-spacing: -.015em; margin-bottom: 34px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--gold-dark); transform: translateY(-3px); box-shadow: 0 10px 22px rgba(11,59,46,.1); }
.card h3 { font-size: 30px; }
.card p { color: var(--muted); font-size: 17px; }

.photo-placeholder {
  background: var(--jade-tint);
  border-radius: var(--radius-sm);
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--heading);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
}
.photo-placeholder img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }

/* ---------- Car cards ---------- */
.car-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.car-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(11,59,46,.16); border-color: var(--gold-dark); }
.car-card:hover .photo-placeholder img { transform: scale(1.05); }
.car-card .photo-placeholder { margin: 18px 18px 0; height: 180px; width: auto; border-radius: var(--radius-sm); }
.car-card-body { padding: 20px 18px 22px; flex: 1; display: flex; flex-direction: column; }
.car-card-body h3 { margin-bottom: 8px; font-size: 18px; letter-spacing: .03em; text-transform: uppercase; }
.car-card-body h3 a:hover { color: var(--gold-dark); }
.car-summary {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.car-summary strong { color: var(--ink); font-weight: 800; }
.car-status { position: absolute; top: 10px; left: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.car-card-body .btn { align-self: flex-start; }

/* Feature grid under each car card */
.car-features {
  list-style: none;
  margin: 0;
  padding: 18px 18px 20px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 8px;
}
.car-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--muted);
}
.car-features svg { color: var(--gold-dark); }
.car-meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.car-price { font-size: 18px; font-weight: bold; color: var(--heading); margin-bottom: 14px; }
.car-card-body .btn { margin-top: auto; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.badge-available { background: var(--success-bg); color: var(--success-text); }
.badge-rented { background: var(--pending-bg); color: var(--pending-text); }
.badge-maintenance { background: var(--error-bg); color: var(--error-text); }

.filters { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.filters select, .filters input {
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: inherit;
  background: var(--input-bg);
  color: var(--ink);
  flex: 1 1 140px;
  min-width: 0;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .2s ease, color .2s ease;
}
.filters select:hover, .filters input:hover { border-color: var(--gold-dark); }
.filters select:focus, .filters input:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 3px var(--jade-tint); outline: none; }
.filters button { flex: 1 1 100%; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 480px;
  margin: 0 auto;
}
.form-card.wide { max-width: 640px; }
.form-group { margin-bottom: 16px; }
label { display: block; font-size: 13px; font-weight: bold; color: var(--heading); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=date], input[type=number], select, textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .2s ease, color .2s ease;
}
input[type=text]:hover, input[type=email]:hover, input[type=password]:hover, input[type=tel]:hover,
input[type=date]:hover, input[type=number]:hover, select:hover, textarea:hover { border-color: var(--gold-dark); }
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, input[type=tel]:focus,
input[type=date]:focus, input[type=number]:focus, select:focus, textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px var(--jade-tint);
  outline: none;
}
textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-footer-link { text-align: center; margin-top: 16px; font-size: 14px; }
.form-footer-link a { transition: color .15s ease; }
.form-footer-link a:hover { color: var(--heading) !important; }

/* ---------- Payment method chooser (book-car.php) ---------- */
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 34px 13px 14px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.payment-option:hover { border-color: var(--gold-dark); background: var(--jade-tint); }
.payment-option.selected { border-color: var(--gold-dark); background: var(--jade-tint); box-shadow: 0 0 0 3px rgba(220,178,103,.18); }
.payment-option input[type=radio] { position: absolute; top: 15px; right: 14px; accent-color: var(--gold-dark); width: 16px; height: 16px; }
.payment-option-title { font-weight: bold; color: var(--heading); font-size: 14px; }
.payment-option-desc { font-size: 12px; color: var(--muted); }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14px; }
.alert-success { background: var(--success-bg); color: var(--success-text); }
.alert-error { background: var(--error-bg); color: var(--error-text); }
.verify-banner { background: var(--pending-bg); color: var(--pending-text); padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 14px; }
.verify-banner.rejected { background: var(--error-bg); color: var(--error-text); }
.verify-banner.verified { background: var(--success-bg); color: var(--success-text); }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(160deg, #0b3b2e 0%, #0d4f45 55%, #0e6a68 100%);
  color: #cfe4dc;
  padding: 54px 40px 26px;
  text-align: left;
  margin: 40px 16px 16px;
  border-radius: 28px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.site-footer h3 { color: var(--on-dark); font-size: 24px; margin: 0 0 14px; }
.site-footer h3 em { font-style: italic; color: var(--gold); }
.site-footer .footer-brand p { color: #b9d4ca; font-size: 15px; line-height: 1.7; max-width: 300px; margin: 0; }
.site-footer h4 {
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 14px; font-size: 15px; }
.footer-col a, .footer-col span { color: #cfe4dc; }
.footer-col a { transition: color .15s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.site-footer .copyright { color: #8fb3a6; font-size: 13px; margin: 0; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: var(--on-dark);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-2px); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer { padding: 40px 22px 22px; margin: 30px 10px 10px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Dashboard layout ---------- */
.dash-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-topbar .brand { font-size: 18px; }
.dash-topbar nav { display: flex; gap: 24px; font-size: 14px; }
.dash-topbar nav a { transition: color .15s ease; }
.dash-topbar nav a:hover { color: var(--gold-dark); }
.dash-sidebar { position: sticky; top: 0; align-self: flex-start; height: 100vh; overflow-y: auto; }.dash-sidebar {
  width: 220px;
  background: var(--navy);
  color: var(--on-dark);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
}
.dash-sidebar .hi { font-weight: bold; font-size: 17px; margin-bottom: 22px; }
.dash-sidebar a {
  color: #d9e8e0;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-size: 14px;
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.dash-sidebar a.active, .dash-sidebar a:hover { background: rgba(255,255,255,0.12); color: var(--on-dark); padding-left: 16px; }
.dash-sidebar .logout-btn { margin-top: auto; }
.dash-main { flex: 1; min-width: 0; padding: 30px; background: var(--cream); }.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.stat-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; transition: border-color .15s ease, transform .15s ease; }
.stat-box:hover { border-color: var(--gold-dark); transform: translateY(-2px); }
.stat-box .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.stat-box .value { font-size: 24px; font-weight: bold; color: var(--heading); margin-top: 4px; }

.panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }

table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14px; }
table th, table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); }
table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
table tbody tr { transition: background .12s ease; }
table tbody tr:hover { background: var(--jade-tint); }

.status-pill { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.status-completed, .status-confirmed, .status-verified, .status-paid { background: var(--success-bg); color: var(--success-text); }
.status-pending, .status-unsubmitted { background: var(--pending-bg); color: var(--pending-text); }
.status-cancelled, .status-rejected { background: var(--error-bg); color: var(--error-text); }
.status-ongoing { background: #e0eafc; color: #1d4ed8; }

/* ---------- Admin login ---------- */
.admin-login-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--cream); }

/* ---------- ID upload box ---------- */
.id-upload-box {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  background: var(--input-bg);
  transition: background-color .2s ease, border-color .2s ease;
}
.id-preview img { max-width: 100%; max-height: 220px; border-radius: var(--radius-sm); margin-top: 10px; }

/* ---------- Values grid (about page) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-box { background: var(--white); border: 1px solid var(--border); padding: 20px; text-align: center; border-radius: var(--radius); transition: border-color .15s ease, transform .15s ease; }
.value-box:hover { border-color: var(--gold-dark); transform: translateY(-3px); }
.value-box h4 { font-size: 15px; }
.value-box p { font-size: 13px; }

.step-badge {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; margin: 0 auto 12px;
  transition: background .15s ease, color .15s ease;
}
.card:hover .step-badge { background: var(--gold); color: var(--navy-dark); }

/* ---------- Large tablets / small laptops ---------- */
@media (max-width: 1024px) {
  .container { max-width: 100%; }
  .grid-3, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .dash-sidebar { width: 190px; }
}

/* ---------- Pill nav collapses into a hamburger ---------- */
@media (max-width: 1020px) {
  .nav-toggle-btn { display: flex; margin-right: 12px; }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 0 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, .28);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .25s ease, opacity .2s ease, padding .25s ease, visibility .25s;
  }
  .nav-toggle-checkbox:checked ~ .main-nav { max-height: 520px; padding: 10px; opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px 18px; font-size: 15px; }
  .main-nav a.is-active { background: var(--jade-tint); }
  .main-nav a.is-active::after { display: none; }
  .main-nav a.nav-cta { margin: 8px 0 0; }
  .theme-toggle { margin: 6px auto; }
}

/* ---------- Tablets / grids stack ---------- */
@media (max-width: 860px) {
  .grid-2, .grid-3, .values-grid, .stat-row { grid-template-columns: 1fr; }

    .dash-wrap { flex-direction: column; max-width: 100%; overflow-x: clip; }
  .dash-main { width: 100%; }

  /* Topbar: brand on top, links become a swipeable single row */
  .dash-topbar { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 16px; }
  .dash-topbar nav {
    gap: 6px; font-size: 13px;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin: 0 -16px; padding: 0 16px 2px;
  }
  .dash-topbar nav::-webkit-scrollbar { display: none; }
  .dash-topbar nav a { flex: 0 0 auto; white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: var(--cream); }

  /* Sidebar becomes a wrapped row of pill links under a greeting */
  .dash-sidebar {
    width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px;
    padding: 14px 16px;
  }
  .dash-sidebar .hi { flex: 0 0 100%; margin: 0 0 4px; font-size: 16px; }
  .dash-sidebar a { flex: 0 0 auto; white-space: nowrap; margin-bottom: 0; padding: 9px 14px; }
  .dash-sidebar a.active, .dash-sidebar a:hover { padding-left: 14px; }
  .dash-sidebar .logout-btn { margin-top: 0; }
  .hero-bottom { flex-direction: column; align-items: stretch; }
  .hero-stat { width: 100%; }
  .hero-cta { max-width: none; }
}

/* ---------- Phones ---------- */
@media (max-width: 480px) {
  .container, section { padding-left: 16px; padding-right: 16px; }
  :root { --nav-h: 68px; }
  .site-header { padding: 10px 12px 0; }
  .nav-wrap { padding: 7px 8px 7px 18px; }
  .brand { font-size: 18px; }
  .brand-logo { height: 38px; }

  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 8px; letter-spacing: .1em; gap: 4px; margin-top: 3px; }
  .brand-sub::before, .brand-sub::after { width: 6px; }

  .btn { padding: 12px 22px; font-size: 13px; }
  .hero-cta-row .btn { flex: 1 1 auto; }
  .site-footer { margin: 30px 10px 10px; border-radius: 22px; }

  .form-card, .form-card.wide { max-width: 100%; padding: 20px; }
  .card { padding: 16px; }
  .car-card-body { padding: 14px; }

  .photo-placeholder { height: auto !important; min-height: 140px !important; }

  .values-grid .value-box { padding: 16px; }

  .stat-row { grid-template-columns: 1fr 1fr; }
  .dash-main { padding: 16px; }
  .dash-sidebar { padding: 12px 16px; }
  .dash-main h2 { font-size: 1.3rem; }
  .verify-banner { padding: 12px 14px; }

  table { min-width: 420px; font-size: 13px; }
  table th, table td { padding: 9px 6px; }

  .filters select, .filters input { flex: 1 1 100%; }
}

/* ---------- Customer feedback ---------- */
.stars { --pct: calc(var(--rating, 0) / 5 * 100%); display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 2px; white-space: nowrap; vertical-align: middle; }
.stars::before { content: '\2605\2605\2605\2605\2605'; background: linear-gradient(90deg, var(--gold-dark) var(--pct), rgba(128, 140, 133, .4) var(--pct)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.feedback-summary, .feedback-form-card, .feedback-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feedback-summary { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; }
.feedback-score { text-align: center; }
.feedback-score .big { font-size: 48px; font-weight: 800; color: var(--heading); line-height: 1; margin-bottom: 6px; }
.feedback-score .stars { font-size: 20px; }
.feedback-count { font-size: 13px; color: var(--muted); margin-top: 6px; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; margin: 5px 0; color: var(--muted); }
.bar-row > span:first-child { width: 34px; }
.bar-row .bar-num { width: 24px; text-align: right; }
.bar { flex: 1; height: 8px; border-radius: 99px; background: rgba(128, 140, 133, .25); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--gold-dark); }
.feedback-form-card { margin-top: 16px; }

.feedback-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.feedback-grid.three { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.feedback-card { display: flex; flex-direction: column; gap: 10px; }
.feedback-card p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.6; flex: 1; }
.feedback-grid.three .feedback-card p { display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.feedback-meta { font-size: 13px; color: var(--muted); }
.feedback-meta strong { color: var(--ink); }
.feedback-lead { text-align: center; color: var(--muted); margin: -14px 0 24px; }
.feedback-lead .stars { margin-right: 4px; }
.feedback-lead strong { color: var(--ink); }

.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 34px; line-height: 1; cursor: pointer; color: rgba(128, 140, 133, .45); transition: color .12s ease, transform .12s ease; }
.star-input label:hover { transform: scale(1.12); }
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color: var(--gold-dark); }
.star-input input:focus-visible + label { outline: 2px solid var(--gold-dark); border-radius: 6px; }

@media (max-width: 600px) {
  .feedback-summary { grid-template-columns: 1fr; }
}

/* ---------- Find Us map ---------- */
.map-wrap {
  position: relative;
  height: 460px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
[data-theme="dark"] .map-wrap iframe {
  filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.85);
}
.map-open {
  position: absolute; top: 16px; left: 16px;
  padding: 8px 14px; border-radius: 12px;
  background: rgba(11, 59, 46, .85); color: #fff;
  font-size: 13px; font-weight: 700;
}
.map-card {
  position: absolute; left: 22px; bottom: 22px;
  max-width: 340px; padding: 22px 24px; border-radius: 22px;
  background: rgba(11, 59, 46, .92); color: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .35);
}
.map-tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: rgba(220, 178, 103, .18); color: var(--gold);
  font-size: 12px; font-weight: 800; margin-bottom: 12px;
}
.map-card h3 { font-size: 26px; margin: 0 0 8px; color: #fff; }
.map-card .brand-ever { color: #3ddc97; }   /* lighter emerald, since the card is dark */
.map-card p { margin: 0 0 4px; color: #cfe4dc; font-size: 15px; line-height: 1.55; }
.map-card .btn { margin-top: 14px; }

@media (max-width: 640px) {
  .map-wrap { height: 520px; border-radius: 22px; }
  .map-card { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ---------- Contact info + message form ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: stretch; }

.info-card {
  padding: 34px 32px; border-radius: 26px; color: #fff;
  background: linear-gradient(160deg, #0b3b2e 0%, #0a2c22 100%);
  display: flex; flex-direction: column;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}
.info-card h3 { font-size: 32px; margin: 0 0 6px; color: #fff; }
.info-card .lead { margin: 0 0 26px; color: #b9d3c8; font-size: 15px; line-height: 1.6; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.info-ico {
  flex: none; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(220, 178, 103, .16); color: var(--gold);
}
.info-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.info-val { margin: 0; font-size: 17px; line-height: 1.45; color: #fff; font-weight: 600; }
.info-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 22px; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }

.form-card {
  padding: 34px 34px 30px; border-radius: 26px;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}
.form-card h3 { font-size: 32px; margin: 0 0 6px; color: var(--heading); }
.form-card .lead { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; color: var(--heading); }
.fg input, .fg textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--cream); color: var(--ink);
  font: inherit; font-size: 15px;
}
.fg textarea { min-height: 130px; resize: vertical; }
.fg input:focus, .fg textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.send { width: 100%; padding: 15px; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .info-card, .form-card { padding: 26px 22px; }
}

/* ---------- Wider contact layout + smooth scroll ---------- */
html { scroll-behavior: smooth; }
.container.wide { max-width: 1228px; }
#find-us { scroll-margin-top: 110px; }   /* keeps the sticky header from covering the "Find Us" title */

.btn-ghost .arr { display: inline-block; font-size: 17px; line-height: 1; transition: transform .2s; }
.btn-ghost:hover .arr { transform: translateY(3px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }

/* let the contact form fill its column (overrides the 480px login-card limit) */
.contact-grid .form-card {
  max-width: none;
  width: 100%;
  margin: 0;
}
/* show the right logo for each theme */
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

/* ---------- Services page ---------- */
#message { scroll-margin-top: 110px; }
.svc-eyebrow { display: block; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark, #bf9646); margin-bottom: 6px; }
.svc-sub { text-align: center; max-width: 620px; margin: 0 auto 32px; color: var(--muted); }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 64px; }
.svc-card { display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: var(--white); border: 1px solid var(--border); transition: transform .2s, border-color .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-4px); border-color: var(--gold-dark, #bf9646); box-shadow: 0 16px 36px rgba(0, 0, 0, .12); }
.svc-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #0b3b2e, #14573f); color: var(--gold); margin-bottom: 16px; }
.svc-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { font-size: 24px; margin: 0 0 8px; }
.svc-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.svc-card ul { list-style: none; padding: 0; margin: 0 0 18px; }
.svc-card li { position: relative; padding: 5px 0 5px 24px; font-size: 14px; font-weight: 700; }
.svc-card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 7px; border-left: 2.5px solid #0e7a53; border-bottom: 2.5px solid #0e7a53; transform: rotate(-45deg); }
[data-theme="dark"] .svc-card li::before { border-color: #3ddc97; }
.svc-link { margin-top: auto; font-weight: 800; font-size: 14px; color: #0e7a53; }
[data-theme="dark"] .svc-link { color: #3ddc97; }

.svc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 64px; }
.svc-step { text-align: center; padding: 10px 20px; }
.svc-num { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #071f18; font-family: var(--font-head); font-weight: 700; font-size: 24px; }
.svc-step h3 { font-size: 22px; margin: 0 0 6px; }
.svc-step p { margin: 0; color: var(--muted); font-size: 15px; }

.svc-cta { padding: 26px 28px; border-radius: 22px; text-align: center; color: #fff; background: linear-gradient(120deg, #0b3b2e, #14573f); margin-bottom: 10px; }
.svc-cta h2 { font-size: 26px; margin: 0 0 4px; color: #fff; }
.svc-cta p { margin: 0 auto 14px; max-width: 520px; font-size: 15px; color: #cfe4dc; }
.svc-cta .btn { margin: 4px; padding: 10px 20px; font-size: 14px; }

@media (max-width: 900px) { .svc-grid, .svc-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid, .svc-steps { grid-template-columns: 1fr; } .svc-cta { padding: 36px 20px; } }

/* ---------- About page extras (only affects .about) ---------- */
.about .card { position: relative; overflow: hidden; padding: 30px 30px 28px; border-radius: 24px; transition: transform .25s, box-shadow .25s; }
.about .card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--gold), #bf9646); }
.about .card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, .12); }
.about .card h3 { font-size: 30px; margin: 0 0 6px; }
.about .card h3::after { content: ""; display: block; width: 46px; height: 3px; border-radius: 3px; background: var(--gold); margin: 8px 0 12px; }
.about .card p { color: var(--muted); font-size: 16px; margin: 0; }

.ab-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #0b3b2e, #14573f); color: var(--gold); margin-bottom: 14px; }
.ab-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.about .card.mission { color: #fff; background: linear-gradient(135deg, #071f18, #0b3b2e 60%, #14573f); border-color: var(--gold); }
.about .card.mission h3 { color: #fff; }
.about .card.mission p { color: #d3e7de; }
.about .card.mission::after { content: "\201C"; position: absolute; right: 18px; top: -18px; font: 700 110px var(--font-head); color: rgba(220, 178, 103, .25); }

.ab-photo { position: relative; }
.ab-photo .photo-placeholder { border-radius: 24px; box-shadow: 10px 10px 0 var(--gold); transition: transform .3s; }
.ab-photo.alt .photo-placeholder { box-shadow: 10px 10px 0 #0b3b2e; }
[data-theme="dark"] .ab-photo.alt .photo-placeholder { box-shadow: 10px 10px 0 #14573f; }
.ab-photo:hover .photo-placeholder { transform: translate(-3px, -3px) rotate(-.6deg); }
.ab-photo span { position: absolute; left: 16px; bottom: 14px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(7, 31, 24, .75); color: var(--gold); }

.ab-vh { text-align: center; margin: 50px 0 24px; }
.ab-vh .section-title { margin: 8px 0 0; }
.ab-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #071f18; background: var(--gold); padding: 4px 12px; border-radius: 6px; }

.about .value-box { position: relative; overflow: hidden; border-top: 5px solid var(--gold); border-radius: 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.about .value-box:hover { transform: translateY(-6px); border-top-color: #0e7a53; box-shadow: 0 18px 38px rgba(0, 0, 0, .14); }
[data-theme="dark"] .about .value-box:hover { border-top-color: #3ddc97; }
.ab-num { position: absolute; right: 14px; top: 4px; font: 700 78px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px #bf9646; opacity: .5; pointer-events: none; }

/* Services: center the last row of cards (5 cards) */
.svc-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.svc-card { flex: 0 1 calc((100% - 22px) / 2); }

@media (max-width: 900px) { .svc-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 620px) { .svc-card { flex-basis: 100%; } }

/* ---------- Home page extras (only affects .home-sec) ---------- */
.home-sec .card { position: relative; overflow: hidden; padding: 22px 22px 26px; border-radius: 24px; transition: transform .25s, box-shadow .25s; }
.home-sec .card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, .12); }
.home-sec .card h3 { font-size: 28px; margin: 4px 0 0; }
.home-sec .card h3::after { content: ""; display: block; width: 46px; height: 3px; border-radius: 3px; background: var(--gold); margin: 8px 0 10px; }
.home-sec .card p { color: var(--muted); font-size: 16px; margin: 0; }

.hm-photo { position: relative; }
.hm-photo .photo-placeholder { border-radius: 18px; box-shadow: 8px 8px 0 var(--gold); margin-bottom: 16px; }
.hm-photo.alt .photo-placeholder { box-shadow: 8px 8px 0 #0b3b2e; }
[data-theme="dark"] .hm-photo.alt .photo-placeholder { box-shadow: 8px 8px 0 #14573f; }

.hm-banner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; align-items: center; padding: 26px; margin-top: 26px; border-radius: 26px; color: #fff; background: linear-gradient(120deg, #071f18, #0b3b2e 60%, #14573f); }
.hm-banner .photo-placeholder { margin-bottom: 0; }
.hm-banner p { margin: 0 0 16px; font-family: var(--font-head); font-style: italic; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.3; color: #fff; }
.hm-banner mark { background: linear-gradient(transparent 62%, rgba(220, 178, 103, .55) 62%); color: #fff; }

.home-sec .feedback-lead strong { color: #0e7a53; font-size: 20px; }
[data-theme="dark"] .home-sec .feedback-lead strong { color: #3ddc97; }
.home-sec .feedback-card { position: relative; overflow: hidden; border-top: 5px solid var(--gold); border-radius: 22px; transition: transform .25s, box-shadow .25s; }
.home-sec .feedback-card::before { content: "\201C"; position: absolute; right: 14px; top: -6px; font: 700 84px var(--font-head); color: rgba(191, 150, 70, .25); }
.home-sec .feedback-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0, 0, 0, .12); }

@media (max-width: 820px) { .hm-banner { grid-template-columns: 1fr; } }

@media (max-width: 340px) { .brand-name { font-size: 18px; } .brand-sub { display: none; } }

@media (max-width: 860px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(5, 16, 12, .62) 0%, rgba(5, 16, 12, .36) 45%, rgba(5, 16, 12, .84) 100%),
      linear-gradient(180deg, #08150f 0%, rgba(8, 21, 15, 0) 24%, rgba(8, 21, 15, 0) 76%, #08150f 100%),
      url('../img/hero.jpg');
    background-size: 100% 100%, 100% 100vw, 150% auto;
    background-position: center, 50% 4%, 50% 4%;
    background-repeat: no-repeat;
  }
}

@media (max-width: 860px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(5, 16, 12, .62) 0%, rgba(5, 16, 12, .36) 45%, rgba(5, 16, 12, .84) 100%),
      linear-gradient(180deg, #08150f 0%, rgba(8, 21, 15, 0) 24%, rgba(8, 21, 15, 0) 76%, #08150f 100%),
      url('../img/hero.jpg');
    background-size: 100% 100%, 100% 100vw, 150% auto;
    background-position: center, 50% 4%, 50% 4%;
    background-repeat: no-repeat;
  }
  .hero-cinema { min-height: 0; justify-content: flex-start; gap: 24px; }
  .hero-cinema .hero-copy { flex: none; padding: 24px 0 0; }
}

/* ---------- Hero carousel (home) ----------
   Photo slides sit behind the hero text and slide sideways every few seconds. */
.hero-slides { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #08150f; }
.hero-track { display: flex; height: 100%; transition: transform .8s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.hero-slide { flex: 0 0 100%; height: 100%; background-size: cover; background-position: center; }
.hero-slides::after {            /* same dark overlay the hero uses, so text stays readable */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 16, 12, .62) 0%, rgba(5, 16, 12, .36) 45%, rgba(5, 16, 12, .84) 100%);
}
.hero-dots { position: absolute; left: 50%; bottom: 14px; z-index: 1; display: flex; gap: 8px; transform: translateX(-50%); }
.hero-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .45); transition: width .3s, background .3s;
}
.hero-dots button.active { width: 26px; background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .hero-track { transition: none; } }

/* Reservation statuses (reservations table uses new / contacted) */
.status-new { background: var(--pending-bg); color: var(--pending-text); }
.status-contacted { background: #e0eafc; color: #1d4ed8; }