/*
Theme Name: Setocar Theme
Theme URI: https://www.setocars.com
Author: Setocar
Description: Location de voiture à Marrakech — Thème WordPress personnalisé
Version: 2.0.0
Text Domain: setocar
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --bg-main:    #111520;
  --bg-card:    #1c2133;
  --bg-darker:  #0d1018;
  --accent:     #e85c1a;
  --accent2:    #f06a28;
  --accent-bg:  rgba(232,92,26,0.10);
  --accent-bdr: rgba(232,92,26,0.25);
  --border:     #2a3050;
  --text:       #ffffff;
  --text-muted: rgba(255,255,255,0.65);
  --text-dim:   rgba(255,255,255,0.38);
  --green:      #25d366;
  --r-sm:  0.5rem;
  --r-md:  0.75rem;
  --r-lg:  1.25rem;
  --r-xl:  1.5rem;
  --shadow-card:  0 4px 20px rgba(0,0,0,0.25);
  --shadow-hover: 0 16px 40px rgba(232,92,26,0.22);
  --nav-h: 70px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-main);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
h1,h2,h3,h4,h5,h6 { font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 0.03em; line-height: 1.2; }

/* =============================================
   LAYOUT
   ============================================= */
.container        { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow{ max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section          { padding: 4rem 1.5rem; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(17,21,32,0.0);
  transition: background 0.35s, box-shadow 0.35s;
  height: var(--nav-h);
}
.navbar.scrolled {
  background: rgba(13,16,24,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
  backdrop-filter: blur(14px);
}
.navbar__inner {
  height: 100%; max-width: 1400px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
/* Logo */
.navbar__logo { flex-shrink: 0; display: flex; align-items: center; }
.navbar__logo img { height: 52px; width: auto; }
.navbar__logo .logo-text {
  font-family: 'Oswald', sans-serif; font-size: 1.7rem;
  font-weight: 700; color: var(--accent); letter-spacing: 0.06em;
}

/* Desktop Menu */
.navbar__menu {
  display: flex; gap: 1.75rem; align-items: center; flex: 1; justify-content: center;
}
.navbar__menu a {
  color: rgba(255,255,255,0.82);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s; white-space: nowrap;
}
.navbar__menu a:hover, .navbar__menu a.current { color: var(--accent); }

/* Actions */
.navbar__actions { flex-shrink: 0; display: flex; align-items: center; gap: 0.6rem; }
.navbar__phone {
  display: flex; align-items: center; gap: 0.35rem;
  color: rgba(255,255,255,0.7); font-size: 0.8rem;
  font-weight: 600; font-family: 'Montserrat', sans-serif;
  transition: color 0.2s; white-space: nowrap;
}
.navbar__phone:hover { color: var(--accent); }
.btn-reserve {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 1.1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 0.78rem; white-space: nowrap;
  border-radius: var(--r-sm); letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 3px 12px rgba(232,92,26,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-reserve:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,92,26,0.5); color: #fff; }

/* Hamburger */
.navbar__hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 30px; height: 30px; cursor: pointer; padding: 0;
}
.navbar__hamburger span {
  display: block; height: 2px; border-radius: 2px;
  background: white; transition: all 0.3s;
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Drawer */
.navbar__drawer {
  display: none; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(13,16,24,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem; gap: 0.25rem;
  z-index: 999;
}
.navbar__drawer.open { display: flex; }
.navbar__drawer a {
  padding: 0.85rem 1rem; border-radius: var(--r-sm);
  color: rgba(255,255,255,0.8);
  font-family: 'Montserrat', sans-serif; font-size: 0.9rem;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  transition: all 0.2s; border: 1px solid transparent;
}
.navbar__drawer a:hover, .navbar__drawer a.current {
  color: var(--accent); background: var(--accent-bg); border-color: var(--accent-bdr);
}
.navbar__drawer .drawer-wa {
  margin-top: 0.75rem; padding: 0.85rem;
  background: var(--green); border-radius: var(--r-md);
  color: white !important; text-align: center; font-weight: 700 !important;
  border: none !important; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
  position: relative; height: 100vh; min-height: 560px;
  overflow: hidden; background: var(--bg-darker);
}
.hero-slider__track {
  display: flex; height: 100%;
  transition: transform 0.7s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
}
.hero-slide {
  min-width: 100%; height: 100%; position: relative; flex-shrink: 0;
}
.hero-slide__bg {
  position: absolute; inset: 0;
}
.hero-slide__bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
}
.hero-slide__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(10,14,26,0.82) 0%,rgba(17,21,32,0.55) 60%,rgba(17,21,32,0.3) 100%);
}
.hero-slide__content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: 0 2.5rem 4rem;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(232,92,26,0.18); border: 1px solid rgba(232,92,26,0.4);
  color: var(--accent); padding: 0.35rem 1.1rem; border-radius: 2rem;
  font-family: 'Montserrat', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 5rem); color: white;
  letter-spacing: 0.03em; margin-bottom: 1.1rem; line-height: 1.08;
}
.hero-title span { color: var(--accent); }
.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255,255,255,0.72); font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  max-width: 560px; margin-bottom: 2.25rem; line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-btn-primary {
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white; border-radius: var(--r-md);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(232,92,26,0.4); transition: all 0.25s;
}
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(232,92,26,0.55); color: white; }
.hero-btn-secondary {
  padding: 0.9rem 2.2rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: white; border-radius: var(--r-md);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem;
  transition: all 0.25s; backdrop-filter: blur(4px);
}
.hero-btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Slider Controls */
.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,0,0,0.45); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; cursor: pointer; z-index: 10;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.25s;
}
.slider-nav:hover { background: var(--accent); border-color: var(--accent); }
.slider-nav--prev { left: 1.5rem; }
.slider-nav--next { right: 1.5rem; }
.slider-dots {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); cursor: pointer;
  transition: all 0.3s; border: none;
}
.slider-dot.active { background: var(--accent); width: 28px; border-radius: 4px; }
.hero-stats {
  position: absolute; bottom: 3rem; right: 2.5rem; z-index: 10;
  display: flex; gap: 2rem;
}
.hero-stat { text-align: center; }
.hero-stat .sn { font-family:'Oswald',sans-serif; font-size:1.8rem; font-weight:700; color:var(--accent); }
.hero-stat .sl { font-size:0.72rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:.05em; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  background: var(--bg-card); padding: calc(var(--nav-h) + 1.25rem) 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.breadcrumb__inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem;
  font-size: 0.82rem;
}
.breadcrumb__inner a { color: var(--text-dim); transition: color .2s; }
.breadcrumb__inner a:hover { color: var(--accent); }
.breadcrumb__inner span { color: var(--text-dim); }
.breadcrumb__inner .current { color: var(--accent); }

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
  background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-card) 100%);
  padding: calc(var(--nav-h) + 3rem) 1.5rem 3.5rem; text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header__badge {
  display: inline-block;
  background: var(--accent-bg); border: 1px solid var(--accent-bdr);
  color: var(--accent); padding: 0.32rem 1rem; border-radius: 2rem;
  font-family: 'Montserrat', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.page-header h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); color: white; margin-bottom: 0.8rem; }
