/* ============================================================
   TEC United Auto — Modern Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --red:        #E42020;
  --red-dark:   #b81818;
  --red-light:  #ff4444;
  --dark:       #0d0d0d;
  --dark2:      #1a1a1a;
  --gray:       #f5f6fa;
  --gray2:      #eef0f5;
  --text:       #1e1e2e;
  --muted:      #6b7280;
  --border:     #e5e7eb;
  --white:      #ffffff;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.16);
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--red-dark); }
img { max-width: 100%; }

/* ── Overrides ─────────────────────────────────────────── */
.text-danger  { color: var(--red) !important; }
.bg-danger    { background-color: var(--red) !important; }
.border-danger{ border-color: var(--red) !important; }
.badge.bg-danger { background-color: var(--red) !important; font-weight: 600; letter-spacing: .3px; }

.btn { font-weight: 600; letter-spacing: .2px; border-radius: 10px; transition: var(--transition); padding: .55rem 1.4rem; }
.btn-danger {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-danger:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(228,32,32,.35);
}
.btn-outline-danger {
  color: var(--red);
  border-color: var(--red);
  background: transparent;
}
.btn-outline-danger:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(228,32,32,.3);
}
.btn-lg { padding: .75rem 2rem; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: .4rem 1rem; font-size: .82rem; border-radius: 8px; }

/* ── Top Bar ───────────────────────────────────────────── */
.topbar-strip {
  background: var(--dark);
  font-size: .82rem;
  letter-spacing: .2px;
}
.topbar-strip a { transition: var(--transition); }
.topbar-strip a:hover { opacity: .75; }

/* Hours chips */
.hours-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 2px 10px;
  white-space: nowrap;
}
.hours-day {
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .3px;
  text-transform: uppercase;
}
.hours-divider { color: var(--red); font-weight: 700; font-size: .7rem; }
.hours-time {
  font-size: .82rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: .2px;
}
.hours-sep {
  color: rgba(255,255,255,.2);
  font-size: .75rem;
  margin: 0 1px;
}

/* Topbar contact chips */
.topbar-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 2px 11px;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}
.topbar-contact-chip i {
  font-size: .82rem;
  color: var(--red);
}
.topbar-contact-chip span {
  font-size: .82rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: .2px;
}
.topbar-contact-chip:hover {
  background: rgba(228,32,32,.15);
  border-color: rgba(228,32,32,.35);
}
.topbar-contact-chip.topbar-wa i { color: #25d366; }
.topbar-contact-chip.topbar-wa:hover { background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.3); }
.topbar-contact-chip.topbar-fb i { color: #4267B2; }
.topbar-contact-chip.topbar-fb:hover { background: rgba(66,103,178,.12); border-color: rgba(66,103,178,.3); }

/* ── Hero Carousel ─────────────────────────────────────── */
.hero-carousel-wrap { position: relative; background: var(--dark); }

.carousel-slide {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  transition: background-image .8s ease;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,10,10,.9) 40%, rgba(228,32,32,.35) 100%);
  z-index: 0;
}

.carousel-caption-custom {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 2rem 0;
  animation: slideCaption .7s ease forwards;
}

@keyframes slideCaption {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reset active item animation on each slide change */
.carousel-item.active .carousel-caption-custom { animation: slideCaption .7s ease forwards; }

.carousel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(228,32,32,.18);
  border: 1px solid rgba(228,32,32,.45);
  color: #ff7070;
  padding: .3rem 1rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.carousel-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -2px;
  margin-bottom: 1rem;
}
.carousel-headline span { color: var(--red-light); }

.carousel-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.carousel-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Indicators — custom style */
.carousel-indicators {
  bottom: 120px;
  gap: .4rem;
  margin: 0;
  padding: 0 1.5rem;
  justify-content: flex-start;
  left: calc((100vw - 1140px) / 2 + 12px);
}
@media (max-width: 1200px) { .carousel-indicators { left: 24px; } }

.carousel-indicators [data-bs-target] {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.35);
  border: none;
  opacity: 1;
  transition: all .3s ease;
}
.carousel-indicators .active {
  width: 52px;
  background: var(--red);
}

