/* ============================================
   KB LUXURY RENT - Complete Stylesheet
   Color Palette: Nero (#000000) + Blu (#0d2f5e, #2e6fc2)
   Structure based on Budy Luxury Rent
   ============================================ */

/* --- CSS VARIABLES --- */
:root {
  /* Colors */
  --bg-body: #000000;
  --bg-card: #111111;
  --bg-dark: #1a1a1a;
  --bg-darker: #0d0d0d;

  --color-primary: #0d2f5e;
  --color-primary-light: #1a4a8a;
  --color-accent: #2e6fc2;
  --color-accent-light: #4a8fe0;
  --color-white: #ffffff;
  --color-text: #ffffff;
  --color-text-secondary: #cccccc;
  --color-text-muted: #999999;
  --color-border: #333333;
  --color-border-light: #444444;

  /* Typography */
  --font-heading: 'Figtree', 'Montserrat', sans-serif;
  --font-body: 'Figtree', 'Montserrat', sans-serif;
  --font-size-base: 16px;
  --font-size-h1-desktop: 52px;
  --font-size-h1-mobile: 36px;
  --font-size-h2-desktop: 36px;
  --font-size-h2-mobile: 28px;
  --font-size-h3: 24px;
  --line-height: 1.6;

  /* Layout */
  --max-width: 1212px;
  --radius: 4px;
  --radius-lg: 8px;

  /* Effects */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-heavy: 0 8px 30px rgba(13, 47, 94, 0.3);
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;

  /* Green for WhatsApp */
  --color-whatsapp: #25d366;
}

/* --- RESET & BASE STYLES --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--color-text-secondary);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}

h1 {
  font-size: var(--font-size-h1-desktop);
}

h2 {
  font-size: var(--font-size-h2-desktop);
}

h3 {
  font-size: var(--font-size-h3);
}

.accent {
  color: var(--color-accent);
}

/* --- CONTAINER & LAYOUT --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
}

section {
  padding: 80px 0;
}

/* --- TOP BAR --- */
.top-bar {
  background-color: var(--bg-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text-secondary);
  transition: var(--transition);
  cursor: pointer;
}

.social-icons svg:hover {
  fill: var(--color-accent);
}

/* --- HEADER --- */
.site-header {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(46, 111, 194, 0.2);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 30px;
}

.logo img {
  height: 50px;
  width: auto;
}

/* --- NAVIGATION --- */
.main-nav ul {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
}

.main-nav li {
  position: relative;
}

.main-nav > ul > li > a {
  color: var(--color-text);
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 0;
}

.main-nav > ul > li > a:hover {
  color: var(--color-accent);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown > a::after {
  content: '▼';
  font-size: 10px;
  transition: var(--transition);
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(26, 26, 26, 0.95);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  min-width: 200px;
  padding: 15px 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 200;
  backdrop-filter: blur(10px);
}

.dropdown-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dropdown-menu ul li {
  width: 100%;
  text-align: left;
}

.dropdown-menu ul li a {
  display: block;
  text-align: left;
  white-space: nowrap;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--color-text);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background-color: rgba(46, 111, 194, 0.1);
  color: var(--color-accent);
  padding-left: 25px;
}

/* Nested Dropdowns */
.nav-dropdown-nested {
  position: relative;
}

.nav-dropdown-nested > a::after {
  content: '▶';
  font-size: 10px;
  margin-left: auto;
}

.dropdown-menu-nested {
  position: absolute;
  left: 100%;
  top: 0;
  background-color: rgba(26, 26, 26, 0.95);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  min-width: 180px;
  padding: 15px 0;
  margin-left: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: var(--transition);
  z-index: 300;
  backdrop-filter: blur(10px);
}

.nav-dropdown-nested:hover .dropdown-menu-nested {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.dropdown-menu-nested a {
  display: block;
  padding: 12px 20px;
  color: var(--color-text);
  transition: var(--transition);
}

.dropdown-menu-nested a:hover {
  background-color: rgba(46, 111, 194, 0.1);
  color: var(--color-accent);
  padding-left: 25px;
}

/* Header WhatsApp */
.header-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background-color: rgba(46, 111, 194, 0.1);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-accent);
}

.wa-label {
  font-size: 12px;
  color: var(--color-text-muted);
}

.wa-number {
  font-weight: 600;
  color: var(--color-accent);
  font-size: 14px;
}

.wa-icon {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  padding: 0;
  gap: 6px;
  z-index: 150;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* --- HERO SECTION --- */
.hero-section {
  height: 291px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 700px;
}

.hero-title {
  font-family: 'Figtree', sans-serif;
  font-size: 50px;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 0;
  line-height: 69px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* --- BUTTONS --- */
.btn {
  padding: 14px 35px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-tertiary:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-dark {
  background-color: var(--color-white);
  color: var(--bg-body);
  border-color: var(--color-white);
}

.btn-dark:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

/* --- CARS SECTION --- */
.cars-section {
  padding: 60px 0 40px;
  background-color: var(--bg-body);
  overflow: hidden;
}

.cars-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.cars-section .container {
  max-width: 100%;
  padding: 0;
}

.cars-section .section-title {
  padding: 0 30px;
}

/* .cars-carousel is now handled by Owl Carousel */

/* --- CAR CARD (matching Budy layout) --- */

/* Force equal height on owl items */
.cars-carousel .owl-stage {
  display: flex !important;
}

.cars-carousel .owl-item {
  display: flex !important;
  flex: 1 0 auto;
}

.car-card {
  background-color: transparent;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.car-card:hover {
  transform: translateY(-3px);
}

.car-card-image {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background-color: var(--bg-dark);
  border-radius: 0;
}

.car-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.car-card:hover .car-card-image img {
  transform: scale(1.05);
}

.car-card-locations {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.car-card-locations .loc-label {
  color: var(--color-white);
  font-size: 11px;
  font-weight: 600;
}

.car-card-locations span {
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--color-accent-light);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  border: 1px solid rgba(46, 111, 194, 0.5);
}

.car-card-locations .loc-more {
  color: var(--color-text-muted);
  font-size: 11px;
  background: none;
  border: none;
  padding: 0;
}

.car-card-body {
  padding: 15px 0 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-card-body .btn-secondary {
  margin-top: auto;
}

.car-card-brand-row h3 {
  min-height: 2.6em;
  display: flex;
  align-items: center;
}

.car-card-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.car-card-brand-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  flex-shrink: 0;
}

.car-card-body h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0;
  color: var(--color-white);
  line-height: 25px;
}

.car-card-body h3 a {
  color: var(--color-white);
  text-decoration: none;
  transition: var(--transition);
}

.car-card-body h3 a:hover {
  color: var(--color-accent-light);
}

.car-card-price {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.car-card-price .accent {
  display: block;
  font-size: 19px;
  font-weight: 600;
  color: var(--color-accent-light);
}

.car-card .btn-secondary {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  transition: var(--transition);
  height: 45px;
  line-height: 29px;
}

.car-card .btn-secondary:hover {
  background-color: var(--color-accent-light);
}

.carousel-nav {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 40px;
}

.carousel-prev,
.carousel-next {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: var(--color-accent-light);
  transform: scale(1.1);
}

/* --- BRANDS SECTION --- */
.brands-section {
  padding: 80px 0;
  background-color: var(--bg-body);
  border-top: 1px solid var(--color-border);
}

.brands-section h2 {
  text-align: center;
  margin-bottom: 60px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  align-items: center;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: var(--radius-lg);
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.brand-card img {
  max-width: 120px;
  height: auto;
  filter: grayscale(100%);
  transition: var(--transition);
  margin-bottom: 15px;
}

.brand-card:hover img {
  filter: grayscale(0%);
}

.brand-card span {
  color: var(--color-text);
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: var(--transition);
}

.brand-card:hover span {
  opacity: 1;
  color: var(--color-accent);
}

.brand-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(46, 111, 194, 0.2);
}

/* --- AIRPORTS SECTION --- */
.airports-section {
  padding: 80px 0;
  background-color: var(--bg-body);
  border-top: 1px solid var(--color-border);
}

.airports-section h2 {
  text-align: center;
  margin-bottom: 12px;
}

.airports-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 50px;
  font-weight: 400;
}

.airports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.airport-card {
  background: var(--bg-dark);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px 22px 22px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.airport-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(46, 111, 194, 0.15);
}

.airport-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: rgba(46, 111, 194, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.airport-card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent-light);
}

.airport-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 6px;
}

.airport-card-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.airport-card-toggle .chevron-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent-light);
  transition: transform 0.3s ease;
}