.page-header h1 span { color: var(--accent); }
.page-header p { color: var(--text-muted); font-family: 'Montserrat', sans-serif; font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-badge {
  display: inline-block;
  background: var(--accent-bg); border: 1px solid var(--accent-bdr);
  color: var(--accent); padding: 0.3rem 1rem; border-radius: 2rem;
  font-family: 'Montserrat', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.6rem, 4vw, 2.6rem); color: white; margin-bottom: 0.75rem; }
.section-title span { color: var(--accent); }
.section-subtitle { color: var(--text-muted); font-family: 'Montserrat', sans-serif; font-size: 0.95rem; }

/* =============================================
   CAR GRID
   ============================================= */
.grid-cars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1200px) { .grid-cars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .grid-cars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .grid-cars { grid-template-columns: 1fr; } }

/* =============================================
   CAR CARD
   ============================================= */
.car-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  /* display:block prevents any WordPress flex override */
  display: block !important;
  transition: all 0.28s;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}
.car-card:hover {
  border-color: var(--accent); transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
/* Image */
.car-card__img-wrap {
  position: relative;
  width: 100%;
  height: 195px;
  background: #141926;
  overflow: hidden;
  display: block; /* block ensures no flex interference */
}
.car-img-inner {
  position: absolute; inset: 0.8rem;
}
.car-img-inner img {
  width: 100%; height: 100%; object-fit: contain;
}
.car-card__badge {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 5;
  background: var(--accent); color: white;
  padding: 0.18rem 0.55rem; border-radius: 3px;
  font-size: 0.65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.car-card__cat {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 5;
  background: rgba(13,16,24,0.85); color: rgba(255,255,255,0.8);
  padding: 0.18rem 0.5rem; border-radius: 3px;
  font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  backdrop-filter: blur(6px); border: 1px solid var(--border);
}
/* Body */
.car-card__body {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  /* ensure body never sits beside the image */
  clear: both;
  width: 100%;
}
.car-card__rating { display: flex; align-items: center; gap: 0.25rem; margin-bottom: 0.4rem; }
.stars { display: flex; gap: 2px; }
.star { color: var(--accent); font-size: 0.72rem; }
.star.empty { color: #3a4060; }
.rating-text { font-size: 0.72rem; color: var(--text-dim); margin-left: 0.15rem; }
.car-card__name { font-size: 1.12rem; color: white; margin-bottom: 0.65rem; }
/* Specs mini grid */
.car-card__specs {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0.35rem;
  margin-bottom: 0.85rem; padding: 0.6rem;
  background: #141926; border-radius: 6px; border: 1px solid var(--border);
}
.spec-item { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; text-align: center; }
.spec-icon { font-size: 0.82rem; }
.spec-label { font-size: 0.65rem; color: rgba(255,255,255,0.52); font-weight: 500; }
/* Tags row (fuel/transmission) */
.car-card__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.85rem; }
.car-tag {
  background: var(--accent-bg); border: 1px solid var(--accent-bdr);
  color: rgba(255,255,255,0.75); padding: 0.15rem 0.55rem;
  border-radius: 2rem; font-size: 0.65rem; font-weight: 600;
}
/* Footer */
.car-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.car-card__price .amount {
  font-family: 'Oswald', sans-serif; font-size: 1.45rem;
  font-weight: 700; color: white;
}
.car-card__price .currency { font-size: 0.72rem; color: var(--text-dim); margin-left: 0.2rem; }
.car-card__actions { display: flex; gap: 0.35rem; }
.btn-details {
  padding: 0.42rem 0.8rem; border: 1px solid var(--border);
  border-radius: 4px; color: rgba(255,255,255,0.65);
  font-family: 'Montserrat', sans-serif; font-size: 0.75rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  transition: all 0.2s; display: inline-block;
}
.car-card:hover .btn-details { border-color: var(--accent); color: var(--accent); }
.btn-wa {
  padding: 0.42rem 0.8rem; background: var(--green);
  border-radius: 4px; color: white;
  font-family: 'Montserrat', sans-serif; font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 0.3rem; transition: all 0.2s;
}
.btn-wa:hover { background: #1ebe5b; color: white; }

/* =============================================
   FILTER BAR
   ============================================= */
.filter-bar {
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  position: sticky; top: var(--nav-h); z-index: 100;
}
/* When WordPress admin bar is visible */
.admin-bar .navbar         { top: 32px; }
.admin-bar .navbar__drawer { top: calc(var(--nav-h) + 32px); }
.admin-bar .filter-bar     { top: calc(var(--nav-h) + 32px); }
.admin-bar .booking-panel  { top: calc(var(--nav-h) + 32px + 1rem); }
.admin-bar .wa-fab         { bottom: 1.5rem; }
@media screen and (max-width: 782px) {
  .admin-bar .navbar         { top: 46px; }
  .admin-bar .navbar__drawer { top: calc(var(--nav-h) + 46px); }
  .admin-bar .filter-bar     { top: calc(var(--nav-h) + 46px); }
}
.filter-bar__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1rem;
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
  -ms-overflow-style: none;
}
.filter-bar__inner::-webkit-scrollbar { display: none; }
.filter-tab {
  padding: 1rem 1.2rem; white-space: nowrap;
  color: rgba(255,255,255,0.6); font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.05em; background: none;
  border: none; border-bottom: 3px solid transparent;
  cursor: pointer; transition: all 0.2s;
}
.filter-tab:hover, .filter-tab.active {
  color: var(--accent); border-bottom-color: var(--accent);
}

/* =============================================
   CAR DETAIL PAGE
   ============================================= */
.car-detail { padding: 2.5rem 1.5rem 5rem; }
.car-detail__grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 2.5rem; align-items: start;
}
.btn-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: white; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 1.5rem; padding: 0.5rem 1rem;
  background: var(--bg-card); border-radius: var(--r-sm);
  border: 1px solid var(--border); transition: all 0.2s;
}
.btn-back:hover { border-color: var(--accent); color: var(--accent); }

