/* ============================================
   OUT AUTO EXPORT - Main Stylesheet
   Design: High-End Automotive Editorial
   ============================================ */

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

:root {
  --surface: #111318;
  --surface-dim: #111318;
  --surface-container-lowest: #0c0e12;
  --surface-container-low: #1a1c20;
  --surface-container: #1e2024;
  --surface-container-high: #282a2e;
  --surface-container-highest: #333539;
  --surface-bright: #37393e;

  --primary: #ffb3ac;
  --primary-dark: #ba1a20;
  --primary-container: #670008;
  --on-primary-container: #ff645c;

  --on-surface: #e2e2e8;
  --on-surface-variant: #c6c5d4;
  --outline: #908f9d;
  --outline-variant: #454652;

  --font-headline: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

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

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s;
}

.navbar.scrolled {
  background: rgba(10, 10, 14, 0.96);
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9ca3af;
  transition: color 0.3s;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-dark);
}

.btn-whatsapp-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-dark);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: filter 0.3s;
}

.btn-whatsapp-nav .material-symbols-outlined {
  font-size: 18px;
}

.btn-whatsapp-nav:hover {
  filter: brightness(1.2);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--surface-dim);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--surface) 0%, rgba(17,19,24,0.4) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-family: var(--font-body);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #fff;
  font-style: italic;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--on-surface-variant);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 1.1rem 2.8rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  box-shadow: 0 8px 32px rgba(186,26,32,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(186,26,32,0.45);
}

.btn-secondary {
  display: inline-block;
  border: 1px solid rgba(144,143,157,0.3);
  color: #fff;
  padding: 1.1rem 2.8rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
}

/* === SECTION: WHY === */
.section-why {
  padding: 8rem 0;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-style: italic;
}

.section-title-bordered {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin-bottom: 3rem;
}

.title-line {
  flex-grow: 1;
  height: 1px;
  background: rgba(69,70,82,0.3);
  margin-bottom: 0.6rem;
  display: none;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface-container-low);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1;
  transition: background 0.3s;
}

.feature-card:hover {
  background: var(--surface-container-high);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.feature-title {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
}

/* === SECTION: CATALOG === */
.section-catalog {
  padding: 8rem 0;
  background: var(--surface-container-lowest);
}

.catalog-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--surface-container-high);
  border: 1px solid rgba(69,70,82,0.3);
  color: var(--on-surface-variant);
  padding: 0.6rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 2px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.catalog-grid {
  gap: 2.5rem 2rem;
}

/* Vehicle Cards */
.vehicle-card {
  min-width: 0;
  transition: transform 0.3s;
}

.vehicle-card:hover {
  transform: translateY(-4px);
}

.vehicle-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.vehicle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.vehicle-card:hover .vehicle-img-wrap img {
  transform: scale(1.08);
}

.vehicle-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge-usa {
  background: var(--primary);
  color: var(--surface);
}

.badge-dubai {
  background: var(--on-surface);
  color: var(--surface);
}

.vehicle-badge-offer {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-dark);
  color: #fff;
  padding: 0.3rem 0.8rem;
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: pulse-offer 2s infinite;
}

@keyframes pulse-offer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.vehicle-info {
  padding: 0 0.25rem;
}

.vehicle-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.6rem;
  gap: 1rem;
}

.vehicle-name {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
}

.vehicle-price {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.vehicle-desc {
  font-size: 0.8rem;
  color: var(--on-surface-variant);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(69,70,82,0.2);
  border-bottom: 1px solid rgba(69,70,82,0.2);
  margin-bottom: 1.2rem;
}

.spec-label {
  display: block;
  font-size: 0.6rem;
  color: var(--on-surface-variant);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.spec-value {
  display: block;
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-card {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--surface-container-high);
  color: var(--primary);
  padding: 0.8rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s;
}

.btn-card:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* === SECTION: OFFERS === */
.section-offers {
  background: var(--primary-dark);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.offers-bg-text {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-headline);
  font-size: 18vw;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  opacity: 0.08;
  user-select: none;
  color: #fff;
}

.offers-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.offers-title {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 700px;
}

.offers-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 600px;
}

.btn-offers {
  display: inline-block;
  background: #fff;
  color: var(--primary-dark);
  padding: 1.3rem 3rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: background 0.3s;
  white-space: nowrap;
}

.btn-offers:hover {
  background: #f0f0f0;
}

/* === SECTION: PROCESS === */
.section-process {
  padding: 8rem 0;
  overflow: hidden;
}

.process-header {
  text-align: center;
  margin-bottom: 5rem;
}

.process-underline {
  width: 6rem;
  height: 4px;
  background: var(--primary);
  margin: 1rem auto 0;
}

.process-line-wrap {
  position: relative;
}

.process-line {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(69,70,82,0.3);
  transform: translateY(-50%);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.process-step {
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--surface-container-high);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 1px solid rgba(255,179,172,0.3);
  position: relative;
}

.step-number span {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
}

.step-title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.step-text {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
}

/* === SECTION: ABOUT === */
.section-about {
  padding: 8rem 0;
  background: var(--surface-container-low);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.about-image-wrap {
  position: relative;
}

.about-corner {
  position: absolute;
  top: -2.5rem;
  left: -2.5rem;
  width: 10rem;
  height: 10rem;
  border-top: 4px solid rgba(255,179,172,0.3);
  border-left: 4px solid rgba(255,179,172,0.3);
}

.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(1) brightness(0.5);
}

.about-stat-card {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  background: rgba(40, 42, 46, 0.7);
  backdrop-filter: blur(12px);
  padding: 2rem;
  max-width: 250px;
  border: 1px solid rgba(255,255,255,0.05);
}

.about-stat-number {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.about-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface-variant);
}

.about-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 2rem;
}

.about-text {
  font-size: 1.05rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-stats-row {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-big {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface-variant);
}

/* === SECTION: CONTACT === */
.section-contact {
  padding: 8rem 0;
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.contact-info-card {
  background: var(--surface-container-low);
  padding: 3rem 2rem;
  text-align: center;
  transition: background 0.3s;
}

.contact-info-card:hover {
  background: var(--surface-container-high);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-card-title {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.contact-card-text {
  font-size: 0.9rem;
  color: var(--on-surface-variant);
}

/* === FOOTER === */
.footer {
  background: #0f0f0f;
  padding: 5rem 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  line-height: 1.8;
  max-width: 320px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-heading {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-link {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--primary-dark);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  font-size: 0.75rem;
  color: #6b7280;
  transition: color 0.3s;
}

.social-link:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
}

.footer-icons {
  display: flex;
  gap: 1.5rem;
}

.footer-icons .material-symbols-outlined {
  color: #6b7280;
  font-size: 22px;
}

/* === WHATSAPP FLOTANTE === */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

/* === SCROLL ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (min-width: 1024px) {
  .title-line {
    display: block;
  }
  .process-line {
    display: block;
  }
}

@media (max-width: 1023px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .navbar-inner {
    padding: 0 1.5rem;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(10,10,14,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .btn-whatsapp-nav {
    display: none;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-card {
    aspect-ratio: auto;
    padding: 2rem;
  }

  .spec-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .offers-inner {
    flex-direction: column;
    text-align: center;
  }

  .offers-title {
    font-size: 2rem;
  }

  .about-corner {
    display: none;
  }

  .about-stat-card {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: -3rem;
    margin-left: 1rem;
  }

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

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

  .section-why,
  .section-catalog,
  .section-process,
  .section-about,
  .section-contact {
    padding: 5rem 0;
  }
}
