/* PhuketCar — Premium Dark Automotive Theme (Inspired by Shiba Cars) */
:root {
  --bg-main: #0c0f17;
  --bg-surface: #121722;
  --bg-card: #161c2a;
  --bg-card-hover: #1b2335;
  --bg-input: #0f1420;
  --bg-glass: rgba(12, 15, 23, 0.9);

  --border-subtle: #222a3d;
  --border-hover: #333f5a;
  --border-accent: rgba(245, 158, 11, 0.3);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

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

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Headings */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gold);
  color: #0c0f17;
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-icon-wa {
  background: #25d366;
  color: #ffffff;
}

.btn-icon-wa:hover {
  background: #20bd5a;
}

.btn-icon-tg {
  background: #229ed9;
  color: #ffffff;
}

.btn-icon-tg:hover {
  background: #1c88bd;
}

/* ==========================================================================
   Header (Clean & Compact like Shiba Cars)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

/* Logo: Pure text without icons */
.logo {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent-gold);
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
}

/* Header Right Area */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Lang Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 2px;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  transition: all var(--transition);
}

.lang-btn.active {
  background: var(--accent-gold);
  color: #0c0f17;
}

/* Social/Messenger Icons */
.header-social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}

.header-social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: var(--border-hover);
}

.header-social-link.wa:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.header-social-link.tg:hover {
  background: #229ed9;
  color: #fff;
  border-color: #229ed9;
}

/* Phone Number: Single line, fits cleanly, no wrapping! */
.header-phone {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: -0.01em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition);
}

.header-phone:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.08);
}

/* Hamburger toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ==========================================================================
   Hero Section (Clean, Bold, Shiba Cars Style)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 0 80px;
  background-color: #0c0f17;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 15, 23, 0.72) 0%, rgba(12, 15, 23, 0.88) 65%, #0c0f17 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-title .highlight {
  color: var(--accent-gold);
}

.hero-lead {
  font-size: 1.35rem;
  color: #cbd5e1;
  font-weight: 400;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta .btn {
  padding: 14px 34px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
  padding: 20px 0 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.stat-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.1;
}

.stat-value span {
  color: var(--accent-gold);
}

.stat-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Catalog (Cars & Bikes)
   ========================================================================== */
.catalog-section {
  padding: 70px 0;
}

.catalog-section:nth-of-type(even) {
  background: var(--bg-surface);
}

.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 34px;
}

.search-bar-wrap {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.search-bar-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.catalog-search-input {
  width: 100%;
  padding: 12px 18px 12px 46px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.92rem;
  transition: all var(--transition);
}

.catalog-search-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.catalog-search-input::placeholder {
  color: var(--text-dim);
}

.filter-pills {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  overflow-x: auto;
  padding: 4px 0;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.filter-pill.active {
  background: var(--accent-gold);
  color: #0c0f17;
  border-color: var(--accent-gold);
  font-weight: 700;
}

/* Vehicles Grid */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(330px, 33.3333% - 1rem)), 1fr));
  gap: 1.5rem;
}

/* Shiba-Style Luxury Vehicle Card */
.sb-vcard {
  min-width: 0;
  container-type: inline-size;
}

.sb-vcard__inner {
  border-radius: 20px;
  color: #ffffff;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sb-vcard:hover .sb-vcard__inner {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.55);
}

.sb-vcard__ph {
  aspect-ratio: 4 / 5;
  background: #0d0f17;
  position: relative;
  overflow: hidden;
}

.sb-vcard__ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.sb-vcard:hover .sb-vcard__ph img {
  transform: scale(1.04);
}

.sb-vcard__ph::before {
  content: "";
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.15) 75%, transparent);
  height: 42%;
  position: absolute;
  inset: 0 0 auto;
}

.sb-vcard__ph::after {
  content: "";
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    rgba(20, 20, 20, 0) 0%,
    rgba(20, 20, 20, 0.08) 15%,
    rgba(20, 20, 20, 0.24) 30%,
    rgba(20, 20, 20, 0.52) 45%,
    rgba(20, 20, 20, 0.76) 60%,
    rgba(20, 20, 20, 0.92) 76%,
    rgba(20, 20, 20, 0.98) 90%,
    #141414 100%
  );
  height: 68%;
  position: absolute;
  inset: auto 0 0;
}

.sb-vcard__open {
  z-index: 2;
  cursor: pointer;
  background: transparent;
  border: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  position: absolute;
  inset: 0;
}

.sb-vcard__top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sb-vcard__title {
  flex: 1;
  min-width: 0;
}

.sb-vcard__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.15;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 2px 14px rgba(0, 0, 0, 0.5);
}

.sb-vcard__sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.sb-vcard__sub i {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.7;
}

.sb-vcard__over {
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.sb-vcard__st {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  position: relative;
}

.sb-vcard__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sb-vcard__status--available {
  color: #86efac;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(134, 239, 172, 0.32);
}

.sb-vcard__status--free {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.32);
}

.sb-vcard__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.sb-vcard__range {
  text-align: right;
  line-height: 1.15;
}

.sb-vcard__range small {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 2px;
}

.sb-vcard__range b {
  font-size: 1.15rem;
  color: #ffffff;
  white-space: nowrap;
  font-weight: 700;
}