/* Gallery */
.car-gallery__main {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: var(--bg-card); border-radius: var(--r-xl);
  overflow: hidden; border: 1px solid var(--border); margin-bottom: 0.75rem;
}
.gallery-img-inner { position: absolute; inset: 1.25rem; }
.gallery-img-inner img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.5); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; transition: background 0.2s; z-index: 10; cursor: pointer;
}
.gallery-nav:hover { background: var(--accent); }
.gallery-nav--prev { left: 1rem; }
.gallery-nav--next { right: 1rem; }
.gallery-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.4rem; z-index: 10;
}
.gallery-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all 0.2s;
}
.gallery-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }
.car-gallery__thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.thumb-btn {
  aspect-ratio: 16/9; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; padding: 0;
  background: var(--bg-card); position: relative;
}
.thumb-btn img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.thumb-btn.active { border-color: var(--accent); }
.thumb-btn:not(.active) { opacity: 0.5; }
.thumb-btn:hover { opacity: 1; }

/* Info sections */
.info-section {
  background: var(--bg-card); border-radius: var(--r-lg);
  padding: 1.75rem; margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card); border: 1px solid var(--border);
}
.info-section h2 {
  font-size: 1.15rem; color: white; margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 0.5rem;
  padding-bottom: 0.85rem; border-bottom: 1px solid var(--border);
}
.car-description { color: var(--text-muted); line-height: 1.85; font-family: 'Montserrat', sans-serif; font-size: 0.92rem; }