/* Prev / Next controls */
.carousel-control-prev,
.carousel-control-next {
  width: auto;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  padding: 0 1.25rem;
}
.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }

.carousel-ctrl-btn {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  transition: var(--transition);
}
.carousel-ctrl-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

/* Stats bar sits on top of carousel bottom */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  padding: .85rem 0;
  transition: var(--transition);
  background: rgba(255,255,255,.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border-bottom-color: var(--border);
}
.navbar-nav .nav-link {
  font-weight: 500;
  font-size: .9rem;
  color: #1e1e2e;
  padding: .45rem .85rem;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--red);
  background: rgba(228,32,32,.06);
}
.navbar-brand img { transition: var(--transition); }
.navbar-brand:hover img { opacity: .85; }

/* ── Navbar Dropdown ─────────────────────────────────── */
.navbar-nav .dropdown-toggle::after {
  transition: transform 220ms cubic-bezier(.4,0,.2,1);
  margin-left: .3em;
}
.navbar-nav .dropdown.show > .dropdown-toggle::after {
  transform: rotate(180deg);
}
.navbar-nav .dropdown-menu {
  display: block !important;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(.97);
  pointer-events: none;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  padding: .4rem;
  min-width: 200px;
  background: #fff;
  margin-top: .35rem;
  transition:
    opacity    200ms cubic-bezier(.4,0,.2,1),
    transform  200ms cubic-bezier(.4,0,.2,1),
    visibility 0ms   linear 200ms;
}
.navbar-nav .dropdown-menu.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition:
    opacity   200ms cubic-bezier(.4,0,.2,1),
    transform 200ms cubic-bezier(.4,0,.2,1),
    visibility 0ms;
}
.navbar-nav .dropdown-item {
  border-radius: 8px;
  padding: .6rem .9rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: background 150ms ease, color 150ms ease;
}
.navbar-nav .dropdown-item i {
  font-size: 1rem;
  flex-shrink: 0;
  opacity: .55;
  transition: opacity 150ms ease;
}
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background: rgba(228,32,32,.07);
  color: var(--red);
}
.navbar-nav .dropdown-item:hover i,
.navbar-nav .dropdown-item:focus i { opacity: 1; }
.navbar-nav .dropdown-item.active {
  background: rgba(228,32,32,.1);
  color: var(--red);
  font-weight: 600;
}
.navbar-nav .dropdown-item.active i { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .navbar-nav .dropdown-menu,
  .navbar-nav .dropdown-menu.show { transition: none; }
  .navbar-nav .dropdown-toggle::after { transition: none; }
}

/* ── Slim Hero (inner pages) ───────────────────────────── */
.slim-hero {
  background: var(--dark);
  padding: 1.75rem 0;
  position: relative;
  overflow: hidden;
}
.slim-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(228,32,32,.22) 0%, transparent 60%);
}
.slim-hero .container { position: relative; z-index: 1; }
.slim-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.slim-hero-title {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -.3px;
  line-height: 1.2;
}
.slim-hero-sub {
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  margin: .3rem 0 0;
}
.slim-hero nav .breadcrumb { margin: 0; background: transparent; }
.slim-hero nav .breadcrumb-item a { color: rgba(255,255,255,.45); text-decoration: none; font-size: .8rem; }
.slim-hero nav .breadcrumb-item a:hover { color: #fff; }
.slim-hero nav .breadcrumb-item.active { color: rgba(255,255,255,.7); font-size: .8rem; }
.slim-hero nav .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.25); }

/* ── Hero (legacy, kept for page-hero on inner pages) ──── */
.hero-content { position: relative; z-index: 2; padding: 8rem 0 5rem; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(228,32,32,.15);
  border: 1px solid rgba(228,32,32,.4);
  color: #ff7070;
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red-light);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -1.5px;
}
.hero-title .accent { color: var(--red-light); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  max-width: 500px;
  margin-top: .75rem;
}
.hero-divider {
  width: 50px; height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 1.5rem 0;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.btn-hero-primary {
  background: var(--red);
  color: #fff;
  border: none;
  padding: .85rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(228,32,32,.4);
  transition: var(--transition);
}
.btn-hero-primary:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(228,32,32,.5);
}
.btn-hero-secondary {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  padding: .85rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
  transform: translateY(-2px);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Hero stats strip */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}
