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

/* ── FONTS ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'Area Inktrap Extended';
  src: url('../assets/fonts/Area_Inktrap_Extended_Black.otf') format('opentype');
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'Area Inktrap Extended';
  src: url('../assets/fonts/Area_Inktrap_Extended_Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Area Inktrap Extended';
  src: url('../assets/fonts/Area_Inktrap_Extended_Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Acumin Pro';
  src: url('../assets/fonts/Acumin-RPro.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Acumin Pro';
  src: url('../assets/fonts/Acumin-BdPro.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Acumin Pro';
  src: url('../assets/fonts/Acumin-ItPro.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Acumin Pro';
  src: url('../assets/fonts/Acumin-BdItPro.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Colors */
  --c-base: #181818;
  --c-surface: #1f1f1f;
  --c-accent: #6b6b7a;
  --c-accent-mid: #9898a6;
  --c-text: #E2E2E2;
  --c-text-sub: #F0F0F0;
  --c-muted: #7a7a88;
  --c-border: rgba(220, 220, 220, 0.13);
  --c-border-hover: rgba(220, 220, 220, 0.65);

  /* Typography */
  --font-display: 'Area Inktrap Extended', 'Helvetica Neue', sans-serif;
  --font-body: 'Acumin Pro', 'Helvetica Neue', sans-serif;

  /* Type scale */
  --text-hero: clamp(3.5rem, 9vw, 8rem);
  --text-title: clamp(2.2rem, 5vw, 4rem);
  --text-subtitle: clamp(1rem, 2vw, 1.35rem);
  --text-body: 1rem;
  --text-small: 0.85rem;
  --text-micro: 0.68rem;

  /* Spacing */
  --nav-h: 80px;
  --section-pad: clamp(6rem, 12vw, 10rem);
  --inner-max: 1200px;
  --inner-pad: clamp(1.5rem, 5vw, 4rem);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.6s;
  --dur-slow: 1.1s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--c-base);
  color: var(--c-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

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

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

ul {
  list-style: none;
}

/* ── CUSTOM CURSOR ──────────────────────────────────────────── */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--c-text);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.2s ease, width 0.3s var(--ease-out), height 0.3s var(--ease-out);
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(199, 199, 199, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-out), width 0.4s var(--ease-out), height 0.4s var(--ease-out), opacity 0.3s;
}

body.cursor-hover .cursor {
  width: 12px;
  height: 12px;
}

body.cursor-hover .cursor-follower {
  width: 48px;
  height: 48px;
  border-color: rgba(199, 199, 199, 0.2);
}

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal:nth-child(5) {
  transition-delay: 0.4s;
}

/* ── SHARED UTILS ───────────────────────────────────────────── */
.section-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-micro);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 1.5rem;
}

/* ── BTN ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  transition: background var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard);
  cursor: none;
}

.btn--outline {
  border: 1px solid var(--c-text);
  color: var(--c-text);
  background: transparent;
}

.btn--outline:hover {
  background: var(--c-text);
  color: var(--c-base);
}

.btn__arrow {
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn--outline:hover .btn__arrow {
  transform: translateX(5px);
}

/* ============================================================
   [01] NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--inner-pad);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur-med) ease, backdrop-filter var(--dur-med) ease,
    border-color var(--dur-fast) ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(25, 25, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--c-border);
}

.nav__inner {
  max-width: var(--inner-max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 22px;
  width: auto;
}

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

.nav__link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent-mid);
  position: relative;
  transition: color var(--dur-fast) ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-text);
  transition: width var(--dur-fast) var(--ease-out);
}

.nav__link:hover {
  color: var(--c-text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  font-size: 0.75rem;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  padding: 0.55rem 1.2rem;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: var(--c-text);
  color: var(--c-base);
  border-color: var(--c-text);
}

/* ============================================================
   [02] HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--nav-h) var(--inner-pad) 0;
  overflow: hidden;
  background-image: url('../assets/hero-bg-cinematic.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* Dark overlay for legibility */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(18, 18, 18, 0.52) 0%,
      rgba(18, 18, 18, 0.30) 55%,
      rgba(18, 18, 18, 0.06) 100%);
  pointer-events: none;
  z-index: 0;
}