/* Specs detail grid */
.specs-detail-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem;
}
.spec-detail-item {
  background: var(--bg-main); border-radius: var(--r-md);
  padding: 0.85rem 1rem; border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.25rem;
}
.spec-detail-item .sdi-label { font-size: 0.7rem; color: var(--text-dim); font-family: 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; }
.spec-detail-item .sdi-value { font-size: 0.9rem; color: white; font-weight: 600; font-family: 'Montserrat', sans-serif; }
.spec-detail-item .sdi-icon { font-size: 1rem; margin-bottom: 0.15rem; }

/* Equipment */
.equipment-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 0.55rem;
}
.equip-item {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.8rem; background: var(--accent-bg);
  border: 1px solid var(--accent-bdr); border-radius: 0.55rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.82);
}
.equip-icon { color: var(--accent); flex-shrink: 0; }

/* Trust badges */
.trust-badges { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.trust-badge {
  background: var(--bg-main); border-radius: 1rem; padding: 1.25rem;
  text-align: center; box-shadow: var(--shadow-card); border: 1px solid var(--border);
}
.trust-badge .badge-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.trust-badge p { font-size: 0.8rem; color: white; font-weight: 600; font-family: 'Montserrat', sans-serif; }

/* Booking panel */
.booking-panel {
  position: sticky; top: calc(var(--nav-h) + 1rem);
  background: var(--bg-card); border-radius: var(--r-xl);
  padding: 1.75rem; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border: 1px solid var(--border);
}
.booking-rating { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.4rem; }
.booking-name { font-size: 1.55rem; color: white; margin-bottom: 0.4rem; }
.booking-tags { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.tag-accent {
  background: var(--accent-bg); color: var(--accent);
  padding: 0.18rem 0.7rem; border-radius: 2rem; font-size: 0.73rem; font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}
.tag-muted {
  background: rgba(255,255,255,0.05); color: var(--text-muted);
  padding: 0.18rem 0.7rem; border-radius: 2rem; font-size: 0.73rem; font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}
.transmission-toggle { margin-bottom: 1.4rem; }
.transmission-toggle p { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.5rem; font-family: 'Montserrat', sans-serif; }
.toggle-wrap { display: flex; gap: 0.5rem; }
.toggle-btn {
  flex: 1; padding: 0.7rem; border-radius: var(--r-md);
  font-weight: 600; font-size: 0.82rem; transition: all 0.2s;
  font-family: 'Montserrat', sans-serif;
}
.toggle-btn.active {
  background: var(--accent-bg); border: 1px solid var(--accent); color: var(--accent);
}
.toggle-btn:not(.active) {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border); color: white;
}
.price-box {
  background: var(--bg-main); border-radius: 1rem; padding: 1.4rem;
  text-align: center; margin-bottom: 1.4rem; border: 1px solid var(--border);
}
.price-box .price-label { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.2rem; font-family: 'Montserrat', sans-serif; }
.price-box .price-amount {
  font-family: 'Oswald', sans-serif; font-size: 2.8rem;
  font-weight: 800; color: var(--accent); line-height: 1.1;
}
.price-box .price-currency { color: var(--text-muted); font-weight: 600; font-size: 0.9rem; font-family: 'Montserrat', sans-serif; }
.booking-btns { display: flex; flex-direction: column; gap: 0.85rem; }
.btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--green); color: white; padding: 1rem;
  border-radius: 1rem; font-weight: 700; font-size: 0.95rem;
  transition: all 0.25s; box-shadow: 0 8px 25px rgba(37,211,102,0.3);
  border: none; cursor: pointer; font-family: 'Montserrat', sans-serif;
}
.btn-whatsapp:hover { background: #1ebe5b; transform: translateY(-1px); color: white; }
.btn-phone {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: transparent; color: white; padding: 1rem;
  border-radius: 1rem; font-weight: 600; font-size: 0.9rem;
  border: 1px solid var(--border); transition: all 0.25s;
  font-family: 'Montserrat', sans-serif;
}
.btn-phone:hover { background: rgba(255,255,255,0.05); color: white; }

/* Related cars */
.related-cars { margin-top: 4rem; max-width: 1280px; margin-left: auto; margin-right: auto; }
.related-cars h2 { font-size: 1.5rem; color: white; margin-bottom: 1.5rem; }
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem;
}
.related-card {
  background: var(--bg-card); border-radius: 1rem; padding: 1.1rem;
  display: flex; gap: 1rem; align-items: center;
  border: 1px solid var(--border); transition: all 0.3s;
}
.related-card:hover { border-color: var(--accent); }
.related-card__img {
  width: 110px; height: 75px; flex-shrink: 0;
  background: var(--bg-main); border-radius: var(--r-sm); overflow: hidden;
}
.related-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 0.4rem; }
.related-card__name { font-size: 0.95rem; color: white; font-family: 'Oswald', sans-serif; }
.related-card__price { color: var(--accent); font-weight: 700; font-size: 1rem; font-family: 'Oswald', sans-serif; }
.related-card__cat { color: var(--text-dim); font-size: 0.75rem; font-family: 'Montserrat', sans-serif; }

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem;
}
.service-card {
  background: var(--bg-card); border-radius: var(--r-lg);
  padding: 1.75rem; border: 1px solid var(--border);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { border-color: rgba(232,92,26,0.3); transform: translateY(-3px); }
.service-icon {
  font-size: 1.75rem; margin-bottom: 1rem; width: 52px; height: 52px;
  background: var(--accent-bg); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.service-card h3 { font-size: 1rem; color: white; margin-bottom: 0.5rem; }
.service-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.65; font-family: 'Montserrat', sans-serif; }

/* =============================================
   BLOG
   ============================================= */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem;
}
.blog-card {
  background: var(--bg-card); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s; display: flex; flex-direction: column;
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-darker); }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card__img img { transform: scale(1.04); }
.blog-card__body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__date { color: var(--accent); font-size: 0.77rem; font-weight: 600; margin-bottom: 0.5rem; font-family: 'Montserrat', sans-serif; }
.blog-card__title { font-size: 1.05rem; color: white; margin-bottom: 0.7rem; line-height: 1.4; }
.blog-card__excerpt { color: var(--text-muted); font-size: 0.85rem; font-family: 'Montserrat', sans-serif; line-height: 1.65; flex: 1; }
.blog-card__link { display: inline-block; margin-top: 1.1rem; color: var(--accent); font-family: 'Montserrat', sans-serif; font-size: 0.83rem; font-weight: 600; }