.airport-card-toggle[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.airport-card-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.airport-card-dropdown.open {
  max-height: 400px;
}

.airport-card-dropdown ul {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
  text-align: left;
}

.airport-card-dropdown li {
  padding: 9px 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.airport-card-dropdown li:last-child {
  border-bottom: none;
}

.airport-code {
  display: inline-block;
  background: rgba(46, 111, 194, 0.18);
  color: var(--color-accent-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 3px;
  min-width: 36px;
  text-align: center;
}

@media (max-width: 992px) {
  .airports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .airports-grid {
    grid-template-columns: 1fr;
  }
}

/* --- SERVICES SECTION --- */
.services-section {
  padding: 80px 0;
  background-color: var(--bg-body);
  border-top: 1px solid var(--color-border);
}

.services-section h2 {
  text-align: center;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(46, 111, 194, 0.2);
  transform: translateY(-5px);
}

.service-card-image {
  height: 200px;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card h3 {
  color: var(--color-accent);
  padding: 25px 25px 15px 25px;
  font-size: 20px;
}

.service-card p {
  padding: 0 25px 15px 25px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.service-card ul {
  padding: 0 25px 20px 25px;
  list-style: none;
}

.service-card ul li {
  color: var(--color-text-secondary);
  font-size: 14px;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.service-card .btn {
  margin: 0 25px 25px 25px;
}

/* --- ABOUT SECTIONS --- */
.about-section {
  padding: 100px 0;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  transform: none !important;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 47, 94, 0.85) 0%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 0;
}

.about-section.dark {
  background-image: none !important;
  background-color: var(--bg-dark);
}

.about-section.dark::before {
  display: none;
}

.about-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2,
.about-content h3 {
  margin-bottom: 20px;
}

.about-content h2.accent,
.about-content h3.accent {
  color: var(--color-accent);
}

.about-content p {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* --- USP SECTION --- */
.usp-section {
  padding: 80px 0;
  background-color: var(--bg-body);
  border-top: 1px solid var(--color-border);
}

.usp-section h2 {
  text-align: center;
  margin-bottom: 60px;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.usp-item {
  text-align: center;
  padding: 30px;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.usp-item:hover {
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(46, 111, 194, 0.2);
  transform: translateY(-5px);
}

.usp-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usp-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--color-accent);
}

.usp-item h4 {
  color: var(--color-accent);
  margin-bottom: 15px;
  font-size: 18px;
}

.usp-item p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
  padding: 100px 0;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 47, 94, 0.7) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 0;
}

.testimonials-section h2 {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-carousel {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-card {
  display: none;
  max-width: 700px;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

.testimonial-card.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  color: var(--color-white);
  margin-bottom: 30px;
  line-height: 1.8;
}

.testimonial-text::before {
  content: '"';
  font-size: 48px;
  color: var(--color-accent);
  display: block;
  height: 0;
  margin-bottom: 10px;
}

.testimonial-text::after {
  content: '"';
  font-size: 48px;
  color: var(--color-accent);
  display: block;
  height: 0;
  margin-top: 10px;
}

.testimonial-author {
  color: var(--color-accent);
  font-weight: 600;
}

/* --- FAQ SECTION --- */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-body);
  border-top: 1px solid var(--color-border);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 60px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 15px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: var(--color-accent);
}

.accordion-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  transition: var(--transition);
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--color-border);
}

.accordion-header:hover {
  background-color: rgba(46, 111, 194, 0.05);
  color: var(--color-accent);
}

.accordion-toggle {
  display: inline-block;
  width: 25px;
  height: 25px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: bold;
  transition: var(--transition);
  flex-shrink: 0;
}

.accordion-item.open .accordion-header {
  background-color: rgba(46, 111, 194, 0.1);
}

.accordion-item.open .accordion-toggle {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.accordion-item.open .accordion-content {
  max-height: 500px;
  padding: 20px;
}

.accordion-content p {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* --- CONTACT CTA SECTION --- */
.contact-cta {
  padding: 60px 0;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/contact-cta-bg.webp') center/cover no-repeat;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.contact-cta h2 {
  margin-bottom: 30px;
}

.contact-cta-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-cta-phone a {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
}

.contact-cta-phone a:hover {
  color: var(--color-accent-light);
}

/* --- CONTACT FORM SECTION --- */
.contact-form-section {
  padding: 80px 0;
  background-color: var(--bg-body);
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: 60px;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--color-text);
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(46, 111, 194, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* .phone-input-wrapper and .phone-country-select are defined at the end of the file */

.phone-input-wrapper input {
  flex: 1;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}

.consent-link {
  color: var(--color-accent);
  text-decoration: underline;
}

.consent-link:hover {
  color: var(--color-accent-light);
}

.form-submit {
  width: 100%;
  padding: 15px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.form-submit:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

/* --- FOOTER --- */
.site-footer {
  background-color: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 50px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
  max-width: 1212px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.footer-column {
  color: rgba(153,169,181,1);
}

.footer-column h4 {
  color: #2e6fc2;
  margin-bottom: 18px;
  font-size: 19px;
  font-weight: 500;
  font-family: 'Figtree', sans-serif;
}

.footer-column p {
  font-size: 16px;
  line-height: 25px;
  color: rgba(153,169,181,1);
  margin-bottom: 4px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 17px;
  color: rgba(153,169,181,1);
}

.footer-column ul a {
  color: #fff;
  font-weight: 500;
  font-size: 17px;
  transition: color 0.3s;
}

.footer-column ul a:hover {
  color: #2e6fc2;
}

.footer-logo {
  height: 50px;
  margin-bottom: 15px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  color: rgba(153,169,181,1);
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #2e6fc2;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  color: rgba(153,169,181,1);
  line-height: 25px;
}

.footer-contact-item a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact-item a:hover {
  color: #2e6fc2;
}

.footer-bottom {
  max-width: 1212px;
  margin: 0 auto;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(153,169,181,0.7);
}

.footer-bottom a {
  color: rgba(153,169,181,0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #2e6fc2;
}

/* --- FLOATING WHATSAPP BUTTON --- */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 28px;
  z-index: 50;
  box-shadow: var(--shadow-heavy);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: #20ba61;
}

/* --- SCROLL TO TOP BUTTON --- */
#scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 20px;
  z-index: 50;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-heavy);
}

#scroll-to-top.show,
#scroll-to-top.visible {
  display: flex;
}

#scroll-to-top:hover {
  background-color: var(--color-accent-light);
  transform: scale(1.1);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .main-nav ul {
    gap: 25px;
  }

  .cars-carousel {
    gap: 20px;
  }

  .car-card {
    flex: 0 0 calc((100% - 60px) / 3);
    min-width: 180px;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-whatsapp {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-content {
    padding: 0 20px;
  }

  /* Owl Carousel handles responsive car cards */

  /* Owl Carousel handles responsive brands */

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-section {
    padding: 60px 0;
  }

  .contact-cta {
    padding: 40px 0;
  }

  section {
    padding: 40px 0;
  }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    left: 20px;
  }

  #scroll-to-top {
    width: 45px;
    height: 45px;
    font-size: 18px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: var(--font-size-h1-mobile);
  }

  h2 {
    font-size: var(--font-size-h2-mobile);
  }

  .container {
    padding: 0 15px;
  }

  .hero-section {
    height: 70vh;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 13px;
  }

  /* Owl Carousel handles responsive at 480px */

  .usp-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    gap: 10px;
  }

  .main-nav ul {
    gap: 15px;
  }

  .dropdown-menu {
    min-width: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- PRINT STYLES --- */
@media print {
  .site-header,
  .top-bar,
  .floating-whatsapp,
  #scroll-to-top,
  .carousel-nav {
    display: none !important;
  }

  body {
    background-color: var(--color-white);
    color: var(--color-text);
  }

  a {
    color: var(--color-primary);
  }
}

/* ============================================
   BRAND MEGAMENU - Grid with Logos
   ============================================ */
.brand-megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background-color: rgba(17, 17, 17, 0.97);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 25px 20px 15px;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 200;
  backdrop-filter: blur(12px);
  width: 680px;
}

.nav-dropdown:hover > .brand-megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.brand-megamenu-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.brand-megamenu-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.brand-megamenu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px 10px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  gap: 8px;
}

.brand-megamenu-item:hover {
  background-color: rgba(46, 111, 194, 0.1);
  border-color: var(--color-border);
}

.brand-megamenu-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.brand-megamenu-item:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(74, 143, 224, 0.5));
  transform: scale(1.1);
}

