/*
Theme Name: Islamabad Rent A Car
Theme URI: https://islamabadrentacar.pk/
Author: LX Digital Service
Author URI: https://lxdigitalservice.com/
Description: Custom SEO-optimized WordPress theme for Islamabad Rent A Car with Yoast SEO integration, AutoRental & FAQPage JSON-LD Schema, Per-Page Title Hide toggle, and Appearance Menu & Footer locations.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: islamabad-rent-a-car
*/

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --brand: #0f766e;
  --brand-hover: #0d5e58;
  --brand-soft: #ecfdf5;
  --brand-rgb: 15, 118, 110;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-ink: #1e1300;
  --wa: #16a34a;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 50px rgba(15, 23, 42, 0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
}

/* Soft Luxury Midnight Slate Dark Mode */
:root[data-theme="dark"] {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-alt: #162032;
  --ink: #f1f5f9;
  --muted: #94a3b8;
  --line: #334155;
  --brand: #14b8a6;
  --brand-hover: #2dd4bf;
  --brand-soft: rgba(20, 184, 166, 0.14);
  --brand-rgb: 20, 184, 166;
  --accent: #f59e0b;
  --accent-hover: #fbbf24;
  --accent-ink: #0f172a;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 14px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 54px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.28);
}
.btn-gold:hover { background: var(--accent-hover); }
.btn-brand {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(var(--brand-rgb), 0.28);
}
:root[data-theme="dark"] .btn-brand { color: #0f172a; }
.btn-brand:hover { background: var(--brand-hover); }
.btn-wa {
  background: var(--wa);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.28);
}
.btn-wa:hover { background: #15803d; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-sm { padding: 8px 15px; font-size: 0.82rem; }

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), #0d9488);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 6px 14px rgba(var(--brand-rgb), 0.28);
}
.brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--brand); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.icon-btn:hover { border-color: var(--brand); }
.menu-toggle { display: none; }

/* Mobile Nav Drawer */
.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 14px 20px 18px;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.mobile-drawer-links a {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-alt);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}
.mobile-drawer-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
}

/* Hero Section */
.hero-wrap { padding: 20px 0 28px; }
.hero-card {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.16), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(var(--brand-rgb), 0.15), transparent 45%),
    var(--surface);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(var(--brand-rgb), 0.22);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
}
.hero-title {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 800;
  margin: 16px 0 14px;
  line-height: 1.08;
}
.hero-title span {
  color: var(--brand);
  position: relative;
}
.hero-lead {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 20px;
  max-width: 560px;
}
.rot-vehicle {
  color: var(--brand);
  font-weight: 800;
  display: inline-block;
  transition: opacity 0.25s ease;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.hero-photo-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 18px;
  background: var(--surface-alt);
}
.hero-photo-box img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-photo-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hero-photo-badge span {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.stat-box {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
}
.stat-box strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
}
.stat-box span {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 600;
}

/* Booking Card */
.booking-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.booking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.booking-head h2 { font-size: 1.25rem; }
.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.16);
  color: var(--accent-hover);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
}
:root[data-theme="dark"] .rating-chip { color: #fbbf24; }
.field { margin-bottom: 12px; }
.field label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 5px;
}
.field input, .field select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus { border-color: var(--brand); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.est-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand-soft);
  border: 1px solid rgba(var(--brand-rgb), 0.22);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 14px 0;
}
.est-box small { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.est-box strong { font-size: 1.25rem; color: var(--brand); font-weight: 800; }
.est-note {
  font-size: 0.74rem;
  color: var(--muted);
  margin: 10px 0 0;
  text-align: center;
}

/* Trust Strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  padding: 14px 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.trust-strip b { color: var(--brand); }

/* Sections */
section { padding: 62px 0; }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.sec-head p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 520px;
  font-size: 0.95rem;
}