.hero-stat-item {
  padding: 1.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.hero-stat-item:last-child { border-right: none; }
.hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: .25rem;
}

/* ── Services Strip ────────────────────────────────────── */
.services-strip { background: #fff; border-bottom: 1px solid var(--border); }
.service-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: default;
}
.service-pill:hover { background: var(--gray); transform: translateY(-2px); }
.service-pill-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(228,32,32,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--red);
  flex-shrink: 0;
  transition: var(--transition);
}
.service-pill:hover .service-pill-icon {
  background: var(--red);
  color: #fff;
  transform: scale(1.08);
}
.service-pill-title { font-weight: 700; font-size: .9rem; color: var(--text); }
.service-pill-sub   { font-size: .78rem; color: var(--muted); margin-top: 1px; }

/* ── Section Headers ───────────────────────────────────── */
.section-label {
  display: inline-block;
  background: rgba(228,32,32,.08);
  color: var(--red);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--text);
}
.section-sub { color: var(--muted); font-size: .95rem; max-width: 520px; margin: .5rem auto 0; }

/* ── Vehicle Cards ─────────────────────────────────────── */
.vehicle-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}
.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.vehicle-img-wrap { position: relative; overflow: hidden; background: var(--gray); }
.vehicle-img { height: 230px; width: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.vehicle-card:hover .vehicle-img { transform: scale(1.06); }
.vehicle-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}
.vehicle-card:hover .vehicle-img-overlay { opacity: 1; }
.vehicle-price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--red);
  color: #fff;
  padding: .3rem .75rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: .82rem;
  box-shadow: 0 4px 12px rgba(228,32,32,.4);
  letter-spacing: .2px;
}
.vehicle-card .card-body { padding: 1.25rem; }
.vehicle-card .card-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; letter-spacing: -.2px; }
.spec-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--gray2);
  color: var(--muted);
  padding: .22rem .55rem;
  border-radius: 6px;
  font-size: .73rem;
  font-weight: 500;
}