.brand-megamenu-item span {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  transition: var(--transition);
}

.brand-megamenu-item:hover span {
  color: var(--color-accent-light);
}

/* Brand megamenu responsive */
@media (max-width: 768px) {
  .brand-megamenu {
    width: 95vw;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 10px;
    position: fixed;
    top: auto;
  }

  .brand-megamenu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .brand-megamenu-item img {
    width: 30px;
    height: 30px;
  }

  .brand-megamenu-item span {
    font-size: 0.6rem;
  }
}

/* ============================================
   OWL CAROUSEL CUSTOMIZATION
   ============================================ */

/* Owl Nav Arrows */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50% !important;
  background-color: rgba(46, 111, 194, 0.8) !important;
  color: var(--color-white) !important;
  font-size: 22px !important;
  transition: var(--transition);
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 10;
}

.owl-carousel .owl-nav button.owl-prev {
  left: 5px;
}

.owl-carousel .owl-nav button.owl-next {
  right: 5px;
}

.cars-carousel .owl-nav button.owl-prev {
  left: 0;
}

.cars-carousel .owl-nav button.owl-next {
  right: 0;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background-color: var(--color-accent-light) !important;
  transform: translateY(-50%) scale(1.1);
}

/* Owl Dots */
.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 25px;
}

.owl-carousel .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: var(--color-border);
  border-radius: 50%;
  display: inline-block;
  transition: var(--transition);
}

.owl-carousel .owl-dots .owl-dot.active span {
  background: var(--color-accent);
  width: 25px;
  border-radius: 5px;
}

/* Cars Carousel specific */
.cars-section {
  position: relative;
}

.cars-carousel .owl-stage-outer {
  padding: 10px 0;
}

.cars-carousel .car-card {
  margin: 0;
}

/* Brands Carousel specific */
.brands-carousel .brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 10px;
  text-decoration: none;
  transition: var(--transition);
}

.brands-carousel .brand-card:hover {
  transform: translateY(-5px);
}

.brands-carousel .brand-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.brands-carousel .brand-card:hover img {
  filter: brightness(0) invert(0.7) sepia(1) saturate(5) hue-rotate(200deg);
}

.brands-carousel .brand-card span {
  font-size: 13px;
  color: var(--color-text-secondary);
  text-align: center;
  transition: var(--transition);
}

.brands-carousel .brand-card:hover span {
  color: var(--color-accent-light);
}

/* Services Carousel */
.services-carousel .service-card {
  margin: 0;
}

/* ============================================
   TESTIMONIAL ENHANCEMENTS
   ============================================ */
.testimonial-stars {
  color: #f5c518;
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: 3px;
}

.testimonial-city {
  color: var(--color-accent);
  font-size: 13px;
  margin-top: 5px;
}

/* ============================================
   PHONE COUNTRY SELECTOR
   ============================================ */
.phone-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
}

.phone-country-select {
  background-color: var(--bg-dark);
  color: var(--color-white);
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 12px 8px;
  font-size: 14px;
  min-width: 90px;
  cursor: pointer;
}

.phone-country-select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.phone-input-wrapper input[type="tel"] {
  border-radius: 0 var(--radius) var(--radius) 0 !important;
}

/* ============================================
   CAR CARD IMAGE LINK
   ============================================ */
.car-card-image a,
.car-card > a {
  display: block;
  text-decoration: none;
}

/* ============================================
   LOCATION PAGE STYLES
   Exact match to Budy Luxury Rent measurements
   ============================================ */

/* --- Container (Budy: 1172px) --- */
.loc-container {
  max-width: 1172px;
  margin: 0 auto;
  padding: 0 21px;
}

/* --- Hero (Budy: 203px, bg cover center, H1 50px Figtree 500 center) --- */
.loc-hero {
  height: 203px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: 50% 50%;
  position: relative;
  margin-top: 0;
}
.loc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
.loc-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.loc-hero h1 {
  font-family: 'Figtree', sans-serif;
  font-size: 50px;
  font-weight: 500;
  color: #fff;
  line-height: 69px;
  margin: 0;
  text-align: center;
}
.loc-breadcrumb {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  color: #fff;
  text-align: center;
  margin-top: 8px;
}
.loc-breadcrumb a {
  color: #fff;
  text-decoration: none;
}
.loc-breadcrumb a:hover {
  color: var(--color-accent-light);
}
.loc-breadcrumb span {
  margin: 0 8px;
  color: rgba(255,255,255,0.6);
}

/* --- Content Section (Budy: padding 50px 0 100px) --- */
.loc-content-section {
  padding: 50px 0 100px;
  background: #000;
}

/* --- Intro Text (Budy: 16px Figtree, line-height 25px, white) --- */
.loc-intro-text {
  margin-bottom: 40px;
}
.loc-intro-text p {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 25px;
  color: #fff;
  margin: 0 0 20px;
  text-align: left;
}
.loc-intro-text p:last-child {
  margin-bottom: 0;
}

/* --- H2 (Budy: 29px Figtree 500 center, line-height 53px) --- */
.loc-h2 {
  font-family: 'Figtree', sans-serif;
  font-size: 29px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  line-height: 53px;
  margin: 50px 0 30px;
}

/* --- Bootstrap-like grid (Budy uses col-lg-2 = 6 per row) --- */
.loc-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.loc-row .clearfix {
  width: 100%;
  height: 0;
  clear: both;
}

/* Country heading full-width (Budy: H3 30px Figtree 500, HR 0.8px solid #eee) */
.loc-row .col-sm-12.col-md-12.col-lg-12 {
  width: 100%;
  padding: 20px 10px 0;
}
.loc-row .col-sm-12.col-md-12.col-lg-12 h3 {
  font-family: 'Figtree', sans-serif;
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  margin: 0;
  line-height: 30px;
}
.loc-row .col-sm-12.col-md-12.col-lg-12 hr {
  border: none;
  border-top: 0.8px solid #eee;
  margin: 0;
}

/* City card columns (Budy: col-lg-2 = 16.666%) */
.col-xs-6 { width: 50%; }
.col-sm-3 { }
.col-md-3 { }
.col-lg-2 { }

.loc-row .col-xs-6.col-sm-3.col-md-3.col-lg-2 {
  width: 16.6666%;
  padding: 10px;
  box-sizing: border-box;
}

/* City card (Budy: .marchio, 154px wide, link 144x160, image 115x115) */
.loc-marchio {
  padding: 0 5px;
  text-align: center;
}
.loc-link-marchio {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.loc-image-bg {
  width: 115px;
  height: 115px;
  background-size: cover;
  background-position: 50% 50%;
  background-color: #1a1a2e;
  margin: 0 auto;
}
.loc-link-marchio span {
  display: block;
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  line-height: 25px;
  margin-top: 5px;
}
.loc-link-marchio:hover span {
  color: var(--color-accent-light);
}
.loc-link-marchio:hover .loc-image-bg {
  opacity: 0.8;
  transition: opacity 0.3s;
}

/* --- Form Section (Budy: "Richiedi un preventivo Gratuito") --- */
.loc-form-section {
  padding: 60px 0 80px;
  background: #0a0a0a;
}
.loc-form-title {
  font-family: 'Figtree', sans-serif;
  font-size: 29px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  margin: 0 0 40px;
}
.loc-form {
  max-width: 900px;
  margin: 0 auto;
}
.loc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.loc-form-field {
  display: flex;
  flex-direction: column;
}
.loc-form-field label {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}
.loc-form-field input,
.loc-form-field select,
.loc-form-field textarea {
  background: #111;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: #fff;
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'Figtree', sans-serif;
  transition: border-color 0.3s;
}
.loc-form-field input:focus,
.loc-form-field select:focus,
.loc-form-field textarea:focus {
  border-color: var(--color-accent);
  outline: none;
}
.loc-form-field input::placeholder,
.loc-form-field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.loc-form-field select option {
  background: #111;
  color: #fff;
}
.loc-form-field textarea {
  resize: vertical;
  min-height: 100px;
}
.loc-form-full {
  margin-bottom: 16px;
}
.loc-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.loc-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-accent);
}
.loc-checkbox a {
  color: var(--color-accent-light);
  text-decoration: underline;
}
.loc-form-submit {
  width: 100%;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Figtree', sans-serif;
}
.loc-form-submit:hover {
  background: var(--color-accent-light);
}
.loc-form-msg {
  display: none;
  margin-top: 16px;
  text-align: center;
}