.sb-vcard__range b span {
  color: var(--accent-gold);
}

.sb-vcard__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sb-vcard__tile {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}

.sb-vcard__tile--best {
  border-color: var(--accent-gold);
  background: rgba(40, 32, 6, 0.6);
}

.sb-vcard__tile-days {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  display: block;
}

.sb-vcard__tile-sum {
  margin-top: 3px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #ffffff;
  display: block;
}

.sb-vcard__tile-sum--long {
  font-size: 1rem;
}

.sb-vcard__tile--best .sb-vcard__tile-sum {
  color: var(--accent-gold);
}

.sb-vcard__flag {
  position: absolute;
  top: -8px;
  right: 8px;
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 9999px;
  background: var(--accent-gold);
  color: #0c0f17;
  letter-spacing: 0.02em;
}

.sb-vcard__tiles-custom {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #cbd5e1;
  text-align: center;
}

.sb-vcard__body {
  display: flex;
  gap: 8px;
  padding: 14px 16px 16px;
  background: #141414;
}

.sb-vcard__book {
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-gold);
  color: #0c0f17;
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sb-vcard__book:hover {
  background: #fbb028;
  transform: translateY(-1px);
}

.sb-vcard__book svg {
  width: 18px;
  height: 18px;
}

.sb-vcard__share {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}

.sb-vcard__share:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
}

.sb-vcard__share svg {
  width: 18px;
  height: 18px;
}

.sb-vcard__toast-slot {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sb-vcard__toast {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 6px 14px;
  background: #141414;
  border: 1px solid var(--accent-gold);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.sb-vcard__toast.is-shown {
  opacity: 1;
  transform: translateY(0);
}

.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}
}

/* ==========================================================================
   Lead Banner (2 Hours Delivery)
   ========================================================================== */
.lead-banner-section {
  padding: 60px 0;
}

.lead-banner-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.lead-banner-content {
  padding: 44px;
}

.lead-banner-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.lead-banner-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 26px;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--text-main);
  font-size: 0.92rem;
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.form-control option {
  background: #121722;
  color: #ffffff;
}

.lead-banner-image {
  background: url('../images/site/lead-car.jpg') center/cover no-repeat;
  min-height: 360px;
}

.privacy-note {
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 10px;
}

/* ==========================================================================
   Features Cards (Преимущества)
   ========================================================================== */
.features-section {
  padding: 70px 0;
}

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

.features-grid .feature-card:nth-child(4),
.features-grid .feature-card:nth-child(5) {
  grid-column: span 1.5;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon-wrap img,
.feature-icon-wrap svg {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.feature-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Photo Gallery
   ========================================================================== */
.gallery-section {
  padding: 70px 0;
  background: var(--bg-surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  background: #000;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-section {
  padding: 70px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.review-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1e2638;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.review-meta {
  flex-grow: 1;
}

.review-author {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.review-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-top: 2px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.reviews-proof-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.proof-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  aspect-ratio: 9/16;
  background: #000;
  transition: all var(--transition);
}

.proof-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-thumb:hover {
  border-color: var(--accent-gold);
}

/* ==========================================================================
   Terms Accordion
   ========================================================================== */
.terms-section {
  padding: 70px 0;
  background: var(--bg-surface);
}

.terms-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

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

.accordion-trigger {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.accordion-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--accent-gold);
  color: #0c0f17;
}

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

.accordion-inner {
  padding-bottom: 22px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
  white-space: pre-line;
}

/* ==========================================================================
   Contacts & Map
   ========================================================================== */
.contacts-section {
  padding: 70px 0;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contacts-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 3px;
}

.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.contacts-messengers-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.contacts-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  min-height: 400px;
  background: #000;
}

.contacts-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  filter: invert(90%) hue-rotate(180deg) contrast(90%);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #080a10;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 25px;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand-col p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 14px 0 0;
  max-width: 300px;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Floating Action Buttons (FAB)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99;
}

.fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  color: #ffffff;
}

.fab:hover {
  transform: translateY(-2px);
}

.fab-wa {
  background: #25d366;
}

.fab-tg {
  background: #229ed9;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.modal-body {
  padding: 22px 24px;
}

.selected-vehicle-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 18px;
}

.selected-vehicle-thumb {
  width: 70px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
}

.selected-vehicle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selected-vehicle-info h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.selected-vehicle-info p {
  font-size: 0.82rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links {
    gap: 16px;
  }

  .header-inner {
    gap: 12px;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #0c0f17;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 99;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header-phone {
    display: none;
  }

  .hero-title {
    font-size: 2.6rem;
  }

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

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

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

  .features-grid .feature-card:nth-child(4),
  .features-grid .feature-card:nth-child(5) {
    grid-column: span 1;
  }

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

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

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

@media (max-width: 640px) {
  .site-header .header-inner {
    height: 60px;
  }

  .nav-links {
    top: 60px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .hero {
    min-height: 480px;
    padding: 60px 0 50px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

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

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

  .lead-banner-card {
    grid-template-columns: 1fr;
  }

  .lead-banner-content {
    padding: 24px 16px;
  }

  .lead-banner-image {
    min-height: 200px;
  }

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

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

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

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

  .contacts-layout {
    grid-template-columns: 1fr;
  }

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