/* ── News Cards ────────────────────────────────────────── */
.news-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.news-img { height: 210px; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-img { transform: scale(1.04); }
.news-card .card-footer { background: #fff; border-top: 1px solid var(--border); }

/* ── About / Stats ─────────────────────────────────────── */
.about-section { background: linear-gradient(135deg, #fafafa 0%, #f0f0f5 100%); }
.about-stat-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.about-stat-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(228,32,32,.2); }
.stat-num { font-size: 2.2rem; font-weight: 900; letter-spacing: -1px; color: var(--red); }
.stat-label { font-size: .82rem; font-weight: 600; color: var(--muted); margin-top: .1rem; }

/* ── Location Cards ────────────────────────────────────── */
.location-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  transition: var(--transition);
  overflow: hidden;
}
.location-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(228,32,32,.2); transform: translateY(-3px); }
.location-card .card-body { padding: 1.75rem; }
.location-hq-bar { height: 4px; background: linear-gradient(90deg, var(--red), var(--red-light)); }

/* ── CTA Section ───────────────────────────────────────── */
.cta-section {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(228,32,32,.35) 0%, transparent 65%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Footer ────────────────────────────────────────────── */
.footer-main {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-main h5, .footer-main h6 { color: #fff; }
.footer-link {
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  display: block;
  margin-bottom: .35rem;
  transition: var(--transition);
}
.footer-link:hover { color: rgba(255,255,255,.85); padding-left: 4px; }
.footer-divider { border-color: rgba(255,255,255,.08); }
.footer-bottom {
  background: #0a0a0a;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .95rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--red); color: #fff; }

/* ── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2a0a0a 100%);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228,32,32,.2), transparent 70%);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -1px; }

/* ── Service Box (About page) ──────────────────────────── */
.service-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: var(--transition);
}
.service-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(228,32,32,.2);
}
.service-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(228,32,32,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: var(--transition);
}
.service-box:hover .service-icon-wrap { background: var(--red); }
.service-box:hover .service-icon-wrap i { color: #fff !important; }

/* ── Job Cards ─────────────────────────────────────────── */
.job-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(228,32,32,.2); transform: translateY(-3px); }

/* ── Vehicle Detail ────────────────────────────────────── */
.spec-detail-box { background: var(--gray2); border-radius: 8px; padding: .5rem .75rem; }
/* ── Full Specifications Table (vehicle detail) ─────────── */
.specs-section { margin-bottom: 3rem; }

.specs-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.specs-section-header::before {
  content: '';
  display: block;
  width: 4px;
  height: 28px;
  background: var(--red);
  border-radius: 4px;
  flex-shrink: 0;
}
.specs-section-label {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--dark);
}

/* Table wrapper */
.specs-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid #dde3e9;
  box-shadow: 0 8px 32px rgba(0,20,40,.1);
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  background: #fff;
  min-width: 480px;
}

/* Table header */
.specs-table thead tr {
  background: var(--dark);
}
.specs-th-label,
.specs-th-value {
  padding: 1rem 1.25rem;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
  border-right: 1px solid rgba(255,255,255,.08);
}
.specs-th-label { width: 38%; }
.specs-th-value { border-right: none; color: rgba(255,255,255,.85); font-weight: 400; }

/* Group header rows */
.specs-group-row td {
  background: rgba(228,32,32,.07);
  border-top: 2px solid rgba(228,32,32,.2);
  border-bottom: 1px solid rgba(228,32,32,.15);
  color: #6b0000;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .9px;
  padding: .65rem 1.25rem;
}

/* Data rows */
.specs-data-row td {
  padding: .8rem 1.25rem;
  border-bottom: 1px solid #edf0f4;
  vertical-align: top;
  color: #1f3a57;
}
.specs-data-row:last-child td { border-bottom: none; }
.specs-data-row:hover td { background: #fafcff; }

.specs-label-col {
  font-weight: 600;
  color: #0f2a40 !important;
  background: #f8fafd;
  width: 38%;
  border-right: 1px solid #e2e8f0;
}
.specs-value-col {
  color: #1f3a57;
  background: #fff;
}

/* HTML specs (Quill / legacy) */
.specs-html-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  font-size: .93rem;
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
}
.specs-html-wrap h2,
.specs-html-wrap h3 {
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--dark);
  border-bottom: 2px solid var(--red);
  padding-bottom: .4rem;
  margin-top: 1.5rem;
  margin-bottom: .75rem;
}
.specs-html-wrap h2:first-child,
.specs-html-wrap h3:first-child { margin-top: 0; }
.specs-html-wrap ul, .specs-html-wrap ol { padding-left: 1.25rem; margin-bottom: .75rem; }
.specs-html-wrap li { margin-bottom: .25rem; }
.specs-html-wrap strong { color: var(--dark); }