/* --- Location Page Responsive --- */
@media (max-width: 1200px) {
  .loc-row .col-xs-6.col-sm-3.col-md-3.col-lg-2 {
    width: 25%;
  }
}
@media (max-width: 992px) {
  .loc-hero h1 {
    font-size: 36px;
    line-height: 1.3;
  }
  .loc-row .col-xs-6.col-sm-3.col-md-3.col-lg-2 {
    width: 33.333%;
  }
  .loc-h2 {
    font-size: 24px;
  }
}
@media (max-width: 768px) {
  .loc-hero {
    height: 160px;
  }
  .loc-hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  .loc-row .col-xs-6.col-sm-3.col-md-3.col-lg-2 {
    width: 50%;
  }
  .loc-image-bg {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
  }
  .loc-form-grid {
    grid-template-columns: 1fr;
  }
  .loc-row .col-sm-12.col-md-12.col-lg-12 h3 {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .loc-hero h1 {
    font-size: 22px;
  }
  .loc-breadcrumb {
    font-size: 14px;
  }
}

/* ============================================================
   CITY PAGE (Individual Location) - Matches Budy Luxury Rent
   ============================================================ */

/* Container */
.city-container {
  max-width: 1212px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero - 291px, bg image + dark overlay, centered H1 + breadcrumb */
.city-hero {
  position: relative;
  height: 291px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.city-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.city-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1212px;
  padding: 0 15px;
}
.city-hero h1 {
  font-family: 'Figtree', sans-serif;
  font-size: 50px;
  font-weight: 500;
  color: #ffffff;
  line-height: 69px;
  margin: 0 0 15px 0;
  text-align: center;
}
.city-breadcrumb {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
}
.city-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}
.city-breadcrumb a:hover {
  color: var(--color-accent-light, #4a8fe0);
}
.city-breadcrumb span {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.7);
}
.city-breadcrumb .current {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Description section */
.city-desc-section {
  padding: 50px 0 30px;
  background: #000000;
}
.city-description {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 25px;
  color: #ffffff;
  margin: 0;
  text-align: left;
}

/* Cars section */
.city-cars-section {
  padding: 30px 0 50px;
  background: #000000;
}
.city-cars-title {
  font-family: 'Figtree', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  margin: 0 0 40px 0;
}

/* Cars grid layout */
.city-cars-layout {
  display: flex;
  gap: 0;
}
.city-cars-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
  width: 100%;
}
.city-cars-grid .city-card {
  padding: 0 5px;
  margin-bottom: 10px;
  box-sizing: border-box;
}
.city-cars-grid .col-md-4 {
  width: 33.333%;
}
.city-cars-grid .col-sm-6 {
  /* handled by media query */
}
.city-cars-grid .col-xs-12 {
  /* handled by media query */
}

/* Individual car card */
.city-card-inner {
  background: transparent;
  overflow: visible;
}
.city-card-image {
  position: relative;
  overflow: hidden;
}
.city-card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3.2;
  object-fit: cover;
  display: block;
}
.city-card-image a {
  display: block;
}
.city-card-body {
  padding: 10px 0 15px;
}
.city-card-title {
  font-family: 'Figtree', sans-serif;
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 8px 0;
  line-height: 1.4;
}
.city-card-title a {
  color: #ffffff;
  text-decoration: none;
}
.city-card-title a:hover {
  color: var(--color-accent-light, #4a8fe0);
}
.city-card-price-label {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.city-card-price {
  font-family: 'Figtree', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #2e6fc2;
  margin: 0 0 10px 0;
}
.city-card-btn {
  display: block;
  width: 100%;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  background: #2e6fc2;
  border: 2px solid #2e6fc2;
  border-radius: 3px;
  padding: 8px 10px;
  height: 45px;
  box-sizing: border-box;
  transition: background 0.3s, border-color 0.3s;
}
.city-card-btn:hover {
  background: #4a8fe0;
  border-color: #4a8fe0;
  color: #ffffff;
}
.city-card-specs {
  margin-top: 12px;
  padding-top: 8px;
}
.city-card-specs .spec-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 6px 7px;
  border-bottom: 0.8px solid rgba(255, 255, 255, 0.1);
  gap: 10px;
}
.city-card-specs .spec-item:last-child {
  border-bottom: none;
}
.city-card-specs .spec-label {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  flex-shrink: 0;
}
.city-card-specs .spec-value {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  text-align: right;
}

/* Sidebar filters */
.city-sidebar {
  width: 220px;
  flex-shrink: 0;
  margin-right: 20px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}
.city-filter-group {
  margin-bottom: 18px;
}
.city-filter-group label {
  display: block;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 6px;
}
.city-filter-group select {
  width: 100%;
  padding: 8px 10px;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  background: #111111;
  color: #ffffff;
  border: 1px solid #333;
  border-radius: 3px;
  appearance: auto;
}
.city-filter-btn {
  display: block;
  width: 100%;
  padding: 10px;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  background: #2e6fc2;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s;
}
.city-filter-btn:hover {
  background: #4a8fe0;
}

/* Disclaimer */
.city-disclaimer {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 30px;
  text-align: center;
  line-height: 1.6;
}

/* Contact form section */
.city-form-section {
  padding: 60px 0;
  background: #0a0a0a;
}
.city-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: #111111;
  padding: 40px;
  border-radius: 4px;
}
.city-form-title {
  font-family: 'Figtree', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  margin: 0 0 8px 0;
}
.city-form-subtitle {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin: 0 0 30px 0;
}
.city-form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
.city-form-group {
  flex: 1;
  margin-bottom: 15px;
}
.city-form-row .city-form-group {
  margin-bottom: 0;
}
.city-form-group input,
.city-form-group select,
.city-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  color: #ffffff;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.city-form-group input:focus,
.city-form-group select:focus,
.city-form-group textarea:focus {
  border-color: var(--color-accent, #2e6fc2);
  outline: none;
}
.city-form-group input::placeholder,
.city-form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}
.city-form-group select option {
  background: #1a1a1a;
  color: #ffffff;
}
.city-form-checkbox {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.city-form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-accent, #2e6fc2);
}
.city-form-checkbox label {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.city-form-checkbox a {
  color: var(--color-accent-light, #4a8fe0);
  text-decoration: underline;
}
.city-form-submit {
  width: 100%;
  padding: 14px 40px;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 600;
  background: var(--color-accent, #2e6fc2);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.city-form-submit:hover {
  background: var(--color-accent-light, #4a8fe0);
}

/* City Page Responsive */
@media (max-width: 992px) {
  .city-hero h1 {
    font-size: 36px;
    line-height: 1.3;
  }
  .city-cars-grid .col-md-4 {
    width: 50%;
  }
}
@media (max-width: 768px) {
  .city-hero {
    height: 200px;
    padding: 20px 0;
  }
  .city-hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  .city-breadcrumb {
    font-size: 14px;
  }
  .city-cars-grid .col-md-4,
  .city-cars-grid .col-sm-6 {
    width: 50%;
  }
  .city-form-row {
    flex-direction: column;
    gap: 0;
  }
  .city-form-wrapper {
    padding: 25px;
  }
  .city-desc-section {
    padding: 30px 0 20px;
  }
}
@media (max-width: 480px) {
  .city-hero h1 {
    font-size: 22px;
  }
  .city-cars-grid .col-md-4,
  .city-cars-grid .col-sm-6,
  .city-cars-grid .col-xs-12 {
    width: 100%;
  }
}

/* ========== BRAND DETAIL PAGE — pixel-perfect Budy replica ========== */

/* Brand Hero — Budy: section ~477px total, overlay black 0.65, bg cover 50% 0% */
.brand-hero {
  position: relative;
  min-height: 361px;
  background-size: cover;
  background-position: 50% 0%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 40px;
}
.brand-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgb(0, 0, 0);
  opacity: 0.65;
  z-index: 1;
}
.brand-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1212px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Brand logo — Budy: ~100px with white circular background */
.brand-hero-logo {
  margin-bottom: 15px;
  text-align: center;
}
.brand-hero-logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 12px;
}

/* H1 — Budy: Figtree 50px/69px, weight 500, white, centered */
.brand-hero h1 {
  font-family: 'Figtree', sans-serif;
  font-size: 50px;
  font-weight: 500;
  color: #ffffff;
  line-height: 69px;
  margin: 0 0 15px 0;
  text-align: center;
}

/* Breadcrumb — Budy: 16px Figtree, links GOLD #2e6fc2, separator ">", current white */
.brand-breadcrumb {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
}
.brand-breadcrumb a {
  color: #2e6fc2;
  text-decoration: none;
  transition: color 0.3s;
}
.brand-breadcrumb a:hover {
  color: #4a8fe0;
}
.brand-breadcrumb span {
  margin: 0 6px;
  color: rgba(255,255,255,0.7);
}
.brand-breadcrumb .current {
  color: #ffffff;
  margin: 0;
}

/* "Scegli" section — Budy: padding 30px 0, black bg */
.brand-cars-section {
  padding: 30px 0;
  background: #000000;
}

/* Container — Budy: max 1212px but portfolio-row has -5px margin → effective ~1180px grid */
.brand-container {
  max-width: 1212px;
  margin: 0 auto;
  padding: 0 15px;
}

/* "Scegli" H2 — Budy: 24px Figtree 500, white, centered, padding 0 0 30px */
.brand-cars-title {
  font-family: 'Figtree', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  margin: 0;
  padding: 0 0 30px 0;
  line-height: 1.4;
}

/* Cars grid — Budy: flex-wrap, -5px margin (gutter), portfolio-set */
.brand-cars-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
  width: calc(100% + 10px);
}

/* Card column — Budy: col-md-4 = 33.333%, padding 5px */
.brand-cars-grid .bp-card {
  width: 33.333%;
  padding: 5px;
  box-sizing: border-box;
  margin-bottom: 0;
}

/* Card inner — Budy: transparent bg, NO border-radius */
.bp-card-inner {
  background: transparent;
  overflow: visible;
}

/* Card image — Budy: 442×353 = aspect 1.252:1, object-fit cover, no border-radius */
.bp-card-image {
  position: relative;
  overflow: hidden;
}
.bp-card-image img {
  width: 100%;
  aspect-ratio: 442 / 353;
  object-fit: cover;
  display: block;
}
.bp-card-image a {
  display: block;
}

/* Location badges ON the image area — Budy: below image, bg gold #2e6fc2 */
.bp-card-locations {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.bp-loc-label {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  color: #ffffff;
}
.bp-loc-badge {
  display: inline-block;
  font-family: 'Figtree', sans-serif;
  font-size: 12px;
  color: #000000;
  background: #2e6fc2;
  padding: 3px 6px;
  text-decoration: none;
  transition: background 0.3s;
  font-weight: 400;
}
.bp-loc-badge:hover {
  background: #4a8fe0;
}
.bp-loc-more {
  font-family: 'Figtree', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-left: 3px;
  font-weight: 700;
}

/* Card body — Budy: no bg, padding matches extracted layout */
.bp-card-body {
  padding: 10px 0 15px;
}

/* Brand icon in card — Budy: SVG ~44×44px */
.bp-card-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.bp-card-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 6px;
}

/* Car title — Budy: 16px Figtree 400 */
.bp-card-title {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 5px 0;
  line-height: 1.3;
}
.bp-card-title a {
  color: #ffffff;
  text-decoration: none;
}
.bp-card-title a:hover {
  color: #2e6fc2;
}

/* Price — Budy: "a partire da:" label + "€ NNN al giorno" in gold 19px 600 */
.bp-card-price-label {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.bp-card-price {
  font-family: 'Figtree', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #2e6fc2;
  margin: 0 0 10px 0;
}

/* CTA — Budy: full-width gold bg button, 45px, border 2px solid #2e6fc2, radius 3px */
.bp-card-btn {
  display: block;
  width: 100%;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  background: #2e6fc2;
  border: 2px solid #2e6fc2;
  border-radius: 3px;
  padding: 8px 10px;
  height: 45px;
  box-sizing: border-box;
  transition: background 0.3s, border-color 0.3s;
}
.bp-card-btn:hover {
  background: #4a8fe0;
  border-color: #4a8fe0;
  color: #ffffff;
}

/* Specs table — Budy: custom-fields, 14px Figtree, white, rows with padding 0 7px */
.bp-specs-table {
  margin-top: 12px;
  padding-top: 8px;
}
.bp-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 6px 7px;
  border-bottom: 0.8px solid rgba(255, 255, 255, 0.1);
  gap: 10px;
}
.bp-spec-row:last-child {
  border-bottom: none;
}
.bp-spec-label {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  flex-shrink: 0;
}
.bp-spec-value {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  text-align: right;
}

/* Disclaimer — Budy: 16px white, left-aligned, padding 30px 0 70px */
.brand-disclaimer-section {
  padding: 30px 0 70px;
  background: #000000;
}
.brand-disclaimer {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  color: #ffffff;
  line-height: 25px;
  font-weight: 400;
  text-align: left;
}

/* Brand form section */
.brand-form-section {
  padding: 60px 0;
  background: #0a0a0a;
}
.brand-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: #111111;
  padding: 40px;
  border-radius: 4px;
}
.brand-form-title {
  font-family: 'Figtree', sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  margin: 0 0 8px 0;
}
.brand-form-subtitle {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin: 0 0 30px 0;
}
.brand-form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
.brand-form-group {
  flex: 1;
  margin-bottom: 15px;
}
.brand-form-row .brand-form-group {
  margin-bottom: 0;
}
.brand-form-group input,
.brand-form-group select,
.brand-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  color: #ffffff;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.brand-form-group input:focus,
.brand-form-group select:focus,
.brand-form-group textarea:focus {
  border-color: var(--color-accent, #2e6fc2);
  outline: none;
}
.brand-form-group input::placeholder,
.brand-form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}
.brand-form-group select option {
  background: #1a1a1a;
  color: #ffffff;
}
.brand-form-checkbox {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.brand-form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-accent, #2e6fc2);
}
.brand-form-checkbox label {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.brand-form-checkbox a {
  color: var(--color-accent-light, #4a8fe0);
  text-decoration: underline;
}
.brand-form-submit {
  width: 100%;
  padding: 14px 40px;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 600;
  background: var(--color-accent, #2e6fc2);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.brand-form-submit:hover {
  background: var(--color-accent-light, #4a8fe0);
}

/* Brand Page Responsive */
@media (max-width: 992px) {
  .brand-hero h1 {
    font-size: 36px;
    line-height: 1.3;
  }
  .brand-cars-grid .bp-card {
    width: 50%;
  }
  .brand-form-title {
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .brand-hero {
    min-height: 260px;
    padding: 40px 0 30px;
  }
  .brand-hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  .brand-hero-logo img {
    width: 70px;
  }
  .brand-breadcrumb {
    font-size: 14px;
  }
  .brand-cars-grid .bp-card {
    width: 50%;
  }
  .brand-form-row {
    flex-direction: column;
    gap: 0;
  }
  .brand-form-wrapper {
    padding: 25px;
  }
  .brand-form-title {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .brand-hero h1 {
    font-size: 22px;
  }
  .brand-cars-grid .bp-card {
    width: 100%;
  }
}

/* ============================================================
   CAR DETAIL PAGES  (cd- prefix)
   Matches Budy Luxury Rent car detail layout pixel-perfect
   Font: Figtree | Accent: #2e6fc2 (gold)
   ============================================================ */

/* --- Hero / Title Bar --- */
.cd-hero {
  background: #000;
  padding: 30px 20px 15px;
  text-align: center;
}
.cd-hero h1 {
  font-family: 'Figtree', sans-serif;
  font-size: 35px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 8px;
}
.cd-breadcrumb {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.cd-breadcrumb a {
  color: #2e6fc2;
  text-decoration: none;
}
.cd-breadcrumb a:hover {
  color: #fff;
}

/* --- Main Detail Section (Gallery + Sidebar) --- */
.cd-detail {
  background: #000;
  padding: 20px 0 40px;
}
.cd-detail .cd-container {
  max-width: 100%;
  margin: 0;
  padding: 0 30px;
}
.cd-layout {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 0;
  align-items: start;
}

/* --- Gallery --- */
.cd-gallery {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.cd-gallery-track {
  display: flex;
  transition: transform 0.5s ease;
}
.cd-gallery-slide {
  min-width: calc(100% / 3);
  padding: 0 5px;
  box-sizing: border-box;
  cursor: pointer;
}
.cd-gallery-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.cd-gallery-slide img:hover {
  opacity: 0.9;
}
.cd-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cd-gallery-nav:hover {
  background: rgba(205,164,50,0.85);
}
.cd-gallery-prev { left: 10px; }
.cd-gallery-next { right: 10px; }

/* --- Sidebar --- */
.cd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 20px;
}

/* Price Box */
.cd-price-box {
  border: 2px solid #2e6fc2;
  border-radius: 3px;
  padding: 5px 21px;
  text-align: center;
  background: #000;
  margin-bottom: 20px;
}
.cd-price-label {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 4px;
}
.cd-price-value {
  font-family: 'Figtree', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #2e6fc2;
  line-height: 1.1;
}
.cd-price-period {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  margin-top: 4px;
}
.cd-price-note {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #2e6fc2;
  font-style: italic;
  margin-top: 6px;
}

/* Sidebar Specs */
.cd-specs-grid {
  padding: 0;
}
.cd-spec-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  gap: 10px;
}
.cd-spec-item:last-child {
  border-bottom: none;
}
.cd-spec-label {
  font-family: 'Figtree', sans-serif;
  color: #ffffff;
  font-weight: 600;
  font-size: 17px;
  white-space: nowrap;
}
.cd-spec-val {
  font-family: 'Figtree', sans-serif;
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  text-align: right;
}

/* CTA Button */
.cd-cta-btn {
  display: block;
  width: 100%;
  height: 54px;
  line-height: 54px;
  background: #2e6fc2;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-family: 'Figtree', sans-serif;
  font-size: 19px;
  font-weight: 400;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 20px;
}
.cd-cta-btn:hover {
  background: #b8922d;
}

/* CTA group: Preventivo + Chiama + WhatsApp */
.cd-cta-group {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cd-cta-group .cd-cta-btn {
  margin-top: 0;
}
.cd-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cd-cta-call,
.cd-cta-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  text-decoration: none;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border-radius: 3px;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}
.cd-cta-call {
  background: #0a0a0a;
  color: #fff;
  border: 1px solid #333;
}
.cd-cta-call:hover {
  background: #1a1a1a;
  border-color: #5b9eff;
  color: #5b9eff;
}
.cd-cta-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.cd-cta-wa:hover {
  background: #128c7e;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
  transform: translateY(-1px);
}
.cd-cta-call svg,
.cd-cta-wa svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .cd-cta-row {
    grid-template-columns: 1fr;
  }
}

/* --- Specifiche Section --- */
.cd-specs-section {
  background: #000;
  padding: 40px 20px;
}
.cd-specs-section .cd-container {
  max-width: 1212px;
  margin: 0 auto;
}
.cd-specs-section h2 {
  font-family: 'Figtree', sans-serif;
  font-size: 30px;
  font-weight: 500;
  color: #2e6fc2;
  margin-bottom: 30px;
}

/* Tabs */
.cd-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid #333;
}
.cd-tab-btn {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: none;
  padding: 12px 20px;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}
.cd-tab-btn.active {
  color: #2e6fc2;
  border-bottom-color: #2e6fc2;
}
.cd-tab-btn:hover {
  color: #fff;
}
.cd-tab-content {
  display: none;
}
.cd-tab-content.active {
  display: block;
}
.cd-tab-content h3 {
  font-family: 'Figtree', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-accent);
  margin: 25px 0 15px;
}
.cd-tab-content h3:first-child {
  margin-top: 0;
}
.cd-tab-content p {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 15px;
}
.cd-tab-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.cd-tab-content li {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* Description Text */
.cd-description p {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  text-align: justify;
}
.cd-description strong {
  color: #2e6fc2;
}
.cd-description h3 {
  font-family: 'Figtree', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #2e6fc2;
  margin: 30px 0 15px;
}

/* Specs Table */
.cd-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Figtree', sans-serif;
}
.cd-specs-table td {
  padding: 12px 15px;
  border: 1px solid #333;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.cd-specs-table td:first-child {
  font-weight: 600;
  color: #fff;
  width: 40%;
}
.cd-specs-table tr:hover {
  background: rgba(205,164,50,0.05);
}

/* --- Pricing Section --- */
.cd-pricing {
  background: #000;
  padding: 40px 20px;
  border-top: 1px solid #222;
}
.cd-pricing .cd-container {
  max-width: 1212px;
  margin: 0 auto;
}
.cd-pricing h2 {
  font-family: 'Figtree', sans-serif;
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 30px;
  text-align: center;
}
.cd-price-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Figtree', sans-serif;
}
.cd-price-table thead {
  background: #0d2f5e;
}
.cd-price-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  border-bottom: 2px solid #2e6fc2;
}
.cd-price-table td {
  padding: 15px;
  border-bottom: 1px solid #333;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.cd-price-table tbody tr:hover {
  background: rgba(205,164,50,0.05);
}
.cd-price-note-text {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-top: 20px;
  font-style: italic;
}

/* --- Requirements Section --- */
.cd-requirements {
  background: #000;
  padding: 40px 20px;
  border-top: 1px solid #222;
}
.cd-requirements .cd-container {
  max-width: 1212px;
  margin: 0 auto;
}
.cd-requirements h2 {
  font-family: 'Figtree', sans-serif;
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 30px;
  text-align: center;
}
.cd-req-list {
  border-left: 4px solid #2e6fc2;
  padding: 25px 30px;
}
.cd-req-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cd-req-list li {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cd-req-list li::before {
  content: "\2713";
  color: #2e6fc2;
  font-weight: 700;
  font-size: 1.2rem;
}

/* --- Related Cars --- */
.cd-related {
  background: #000;
  padding: 40px 20px;
  border-top: 1px solid #222;
}
.cd-related .cd-container {
  max-width: 1212px;
  margin: 0 auto;
}
.cd-related h2 {
  font-family: 'Figtree', sans-serif;
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 30px;
  text-align: center;
}
.cd-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}
.cd-related-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.3s;
}
.cd-related-card:hover {
  transform: translateY(-5px);
}
.cd-related-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.cd-related-body {
  padding: 20px;
}
.cd-related-brand {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  color: #2e6fc2;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.cd-related-name {
  font-family: 'Figtree', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 12px;
}
.cd-related-price {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 15px;
}
.cd-related-price strong {
  color: #2e6fc2;
  font-size: 18px;
}
.cd-related-btn {
  display: block;
  width: 100%;
  height: 45px;
  line-height: 45px;
  background: #2e6fc2;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: 3px;
  transition: background 0.3s;
}
.cd-related-btn:hover {
  background: #b8922d;
}