.hero__content {
  max-width: var(--inner-max);
  width: 100%;
  margin: 0 auto;
  padding: 8rem 0 6rem;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent-mid);
  margin-bottom: 2rem;
}

.eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--c-muted);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-hero);
  line-height: 1.02;
  letter-spacing: 0.04em;
  color: var(--c-text-sub);
  margin-bottom: 2rem;
  transition-delay: 0.1s;
}

.hero__sub {
  font-family: var(--font-body);
  font-size: var(--text-subtitle);
  font-weight: 400;
  color: var(--c-accent-mid);
  line-height: 1.65;
  margin-bottom: 3rem;
  max-width: 560px;
  transition-delay: 0.2s;
}

#hero-cta {
  transition-delay: 0.3s;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 3rem;
  right: var(--inner-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.4;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--c-text));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.hero__scroll-text {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-muted);
  writing-mode: vertical-rl;
}

/* ============================================================
   [03] STATEMENT
   ============================================================ */
.statement {
  position: relative;
  padding: var(--section-pad) var(--inner-pad);
  overflow: hidden;
  background: var(--c-base);
}

.statement__inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.statement__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-title);
  line-height: 1.15;
  color: var(--c-text-sub);
  font-style: normal;
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
  transition-delay: 0.1s;
}

.statement__divider {
  width: 50px;
  height: 1px;
  background: var(--c-border-hover);
  margin-bottom: 2.5rem;
  transition-delay: 0.2s;
}

.statement__body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.8;
  margin-bottom: 4rem;
  transition-delay: 0.3s;
}

.statement__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  transition-delay: 0.4s;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.value-item__num {
  font-family: var(--font-body);
  font-size: var(--text-micro);
  letter-spacing: 0.2em;
  color: var(--c-muted);
  text-transform: uppercase;
}

.value-item__rule {
  width: 100%;
  height: 1px;
  background: var(--c-border);
}

.value-item__label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  color: var(--c-text);
  letter-spacing: 0.06em;
}



/* ============================================================
   [04] SERVICES
   ============================================================ */
.services {
  position: relative;
  padding: var(--section-pad) var(--inner-pad);
  background: var(--c-surface);
  overflow: hidden;
}

.services__inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.services__header {
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 2rem;
}

.services__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-title);
  line-height: 1.1;
  color: var(--c-text-sub);
  letter-spacing: 0.04em;
  transition-delay: 0.1s;
}

.services__list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: start;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--c-border);
  transition: border-color var(--dur-fast) ease;
  cursor: none;
}

.service-item:last-child {
  border-bottom: 1px solid var(--c-border);
}

.service-item:hover {
  border-top-color: var(--c-border-hover);
}

.service-item:hover .service-item__content {
  transform: translateX(6px);
}

.service-item__num {
  font-family: var(--font-body);
  font-size: var(--text-micro);
  letter-spacing: 0.18em;
  color: var(--c-muted);
  padding-top: 0.25rem;
  transition: color var(--dur-fast) ease;
}

.service-item:hover .service-item__num {
  color: var(--c-text);
}

.service-item__content {
  transition: transform var(--dur-fast) var(--ease-out);
}

.service-item__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}

.service-item__desc {
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--c-muted);
  line-height: 1.65;
  max-width: 520px;
}

.service-item__arrow {
  font-size: 1.1rem;
  color: var(--c-muted);
  padding-top: 0.2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out), color var(--dur-fast) ease;
}

.service-item:hover .service-item__arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--c-text);
}



/* ============================================================
   [05] WHY
   ============================================================ */
.why {
  padding: var(--section-pad) var(--inner-pad);
  background: var(--c-base);
}

.why__inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 8vw, 8rem);
  align-items: start;
}

