/* ============================================================
   ANDES MOBILITY — Main Stylesheet
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --dark: #191919;
  --dark-2: #474747;
  --blue: #585866;
  --blue-2: #797985;
  --blue-3: #9B9BA3;
  --light-1: #C7C7C7;
  --light-2: #D8D8D8;
  --light-3: #E9E9E9;
  --white: #F9F9F9;
}

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

html { scroll-behavior: smooth; }

body {
  background: #000;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── SELECTION ──────────────────────────────────────────────── */
::selection {
  background: var(--blue);
  color: var(--white);
}

/* ── CUSTOM CURSOR ──────────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(249,249,249,0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
}

/* ── SCROLL REVEALS ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1), transform 0.85s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1), transform 0.85s cubic-bezier(0.16,1,0.3,1);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

.reveal-line {
  display: block;
  overflow: hidden;
  line-height: 1.08;
}
.reveal-line-inner {
  display: block;
  transform: translateY(108%);
  transition: transform 1s cubic-bezier(0.16,1,0.3,1);
}
.reveal-line.visible .reveal-line-inner { transform: translateY(0); }

/* Stagger delays */
.d1 { transition-delay: 0.09s !important; }
.d2 { transition-delay: 0.18s !important; }
.d3 { transition-delay: 0.27s !important; }
.d4 { transition-delay: 0.36s !important; }
.d5 { transition-delay: 0.45s !important; }
.d6 { transition-delay: 0.54s !important; }

/* ── SHARED ─────────────────────────────────────────────────── */
.section-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-3);
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--blue-3);
  flex-shrink: 0;
}

/* ============================================================
   [01] HERO
   ============================================================ */
.hero {
  height: 100vh;
  min-height: 640px;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0.72) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(18, 20, 28, 0.58);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-color: rgba(255,255,255,0.07);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.45s ease;
}

.navbar.scrolled .navbar-inner {
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-brand {
  cursor: none;
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: rgba(249,249,249,0.7);
  transition: color 0.2s;
  cursor: none;
  letter-spacing: 0.03em;
}
.nav-link:hover { color: var(--white); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.nav-hamburger .bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
}

.nav-hamburger.open .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 8px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  z-index: 30;
}
.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  transition: color 0.2s;
  letter-spacing: 0.01em;
  cursor: none;
}
.nav-mobile a:hover { color: #555; }

/* Hero body */
.hero-body {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 0 24px;
  margin-top: -60px;
}

.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(249,249,249,0.55);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-heading {
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
}

.hero-heading-line {
  display: block;
  font-size: clamp(60px, 11vw, 124px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.hero-heading-line:first-child { color: rgba(249,249,249,0.38); }
.hero-heading-line:last-child  { color: var(--white); margin-top: -0.05em; }

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  color: rgba(249,249,249,0.5);
  margin-bottom: 40px;
  max-width: 420px;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.7s forwards;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.9s forwards;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 10px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: background-color 0.25s, opacity 0.25s;
  cursor: none;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.01em;
  border: none;
}

.cta-btn-secondary {
  background: rgba(255,255,255,0.16);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cta-btn-secondary:hover { background: rgba(255,255,255,0.26); }

.cta-btn-primary { background: var(--white); color: #111; }
.cta-btn-primary:hover { opacity: 0.9; }

.location-badge {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 0.8s ease 1.2s forwards;
}

.location-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-3);
  animation: pulse 2.5s ease-in-out infinite;
}

.location-text {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-3);
  font-weight: 400;
}

/* ============================================================
   [02] ABOUT
   ============================================================ */
.about {
  background: #000;
  padding: 120px 24px;
}

.about-inner {
  background: #0e0e0e;
  border-radius: 24px;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-content {
  padding: 72px 64px;
  position: relative;
  z-index: 1;
}

.about-content::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88,88,102,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.about-image {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 72%;
  filter: brightness(0.72) grayscale(15%);
  transition: transform 1.2s cubic-bezier(0.16,1,0.3,1);
}

.about-inner:hover .about-image img { transform: scale(1.04); }

.about-heading {
  font-size: clamp(35px, 5vw, 69px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 44px;
}

.about-heading em {
  font-style: italic;
  color: var(--blue-3);
}

.about-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(249,249,249,0.42);
  max-width: 560px;
}

.about-values {
  display: flex;
  gap: 56px;
  margin-top: 60px;
  padding-top: 44px;
  border-top: 1px solid rgba(249,249,249,0.05);
}

.value-item { display: flex; flex-direction: column; gap: 8px; }

.value-number {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--blue-3);
  text-transform: uppercase;
  font-weight: 400;
}

.value-name {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--white);
}

/* ============================================================
   [03] SERVICES
   ============================================================ */
.services {
  background: #000;
  padding: 40px 24px 120px;
}

.services-hero {
  position: relative;
  height: 460px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 6px;
}