/* --- Contact Form (car detail) --- */
.cd-form-section {
  background: #000;
  padding: 40px 20px;
  border-top: 1px solid #222;
}
.cd-form-section .cd-container {
  max-width: 1212px;
  margin: 0 auto;
}
.cd-form-section h2 {
  font-family: 'Figtree', sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 25px;
  text-align: center;
}
.cd-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cd-form-group {
  display: flex;
  flex-direction: column;
}
.cd-form-group.cd-full {
  grid-column: 1 / -1;
}
.cd-form-group label {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 400;
  color: rgba(140,140,140,1);
}
.cd-form-group label .cd-req {
  color: #2e6fc2;
}
.cd-form-group input,
.cd-form-group select,
.cd-form-group textarea {
  padding: 12px 20px;
  height: 51px;
  background: #060606;
  border: 1px solid #3c3c3c;
  border-radius: 0;
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.cd-form-group input:focus,
.cd-form-group select:focus,
.cd-form-group textarea:focus {
  outline: none;
  border-color: #2e6fc2;
}
.cd-form-group textarea {
  min-height: 120px;
  height: auto;
  resize: vertical;
}
.cd-form-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 10px 0;
}
.cd-form-consent input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.cd-form-consent label {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  cursor: pointer;
}
.cd-form-consent a {
  color: #2e6fc2;
}
.cd-form-submit {
  grid-column: 1 / -1;
  height: 50px;
  background: #2e6fc2;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-family: 'Figtree', sans-serif;
  font-size: 19px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  max-width: 300px;
  margin: 10px auto 0;
}
.cd-form-submit:hover {
  background: #1e5aa8;
}

