/* ==========================================================================
   OnTour CMS — Public site design system
   Palette: deep travel-navy + brass accent + warm paper background
   Type: Fraunces (display serif) + Work Sans (body/UI)
   Motif: a dashed "route line" divider — a nod to the driving journey —
   used between sections instead of a plain rule.
   ========================================================================== */

:root {
  --navy:        #16283D;
  --navy-2:      #1F3A54;
  --navy-soft:   #E7EDF2;
  --brass:       #C08A3E;
  --brass-dark:  #99692B;
  --brass-soft:  #F4E7D3;
  --forest:      #3F6B52;
  --forest-soft: #E4EFE8;
  --paper:       #FAF7F1;
  --paper-2:     #F1EAD9;
  --ink:         #23262B;
  --ink-soft:    #5B5F66;
  --line:        #E3DACB;
  --white:       #FFFFFF;

  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-body: 'Work Sans', ui-sans-serif, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 12px 32px -20px rgba(22, 40, 61, 0.35);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0 0 .5em; line-height: 1.2; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--brass { background: var(--brass); color: #2A1C09; }
.btn--brass:hover { background: var(--brass-dark); color: #fff; }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__row { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand__mark { color: var(--brass); display: inline-flex; }
.brand__logo { height: 42px; width: auto; }
.brand__text { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: .01em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav a { font-weight: 500; font-size: 15px; color: var(--navy); position: relative; padding: 6px 0; }
.site-nav a.is-active { color: var(--brass-dark); }
.site-nav a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brass);
  border-radius: 2px;
}
.nav-cta { padding: 11px 22px; font-size: 14px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Route-line divider (signature motif) ---------- */
.route-divider {
  display: flex; align-items: center; gap: 10px; margin: 0 auto; max-width: var(--container); padding: 0 24px;
  color: var(--line);
}
.route-divider .line { flex: 1; height: 0; border-top: 2px dashed var(--line); }
.route-divider .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); flex-shrink: 0; }
.section { padding: 76px 0; }
.section--tight { padding: 56px 0; }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255,255,255,.72); }
.section--paper2 { background: var(--paper-2); }

.eyebrow-free-heading { max-width: 620px; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { font-size: 17px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 90px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:14px; color: var(--brass-soft); font-weight:600; margin-bottom: 18px; }
.hero__eyebrow svg { color: var(--brass); }
.hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; margin-bottom: .4em; }
.hero p.lede { color: rgba(255,255,255,.78); font-size: 18px; max-width: 520px; }
.hero__actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero__stats .stat b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--brass-soft); }
.hero__stats .stat span { font-size: 13px; color: rgba(255,255,255,.6); }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4/3.1; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.hero__route {
  position: absolute; inset: 0; pointer-events: none;
}
.hero__badge {
  position: absolute; left: -18px; bottom: -22px; background: #fff; color: var(--navy);
  border-radius: var(--radius-md); padding: 16px 20px; box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 12px; max-width: 240px;
}
.hero__badge b { display: block; font-family: var(--font-display); font-size: 20px; }
.hero__badge span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Benefits ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.benefit-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 30px 26px; transition: border-color .2s ease, transform .2s ease;
}
.benefit-card:hover { border-color: var(--brass); transform: translateY(-3px); }
.benefit-card__icon { font-size: 30px; margin-bottom: 14px; display: block; }
.benefit-card h3 { font-size: 18px; margin-bottom: 8px; }
.benefit-card p { font-size: 14.5px; margin: 0; }

/* ---------- Vehicle / pricing cards ---------- */
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vehicle-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.vehicle-card__img { aspect-ratio: 16/10; overflow: hidden; }
.vehicle-card__img img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vehicle-card h3 { font-size: 19px; margin-bottom: 0; }
.vehicle-card__meta { display: flex; gap: 16px; font-size: 13.5px; color: var(--ink-soft); }
.vehicle-card__meta span { display: flex; align-items: center; gap: 5px; }
.vehicle-card__prices { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 12px; }
.vehicle-card__price b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--brass-dark); }
.vehicle-card__price span { font-size: 12px; color: var(--ink-soft); }

.fleet-toolbar { display:flex; justify-content: space-between; align-items:center; flex-wrap:wrap; gap: 16px; margin-bottom: 34px; }
.fleet-toolbar h1 { margin-bottom: 4px; }