/* ── WhatsApp Float ────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; left: 28px;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 32px rgba(37,211,102,.4);
  z-index: 9999;
  transition: var(--transition);
}
.wa-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(37,211,102,.5);
}

/* ── Fade-in animations ────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }

/* ── Misc ──────────────────────────────────────────────── */
.content-body { line-height: 1.9; color: #444; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ── Pagination ────────────────────────────────────────── */
.pagination .page-link {
  color: var(--text);
  border-color: var(--border);
  border-radius: 8px !important;
  margin: 0 3px;
  min-width: 38px;
  text-align: center;
  font-weight: 600;
  transition: var(--transition);
}
.pagination .page-link:hover { background: var(--red); color: #fff; border-color: var(--red); }
.pagination .page-item.active .page-link { background: var(--red); border-color: var(--red); color: #fff; }
.pagination .page-item.disabled .page-link { opacity: .4; }

/* ── News / Blog Cards (Eventre-inspired) ──────────────── */
.news-section { padding: 80px 0; }

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #2d0808 100%);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(228,32,32,.25) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, transparent 0, transparent 50%);
  background-size: auto, 20px 20px;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: clamp(2rem,5vw,3rem); font-weight: 800; letter-spacing: -1px; color: #fff; }
.page-banner .breadcrumb { justify-content: center; margin: 0; }
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a { color: rgba(255,255,255,.55); font-size: .85rem; }
.page-banner .breadcrumb-item.active { color: rgba(255,255,255,.85); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* Blog card */
.blog-card {
  border-radius: var(--radius-lg);
  overflow: visible;
  transition: var(--transition);
  margin-bottom: 2rem;
}
.blog-card:hover { box-shadow: 0 12px 40px rgba(11,29,66,.12); transform: translateY(-4px); }
.blog-card .post-thumb {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  line-height: 0;
}
.blog-card .post-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .post-thumb img { transform: scale(1.04); }

.blog-card .post-body {
  position: relative;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 2.2rem 1.5rem 1.5rem;
  background: #fff;
}

/* Date badge */
.post-date-badge {
  position: absolute;
  top: -32px;
  left: 1.4rem;
  width: 64px;
  height: 64px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1.1;
  box-shadow: 0 6px 20px rgba(228,32,32,.35);
}
.post-date-badge .day { font-size: 1.4rem; font-weight: 800; }
.post-date-badge .mon { font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; opacity: .85; }

/* Post type badge */
.post-type-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  border: 1px solid rgba(228,32,32,.3);
  border-radius: 6px;
  padding: .15rem .55rem;
  margin-bottom: .6rem;
}
.post-type-tag.event  { color: #0d6efd; border-color: rgba(13,110,253,.3); }
.post-type-tag.promotion { color: #198754; border-color: rgba(25,135,84,.3); }

.post-title-link { font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.4; display: block; margin-bottom: .5rem; }
.post-title-link:hover { color: var(--red); }

.post-meta-row { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--border); margin-top: .8rem; padding-top: .8rem; }
.post-meta-row i { color: var(--red); }

/* Filter tabs */
.news-filter-bar { margin-bottom: 3rem; }
.news-filter-bar .btn { border-radius: 50px; padding: .4rem 1.2rem; font-size: .85rem; }

/* Sidebar */
.news-sidebar .widget { margin-bottom: 2rem; }
.news-sidebar .widget-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  border-bottom: 2px solid var(--red);
  padding-bottom: .5rem;
  margin-bottom: 1rem;
}
.news-sidebar .category-list { list-style: none; padding: 0; margin: 0; }
.news-sidebar .category-list li a {
  display: flex;
  justify-content: space-between;
  padding: .45rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: .88rem;
}
.news-sidebar .category-list li a:hover { color: var(--red); padding-left: 4px; }
.news-sidebar .category-list li a span { color: var(--muted); }

.sidebar-post { display: flex; gap: .85rem; align-items: flex-start; padding: .65rem 0; border-bottom: 1px solid var(--border); }
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post img { width: 72px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.sidebar-post .sp-title { font-size: .82rem; font-weight: 600; color: var(--text); line-height: 1.35; display: block; }
.sidebar-post .sp-title:hover { color: var(--red); }
.sidebar-post .sp-date { font-size: .74rem; color: var(--muted); margin-top: .2rem; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-cloud a {
  font-size: .78rem;
  padding: .25rem .7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  transition: var(--transition);
}
.tag-cloud a:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* Single post */
.single-post-wrap { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.single-post-hero { width: 100%; height: auto; max-height: 600px; object-fit: contain; display: block; background: #f5f5f5; }
.single-post-body { padding: 2rem 2.2rem; }
.single-post-body .post-date-badge { position: static; margin-bottom: 1rem; width: 72px; height: 72px; }
.single-post-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.5px; line-height: 1.3; }
.single-post-meta { border-bottom: 1px solid var(--border); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.single-post-content { line-height: 1.9; color: #3a3a4a; font-size: .96rem; }
.single-post-content p { margin-bottom: 1.2rem; }
.single-post-content blockquote {
  background: var(--gray);
  border-left: 4px solid var(--red);
  padding: 1.2rem 1.5rem;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #555;
  margin: 1.5rem 0;
}
.share-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--border); }
.share-row a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--gray2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .9rem;
  transition: var(--transition);
}
.share-row a:hover { background: var(--red); color: #fff; }

/* ══════════════════════ Gallery — Album Listing ═══════════════════════ */

.gallery-grid-section {
  background: #080810;
  padding: 3.5rem 0 5rem;
}

/* Filter bar on dark background */
.gallery-filter-dark {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: .9rem 1.2rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
}
.gallery-filter-dark .form-select {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: .84rem;
  border-radius: 8px;
  width: auto;
  padding-right: 2rem;
}
.gallery-filter-dark .form-select:focus {
  box-shadow: 0 0 0 2px rgba(228,32,32,.35);
  border-color: rgba(228,32,32,.5);
}
.gallery-filter-dark .form-select option { background: #1a1a2e; color: #fff; }
.gallery-filter-dark .filter-count {
  color: rgba(255,255,255,.35);
  font-size: .8rem;
  margin-left: auto;
}
.gallery-filter-dark .btn-outline-secondary {
  color: rgba(255,255,255,.5);
  border-color: rgba(255,255,255,.15);
  background: transparent;
  font-size: .82rem;
}
.gallery-filter-dark .btn-outline-secondary:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

/* Album grid */
.gallery-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.gallery-album-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  text-decoration: none;
  background: #111122;
  cursor: pointer;
}
.gallery-album-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.gallery-album-card:hover::after { transform: scaleX(1); }

.gallery-album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.gallery-album-card:hover img { transform: scale(1.07); }

.gallery-album-no-cover {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111122 0%, #1e1e3a 100%);
  font-size: 3.5rem;
  color: rgba(228,32,32,.25);
}

/* Gradient overlay + info */
.gallery-album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.12) 55%, transparent 100%);
  transition: background .3s;
}
.gallery-album-card:hover .gallery-album-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.2) 60%, rgba(228,32,32,.04) 100%);
}