.why__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-title);
  line-height: 1.12;
  color: var(--c-text-sub);
  letter-spacing: 0.04em;
  margin-bottom: 1.8rem;
  transition-delay: 0.1s;
}

.why__body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-muted);
  line-height: 1.8;
  transition-delay: 0.2s;
}

.why__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-attr {
  padding: 1.8rem 0;
  border-top: 1px solid var(--c-border);
  transition: border-color var(--dur-fast) ease;
}

.why-attr:last-child {
  border-bottom: 1px solid var(--c-border);
}

.why-attr:hover {
  border-top-color: var(--c-border-hover);
}

.why-attr__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.12rem;
  color: var(--c-text);
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.why-attr__rule {
  display: none;
}

.why-attr__desc {
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--c-muted);
  line-height: 1.6;
}

/* ============================================================
   [06] CONTACT
   ============================================================ */
.contact {
  position: relative;
  padding: var(--section-pad) var(--inner-pad);
  background: var(--c-surface);
  overflow: hidden;
}



.contact__inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact__header {
  margin-bottom: 3.5rem;
}

.contact__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-title);
  line-height: 1.1;
  color: var(--c-text-sub);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  transition-delay: 0.1s;
}

.contact__sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-small);
  color: var(--c-muted);
  line-height: 1.7;
  transition-delay: 0.2s;
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
  transition-delay: 0.15s;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-border);
  border-radius: 2px;
  padding: 2.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-field__label {
  font-family: var(--font-body);
  font-size: var(--text-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.form-field__input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--c-border);
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-text);
  outline: none;
  transition: border-color var(--dur-fast) ease;
  width: 100%;
  resize: none;
  caret-color: var(--c-text);
}

.form-field__input::placeholder {
  color: rgba(88, 88, 102, 0.5);
}

.form-field__input:focus {
  border-bottom-color: var(--c-text);
}

.form-field__textarea {
  line-height: 1.6;
}

.form__submit {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--c-text);
  letter-spacing: 0.08em;
  cursor: none;
  padding: 0;
  margin-top: 0.5rem;
  position: relative;
  transition: color var(--dur-fast) ease;
}

.form__submit::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-text);
  transition: width var(--dur-med) var(--ease-out);
}

.form__submit:hover::after {
  width: 100%;
}

.form__submit-arrow {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease-out);
}

.form__submit:hover .form__submit-arrow {
  transform: translateX(6px);
}

.contact__info {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--c-muted);
  transition-delay: 0.25s;
}

.contact__info-dot {
  opacity: 0.4;
}

.contact__info-link {
  transition: color var(--dur-fast) ease;
}

.contact__info-link:hover {
  color: var(--c-text);
}

/* ============================================================
   [07] FOOTER
   ============================================================ */
.footer {
  background: #111111;
  padding: 3.5rem var(--inner-pad) 2.5rem;
  border-top: 1px solid var(--c-border);
}

.footer__inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__logo-img {
  height: 18px;
  width: auto;
  opacity: 0.6;
  transition: opacity var(--dur-fast) ease;
}

.footer__logo-img:hover {
  opacity: 1;
}

.footer__tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-small);
  color: var(--c-muted);
  text-align: center;
  letter-spacing: 0.05em;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: var(--text-micro);
  color: rgba(88, 88, 102, 0.6);
  text-align: right;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.footer__bottom-line {
  max-width: var(--inner-max);
  margin: 0 auto;
  height: 1px;
  background: var(--c-border);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .services__header {
    grid-template-columns: 1fr;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__copy {
    text-align: center;
  }

  .statement__values {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-item {
    grid-template-columns: 45px 1fr;
  }

  .service-item__arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav__links {
    gap: 1.5rem;
  }

  .nav__link:not(.nav__link--cta) {
    display: none;
  }

  .contact__info {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .contact__info-dot {
    display: none;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* ── NOISE TEXTURE overlay ───────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9990;
  will-change: transform;
}

/* ── Selection ───────────────────────────────────────────────── */
::selection {
  background: var(--c-accent);
  color: var(--c-text-sub);
}