:root {
  --ink: #142126;
  --muted: #5a6a70;
  --line: #d9e1e4;
  --brand: #e2ad2f;
  --brand-strong: #b97d12;
  --button-label: #111111;
  --outline-button: #ffffff;
  --shadow-color: #142126;
  --shadow-soft: #1421261f;
  --shadow-faint: #14212614;
  --hero-gradient: linear-gradient(90deg, rgba(12, 27, 31, .90) 0%, rgba(12, 27, 31, .72) 43%, rgba(12, 27, 31, .18) 100%);
  --teal: #173f47;
  --green: #2f6d58;
  --red: #9c2d2d;
  --surface: #f5f7f4;
  --panel: #ffffff;
  --soft: #eef2ef;
  --admin-bg: #f3f6f7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--surface);
  line-height: 1.55;
}
a { color: inherit; }
.top-strip {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding: 8px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}
.top-strip a { color: rgba(255,255,255,.86); text-decoration: none; font-weight: 700; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.admin-header { position: static; background: var(--teal); color: #fff; border-bottom: 0; box-shadow: 0 10px 30px var(--shadow-soft); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--brand);
  color: #111;
  font-size: 13px;
}
.brand-logo {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 58px;
  object-fit: contain;
}
.site-nav, .footer-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.site-nav a, .footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.admin-header .site-nav a { color: rgba(255,255,255,.82); }
.nav-action {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--brand);
  color: #111 !important;
}
.hero {
  min-height: 68vh;
  display: grid;
  align-items: center;
  padding: clamp(56px, 8vw, 112px) clamp(18px, 4vw, 56px);
  color: #fff;
  background:
    var(--hero-gradient),
    url("/assets/img/taxi-hero.png") center right / cover no-repeat;
}
.hero-content, .content-page, .admin-shell, .booking-panel, .service-band {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  margin: 0 0 20px;
}
.hero p { max-width: 620px; font-size: 18px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-strong);
}
.hero .eyebrow { color: var(--brand); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--brand);
  color: var(--button-label);
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}
.button.secondary { background: transparent; color: var(--outline-button); border: 1px solid var(--outline-button); }
.service-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 clamp(18px, 4vw, 56px);
  transform: translateY(-30px);
}
.service-band article {
  min-height: 172px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.service-band span { color: var(--brand-strong); font-weight: 800; }
.service-band h2 { margin: 10px 0 8px; font-size: 22px; }
.service-band p { margin: 0; color: var(--muted); }
.booking-panel, .content-page, .admin-shell { padding: 48px clamp(18px, 4vw, 56px); }
.hero-footer,
.intro-section,
.feature-grid-section,
.company-band,
.fleet-section,
.quote-strip,
.excursions-section,
.experience-section,
.testimonials-section,
.faq-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 52px clamp(18px, 4vw, 56px);
}
.hero-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  transform: translateY(-34px);
}
.hero-footer div {
  min-height: 92px;
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.hero-footer strong { font-size: 20px; }
.hero-footer span { color: var(--muted); }
.intro-section,
.company-band,
.experience-section,
.quote-strip {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: 36px;
  align-items: center;
}
.intro-section h2,
.section-heading h2,
.company-band h2,
.quote-strip h2,
.experience-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}
.intro-section p,
.section-heading p,
.company-band p,
.quote-strip p,
.experience-section p { color: var(--muted); font-size: 17px; }
.section-heading { max-width: 760px; margin-bottom: 24px; }
.feature-grid,
.fleet-grid,
.excursion-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.feature-grid article,
.fleet-grid article,
.excursion-grid article,
.testimonial-grid blockquote,
.faq-list details,
.call-card {
  margin: 0;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 26px var(--shadow-faint);
}
.feature-grid h3,
.fleet-grid h3,
.excursion-grid h3 { margin: 0 0 8px; font-size: 20px; }
.feature-grid p,
.fleet-grid p,
.testimonial-grid p,
.faq-list p { margin: 0; color: var(--muted); }
.company-band { background: var(--soft); border-radius: 12px; }
.call-card { display: grid; gap: 12px; }
.call-card strong { font-size: 26px; }
.quote-strip {
  background: var(--teal);
  color: #fff;
  border-radius: 12px;
}
.quote-strip p { color: rgba(255,255,255,.76); }
.excursion-grid article { display: grid; gap: 10px; }
.excursion-grid span { color: var(--brand-strong); font-weight: 900; }
.excursion-grid a { font-weight: 900; text-transform: uppercase; font-size: 13px; text-decoration: none; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stats-grid span {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.stats-grid strong { font-size: 30px; color: var(--brand-strong); }
.testimonial-grid strong { display: block; margin-bottom: 10px; }
.testimonial-grid blockquote::before { content: "★★★★★"; display: block; color: var(--brand-strong); margin-bottom: 10px; letter-spacing: 2px; }
.faq-list { display: grid; gap: 10px; max-width: 900px; }
.faq-list summary { cursor: pointer; font-weight: 900; }
.faq-list p { margin-top: 10px; }
.split-panel {
  display: grid;
  grid-template-columns: .7fr 1fr;
  gap: 36px;
  align-items: start;
}
.split-panel h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.split-panel p { margin: 0; color: var(--muted); font-size: 18px; }
.booking-page {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(340px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px clamp(18px, 4vw, 56px);
}
.booking-copy h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.05; margin: 0 0 16px; }
.booking-copy p { color: var(--muted); font-size: 18px; }
.booking-highlights { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.booking-highlights span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  font-size: 13px;
  font-weight: 800;
}
.booking-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-section-title {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--teal);
  font-weight: 900;
}
.admin-shell {
  max-width: 1240px;
  background:
    linear-gradient(180deg, rgba(23, 63, 71, .05), transparent 260px);
}
.settings-page { max-width: 1240px; }
.admin-page-header,
.settings-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 14px 38px var(--shadow-faint);
}
.admin-page-header h1,
.settings-hero h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: 0; }
.admin-page-header p:not(.eyebrow),
.settings-hero p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); }
.settings-form { display: grid; gap: 16px; max-width: 100%; }
.settings-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.settings-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 10px 28px var(--shadow-faint);
}
.settings-card h2 { margin: 0; font-size: 18px; line-height: 1.2; }
.wide-card { grid-column: 1 / -1; }
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.color-grid label {
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.color-grid label span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu-form { margin-bottom: 28px; }
.menu-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.text-button {
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.editor-toolbar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: var(--soft);
}
.editor-toolbar + textarea { border-radius: 0 0 8px 8px; }
.editor-toolbar button {
  min-width: 38px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  font-weight: 900;
  cursor: pointer;
}
label { display: grid; gap: 6px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}
input[type="color"] {
  width: 54px;
  min-height: 38px;
  padding: 3px;
  justify-self: end;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(226, 173, 47, .28); border-color: var(--brand-strong); }
textarea { resize: vertical; }
small { color: var(--muted); }
.auth-panel { max-width: 540px; }
.notice { padding: 12px; border-radius: 6px; background: #e9f4ee; color: var(--green); }
.notice.error { background: #feecec; color: var(--red); }
.logout-form { margin: 0; }
.logout-form button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  cursor: pointer;
  font-weight: 800;
}
.admin-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.admin-title-row h1 { margin: 0; }
.table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 10px 30px var(--shadow-faint);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 0;
}
.admin-table th, .admin-table td {
  padding: 13px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.admin-table th { background: var(--soft); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.content-editor textarea[name="content_html"] { font-family: Consolas, Monaco, monospace; }
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.dashboard-grid a,
.admin-grid a {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 10px 26px var(--shadow-faint);
  transition: transform .18s ease, box-shadow .18s ease;
}
.dashboard-grid a:hover,
.admin-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px var(--shadow-soft);
}
.admin-grid span { font-weight: 900; font-size: 18px; }
.admin-grid small { line-height: 1.45; }
.rich-content { max-width: 780px; }
.feature-image { width: 100%; max-height: 440px; object-fit: cover; border-radius: 8px; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 44px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: #fff;
}
.footer-about { max-width: 360px; }
.site-footer p { margin: 6px 0 0; color: rgba(255,255,255,.72); }
.footer-menu-columns { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links { align-items: flex-start; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.76); }
.footer-links strong,
.footer-contact strong { color: #fff; margin-bottom: 4px; }
.footer-contact { display: grid; gap: 8px; max-width: 260px; }
.footer-contact a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 700; }
.available-badge { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.available-badge span { font-size: 28px; font-weight: 900; color: var(--brand); }
.available-badge small { text-transform: uppercase; color: rgba(255,255,255,.7); }
.copyright-bar {
  display: flex;
  justify-content: center;
  padding: 12px clamp(18px, 4vw, 56px);
  background: #0b1518;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}
@media (max-width: 880px) {
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
  .top-strip { justify-content: flex-start; flex-wrap: wrap; }
  .site-nav { gap: 10px; }
  .hero { min-height: 580px; background-position: center; }
  .service-band, .booking-page, .split-panel, .settings-layout, .hero-footer, .intro-section, .company-band, .experience-section, .quote-strip { grid-template-columns: 1fr; }
  .service-band, .hero-footer { transform: none; padding-top: 18px; }
  .stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row, .admin-title-row { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; }
  .settings-hero, .admin-page-header { flex-direction: column; align-items: stretch; }
  .hero h1 { font-size: 40px; }
  .booking-form { padding: 18px; }
  .admin-table { display: block; overflow-x: auto; }
}