.gallery-album-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.4rem 1.4rem 1.2rem;
}
.gallery-album-event {
  display: inline-block;
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #ff6b6b;
  margin-bottom: .35rem;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-album-card:hover .gallery-album-event { opacity: 1; transform: translateY(0); }

.gallery-album-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: .4rem;
  letter-spacing: -.2px;
}
.gallery-album-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .76rem;
  color: rgba(255,255,255,.5);
}
.gallery-album-meta .am-count {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  color: rgba(255,255,255,.65);
}
.gallery-album-meta .am-count i { color: var(--red); font-size: .8rem; }

/* Empty state */
.gallery-empty {
  text-align: center;
  padding: 6rem 2rem;
}
.gallery-empty i {
  font-size: 4rem;
  color: rgba(255,255,255,.1);
  display: block;
  margin-bottom: 1.25rem;
}
.gallery-empty p { color: rgba(255,255,255,.3); font-size: .95rem; }

/* Dark pagination */
.gallery-pagination { margin-top: 3.5rem; }
.gallery-pagination .page-link {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  border-radius: 8px !important;
  margin: 0 3px;
  min-width: 38px;
  text-align: center;
  font-weight: 600;
  transition: var(--transition);
}
.gallery-pagination .page-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.gallery-pagination .page-item.active .page-link {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.gallery-pagination .page-item.disabled .page-link { opacity: .25; }

/* ══════════════════════ Gallery — Item Page ═══════════════════════ */

/* Dark hero replaces page-banner on gallery-item */
.gallery-item-hero {
  background: #080810;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.gallery-item-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 40%, rgba(228,32,32,.18) 0%, transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.009) 0, rgba(255,255,255,.009) 1px, transparent 0, transparent 50%);
  background-size: auto, 20px 20px;
}
.gallery-item-hero .container { position: relative; z-index: 1; }

.gallery-item-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #ff7070;
  background: rgba(228,32,32,.12);
  border: 1px solid rgba(228,32,32,.28);
  padding: .28rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.gallery-item-title {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.gallery-item-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 1rem;
}
.gallery-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.gallery-stat-pill i { color: var(--red); font-size: .88rem; }

.gallery-item-desc {
  color: rgba(255,255,255,.45);
  font-size: .9rem;
  line-height: 1.7;
  max-width: 680px;
  margin-top: .85rem;
}

.gallery-item-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color .2s;
}
.gallery-item-back:hover { color: rgba(255,255,255,.75); }
.gallery-item-back i { font-size: .9rem; }