.services-hero > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: brightness(0.58) grayscale(8%);
  transition: transform 1.4s cubic-bezier(0.16,1,0.3,1);
}
.services-hero:hover > img { transform: scale(1.02); }

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.28) 52%, rgba(0,0,0,0.68) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 36px 36px;
}

.services-hero-top { display: flex; flex-direction: column; }
.services-hero-bottom { display: flex; flex-direction: column; gap: 10px; }

.services-title {
  font-size: clamp(29px, 4vw, 53px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 620px;
  margin-top: 16px;
}
.services-title .muted { color: rgba(249,249,249,0.42); }

.services-fleet-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-3);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 12px;
}
.services-fleet-label::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--blue-3);
}

.services-fleet-quote {
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 300;
  color: rgba(249,249,249,0.75);
  letter-spacing: -0.01em;
  max-width: 480px;
  line-height: 1.4;
}

/* Cards */
.cards-grid {
  display: flex;
  gap: 6px;
  height: 480px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #111;
  opacity: 0;
  flex: 1 1 0;
  min-width: 0;
  transform: scale(0.94) translateY(10px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.card.visible { opacity: 1; transform: scale(1) translateY(0); }
.card:nth-child(1) { transition-delay: 0s; }
.card:nth-child(2) { transition-delay: 0.1s; }
.card:nth-child(3) { transition-delay: 0.2s; }

.card-feature {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #111111;
}

.card-icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg { width: 72px; height: 72px; stroke: rgba(249,249,249,0.22); fill: none; stroke-width: 1; }

.card-body-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-top: auto;
}

.card-dec-num {
  font-size: clamp(88px, 9vw, 130px);
  font-weight: 200;
  color: rgba(249,249,249,0.22);
  line-height: 0.85;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 6px;
}

.card-body { display: flex; flex-direction: column; flex: 1; }

.card-title {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.card-checks { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }

.check-item { display: flex; align-items: flex-start; gap: 9px; }

.check-icon { width: 13px; height: 13px; flex-shrink: 0; margin-top: 2px; stroke: var(--light-1); fill: none; stroke-width: 2.5; }

.check-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(249,249,249,0.38);
  letter-spacing: 0.01em;
}

/* ============================================================
   [04] QUOTE STRIP
   ============================================================ */
.quote-strip {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.quote-strip-bg {
  position: absolute;
  inset: -60px 0;
  background-image: url('../v2/assets_v2/pexels-chipi1189-37094847.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.3) grayscale(22%);
  will-change: transform;
}

.quote-strip-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  text-align: center;
}

.quote-line {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-3);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
}
.quote-line::before, .quote-line::after {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--blue-3);
}

.quote-text {
  font-size: clamp(23px, 3.5vw, 43px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 820px;
}
.quote-text em { font-style: italic; color: var(--blue-3); }

/* ============================================================
   [05] CONTACT
   ============================================================ */
.contact {
  background: #000;
  padding: 80px 40px 120px;
}

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-heading {
  font-size: clamp(37px, 4vw, 61px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 24px;
}
.contact-heading em { font-style: italic; color: var(--blue-3); }

.contact-sub {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(249,249,249,0.4);
}

.contact-form { display: flex; flex-direction: column; gap: 14px; }

.form-field {
  background: #0e0e0e;
  border: 1px solid rgba(249,249,249,0.07);
  border-radius: 12px;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.form-field::placeholder { color: rgba(249,249,249,0.25); }
.form-field:focus { border-color: rgba(249,249,249,0.2); }

textarea.form-field { resize: none; height: 120px; }

.form-submit {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: 100px;
  padding: 12px 12px 12px 28px;
  cursor: none;
  border: none;
  width: fit-content;
  transition: gap 0.35s cubic-bezier(0.16,1,0.3,1);
  margin-top: 4px;
  font-family: 'Inter', sans-serif;
}
.form-submit:hover { gap: 18px; }
.form-submit:hover .submit-circle { transform: scale(1.1); }

.submit-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
}

.submit-circle {
  width: 36px; height: 36px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s;
  flex-shrink: 0;
}
.submit-circle svg { width: 14px; height: 14px; stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   [06] FOOTER
   ============================================================ */
.footer {
  background: #000;
  padding: 32px 44px;
  border-top: 1px solid rgba(249,249,249,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img { height: 28px; width: auto; opacity: 0.75; }

.footer-tagline {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue-3);
  text-transform: uppercase;
  font-style: italic;
  font-weight: 300;
}

.footer-url {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(249,249,249,0.25);
  font-weight: 300;
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.75); }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-image { min-height: 320px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

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

  .cards-grid {
    flex-direction: column;
    height: auto;
  }
  .card { min-height: 300px; }

  .about-content { padding: 48px 32px; }
  .about-values { gap: 32px; }

  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }

  .contact { padding: 60px 24px 80px; }
}