/* --- Lightbox --- */
.cd-lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}
.cd-lightbox.active { display: flex; }
.cd-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
}
.cd-lightbox-close {
  position: absolute; top: 15px; right: 25px;
  color: #fff; font-size: 2.5rem; cursor: pointer;
  background: none; border: none; z-index: 10001;
}
.cd-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 2.5rem; cursor: pointer;
  background: rgba(0,0,0,0.4); border: none;
  width: 55px; height: 55px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 10001;
}
.cd-lightbox-prev { left: 15px; }
.cd-lightbox-next { right: 15px; }

/* --- Car Detail Responsive --- */
@media (max-width: 768px) {
  .cd-layout {
    grid-template-columns: 1fr;
  }
  .cd-gallery-slide {
    min-width: 100%;
  }
  .cd-gallery-slide img {
    height: 280px;
  }
  .cd-sidebar {
    padding-left: 0;
    padding: 0 15px;
  }
  .cd-hero h1 {
    font-size: 24px;
  }
  .cd-form-grid {
    grid-template-columns: 1fr;
  }
  .cd-related-grid {
    grid-template-columns: 1fr;
  }
  .cd-tabs {
    flex-wrap: wrap;
  }
}

/* --- CD SERVICE SPECS SECTION --- */
.cd-service-specs {
  padding: 40px 0;
  background: var(--bg-card);
}
.cd-service-specs .cd-container {
  max-width: 1212px;
  margin: 0 auto;
  padding: 0 20px;
}
.cd-service-specs h2 {
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
}