/* Masonry photo grid section */
.gallery-masonry-section {
  background: #0e0e18;
  padding: 3rem 0 5rem;
}

.gallery-masonry {
  columns: 3 260px;
  column-gap: 1rem;
}

.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  background: #1a1a2e;
  cursor: pointer;
}
.gallery-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.gallery-masonry-item:hover img { transform: scale(1.05); }

.gallery-masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}
.gallery-masonry-item:hover .gallery-masonry-overlay { background: rgba(0,0,0,.42); }

.gallery-masonry-overlay i {
  font-size: 2rem;
  color: #fff;
  opacity: 0;
  transform: scale(.6);
  transition: all .25s ease;
}
.gallery-masonry-item:hover .gallery-masonry-overlay i {
  opacity: 1;
  transform: scale(1);
}

.gallery-masonry-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .55rem .8rem;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 100%);
  color: rgba(255,255,255,.85);
  font-size: .72rem;
  opacity: 0;
  transition: opacity .25s;
}
.gallery-masonry-item:hover .gallery-masonry-caption { opacity: 1; }

/* No photos empty */
.gallery-masonry-empty {
  text-align: center;
  padding: 5rem 2rem;
  color: rgba(255,255,255,.25);
  font-size: .95rem;
}

/* Other albums strip */
.gallery-other-section {
  background: #080810;
  padding: 3rem 0 4rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.gallery-other-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: rgba(255,255,255,.28);
  margin-bottom: 1.5rem;
}
.gallery-other-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-other-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  text-decoration: none;
  background: #111122;
}
.gallery-other-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery-other-card:hover img { transform: scale(1.06); }
.gallery-other-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, transparent 60%);
}
.gallery-other-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .8rem;
}
.gallery-other-card-title {
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  display: block;
  margin-bottom: .2rem;
}
.gallery-other-card-count {
  font-size: .7rem;
  color: rgba(255,255,255,.45);
}
.gallery-other-no-cover {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111122, #1e1e3a);
  font-size: 2rem;
  color: rgba(228,32,32,.2);
}

/* Responsive */
@media (max-width: 991px) {
  .gallery-album-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .gallery-other-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .gallery-masonry { columns: 2 180px; }
  .gallery-item-title { letter-spacing: -.8px; }
  .gallery-album-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
}
@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
  .gallery-other-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
}

/* ── Compare ───────────────────────────────────────────── */

/* Floating tray */
.compare-tray {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1050;
  background: var(--dark);
  border-top: 2px solid var(--red);
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -8px 32px rgba(0,0,0,.3);
}
.compare-tray.is-visible { transform: translateY(0); }
.compare-tray-slots {
  display: flex;
  gap: .75rem;
  flex: 1;
}
.compare-tray-slot {
  width: 80px;
  position: relative;
  border: 1.5px dashed rgba(255,255,255,.2);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-tray-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.compare-tray-slot .compare-tray-slot-empty {
  color: rgba(255,255,255,.25);
  font-size: 1.4rem;
}
.compare-tray-slot .compare-tray-remove {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--red);
  border: none;
  border-radius: 50%;
  width: 20px; height: 20px;
  color: #fff;
  font-size: .65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: var(--transition);
}
.compare-tray-slot .compare-tray-remove:hover { background: var(--red-dark); }
.compare-tray-slot .compare-tray-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: .55rem;
  font-weight: 600;
  text-align: center;
  padding: 2px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compare-tray-label {
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .4px;
  white-space: nowrap;
}
.compare-tray-actions { display: flex; flex-direction: column; gap: .4rem; }
.compare-tray-actions .btn { font-size: .8rem; padding: .35rem .9rem; }