/* Feature Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.tile:hover { transform: translateY(-3px); border-color: rgba(var(--brand-rgb), 0.45); }
.tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.tile p { margin: 8px 0 0; color: var(--muted); font-size: 0.88rem; }
.tile-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #0f766e, #115e59);
  color: #ffffff;
  border: 0;
}
.tile-featured p { color: #ccfbf1; }
.tile-featured .tile-icon { background: rgba(255, 255, 255, 0.16); color: #ffffff; }
.tile-featured a { color: #fde68a; text-decoration: underline; font-weight: 700; }

/* Filter Controls & Fleet Grid */
.controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}
:root[data-theme="dark"] .chip.active { color: #0f172a; }
.seg {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.seg button.active {
  background: var(--brand);
  color: #ffffff;
}
:root[data-theme="dark"] .seg button.active { color: #0f172a; }
.rate-disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 22px;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 18px;
}
.car-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--brand-rgb), 0.45);
}
.car-media {
  position: relative;
  height: 175px;
  background: linear-gradient(155deg, var(--brand-soft), var(--surface-alt));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.car-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.car-card:hover .car-media img { transform: scale(1.04); }
.car-media svg {
  width: 155px;
  height: auto;
  color: var(--brand);
}
.car-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.car-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.car-specs span {
  background: var(--surface-alt);
  padding: 4px 9px;
  border-radius: 8px;
}
.car-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.car-price strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}
.car-price small {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
}

/* Interactive Route Explorer */
.route-explorer {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}
.route-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}
.route-pill {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.route-pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}
:root[data-theme="dark"] .route-pill.active { color: #0f172a; }
.route-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.route-preview h3 { font-size: 1.4rem; margin-top: 4px; }
.route-meta-line {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0;
}
.route-tip {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.route-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.text-link {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: underline;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  font-size: 0.9rem;
}
th, td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
th {
  background: var(--surface-alt);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
tr:last-child td { border-bottom: 0; }
.tag-yes {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.78rem;
}
.tag-no {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.16);
  color: var(--accent-hover);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
:root[data-theme="dark"] .step-num { color: #fbbf24; }
.step-card p { margin: 8px 0 0; color: var(--muted); font-size: 0.88rem; }

/* Pricing Plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  background: linear-gradient(155deg, #0f766e, #115e59);
  color: #ffffff;
  border: 0;
  box-shadow: var(--shadow-lg);
}
.plan-price {
  font-size: 2rem;
  font-weight: 800;
  margin: 10px 0 16px;
}
.plan-price small { font-size: 0.82rem; font-weight: 600; opacity: 0.78; }
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
  font-size: 0.9rem;
}
.plan-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  margin-right: 8px;
}
.plan-card .btn { width: 100%; margin-top: auto; }

/* Airport Grid */
.airport-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 22px;
  align-items: start;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}
.check-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 800;
  margin-right: 9px;
}
.airport-card {
  background: linear-gradient(145deg, var(--brand-soft), var(--surface));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.airport-card p { color: var(--muted); font-size: 0.92rem; margin: 8px 0 18px; }
.airport-card .btn { width: 100%; margin-bottom: 10px; }

/* Area Search & Chips */
.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
.search-bar input {
  flex: 1 1 280px;
  max-width: 480px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  outline: none;
}
.search-bar input:focus { border-color: var(--brand); }
.area-status {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.area-status strong { color: var(--brand); }
.area-panel { display: none; }
.area-panel.active { display: block; }
.area-tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 3px 4px 3px 0;
  cursor: pointer;
  transition: all 0.2s;
}
.area-tag:hover { border-color: var(--brand); color: var(--brand); }
.area-tag.hit {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.area-tag.dim { opacity: 0.35; }

/* Moving Google Reviews Marquee */
.reviews-shell {
  overflow: hidden;
  padding: 6px 0;
}
.reviews-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: reviewScroll 34s linear infinite;
}
.reviews-shell:hover .reviews-track { animation-play-state: paused; }
@keyframes reviewScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.review-card {
  width: 320px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.review-stars { color: var(--accent); letter-spacing: 2px; font-size: 0.95rem; }
.review-card p { margin: 10px 0 14px; font-size: 0.9rem; color: var(--ink); }
.review-author { font-weight: 800; font-size: 0.88rem; }
.review-city { font-size: 0.78rem; color: var(--muted); }

/* Service Links Grid */
.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.link-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s, border-color 0.2s;
}
.link-card:hover { transform: translateY(-3px); border-color: var(--brand); }
.link-card strong { font-size: 0.95rem; }
.link-card span { font-size: 0.82rem; color: var(--muted); flex: 1; }
.link-card em { font-style: normal; font-size: 0.82rem; font-weight: 700; color: var(--brand); margin-top: 6px; }

/* Location & Google Map Section */
.location-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: stretch;
}
.contact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-alt);
}
.contact-item b { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact-item a, .contact-item span { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.map-frame-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  box-shadow: var(--shadow-sm);
}
.map-frame-card iframe {
  width: 100%;
  flex: 1;
  min-height: 250px;
  border: 0;
}
.map-bar {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

/* FAQ */
.faq-wrap { max-width: 860px; margin: 0 auto; }
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand);
}
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--muted); font-size: 0.9rem; }

