/*
Theme Name: Tuning Car
Theme URI: https://tuningcar.ma
Author: NEXT GITAL
Author URI: https://nextgital.ma
Description: Thème WordPress sur-mesure pour agence de location de voitures (Oujda, Maroc). Design premium noir/jaune, Custom Post Type Véhicules, formulaires de réservation et de contact.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tuningcar
Tags: location-voiture, car-rental, dark, custom-post-type
*/

/* =========================================================
   TUNING CAR — Design System
   Premium Black / Yellow / White — Location de voitures Oujda
   ========================================================= */

:root {
  --yellow: #f5b50a;
  --yellow-dark: #d99e00;
  --yellow-soft: rgba(245, 181, 10, 0.12);
  --black: #0c0c0e;
  --black-2: #121215;
  --black-3: #18181c;
  --dark-card: #1a1a1f;
  --dark-card-2: #202026;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --gray: #b4b4bd;
  --gray-2: #8a8a93;
  --gray-3: #6a6a72;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-yellow: 0 14px 34px rgba(245, 181, 10, 0.28);
  --container: 1200px;
  --header-h: 84px;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --font-head: 'Oswald', 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; }

.eyebrow {
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 14px;
  display: block;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-head { text-align: center; margin-bottom: 50px; }
.section-head .divider { margin: 18px auto 0; }

.divider {
  width: 70px;
  height: 4px;
  background: var(--yellow);
  border-radius: 4px;
}

.text-yellow { color: var(--yellow); }

section { position: relative; }
.section-pad { padding: 90px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--yellow);
  color: #1a1a1a;
  box-shadow: var(--shadow-yellow);
}
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--line-strong);
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 36px; font-size: 16px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(12, 12, 14, 0.55);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.header.scrolled {
  background: rgba(12, 12, 14, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
.admin-bar .header { top: 32px; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo .logo-main {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  font-style: italic;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.logo .logo-main span { color: var(--yellow); }
.logo .logo-sub {
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gray-2);
  text-transform: uppercase;
  margin-top: 4px;
}
.logo img { max-height: 62px; width: auto; }
.logo .custom-logo-link { display: block; line-height: 0; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  position: relative;
  transition: color 0.2s;
  padding: 6px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width 0.25s ease;
}
.nav a:hover, .nav a.active,
.nav .current-menu-item > a, .nav .current_page_item > a { color: var(--white); }
.nav a.active::after, .nav a:hover::after,
.nav .current-menu-item > a::after, .nav .current_page_item > a::after { width: 100%; }
.nav ul { display: flex; align-items: center; gap: 32px; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--gray); font-size: 14px; font-weight: 500;
}
.header-phone svg { stroke: var(--yellow); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 2px; background: var(--white); transition: 0.3s; border-radius: 2px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  margin-top: var(--header-h);
  padding: 80px 0 70px;
  text-align: center;
  background:
    linear-gradient(rgba(12, 12, 14, 0.82), rgba(12, 12, 14, 0.92)),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat fixed;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.page-hero .breadcrumb {
  margin-top: 16px;
  color: var(--gray);
  font-size: 14px;
}
.page-hero .breadcrumb a:hover { color: var(--yellow); }
.page-hero .breadcrumb .sep { color: var(--yellow); margin: 0 8px; }
.page-hero .divider { margin: 20px auto 0; }

/* ---------- Cards (vehicles) ---------- */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.vehicle-card {
  background: var(--dark-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.vehicle-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 181, 10, 0.4);
  box-shadow: var(--shadow);
}
.vehicle-card .vc-img {
  height: 210px;
  background: var(--black-3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.vehicle-card .vc-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.vc-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--yellow); color: #1a1a1a;
  font-size: 11px; font-weight: 700;
  padding: 5px 11px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.vehicle-card .vc-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.vehicle-card .vc-name { font-size: 20px; margin-bottom: 12px; }
.vehicle-card .vc-name a:hover { color: var(--yellow); }
.vc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.vc-tag {
  font-size: 11px;
  background: var(--black-3);
  border: 1px solid var(--line);
  color: var(--gray);
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 500;
}
.vc-price { margin-bottom: 16px; margin-top: auto; }
.vc-price .price { font-size: 26px; font-weight: 700; font-family: var(--font-head); color: var(--white); }
.vc-price .unit { color: var(--gray-2); font-size: 13px; }
.vc-price .unit b { color: var(--yellow); font-weight: 600; }

/* ---------- Features strip ---------- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-item .fi-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--yellow-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
}
.feature-item h4 { font-family: var(--font-body); font-size: 15px; font-weight: 600; }
.feature-item p { font-size: 12.5px; color: var(--gray-2); }

/* ---------- Why choose (icons) ---------- */
.section-dark { background: var(--black-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.why-card {
  background: var(--dark-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 22px;
  text-align: center;
  transition: 0.3s;
}
.why-card:hover { border-color: rgba(245, 181, 10, 0.4); transform: translateY(-4px); }
.why-card .wc-icon {
  width: 60px; height: 60px; margin: 0 auto 18px;
  border-radius: 14px;
  background: var(--yellow-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
}
.why-card h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.why-card p { font-size: 13px; color: var(--gray-2); }

/* ---------- Services cards ---------- */
.section-light { background: #f4f4f6; color: #1a1a1a; }
.section-light .eyebrow { color: var(--yellow-dark); }
.section-light .section-title { color: #14141a; }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14); }
.service-card .sc-img { height: 130px; position: relative; overflow: hidden; }
.service-card .sc-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card .sc-icon {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: #14141a; color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff;
}
.service-card .sc-body { padding: 34px 18px 24px; text-align: center; }
.service-card h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #14141a; }
.service-card p { font-size: 13px; color: #6a6a72; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--dark-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.testi-card .quote { font-family: var(--font-head); font-size: 50px; color: var(--yellow); line-height: 0.6; }
.testi-card p { color: var(--gray); font-size: 14.5px; margin: 14px 0 20px; }
.testi-foot { display: flex; align-items: center; gap: 14px; }
.testi-foot img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-foot .name { font-weight: 600; font-size: 15px; }
.testi-foot .stars { color: var(--yellow); font-size: 13px; letter-spacing: 2px; }

/* ---------- Booking form (hero) ---------- */
.booking-box {
  background: rgba(20, 20, 24, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
.booking-box h3 { font-family: var(--font-body); font-size: 19px; margin-bottom: 20px; }
.booking-row { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 16px; align-items: end; }
.field label { display: block; font-size: 12px; color: var(--gray-2); margin-bottom: 7px; font-weight: 500; }
.field .input-wrap { position: relative; }
.field input, .field select {
  width: 100%;
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px 13px 38px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: 0.2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--yellow); }
.field .ic {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--yellow); pointer-events: none;
}
.field select { appearance: none; cursor: pointer; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(90deg, rgba(12,12,14,0.96) 0%, rgba(12,12,14,0.7) 55%, rgba(12,12,14,0.4) 100%),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band .container { padding-top: 70px; padding-bottom: 70px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; }
.cta-band p { color: var(--gray); margin: 16px 0 28px; max-width: 460px; font-size: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--black-2); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer .logo { margin-bottom: 18px; }
.footer-about p { color: var(--gray-2); font-size: 14px; margin-bottom: 20px; }
.social { display: flex; gap: 12px; }
.social a {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--black-3); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); transition: 0.25s;
}
.social a:hover { background: var(--yellow); color: #1a1a1a; border-color: var(--yellow); transform: translateY(-3px); }
.footer h4 {
  font-family: var(--font-body); font-size: 16px; font-weight: 700;
  margin-bottom: 22px; text-transform: uppercase; letter-spacing: 0.5px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--gray-2); font-size: 14px; transition: 0.2s; display: inline-block; }
.footer-links a:hover { color: var(--yellow); padding-left: 5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; color: var(--gray-2); font-size: 14px; margin-bottom: 16px; }
.footer-contact svg { stroke: var(--yellow); flex-shrink: 0; margin-top: 3px; }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; border: 1.5px solid var(--yellow);
  color: var(--yellow); padding: 11px 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; margin-top: 6px; transition: 0.25s;
}
.whatsapp-btn:hover { background: var(--yellow); color: #1a1a1a; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; color: var(--gray-3); flex-wrap: wrap;
}
.footer-bottom .legal-links { display: flex; gap: 22px; }
.footer-bottom .legal-links a:hover { color: var(--yellow); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  transition: 0.25s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Generic content blocks ---------- */
.lead { font-size: 17px; color: var(--gray); max-width: 720px; }
.muted { color: var(--gray-2); }

.info-card {
  background: var(--dark-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

/* ---------- Legal / text pages ---------- */
.legal-content { max-width: 860px; }
.legal-content h2 { font-size: 24px; margin: 36px 0 14px; color: var(--white); text-transform: none; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 19px; margin: 26px 0 10px; color: var(--white); }
.legal-content p, .legal-content li { color: var(--gray); font-size: 15px; margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-content ul li { margin-bottom: 8px; }
.legal-content strong { color: var(--white); }
.legal-content a { color: var(--yellow); }
.legal-updated { color: var(--gray-3); font-size: 13px; margin-bottom: 30px; font-style: italic; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--dark-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: rgba(245, 181, 10, 0.4); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 16px;
}
.faq-q .faq-icon {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  background: var(--yellow-soft); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: transform 0.3s; font-family: var(--font-head);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--gray-2); font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: start; }
.contact-form .field { margin-bottom: 18px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--yellow); }
.contact-form label { display: block; font-size: 13px; color: var(--gray); margin-bottom: 8px; font-weight: 500; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-info-card { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.contact-info-card .ci-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  background: var(--yellow-soft); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-card h4 { font-family: var(--font-body); font-size: 15px; margin-bottom: 3px; }
.contact-info-card p { color: var(--gray-2); font-size: 14px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 8px; }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg); }

/* ---------- Form feedback ---------- */
.form-note { grid-column: 1 / -1; font-size: 14px; padding: 12px 14px; border-radius: var(--radius-sm); margin-top: 6px; }
.form-note.success { background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.4); color: #43d977; }
.form-note.error { background: rgba(245,80,80,0.12); border: 1px solid rgba(245,80,80,0.4); color: #f57; }

/* ---------- Stats (about) ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 18px; background: var(--dark-card); border: 1px solid var(--line); border-radius: var(--radius); }
.stat .num { font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--yellow); }
.stat .lbl { color: var(--gray-2); font-size: 14px; margin-top: 6px; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow); }
.split h2 { font-size: clamp(26px, 3.5vw, 40px); text-transform: uppercase; margin-bottom: 8px; }
.split p { color: var(--gray); margin-bottom: 16px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--gray); }
.check-list li svg { color: var(--yellow); flex-shrink: 0; margin-top: 3px; }

/* ---------- Toolbar / filters ---------- */
.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 36px;
}
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-tab {
  background: var(--dark-card); border: 1px solid var(--line);
  color: var(--gray); padding: 9px 18px; border-radius: 30px;
  font-size: 14px; font-weight: 500; cursor: pointer; transition: 0.2s;
}
.filter-tab:hover { color: var(--white); }
.filter-tab.active { background: var(--yellow); color: #1a1a1a; border-color: var(--yellow); }
.result-count { color: var(--gray-2); font-size: 14px; }
.sort-select {
  background: var(--dark-card); border: 1px solid var(--line);
  color: var(--gray); padding: 10px 16px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; cursor: pointer;
}

/* ---------- Vehicle detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.gallery .main-img {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff; height: 380px;
}
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.thumbs img {
  height: 80px; width: 100%; object-fit: cover; border-radius: 8px;
  border: 2px solid var(--line); cursor: pointer; transition: 0.2s; background: #fff;
}
.thumbs img:hover, .thumbs img.active { border-color: var(--yellow); }
.detail-info .price-box {
  display: flex; align-items: baseline; gap: 8px; margin: 14px 0 22px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.detail-info .price-box .price { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: var(--yellow); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0; }
.spec-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--dark-card); border: 1px solid var(--line);
  padding: 14px 16px; border-radius: var(--radius-sm);
}
.spec-item .si-icon { color: var(--yellow); }
.spec-item .si-label { font-size: 12px; color: var(--gray-3); }
.spec-item .si-value { font-size: 14px; font-weight: 600; }
.equip-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0 26px; }
.equip-list li { display: flex; gap: 10px; align-items: center; color: var(--gray); font-size: 14px; }
.equip-list li svg { color: var(--yellow); flex-shrink: 0; }

/* ---------- Reservation steps ---------- */
.steps { display: flex; justify-content: center; gap: 0; margin-bottom: 46px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 12px; }
.step .step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--dark-card); border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-head); color: var(--gray-2);
}
.step.active .step-num { background: var(--yellow); border-color: var(--yellow); color: #1a1a1a; }
.step .step-label { font-size: 14px; color: var(--gray-2); font-weight: 500; }
.step.active .step-label { color: var(--white); }
.step .step-line { width: 60px; height: 2px; background: var(--line); margin: 0 18px; }

.reservation-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: start; }
.summary-card { position: sticky; top: 100px; }
.summary-card .sum-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary-card .sum-row span:first-child { color: var(--gray-2); }
.summary-card .sum-total { display: flex; justify-content: space-between; padding-top: 16px; margin-top: 8px; }
.summary-card .sum-total .t-label { font-size: 16px; font-weight: 600; }
.summary-card .sum-total .t-val { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--yellow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Hero (home) ---------- */
.home-hero {
  margin-top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 50px;
  background:
    linear-gradient(90deg, rgba(12,12,14,0.95) 0%, rgba(12,12,14,0.75) 45%, rgba(12,12,14,0.35) 75%, rgba(12,12,14,0.6) 100%),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1600&q=80') center right/cover no-repeat;
  position: relative;
}
.home-hero .hero-content { max-width: 620px; }
.home-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.home-hero h1 .line2 { color: var(--yellow); display: block; }
.home-hero .hero-sub { font-family: var(--font-head); font-size: clamp(20px, 2.6vw, 28px); font-weight: 500; margin: 14px 0 16px; }
.home-hero .hero-desc { color: var(--gray); font-size: 16px; max-width: 460px; margin-bottom: 20px; }
.home-hero .hero-line { width: 60px; height: 4px; background: var(--yellow); border-radius: 4px; margin-bottom: 34px; }
.hero-booking { margin-top: 38px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- WordPress core ---------- */
.aligncenter { margin-left: auto; margin-right: auto; }
.alignright { float: right; margin-left: 20px; }
.alignleft { float: left; margin-right: 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--gray-2); }
.screen-reader-text { position: absolute; left: -9999px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px;
  background: var(--dark-card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--gray); font-weight: 600;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--yellow); color: #1a1a1a; border-color: var(--yellow); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(12,12,14,0.99); padding: 24px; gap: 6px;
    border-bottom: 1px solid var(--line); align-items: flex-start;
  }
  .nav.open ul { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav.open a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .booking-row { grid-template-columns: 1fr 1fr; }
  .booking-row .btn { grid-column: 1 / -1; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .reservation-grid, .detail-grid, .split { grid-template-columns: 1fr; }
  .split { gap: 28px; }
  .testi-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 64px 0; }
}

@media (max-width: 600px) {
  .vehicle-grid, .why-grid, .services-grid, .stats-grid, .feature-strip { grid-template-columns: 1fr; }
  .booking-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .steps .step-line { width: 28px; margin: 0 8px; }
  .step .step-label { display: none; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .container { padding: 0 18px; }
  .gallery .main-img { height: 260px; }
}