/* --- CD LIST (accessori / optional) --- */
.cd-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cd-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 15px;
  position: relative;
  padding-left: 20px;
}
.cd-list li::before {
  content: "\2713";
  color: var(--color-accent);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* --- CD FINAL CTA --- */
.cd-final-cta {
  padding: 40px 0;
  text-align: center;
  background: var(--bg-dark);
}
.cd-final-cta .cd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.cd-final-cta h5 {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 25px;
}
.cd-cta-btn-large {
  display: inline-block;
  background: var(--color-accent);
  color: #000;
  padding: 16px 50px;
  border-radius: 3px;
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.cd-cta-btn-large:hover {
  background: #b8922b;
  transform: translateY(-2px);
}

/* --- CD FLOATING CTA --- */
.cd-floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--color-accent);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.cd-floating-cta:hover {
  background: #b8922b;
}

/* ============================================
   ACCORDION SERVICE SPECS (Budy-style)
   ============================================ */
.cd-accordion { border: 1px solid rgba(255,255,255,0.15); margin-bottom: 0; }
.cd-accordion-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; cursor: pointer; background: transparent; border: none; width: 100%; color: #fff; font-family: 'Figtree', sans-serif; font-size: 15px; font-weight: 400; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); transition: background 0.3s; }
.cd-accordion-header:hover { background: rgba(255,255,255,0.03); }
.cd-accordion-icon { font-size: 18px; font-weight: 300; color: #fff; transition: transform 0.3s; line-height: 1; }
.cd-accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.cd-accordion.active .cd-accordion-body { max-height: 2000px; }
.cd-accordion.active .cd-accordion-icon { transform: rotate(45deg); }
.cd-accordion-content { padding: 20px; color: rgba(255,255,255,0.85); line-height: 25px; font-size: 16px; }
.cd-accordion-content p { margin-bottom: 17px; }
.cd-accordion-content ul { padding-left: 20px; margin-bottom: 10px; }
.cd-accordion-content li { margin-bottom: 5px; }
.cd-accordion-content strong { color: #fff; }

/* ============================================
   RELATED CARS CAROUSEL (Budy-style)
   ============================================ */
.cd-related-section { background: #0a0a0a; padding: 40px 0 30px; }
.cd-related-section .cd-container { max-width: 1212px; margin: 0 auto; padding: 0 20px; }
.cd-related-section h2 { text-align: center; color: #fff; font-family: 'Figtree', sans-serif; font-size: 36px; font-weight: 500; margin-bottom: 25px; font-style: italic; }
.cd-rel-viewport { position: relative; overflow: hidden; }
.cd-rel-track { display: flex; transition: transform 0.5s ease; }
.cd-rel-slide { flex: 0 0 20%; padding: 0 5px; box-sizing: border-box; }
@media(max-width:1200px) { .cd-rel-slide { flex: 0 0 25%; } }
@media(max-width:992px) { .cd-rel-slide { flex: 0 0 33.333%; } }
@media(max-width:768px) { .cd-rel-slide { flex: 0 0 50%; } }
@media(max-width:480px) { .cd-rel-slide { flex: 0 0 100%; } }
.cd-rel-card { display: block; background: #000; text-decoration: none; color: #fff; overflow: hidden; transition: transform 0.3s; }
.cd-rel-card:hover { transform: translateY(-4px); }
.cd-rel-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #111; }
.cd-rel-img img { width: 100%; height: 100%; object-fit: cover; }
.cd-rel-locs { position: absolute; bottom: 0; left: 0; right: 0; padding: 6px 8px; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent); }
.cd-rel-locs > span { display: block; font-size: 10px; color: rgba(255,255,255,0.7); margin-bottom: 3px; }
.cd-rel-badges { display: flex; gap: 3px; flex-wrap: wrap; }
.cd-rel-badge { background: #2e6fc2; color: #fff; font-size: 10px; padding: 1px 6px; font-weight: 600; }
.cd-rel-badge-more { color: rgba(255,255,255,0.6); font-size: 10px; padding: 1px 3px; }
.cd-rel-info { padding: 12px 12px 10px; }
.cd-rel-brand-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cd-rel-brand-logo { width: 32px; height: 32px; object-fit: contain; filter: brightness(0) invert(1); }
.cd-rel-car-name { font-size: 17px; font-weight: 500; color: #fff; line-height: 1.1; }
.cd-rel-price { font-size: 14px; color: rgba(255,255,255,0.85); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 8px; }
.cd-rel-price strong { color: #2e6fc2; font-size: 17px; font-weight: 600; }
.cd-rel-cta { display: flex; align-items: center; justify-content: center; background: #2e6fc2; color: #fff; text-align: center; height: 45px; padding: 8px 10px; font-size: 16px; font-weight: 400; font-family: 'Figtree', sans-serif; transition: background 0.3s; }
.cd-rel-cta:hover { background: #1e5aa8; }
.cd-rel-nav { position: absolute; top: 50%; transform: translateY(-80%); background: rgba(0,0,0,0.5); color: #fff; border: none; font-size: 24px; padding: 8px 12px; cursor: pointer; z-index: 5; transition: background 0.3s; }
.cd-rel-nav:hover { background: rgba(0,0,0,0.8); }
.cd-rel-prev { left: 0; }
.cd-rel-next { right: 0; }

/* ============================================
   BRANDS MARQUEE SECTION (Budy-style)
   ============================================ */
.cd-brands-section { background: #000; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.cd-brands-section .cd-container { max-width: 1212px; margin: 0 auto; padding: 0 20px; }
.cd-brands-section h2 { text-align: center; color: #fff; font-family: 'Figtree', sans-serif; font-size: 36px; font-weight: 500; margin-bottom: 20px; font-style: italic; }
.cd-brands-marquee { overflow: hidden; position: relative; }
.cd-brands-track { display: flex; animation: cdMarquee 30s linear infinite; width: max-content; }
.cd-brands-marquee:hover .cd-brands-track { animation-play-state: paused; }
.cd-brand-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 20px; text-decoration: none; flex-shrink: 0; }
.cd-brand-item img { width: 42px; height: 42px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.7; transition: opacity 0.3s; }
.cd-brand-item:hover img { opacity: 1; }
.cd-brand-item span { font-size: 11px; color: rgba(255,255,255,0.6); font-family: 'Figtree', sans-serif; white-space: nowrap; }
@keyframes cdMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================
   SERVICE PAGES STYLES (svc- prefix)
   ============================================ */

/* Hero Section */
.svc-hero {
  position: relative;
  height: 291px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.svc-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.svc-hero h1 {
  font-family: 'Figtree', sans-serif;
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.svc-breadcrumb {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  color: white;
}

.svc-breadcrumb a {
  color: #2e6fc2;
  text-decoration: none;
}

.svc-breadcrumb a:hover {
  color: #4a8fe0;
}

.svc-breadcrumb span {
  color: #999999;
  margin: 0 8px;
}

/* Description Section */
.svc-desc-section {
  padding: 50px 0 30px;
  background: #000;
}

.svc-desc-container {
  max-width: 1212px;
  margin: 0 auto;
  padding: 0 20px;
}

.svc-description {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  color: #fff;
  line-height: 25px;
  margin-bottom: 20px;
}

.svc-desc-heading {
  font-family: 'Figtree', sans-serif;
  font-size: 20px;
  color: #2e6fc2;
  margin: 30px 0 10px;
  font-weight: 500;
}

.svc-desc-price {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  color: #fff;
  line-height: 25px;
}

.svc-desc-price strong {
  color: #2e6fc2;
  font-weight: 600;
}

/* Fleet Section */
.svc-fleet-section {
  padding: 30px 0 50px;
  background: #000;
}

.svc-fleet-container {
  max-width: 1212px;
  margin: 0 auto;
  padding: 0 20px;
}

.svc-fleet-title {
  font-family: 'Figtree', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: white;
  text-align: center;
  margin-bottom: 40px;
}

.svc-fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.svc-card {
  background: #111;
  border: 1px solid #333;
  transition: all 0.3s ease;
  overflow: hidden;
}

.svc-card:hover {
  border-color: #2e6fc2;
  box-shadow: 0 4px 15px rgba(46, 111, 194, 0.2);
}

.svc-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #1a1a1a;
}

.svc-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.svc-card:hover .svc-card-image img {
  transform: scale(1.05);
}

.svc-card-body {
  padding: 20px;
}

.svc-card-title {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}

.svc-card-price-label {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  color: #999;
  margin-bottom: 5px;
  display: block;
}

.svc-card-price {
  font-family: 'Figtree', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #2e6fc2;
  margin-bottom: 15px;
}

.svc-card-btn {
  display: inline-block;
  width: 100%;
  padding: 10px 15px;
  background: #2e6fc2;
  color: white;
  text-align: center;
  text-decoration: none;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.svc-card-btn:hover {
  background: #4a8fe0;
}

/* Price Table Section */
.svc-price-table-section {
  padding: 50px 0;
  background: #000;
}

.svc-price-table-container {
  max-width: 1212px;
  margin: 0 auto;
  padding: 0 20px;
}

.svc-price-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Figtree', sans-serif;
  background: #111;
  border: 1px solid #333;
}

.svc-price-table th {
  background: #1a1a1a;
  color: #fff;
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #333;
  font-weight: 600;
  font-size: 14px;
}

.svc-price-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
}

.svc-price-table tr:hover {
  background: #1a1a1a;
}

/* How It Works Section */
.svc-howto-section {
  position: relative;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  color: white;
}

.svc-howto-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.svc-howto-container {
  max-width: 1212px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.svc-howto-title {
  font-family: 'Figtree', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #2e6fc2;
  text-align: center;
  margin-bottom: 60px;
}

.svc-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.svc-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #2e6fc2;
  transform: translateX(-50%);
}

.svc-timeline-step {
  margin-bottom: 50px;
  position: relative;
}

.svc-timeline-step:nth-child(odd) .svc-step-content {
  margin-left: 0;
  margin-right: 50%;
  text-align: right;
  padding-right: 40px;
}

.svc-timeline-step:nth-child(even) .svc-step-content {
  margin-left: 50%;
  text-align: left;
  padding-left: 40px;
}

.svc-step-number {
  position: absolute;
  left: 50%;
  top: 0;
  width: 50px;
  height: 50px;
  background: #2e6fc2;
  border: 3px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: white;
  transform: translateX(-50%);
  z-index: 10;
}

.svc-step-title {
  font-family: 'Figtree', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.svc-step-description {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  line-height: 20px;
}

/* Why Choose Section */
.svc-why-section {
  padding: 60px 0;
  background: #000;
}

.svc-why-container {
  max-width: 1212px;
  margin: 0 auto;
  padding: 0 20px;
}

.svc-why-title {
  font-family: 'Figtree', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #2e6fc2;
  margin-bottom: 30px;
  text-align: center;
}

.svc-why-intro {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  color: #fff;
  line-height: 25px;
  margin-bottom: 30px;
  text-align: center;
}

.svc-why-features-title {
  font-family: 'Figtree', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.svc-why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.svc-why-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.svc-why-feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 3px;
}

.svc-why-feature-icon svg {
  width: 100%;
  height: 100%;
  fill: #2e6fc2;
}

.svc-why-feature-text {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  color: #fff;
  line-height: 20px;
}

/* FAQ Section */
.svc-faq-section {
  padding: 60px 0;
  background: #0a0a0a;
}

.svc-faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.svc-faq-title {
  font-family: 'Figtree', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #2e6fc2;
  margin-bottom: 40px;
  text-align: center;
}

.svc-faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #333;
}

.svc-faq-question {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.svc-faq-question:hover {
  color: #2e6fc2;
}

.svc-faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.svc-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-bottom: 0;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  color: #cccccc;
  line-height: 20px;
}

.svc-faq-item.active .svc-faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .svc-hero h1 {
    font-size: 32px;
  }

  .svc-fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-fleet-title {
    font-size: 28px;
  }

  .svc-why-features {
    grid-template-columns: 1fr;
  }

  .svc-howto-title {
    font-size: 28px;
  }

  .svc-timeline::before {
    left: 25px;
  }

  .svc-step-number {
    left: 25px;
  }

  .svc-timeline-step:nth-child(odd) .svc-step-content,
  .svc-timeline-step:nth-child(even) .svc-step-content {
    margin-left: 70px;
    margin-right: 0;
    text-align: left;
    padding-left: 20px;
    padding-right: 0;
  }

  .svc-price-table {
    font-size: 12px;
  }

  .svc-price-table th,
  .svc-price-table td {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .svc-fleet-grid {
    grid-template-columns: 1fr;
  }

  .svc-fleet-title {
    font-size: 24px;
  }

  .svc-hero h1 {
    font-size: 24px;
  }

  .svc-faq-question {
    font-size: 14px;
  }
}

/* ============================================================
   Gallery — strip miniature + counter
   Aggiunto 2026-09-09 per rendere ovvia la presenza di più foto
   ============================================================ */
.cd-gallery-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 5;
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
}
.cd-thumbs-strip {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
  margin-top: 4px;
}
.cd-thumbs-strip::-webkit-scrollbar { height: 6px; }
.cd-thumbs-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 3px; }
.cd-thumb {
  flex: 0 0 90px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.cd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cd-thumb:hover { transform: translateY(-2px); }
.cd-thumb.active { border-color: #5b9eff; }
@media (max-width: 768px) {
  .cd-thumb { flex: 0 0 70px; height: 46px; }
}

/* ============================================================
   Fix nav dropdown click - Uniforma comportamento nav-dropdown 
   e dropdown: entrambi si aprono al click (mobile/touch friendly)
   Aggiunto 2026-09-09
   ============================================================ */
.main-nav li.nav-dropdown > .dropdown-menu,
.main-nav li.nav-dropdown > .brand-megamenu { display: none; }
.main-nav li.nav-dropdown.open > .dropdown-menu,
.main-nav li.nav-dropdown.open > .brand-megamenu { display: block !important; }
/* Mantiene hover per desktop */
@media (hover: hover) and (min-width: 1025px) {
  .main-nav li.nav-dropdown:hover > .dropdown-menu,
  .main-nav li.nav-dropdown:hover > .brand-megamenu { display: block; }
}
.main-nav li.nav-dropdown > a { cursor: pointer; position: relative; }
.main-nav li.nav-dropdown.open > a { color: #5b9eff !important; }

/* ============================================================
   Footer — Struttura Gruppo KB
   Aggiunto 2026-09-09
   ============================================================ */
.footer-group {
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0 28px;
  margin: 20px 0 12px;
}
.footer-group > h4 {
  color: #5b9eff;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 20px;
  text-align: center;
  font-weight: 600;
}
.footer-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.footer-group-col h5 {
  color: rgba(255,255,255,0.55);
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-group-col ul { list-style: none; margin: 0; padding: 0; }
.footer-group-col li { margin: 6px 0; font-size: 13px; line-height: 1.5; }
.footer-group-col a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color .18s;
}
.footer-group-col a:hover { color: #5b9eff; }
.footer-group-col a small { color: #5b9eff; font-weight: 600; font-size: 11px; letter-spacing: 1px; margin-left: 6px; }
.footer-group-col .soon { color: rgba(255,255,255,0.35); font-style: italic; }
.footer-group-col .soon em { font-style: normal; color: rgba(255,255,255,0.5); font-size: 10.5px; margin-left: 4px; padding: 1px 6px; border: 1px solid rgba(255,255,255,0.15); border-radius: 3px; }
.footer-group-holding {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  margin: 20px 0 0;
  letter-spacing: 0.5px;
}
.footer-group-holding strong { color: rgba(255,255,255,0.75); }
