/* ============================================================
   Carl's Personal Transport — design tokens
   ============================================================ */
:root {
  --black: #00030C;          /* header, copyright bar          */
  --navy: #000B23;           /* dark bands                     */
  --navy-btn: #06132A;       /* dark submit button             */
  --navy-btn-hover: #0C1D39;
  --gold: #F2C24B;           /* icons, logo, outlines          */
  --gold-dark: #9B7426;      /* gold labels on light bg        */
  --gold-btn: #D9AA38;       /* primary CTA fill               */
  --gold-btn-hover: #B98A24;
  --gold-btn-text: #071329;
  --ink: #071529;            /* headings on light              */
  --label-navy: #0A1A33;
  --body-light: #596576;
  --muted-on-dark: #B7B5AD;
  --heading-on-dark: #F7F2E8;
  --bg-light: #F7F6F2;
  --input-bg: #F1F2F4;
  --input-border: #DEE1E7;
  --placeholder: #9298A1;
  --error: #C0453E;
  --hairline: rgba(242, 194, 75, 0.14);
  --radius: 8px;
  --radius-lg: 14px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; }

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

section { scroll-margin-top: 116px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, transform 0.25s ease,
              box-shadow 0.25s ease;
}

.btn-gold {
  background: var(--gold-btn);
  color: var(--gold-btn-text);
  padding: 17px 36px;
}
.btn-gold:hover {
  background: var(--gold-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217, 168, 78, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 10px 22px;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-dark {
  background: var(--navy-btn);
  color: #F3F2F2;
  padding: 17px 28px;
}
.btn-dark:hover {
  background: var(--navy-btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 18, 22, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--body-light);
  border: 1.5px solid #D8D8DA;
  padding: 15px 26px;
}
.btn-ghost:hover { border-color: var(--gold-btn); color: var(--ink); }

.btn-block { width: 100%; }

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-btn);
  outline-offset: 2px;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  overflow: visible;
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 116px;
  gap: 24px;
  overflow: visible;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  position: relative;
  z-index: 1;
}
.logo-image {
  width: 160px;
  height: 160px;
  flex: none;
  object-fit: contain;
}
.header-inner .logo-image {
  width: 280px;
  height: 280px;
  transform: translateY(80px);
  transition: width 0.35s ease, height 0.35s ease, transform 0.35s ease;
}
.site-header.is-scrolled .header-inner .logo-image {
  width: 96px;
  height: 96px;
  transform: translateY(0);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav > a:not(.btn) {
  position: relative;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav > a:not(.btn):hover { color: var(--gold); }
.main-nav > a:not(.btn):hover::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 22px;
  background: var(--navy);
  border-top: 1px solid var(--hairline);
}
.mobile-nav > a:not(.btn) {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  transition: color 0.25s ease;
}
.mobile-nav > a:not(.btn):hover { color: var(--gold); }
.mobile-nav .btn { margin-top: 14px; align-self: flex-start; }
.mobile-nav.is-open { display: flex; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 11, 35, 0.30) 0%,
    rgba(0, 11, 35, 0.08) 42%,
    rgba(0, 11, 35, 0.82) 82%,
    rgba(0, 11, 35, 0.95) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 96px;
}
.hero-content h1 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}
.hero-content p {
  margin: 0 0 34px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* ============================================================
   Booking
   ============================================================ */
.booking { padding: 64px 0 8px; }

.booking-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
  align-items: stretch;
}

.booking-form { min-width: 0; }

.booking-note {
  margin: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body-light);
}

.booking-accept {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--label-navy);
}
.booking-accept--submit {
  margin: 4px 0 14px;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label-navy);
}
.field--gold label { color: var(--gold-dark); }

.field input,
.field select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #1A2230;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  padding: 13px 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  color-scheme: light;
}
.field input::placeholder { color: var(--placeholder); }
.field input:hover,
.field select:hover { border-color: #D4D3D8; }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold-btn);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(217, 168, 78, 0.22);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
}
.select-wrap select:required:invalid {
  color: var(--placeholder);
}
.select-wrap select option {
  color: #1A2230;
}
.select-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 12px;
  height: 8px;
  transform: translateY(-50%);
  color: var(--gold-dark);
  pointer-events: none;
}

.field.has-error input,
.field.has-error select {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(192, 69, 62, 0.14);
}
.field-error {
  display: block;
  min-height: 0;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--error);
}
.field.has-error .field-error { min-height: 16px; }

.booking-form .btn-block { margin-top: 6px; }

.booking-photo { min-width: 0; }
.booking-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Quote + confirmation states */
.booking-quote { min-width: 0; }
.quote-title {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
}
.quote-details {
  margin: 0 0 20px;
  display: grid;
  gap: 12px;
}
.quote-details > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ECEAEC;
}
.quote-details dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body-light);
}
.quote-details dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  overflow-wrap: anywhere;
}
.quote-fare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.quote-fare span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body-light);
}
.quote-fare strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-dark);
}
.quote-note {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--body-light);
}
.quote-panel .booking-accept {
  margin: 0 0 20px;
}
.quote-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.quote-actions .btn { flex: 1 1 180px; }