/* Final CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0f766e, #0f172a);
  color: #ffffff;
  border-radius: 28px;
  padding: 46px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-banner p {
  color: #cbd5e1;
  max-width: 540px;
  margin: 12px auto 24px;
  font-size: 0.96rem;
}
.cta-banner .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}
.cta-banner .btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
}

/* Footer */
.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 44px 0 96px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 24px;
}
.footer-col h4 {
  color: var(--ink);
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-col a:hover { color: var(--brand); text-decoration: underline; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* Compact Floating Action Pill */
.float-dock {
  position: fixed;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  z-index: 45;
  display: flex;
  gap: 8px;
}
.float-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.84rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s;
}
.float-pill:hover { transform: translateY(-2px); }
.float-wa { background: #16a34a; color: #ffffff; }
.float-call { background: var(--accent); color: var(--accent-ink); }

/* WhatsApp Booking Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(6px);
  display: none;
  place-items: center;
  padding: 16px;
}
.modal-backdrop.open { display: grid; }
.modal-panel {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  cursor: pointer;
  font-weight: 800;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .hero-grid, .route-explorer, .airport-grid, .location-grid { grid-template-columns: 1fr; }
  .bento, .steps-grid, .links-grid { grid-template-columns: 1fr 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 15px; }
  section { padding: 44px 0; }
  .nav-row { height: 58px; }
  .brand { font-size: 0.92rem; }
  .brand-mark { width: 32px; height: 32px; font-size: 0.82rem; }
  .header-call-btn { padding: 8px 13px; font-size: 0.8rem; }
  .hero-card { padding: 22px 18px; border-radius: 22px; }
  .hero-title { font-size: 1.85rem; }
  .hero-actions .btn { flex: 1 1 calc(50% - 5px); padding: 11px 12px; font-size: 0.84rem; }
  .hero-stats { gap: 8px; }
  .stat-box { padding: 10px; }
  .stat-box strong { font-size: 1.15rem; }
  .booking-card { padding: 18px; }
  .field input, .field select { font-size: 16px; }
  .bento, .steps-grid, .links-grid { grid-template-columns: 1fr; }
  .tile-featured { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-dock {
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    justify-content: center;
  }
  .float-pill { flex: 1; justify-content: center; padding: 10px 12px; font-size: 0.82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
  * { transition: none !important; }
}

/* WordPress Menus, Inner Pages & Utility Styles */
.nav-links ul, .footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links ul {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links li {
  position: relative;
}
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a {
  color: var(--brand);
  font-weight: 700;
}
.nav-links .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-md);
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  z-index: 50;
}
.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
  display: flex;
}
.nav-links .sub-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.84rem;
}
.nav-links .sub-menu a:hover {
  background: var(--surface-alt);
}
.mobile-drawer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mobile-drawer-links ul a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-alt);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}
.wp-page-shell {
  padding: 40px 0 64px;
}
.wp-page-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.wp-page-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.wp-page-title {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  color: var(--ink);
  margin: 8px 0 0;
}
.wp-breadcrumbs {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.wp-breadcrumbs a {
  color: var(--brand);
  font-weight: 600;
}
.entry-content > * + * {
  margin-top: 1.1em;
}
.entry-content h2 {
  font-size: 1.65rem;
  margin-top: 1.6em;
}
.entry-content h3 {
  font-size: 1.25rem;
  margin-top: 1.3em;
}
.entry-content a {
  color: var(--brand);
  text-decoration: underline;
}
.entry-content ul, .entry-content ol {
  padding-left: 1.35em;
}
@media (max-width: 600px) {
  .wp-page-card { padding: 22px 18px; border-radius: 20px; }
}


/* ==========================================================================
   v1.0.1 Mobile Layout, Header Buttons, Grid Containment & Content Borders
   ========================================================================== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Prevent CSS Grid children (like .table-wrap inside .airport-grid / .route-explorer) from expanding beyond viewport */
.hero-grid > *,
.route-explorer > *,
.airport-grid > *,
.location-grid > *,
.bento > *,
.fleet-grid > *,
.steps-grid > *,
.plans-grid > *,
.links-grid > *,
.footer-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* Clean, visible content borders on cards, tables, hero, booking, and sections */
.hero-card,
.booking-card,
.tile,
.car-card,
.route-preview,
.step-card,
.plan-card,
.airport-card,
.review-card,
.link-card,
.contact-box,
.map-frame-card,
.table-wrap,
.trust-strip,
details {
  border: 1.5px solid var(--line);
}

/* Header Brand & Buttons: prevent horizontal overflow on narrow mobile screens (360px - 430px) */
.brand {
  min-width: 0;
  flex: 1 1 auto;
}
.brand > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-mark {
  flex-shrink: 0;
}
.nav-actions {
  flex-shrink: 0;
  gap: 6px;
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 14px;
  }

  /* Fix Header clipping: compact brand text, compact Call button, visible hamburger menu */
  .nav-row {
    height: 60px;
    gap: 8px;
  }
  .brand {
    gap: 7px;
    font-size: 0.84rem;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
    border-radius: 9px;
  }
  .brand-sub {
    font-size: 0.64rem;
  }
  .icon-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }
  .header-call-btn {
    padding: 7px 10px;
    font-size: 0.74rem;
    letter-spacing: -0.01em;
  }

  /* Fix Hero & CTA buttons on mobile: balanced stack / 2-col layout */
  .hero-card {
    padding: 20px 15px;
    border-radius: 20px;
    border: 1.5px solid var(--line);
  }
  .status-pill {
    font-size: 0.72rem;
    padding: 5px 11px;
    white-space: normal;
    line-height: 1.3;
  }
  .hero-title {
    font-size: 1.72rem;
    margin: 12px 0 10px;
  }
  .hero-lead {
    font-size: 0.92rem;
    margin-bottom: 16px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hero-actions .btn {
    width: 100%;
    padding: 10px 10px;
    font-size: 0.8rem;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .hero-actions .btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  /* Fix Hero 3-stat boxes so text never clips at the bottom */
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .stat-box {
    padding: 9px 7px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
  }
  .stat-box strong {
    font-size: 0.96rem;
    line-height: 1.2;
  }
  .stat-box span {
    display: block;
    font-size: 0.68rem;
    line-height: 1.25;
    margin-top: 2px;
  }

  /* Fix Airport, Routes & Tables overflow on mobile */
  .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1.5px solid var(--line);
  }
  .table-wrap table {
    min-width: 460px;
    font-size: 0.84rem;
  }
  th, td {
    padding: 10px 12px;
  }
  .airport-card {
    padding: 20px 16px;
    border-radius: 20px;
  }
  .airport-card .btn {
    white-space: normal;
    text-align: center;
  }

  /* Fix Floating bottom bar so both Call Now & WhatsApp fit comfortably inside screen width */
  .float-dock {
    left: 10px;
    right: 10px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: calc(100vw - 20px);
  }
  .float-pill {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 10px 8px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* Mobile drawer links single column if text is long */
  .mobile-drawer {
    padding: 12px 14px 16px;
  }
  .mobile-drawer-links ul {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .mobile-drawer-links ul a {
    font-size: 0.82rem;
    padding: 9px 10px;
  }
}

@media (max-width: 380px) {
  .brand-sub {
    display: none;
  }
  .header-call-btn {
    padding: 6px 8px;
    font-size: 0.72rem;
  }
  .hero-actions {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
}