/* ---------- Trust section ---------- */
.trust-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-stat { text-align: center; padding: 22px 10px; }
.trust-stat b { display: block; font-family: var(--font-display); font-size: 32px; color: var(--brass-soft); }
.trust-stat span { font-size: 13.5px; color: rgba(255,255,255,.68); }
.testimonial-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md);
  padding: 26px 28px; margin-top: 40px; max-width: 720px; margin-left: auto; margin-right: auto;
}
.testimonial-card p { color: rgba(255,255,255,.9); font-family: var(--font-display); font-size: 19px; font-style: italic; }
.testimonial-card b { color: var(--brass-soft); font-size: 14px; font-style: normal; font-family: var(--font-body); }

/* ---------- Services page ---------- */
.services-layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: start; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px 28px; margin-bottom: 22px; }
.info-card h3 { font-size: 17px; margin-bottom: 12px; display:flex; align-items:center; gap:8px; }
.info-card h3::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex-shrink: 0; }
.rich-content :is(p, li) { color: var(--ink-soft); font-size: 15.5px; }
.rich-content ul { padding-left: 1.3em; list-style: disc; margin-bottom: 1em; }
.rich-content li { margin-bottom: 6px; }
.rich-content h2 { font-size: 22px; margin-top: 1.2em; }
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.gallery-strip img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }

/* ---------- Articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.article-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; display:flex; flex-direction:column; }
.article-card__img { aspect-ratio: 16/10; overflow:hidden; background: var(--paper-2); }
.article-card__img img { width:100%; height:100%; object-fit:cover; transition: transform .3s ease; }
.article-card:hover .article-card__img img { transform: scale(1.04); }
.article-card__body { padding: 22px 24px 26px; display:flex; flex-direction:column; gap:10px; flex:1; }
.article-card__date { font-size: 12.5px; color: var(--brass-dark); font-weight:600; letter-spacing:.02em; }
.article-card h3 { font-size: 18px; margin-bottom: 0; }
.article-card p { font-size: 14.5px; margin: 0; flex:1; }
.article-card .read-more { font-size: 14px; font-weight: 600; color: var(--navy); display:inline-flex; align-items:center; gap:6px; }

.article-single { max-width: 760px; margin: 0 auto; }
.article-single__cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; aspect-ratio: 16/8; }
.article-single__cover img { width:100%; height:100%; object-fit:cover; }
.article-single__meta { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; }
.article-single h1 { font-size: clamp(26px, 3.6vw, 38px); }
.article-body { font-size: 17px; }
.article-body :is(p, li) { color: var(--ink); font-size: 17px; line-height: 1.85; }
.article-body h2 { font-size: 24px; margin-top: 1.3em; }
.article-body ul { padding-left: 1.3em; list-style: disc; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--line); font-size: 14px; font-weight: 600;
}
.pagination a:hover { border-color: var(--brass); }
.pagination .is-current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px; }
.contact-list { display: flex; flex-direction: column; gap: 20px; margin-top: 22px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; }
.contact-list .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brass-soft); color: var(--brass-dark); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:17px; }
.contact-map { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size: 15px; background: var(--paper); color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--brass); background: #fff; }
.alert { padding: 14px 18px; border-radius: 10px; font-size: 14.5px; margin-bottom: 20px; }
.alert--success { background: var(--forest-soft); color: #234436; }
.alert--error { background: #FBE6E1; color: #7A2E1C; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 64px 0 0; margin-top: 40px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr; gap: 40px; padding-bottom: 46px; }
.site-footer h3 { color: #fff; font-size: 16px; font-family: var(--font-body); font-weight: 600; margin-bottom: 16px; }
.brand--footer { margin-bottom: 14px; }
.brand__text--footer { font-family: var(--font-display); font-size: 20px; color: #fff; font-weight: 600; }
.brand__logo--footer { height: 38px; filter: brightness(0) invert(1); }
.site-footer__desc { font-size: 14.5px; max-width: 320px; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
}
.footer-links li, .footer-contact li { margin-bottom: 12px; font-size: 14.5px; }
.footer-links a:hover { color: var(--brass-soft); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; font-size: 13.5px; color: rgba(255,255,255,.55); }

/* ---------- Misc ---------- */
.page-hero {
  padding: 54px 0 44px; background: var(--navy-soft); border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { max-width: 600px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .benefits-grid, .vehicle-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .services-layout, .contact-layout { grid-template-columns: 1fr; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 78px 0 0 0; background: var(--paper); padding: 30px 24px;
    transform: translateX(100%); transition: transform .25s ease; flex-direction: column; align-items: flex-start;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav ul { flex-direction: column; gap: 4px; width: 100%; }
  .site-nav ul li { width: 100%; }
  .site-nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 20px; width: 100%; }
  .benefits-grid, .vehicle-grid, .article-grid { grid-template-columns: 1fr; }
  .trust-stats { grid-template-columns: 1fr 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__badge { position: static; margin-top: -40px; margin-left: 16px; margin-right: 16px; }
}