.quote-success { text-align: center; padding: 18px 0; }
.success-icon {
  width: 64px;
  height: 64px;
  color: var(--gold-btn);
  margin: 0 auto 20px;
}
.quote-success h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
}
.success-ref { margin: 0 0 12px; font-size: 14px; color: var(--body-light); }
.success-ref strong { color: var(--gold-dark); letter-spacing: 0.06em; }
.success-text {
  margin: 0 auto 28px;
  max-width: 380px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--body-light);
}

/* Section title on light bg */
.section-title {
  margin: 76px 0 62px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
}

/* ============================================================
   Why band (dark)
   ============================================================ */
.why-band {
  background: var(--navy);
  padding: 78px 0 88px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.why-item {
  text-align: center;
  max-width: 330px;
  margin: 0 auto;
}
.why-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 20px;
}
.why-item h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heading-on-dark);
}
.why-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted-on-dark);
}

/* ============================================================
   About (video background)
   ============================================================ */
.about-block {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
  background: var(--navy);
  color: var(--heading-on-dark);
}
.about-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 11, 35, 0.72) 0%,
    rgba(0, 11, 35, 0.58) 45%,
    rgba(0, 11, 35, 0.78) 100%
  );
  pointer-events: none;
}
.about-inner {
  position: relative;
  z-index: 1;
}
.about-block .section-title {
  margin-top: 0;
  margin-bottom: 28px;
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.about-copy {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}
.about-copy p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(237, 237, 234, 0.88);
}
.about-copy p:last-child { margin-bottom: 0; }
.about-payments {
  margin-top: 8px;
  font-weight: 600;
  color: var(--gold);
}

/* ============================================================
   CTA (dark, compact)
   ============================================================ */
.cta {
  background: var(--navy);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 20px;
  text-align: center;
}
.cta-title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--heading-on-dark);
}
.cta p {
  margin: 0;
  font-size: 15.5px;
  color: var(--muted-on-dark);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .logo-image {
  width: 360px;
  height: 360px;
}
.footer-brand p {
  margin: 18px 0 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-on-dark);
}
.footer-col h4 {
  margin: 4px 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E8E8E6;
}
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}
.footer-col a {
  font-size: 14px;
  color: var(--muted-on-dark);
  transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--gold); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: var(--muted-on-dark);
}
.footer-contact svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--gold);
}
.footer-contact a { overflow-wrap: anywhere; }

.social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.footer-col ul.social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 36px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(232, 232, 230, 0.22);
  border-radius: 50%;
  color: var(--muted-on-dark);
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.social-links a:hover,
.social-links a:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
  outline: none;
}
.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.success-text a {
  color: var(--gold-dark);
  font-weight: 600;
}
.success-text a:hover { color: var(--gold-btn-hover); }

.copyright {
  border-top: 1px solid var(--hairline);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: #8A8A88;
}

/* ============================================================
   Inner pages (about, pricing, booking)
   ============================================================ */
.main-nav a.is-active,
.mobile-nav a.is-active { color: var(--gold); }

.nav-phone { margin-left: 8px; }

.page-hero {
  background: var(--navy);
  color: var(--heading-on-dark);
  padding: 56px 0 48px;
}
.page-hero--compact { padding: 48px 0 32px; }
.page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--gold);
}
.page-lead {
  margin: 0;
  max-width: 640px;
  color: var(--muted-on-dark);
  font-size: 1.05rem;
}

.content-page { padding: 48px 0 72px; }
.prose {
  max-width: 760px;
  color: var(--body-light);
  font-size: 1.05rem;
  line-height: 1.7;
}
.prose p { margin: 0 0 1.1rem; }
.content-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pricing-table-wrap { overflow-x: auto; margin: 24px 0; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.pricing-table th,
.pricing-table td {
  border: 1px solid var(--input-border);
  padding: 12px 16px;
  text-align: left;
}
.pricing-table th {
  background: var(--navy);
  color: var(--heading-on-dark);
  font-weight: 700;
}
.pricing-table tr:nth-child(even) td { background: #fff; }
.pricing-table a { color: var(--gold-dark); font-weight: 600; }
.pricing-table a:hover { color: var(--gold-btn-hover); }

.areas-preview { padding: 64px 0; background: #fff; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.area-card {
  display: block;
  padding: 20px;
  background: var(--bg-light);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.area-card:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}
.areas-more { text-align: center; }
.areas-more a { color: var(--gold-dark); font-weight: 600; }

.booking--page { padding-top: 0; }

.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cta a { color: var(--gold); font-weight: 700; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .why-grid { gap: 32px; }
  .booking-card { gap: 32px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .booking-card { grid-template-columns: 1fr; }
  .booking-photo img {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 760px) {
  .why-grid { grid-template-columns: 1fr; gap: 52px; }
  .why-band { padding: 64px 0 72px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
  .section-title { margin: 64px 0 52px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero-content { padding-bottom: 72px; }
  .hero-content p { font-size: 16px; }
  .booking { padding-top: 48px; }
  .quote-actions { flex-direction: column; }
  .quote-actions .btn { flex: none; width: 100%; }
  section { scroll-margin-top: 104px; }
  .header-inner { height: 104px; }
  .header-inner .logo-image {
    width: 200px;
    height: 200px;
    transform: translateY(48px);
  }
  .site-header.is-scrolled .header-inner .logo-image {
    width: 80px;
    height: 80px;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