/* Compare button on vehicle cards */
.compare-btn {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .35rem .7rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}
.compare-btn:hover { border-color: var(--red); color: var(--red); }
.compare-btn.is-selected {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Compare page table */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare-model-row th { background: #fff; }
.compare-label-col {
  width: 140px;
  min-width: 110px;
  background: var(--gray);
}
.compare-model-col { width: calc((100% - 140px) / 3); }

.compare-model-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: .5rem;
}
.compare-model-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: .75rem;
  background: var(--gray);
}
.compare-model-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.compare-price {
  font-size: .85rem;
  font-weight: 700;
  color: var(--red);
  margin-top: .25rem;
}

.compare-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  background: var(--gray);
  white-space: nowrap;
}
.compare-val {
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
  background: #fff;
}
.compare-val-empty { background: var(--gray); }

.compare-table tbody tr:nth-child(even) .compare-label,
.compare-table tbody tr:nth-child(even) .compare-val { background: #fafbfc; }
.compare-table tbody tr:nth-child(even) .compare-val-empty { background: #f0f2f5; }

.compare-table tbody tr:hover .compare-val { background: #fff8f8; }

/* Specs cell */
.compare-specs-cell { text-align: left; }
.compare-spec-line {
  font-size: .82rem;
  padding: .25rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.compare-spec-line:last-child { border-bottom: none; }
.compare-spec-key { color: var(--muted); min-width: 90px; }
.compare-spec-val { font-weight: 600; }
.compare-specs-html { font-size: .85rem; }

/* Empty slot */
.compare-slot-empty .compare-empty-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: 1.5rem;
  color: var(--muted);
  font-size: .85rem;
}
.compare-slot-empty .compare-empty-slot i { font-size: 1.8rem; color: var(--border); }

/* Empty state */
.compare-empty-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gray2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--muted);
}

.compare-header-bar { border-bottom: 1px solid var(--border); padding-bottom: 1rem; }

/* Nav badge */
.compare-nav-badge {
  position: absolute;
  top: 2px; right: -4px;
  background: var(--red);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

.compare-cta-row .compare-val { background: #fff8f8; padding-top: 1rem; padding-bottom: 1rem; }
.compare-group-label {
  background: var(--dark);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: .5rem 1.25rem;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 640px) {
  .compare-tray { flex-wrap: wrap; padding: .75rem 1rem; }
  .compare-tray-slots { gap: .4rem; }
  .compare-tray-slot { width: 60px; }
  .compare-table { min-width: 480px; }
  .compare-label-col { width: 100px; min-width: 80px; }
}
@media (max-width: 991px) {
  .hero-stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero-stat-item:last-child { border-bottom: none; }
}
@media (max-width: 767px) {
  .hero-content { padding: 6rem 0 3rem; }
  .hero-title { letter-spacing: -1px; }
  .services-strip .col-6 { border-bottom: 1px solid var(--border); }
}

/* ══════════════════════════════════════════════════════════
   TECGukito Page
   ══════════════════════════════════════════════════════════ */
.gukito-intro-section {
  padding: 3.5rem 0 2rem;
  background: #fff;
}
.gukito-intro-wrap {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.gukito-intro-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
}
.gukito-intro-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: .5rem;
}
.gukito-intro-text p {
  color: #555;
  max-width: 640px;
  margin: 0;
  line-height: 1.7;
}
.gukito-total-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  background: #1a1a2e;
  border-radius: 20px;
  padding: .35rem 1rem;
  margin-bottom: 1.5rem;
}
.gukito-cta-section {
  background: var(--dark);
  padding: 4rem 0;
}
.gukito-cta-wrap {
  text-align: center;
  color: #fff;
}
.gukito-cta-wrap h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.gukito-cta-wrap p {
  color: rgba(255,255,255,.6);
  margin-bottom: 1.5rem;
}
.gukito-cta-btns {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 575px) {
  .gukito-intro-wrap { flex-direction: column; gap: 1rem; }
  .gukito-intro-icon { width: 48px; height: 48px; font-size: 1.3rem; border-radius: 12px; }
}
