/*
Theme Name: Chariot Limousine Redesign
Theme URI: https://chariotslimo.com/
Description: Minimal custom WordPress theme for Chariot Limousine.
Author: Chariot Limousine
Version: 0.2.1
Text Domain: chariot-limousine
*/

:root {
  --cl-black: #000;
  --cl-charcoal: #313131;
  --cl-dark-gray: #757575;
  --cl-medium-gray: #8e8e8e;
  --cl-light-gray: #f3f3f3;
  --cl-white: #fff;
  --cl-border: #d9d9d9;
  --cl-wrap: min(1180px, calc(100% - 40px));
  --cl-focus: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cl-charcoal);
  background: var(--cl-white);
  font-family: Lato, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.cl-menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.cl-wrap { width: var(--cl-wrap); margin-inline: auto; }
.cl-narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { position: fixed !important; z-index: 9999; top: 12px; left: 12px; width: auto; height: auto; margin: 0; padding: 12px 16px; clip: auto; background: #fff; color: #000; }

.cl-utility { background: var(--cl-black); color: var(--cl-white); font-size: 14px; }
.cl-utility-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cl-utility-links { display: flex; flex-wrap: wrap; gap: 18px; }
.cl-utility a { text-decoration: none; }
.cl-utility a:hover { text-decoration: underline; }

.cl-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--cl-border); backdrop-filter: blur(10px); }
.cl-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cl-brand { display: flex; align-items: center; width: 210px; text-decoration: none; }
.cl-brand img { width: 210px; max-height: 64px; object-fit: contain; object-position: left center; }
.cl-nav { display: flex; align-items: center; gap: 28px; }
.cl-nav ul { display: flex; align-items: center; gap: 25px; list-style: none; margin: 0; padding: 0; }
.cl-nav a { font-size: 15px; font-weight: 700; text-decoration: none; }
.cl-nav a:hover { text-decoration: underline; }
.cl-menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid var(--cl-black); background: var(--cl-white); color: var(--cl-black); }
.cl-menu-toggle svg { width: 100%; height: 100%; }

