html {
  scroll-behavior: smooth;
}

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

img,
iframe,
svg {
  display: block;
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 6rem;
}

body {
  color: #0f172a;
  background:
    radial-gradient(circle at top right, rgba(220, 38, 38, 0.08), transparent 22rem),
    radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.05), transparent 28rem),
    #ffffff;
}

.nav-link,
.mobile-nav-link {
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  transition: color 160ms ease;
}

.nav-link:hover,
.mobile-nav-link:hover,
.nav-link-active,
.mobile-nav-link-active {
  color: #dc2626;
}

.site-shell {
  position: relative;
  overflow-x: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(40px);
  pointer-events: none;
}

.hero-orb-primary {
  top: -4rem;
  right: -2rem;
  width: 18rem;
  height: 18rem;
  background: rgba(220, 38, 38, 0.24);
}

.hero-orb-secondary {
  bottom: -4rem;
  left: -5rem;
  width: 22rem;
  height: 22rem;
  background: rgba(148, 163, 184, 0.18);
}

.hero-video {
  transform: scale(1.08);
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: #DC2626;
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
  z-index: 1;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-section::before {
    width: 55%;
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
  }
}

@media (max-width: 767px) {
  .hero-section::before {
    width: 100%;
    height: 75%;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
  }
}

.hero-spotlight {
  position: relative;
  overflow: hidden;
}

.hero-spotlight::before {
  content: "";
  position: absolute;
  width: 44rem;
  height: 44rem;
  top: -13rem;
  right: -13rem;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.14) 0%, transparent 60%);
  pointer-events: none;
}

.hero-spotlight::after {
  content: "";
  position: absolute;
  width: 38rem;
  height: 38rem;
  bottom: -12rem;
  left: -12rem;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.section-label {
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #dc2626;
}

.section-title {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
}

.section-copy {
  margin-top: 1rem;
  max-width: 40rem;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.8;
}

.card,
.service-card,
.feature-panel,
.testimonial-card {
  border-radius: 1.5rem;
  background: #ffffff;
  padding: 1.75rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.premium-panel {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.dashboard-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

.dashboard-metric {
  border-radius: 1.25rem;
  background: #f8fafc;
  padding: 1rem;
}

.product-card {
  border-radius: 1.5rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
  border-color: rgba(220, 38, 38, 0.22);
}

.product-card img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
}

.product-card-body {
  padding: 1.5rem;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
}

.trust-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #ffffff;
  min-height: 3.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.trust-pill-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  box-shadow: none;
}

.trust-pill-active {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(220, 38, 38, 0.22);
}

.trust-pill-compact {
  justify-content: flex-start;
  min-height: auto;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

.service-card,
.feature-panel {
  border: 1px solid #e2e8f0;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.card-copy,
.testimonial-card p {
  margin-top: 0.9rem;
  color: #475569;
  line-height: 1.7;
}

.form-field {
  display: block;
}

.form-field span {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.9rem 1rem;
  color: #0f172a;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.field-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12) !important;
}

.surface-grid {
  position: relative;
}

.surface-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 2.75rem 2.75rem;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.85), transparent);
  pointer-events: none;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(22, 163, 74, 0.5), 0 0 40px rgba(22, 163, 74, 0.3), 0 20px 50px rgba(22, 163, 74, 0.35);
  transition: transform 160ms ease, box-shadow 160ms ease;
  animation: whatsapp-pulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(22, 163, 74, 0.6), 0 0 60px rgba(22, 163, 74, 0.4), 0 24px 60px rgba(22, 163, 74, 0.4);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(22, 163, 74, 0.5), 0 0 40px rgba(22, 163, 74, 0.3), 0 20px 50px rgba(22, 163, 74, 0.35); }
  50% { box-shadow: 0 0 30px rgba(22, 163, 74, 0.7), 0 0 60px rgba(22, 163, 74, 0.4), 0 20px 50px rgba(22, 163, 74, 0.35); }
}

.cta-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #dc2626;
  padding: 0.85rem 1.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(220, 38, 38, 0.24);
}

.cta-inline:hover {
  background: #b91c1c;
}

.cta-inline,
.cta-outline,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

.cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.88);
  padding: 0.85rem 1.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.cta-outline:hover {
  border-color: rgba(220, 38, 38, 0.3);
  color: #dc2626;
}

.angled-band {
  position: relative;
}

.angled-band::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 7rem;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.05));
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

.highlight-stat {
  border-left: 3px solid #dc2626;
  padding-left: 1rem;
}

.star-rating {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.mobile-sticky-cta {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 45;
  display: none;
  gap: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
  padding: 0.75rem;
}

.mobile-sticky-cta a {
  flex: 1;
}

/* Car Gallery */
.car-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1.5rem 1.5rem 0 0;
  background: #f1f5f9;
}

.car-gallery__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.car-gallery__image--active {
  opacity: 1;
}

.car-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 200ms ease, background 200ms ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.car-gallery:hover .car-gallery__arrow {
  opacity: 1;
}

@media (max-width: 767px) {
  .car-gallery__arrow {
    opacity: 1;
  }
}

.car-gallery__arrow:hover {
  background: #ffffff;
}

.car-gallery__arrow--left {
  left: 0.75rem;
}

.car-gallery__arrow--right {
  right: 0.75rem;
}

.car-gallery__dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 10;
}

.car-gallery__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.car-gallery__dot--active {
  background: #dc2626;
  transform: scale(1.3);
}

.car-card__details {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #475569;
}

.car-card__details li {
  display: flex;
  flex-direction: column;
}

.car-card__details li strong {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.car-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border-radius: 9999px;
  background: #16a34a;
  padding: 0.85rem 1.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: background 160ms ease;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.25);
}

.car-card__cta:hover {
  background: #15803d;
}

.floating-tiktok {
  position: fixed;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15), 0 0 30px rgba(0, 0, 0, 0.08);
  animation: tiktok-glow 2.5s ease-in-out infinite;
}

@keyframes tiktok-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 0, 0, 0.15), 0 0 30px rgba(0, 0, 0, 0.08); }
  50% { box-shadow: 0 0 20px rgba(0, 0, 0, 0.25), 0 0 40px rgba(0, 0, 0, 0.12), 0 0 60px rgba(220, 38, 38, 0.1); }
}

.floating-tiktok__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.floating-tiktok__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.floating-tiktok__label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #0f172a;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

@media (max-width: 767px) {
  .floating-tiktok {
    display: none;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 7rem;
  }

  .floating-whatsapp {
    right: 0.75rem;
    bottom: 5.75rem;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .hero-orb-primary,
  .hero-orb-secondary {
    filter: blur(54px);
  }
}

@media (max-width: 640px) {
  .section-copy {
    font-size: 1rem;
    line-height: 1.7;
  }

  .product-card img {
    height: 11rem;
  }

  .trust-pill {
    font-size: 0.88rem;
  }

  .product-chip {
    font-size: 0.72rem;
  }
}