/* =============================================
   APPARTEMENT CARD
   ============================================= */
.appt-card {
  background: var(--bg-card); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); display: flex; flex-direction: column;
  transition: all 0.28s;
}
.appt-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.appt-card__img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-darker); position: relative; }
.appt-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.appt-card:hover .appt-card__img img { transform: scale(1.04); }
.appt-card__price-badge {
  position: absolute; bottom: 1rem; right: 1rem; z-index: 5;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white; padding: 0.3rem 0.85rem; border-radius: 2rem;
  font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 700;
}
.appt-card__body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.appt-card__name { font-size: 1.1rem; color: white; margin-bottom: 0.65rem; }
.appt-card__features { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.85rem; }
.appt-feature {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.75rem; color: var(--text-muted); font-family: 'Montserrat', sans-serif;
}
.appt-card__footer { margin-top: auto; }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1100px; margin: 0 auto; }
.contact-info h2 { font-size: 1.8rem; color: white; margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; font-family: 'Montserrat', sans-serif; }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem;
  padding: 1.1rem; background: var(--bg-card); border-radius: var(--r-md); border: 1px solid var(--border);
}
.contact-icon {
  width: 42px; height: 42px; background: var(--accent-bg); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.1rem; flex-shrink: 0;
}
.contact-item h4 { color: white; font-size: 0.9rem; margin-bottom: 0.2rem; }
.contact-item a, .contact-item span { color: var(--text-muted); font-size: 0.85rem; font-family: 'Montserrat', sans-serif; }
.contact-form-wrap { background: var(--bg-card); border-radius: var(--r-lg); padding: 2rem; border: 1px solid var(--border); }
.contact-form-wrap h2 { font-size: 1.4rem; color: white; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; color: var(--text-muted); font-size: 0.82rem; font-family: 'Montserrat', sans-serif; margin-bottom: 0.45rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.82rem 1rem;
  background: var(--bg-main); border: 1px solid var(--border);
  border-radius: var(--r-sm); color: white;
  font-family: 'Montserrat', sans-serif; font-size: 0.88rem; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  width: 100%; padding: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white; border: none; border-radius: var(--r-md);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: all 0.25s; box-shadow: 0 4px 15px rgba(232,92,26,0.35);
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 25px rgba(232,92,26,0.45); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg-darker); color: white;
  padding: 3.5rem 1.5rem 2rem; border-top: 1px solid var(--border);
}
.footer-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 55px; width: auto; }
.footer-about p {
  font-family: 'Montserrat', sans-serif; font-size: 0.84rem;
  color: rgba(255,255,255,0.58); line-height: 1.72; margin-bottom: 1.25rem;
}
.footer-social { display: flex; gap: 0.5rem; }
.social-link {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(232,92,26,0.3);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.82rem; transition: all 0.2s;
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: white; }
.footer-col h3 {
  font-family: 'Oswald', sans-serif; font-size: 0.95rem;
  color: var(--accent); margin-bottom: 1rem; letter-spacing: 0.06em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.58); font-family: 'Montserrat', sans-serif;
  font-size: 0.83rem; transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex; gap: 0.6rem; color: rgba(255,255,255,0.58);
  font-family: 'Montserrat', sans-serif; font-size: 0.83rem;
  margin-bottom: 0.8rem; align-items: flex-start; line-height: 1.55;
}
.footer-contact-item a { color: rgba(255,255,255,0.58); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--accent); }
.btn-wa-footer {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: 1.1rem; padding: 0.55rem 1.2rem;
  background: #25d366; border-radius: var(--r-sm); color: white;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.8rem;
  box-shadow: 0 4px 14px rgba(37,211,102,0.25); transition: all 0.2s;
}
.btn-wa-footer:hover { background: #1ebe5b; color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.25rem; display: flex; flex-wrap: wrap;
  gap: 1rem; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: 0 auto;
}
.footer-bottom p { font-family: 'Montserrat', sans-serif; color: rgba(255,255,255,0.32); font-size: 0.76rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.32); font-family: 'Montserrat', sans-serif; font-size: 0.74rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--accent); }