.cl-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 8px; padding: 12px 21px; border: 1px solid var(--cl-black); background: var(--cl-black); color: var(--cl-white); font-size: 15px; font-weight: 800; letter-spacing: .02em; text-align: center; text-decoration: none; cursor: pointer; border-radius: 0; }
.cl-button:hover { background: var(--cl-charcoal); }
.cl-button--white { border-color: var(--cl-white); background: var(--cl-white); color: var(--cl-black); }
.cl-button--white:hover { background: var(--cl-light-gray); }
.cl-button--outline { background: transparent; color: var(--cl-black); }
.cl-button--outline:hover { background: var(--cl-light-gray); }
.cl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.cl-eyebrow { margin: 0 0 12px; color: var(--cl-dark-gray); font-size: 13px; font-weight: 900; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--cl-black); font-family: Teko, Impact, sans-serif; font-weight: 500; letter-spacing: .01em; line-height: .98; }
h1 { margin-bottom: 22px; font-size: clamp(52px, 7vw, 92px); }
h2 { margin-bottom: 18px; font-size: clamp(42px, 5vw, 66px); }
h3 { margin-bottom: 10px; font-size: 31px; }
p { margin-top: 0; }
.cl-lead { max-width: 720px; color: #4c4c4c; font-size: clamp(19px, 2vw, 23px); line-height: 1.5; }

.cl-hero { overflow: hidden; background: var(--cl-light-gray); }
.cl-hero-grid { min-height: 690px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); align-items: center; gap: 48px; padding-block: 64px; }
.cl-hero-copy { max-width: 650px; font-size: clamp(19px, 2vw, 24px); line-height: 1.48; }
.cl-hero-media { position: relative; align-self: stretch; min-height: 520px; display: flex; align-items: center; justify-content: center; background: var(--cl-white); border: 1px solid var(--cl-border); }
.cl-hero-media img { width: 94%; max-height: 470px; object-fit: contain; }
.cl-hero-note { position: absolute; right: 0; bottom: 0; padding: 12px 15px; background: var(--cl-black); color: var(--cl-white); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.cl-trust { border-block: 1px solid var(--cl-border); background: var(--cl-white); }
.cl-trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.cl-trust-item { min-height: 116px; display: flex; align-items: center; padding: 20px; border-right: 1px solid var(--cl-border); font-size: 15px; font-weight: 800; line-height: 1.35; }
.cl-trust-item:last-child { border-right: 0; }

.cl-section { padding-block: clamp(70px, 9vw, 120px); }
.cl-section--gray { background: var(--cl-light-gray); }
.cl-section--black { background: var(--cl-black); color: var(--cl-white); }
.cl-section--black h2, .cl-section--black h3 { color: var(--cl-white); }
.cl-section--black .cl-eyebrow { color: #cfcfcf; }
.cl-section--black .cl-card { color: var(--cl-charcoal); }
.cl-section--black .cl-card h3,
.cl-section--black .cl-card a { color: var(--cl-black); }
.cl-section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .75fr); align-items: end; gap: 48px; margin-bottom: 52px; }
.cl-section-heading > p { margin-bottom: 7px; }
.cl-grid { display: grid; gap: 20px; }
.cl-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cl-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cl-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cl-card { padding: 30px; border: 1px solid var(--cl-border); background: var(--cl-white); }
.cl-card-number { display: block; margin-bottom: 38px; color: var(--cl-medium-gray); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.cl-card p:last-child { margin-bottom: 0; }
.cl-card-link { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 900; }

.cl-fleet-card { display: flex; flex-direction: column; border: 1px solid var(--cl-border); background: var(--cl-white); }
.cl-fleet-card-media { min-height: 245px; display: flex; align-items: center; justify-content: center; padding: 18px; background: #fafafa; border-bottom: 1px solid var(--cl-border); }
.cl-fleet-card-media img { width: 100%; height: 210px; object-fit: contain; }
.cl-fleet-card-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.cl-capacity { margin-bottom: 15px; color: var(--cl-dark-gray); font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cl-fleet-card .cl-button { width: 100%; margin-top: auto; }

.cl-band { padding-block: 68px; background: var(--cl-black); color: var(--cl-white); }
.cl-band-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: center; gap: 60px; }
.cl-band h2 { margin: 0; color: var(--cl-white); }
.cl-band p { color: #d9d9d9; }

.cl-page-hero { padding-block: clamp(74px, 10vw, 130px); background: var(--cl-light-gray); border-bottom: 1px solid var(--cl-border); }
.cl-page-hero h1 { max-width: 900px; }
.cl-page-hero .cl-lead { margin-bottom: 0; }
.cl-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); align-items: center; gap: 70px; }
.cl-split-media { min-height: 460px; }
.cl-split-media img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.cl-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.cl-list li { padding: 15px 0; border-bottom: 1px solid var(--cl-border); }

.cl-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cl-field { display: grid; gap: 8px; }
.cl-field--full { grid-column: 1 / -1; }
.cl-field label { color: var(--cl-black); font-size: 15px; font-weight: 800; }
.cl-field input, .cl-field select, .cl-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #777; border-radius: 0; background: #fff; color: #000; }
.cl-field textarea { min-height: 145px; resize: vertical; }
.cl-form-note { grid-column: 1 / -1; color: var(--cl-dark-gray); font-size: 14px; }
.cl-notice { margin-bottom: 28px; padding: 18px 20px; border: 1px solid var(--cl-black); background: var(--cl-light-gray); color: var(--cl-black); }
.cl-honeypot { position: absolute; left: -9999px; }

.cl-contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.cl-contact-list { display: grid; gap: 0; margin: 0; }
.cl-contact-list div { padding: 20px 0; border-bottom: 1px solid var(--cl-border); }
.cl-contact-list dt { margin-bottom: 5px; color: var(--cl-dark-gray); font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cl-contact-list dd { margin: 0; }

.cl-footer { padding: 70px 0 96px; background: var(--cl-charcoal); color: var(--cl-white); }
.cl-footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 60px; }
.cl-footer h2, .cl-footer h3 { color: var(--cl-white); }
.cl-footer h3 { font-family: Lato, Arial, sans-serif; font-size: 14px; font-weight: 900; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.cl-footer a { color: var(--cl-white); }
.cl-footer-nav { display: grid; gap: 9px; padding: 0; list-style: none; }
.cl-footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 54px; padding-top: 24px; border-top: 1px solid #5b5b5b; color: #d2d2d2; font-size: 14px; }
.cl-legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.cl-legal h2 { margin-top: 42px; font-size: clamp(30px, 4vw, 42px); }
.cl-legal h2:first-child { margin-top: 0; }
.cl-legal ul { padding-left: 22px; }
.cl-legal li + li { margin-top: 9px; }

.cl-mobile-actions { display: none; }

@media (max-width: 1020px) {
  .cl-menu-toggle { display: block; }
  .cl-nav { position: fixed; inset: 82px 0 auto 0; display: none; max-height: calc(100vh - 82px); overflow-y: auto; padding: 28px 20px 36px; background: var(--cl-white); border-bottom: 1px solid var(--cl-border); }
  .cl-nav.is-open { display: block; }
  .cl-nav ul { display: grid; gap: 0; }
  .cl-nav li { border-bottom: 1px solid var(--cl-border); }
  .cl-nav ul a { display: block; padding: 16px 4px; font-size: 18px; }
  .cl-nav > .cl-button { width: 100%; margin-top: 22px; }
  .cl-hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .cl-hero-media { min-height: 440px; }
  .cl-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cl-trust-item { border-bottom: 1px solid var(--cl-border); }
  .cl-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --cl-wrap: min(100% - 30px, 1180px); }
  body { padding-bottom: 66px; font-size: 16px; }
  .cl-utility-note { display: none; }
  .cl-utility-inner { justify-content: center; }
  .cl-utility-links a:last-child { display: none; }
  .cl-header-inner { min-height: 72px; }
  .cl-brand, .cl-brand img { width: 166px; }
  .cl-nav { inset: 72px 0 auto 0; }
  h1 { font-size: clamp(48px, 15vw, 68px); }
  h2 { font-size: clamp(39px, 12vw, 54px); }
  .cl-hero-grid { gap: 34px; padding-block: 50px; }
  .cl-hero-media { min-height: 300px; }
  .cl-hero-media img { max-height: 280px; }
  .cl-trust-grid { grid-template-columns: 1fr; }
  .cl-trust-item { min-height: 70px; border-right: 0; }
  .cl-section-heading, .cl-band-inner, .cl-split, .cl-contact-grid, .cl-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cl-grid--2, .cl-grid--3, .cl-grid--4, .cl-form { grid-template-columns: 1fr; }
  .cl-field--full { grid-column: auto; }
  .cl-split-media, .cl-split-media img { min-height: 300px; }
  .cl-footer-bottom { display: grid; }
  .cl-mobile-actions { position: fixed; z-index: 150; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--cl-white); border-top: 1px solid var(--cl-border); }
  .cl-mobile-actions a { min-height: 66px; display: flex; align-items: center; justify-content: center; font-weight: 900; text-decoration: none; }
  .cl-mobile-actions a:first-child { background: var(--cl-white); color: var(--cl-black); }
  .cl-mobile-actions a:last-child { background: var(--cl-black); color: var(--cl-white); }
}

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