/* WhatsApp FAB */
.wa-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45); font-size: 1.4rem;
  transition: all 0.25s;
}
.wa-fab:hover { transform: scale(1.1); background: #1ebe5b; color: white; }

/* =============================================
   PAGE 404
   ============================================= */
.page-404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }

/* =============================================
   UTILITIES
   ============================================= */
.section-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--accent); font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 0.88rem; transition: gap 0.2s;
}
.section-link:hover { gap: 0.75rem; }

/* =============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .car-detail__grid { grid-template-columns: 1fr 340px; }
  .hero-stats { display: none; }
  .navbar__phone { display: none; }
}

/* =============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================= */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* Navbar */
  .navbar__menu { display: none; }
  .navbar__hamburger { display: flex; }
  .btn-reserve { display: none; }

  /* Hero */
  .hero-slider { height: 90vh; min-height: 480px; }
  .hero-slide__content { padding: 0 1.25rem 5rem; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 3rem); }
  .hero-subtitle { font-size: 0.88rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-btn-primary, .hero-btn-secondary { width: 100%; text-align: center; }
  .slider-nav { width: 38px; height: 38px; font-size: 1.1rem; }

  /* Car detail — stack */
  .car-detail__grid { grid-template-columns: 1fr !important; }
  .booking-panel { position: static; }

  /* Trust badges */
  .trust-badges { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }

  /* Sections */
  .section { padding: 3rem 1rem; }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================= */
@media (max-width: 480px) {
  .grid-cars { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .equipment-grid { grid-template-columns: 1fr; }
  .specs-detail-grid { grid-template-columns: 1fr 1fr; }
  .trust-badges { grid-template-columns: 1fr; }
  .car-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .hero-title { font-size: 1.7rem; }
  .page-header h1 { font-size: 1.6rem; }
}
