/* AutomotoBridge — shared styles */

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

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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --blue: #1a56ff;
  --grey-100: #f5f5f5;
  --grey-200: #e8e8e8;
  --grey-400: #999999;
  --grey-600: #555555;
  --nav-height: 120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ── NAV ─────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 10px 0;
  overflow: visible;
}

.nav__inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo img {
  height: 100px;
  width: auto;
  max-width: none;
  display: block;
  flex-shrink: 0;
}

.nav__logo-text span {
  color: var(--blue);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-600);
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--black);
}

.nav__links .nav__cta {
  color: var(--white);
  background: var(--black);
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s;
}

.nav__links .nav__cta:hover {
  background: var(--blue);
  color: var(--white);
}

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--black);
  transition: all 0.25s;
  transform-origin: center;
}

.nav__burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__burger.open span:nth-child(2) {
  opacity: 0;
}
.nav__burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  padding: 24px 32px 32px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  font-size: 17px;
  font-weight: 500;
  color: var(--black);
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-100);
}

.nav__mobile a:last-child {
  border-bottom: none;
  color: var(--blue);
  font-weight: 600;
  margin-top: 8px;
}

/* ── LAYOUT UTILITIES ─────────────────────────────────── */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 0;
}

.section--grey {
  background: var(--grey-100);
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.label--white {
  color: rgba(255,255,255,0.5);
}

h1, h2, h3, h4 {
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h1 { font-size: clamp(44px, 6vw, 80px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 18px; }

p {
  line-height: 1.7;
}

.text-muted {
  color: var(--grey-600);
}

.text-muted--white {
  color: rgba(255,255,255,0.55);
}

/* ── BUTTONS ─────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--black);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue);
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
}

.btn--blue:hover {
  background: #0f3fe0;
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ── HERO ─────────────────────────────────────────────── */

.hero {
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--grey-200);
}

.hero__inner {
  max-width: 820px;
}

.hero__headline {
  margin-bottom: 28px;
}

.hero__headline em {
  font-style: normal;
  color: var(--blue);
}

.hero__sub {
  font-size: clamp(17px, 2vw, 22px);
  color: var(--grey-600);
  font-weight: 400;
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* ── HOW IT WORKS ─────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}

.step__number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 20px;
  display: block;
}

.step__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--black);
}

.step__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.step__body {
  font-size: 15px;
  color: var(--grey-600);
  line-height: 1.65;
}

/* ── BRAND STRIP ─────────────────────────────────────── */

.brand-strip {
  padding: 56px 0;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}

.brand-strip__label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 36px;
}

.brand-strip__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 48px;
}

.brand-strip__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--grey-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.brand-strip__name:hover {
  color: var(--grey-600);
}

/* ── WHO WE WORK WITH ─────────────────────────────────── */

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 64px;
  border: 1px solid var(--grey-200);
}

.who-card {
  padding: 56px 52px;
  background: var(--white);
}

.who-card:first-child {
  border-right: 1px solid var(--grey-200);
}

.who-card__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.who-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.who-card__list li {
  font-size: 15px;
  color: var(--grey-600);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.who-card__list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── FEATURE GRID (inner page) ───────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 64px;
  border: 1px solid var(--grey-200);
}

.feature-card {
  padding: 48px 44px;
  background: var(--white);
  border-right: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}

.feature-card:nth-child(even) {
  border-right: none;
}

.feature-card:nth-last-child(-n+2) {
  border-bottom: none;
}

.feature-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: var(--blue);
}

.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.feature-card__body {
  font-size: 15px;
  color: var(--grey-600);
  line-height: 1.65;
}

/* ── STAT STRIP ──────────────────────────────────────── */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  margin-top: 64px;
}

.stat {
  padding: 52px 40px;
  text-align: center;
  border-right: 1px solid var(--grey-200);
}

.stat:last-child {
  border-right: none;
}

.stat__number {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 10px;
}

.stat__number span {
  color: var(--blue);
}

.stat__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-600);
}

/* ── TYPES LIST ──────────────────────────────────────── */

.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.type-item {
  padding: 36px 32px;
  border: 1px solid var(--grey-200);
  border-radius: 4px;
}

.type-item__icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.type-item__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.type-item__body {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.6;
}

/* ── CONTACT FORM ────────────────────────────────────── */

.form {
  max-width: 620px;
  margin: 56px auto 0;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
}

.form__input,
.form__select,
.form__textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: 6px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--blue);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--grey-400);
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form__select option {
  color: var(--black);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 15px;
  margin-top: 8px;
}

.form__success {
  display: none;
  text-align: center;
  padding: 56px 0;
}

.form__success h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.form__success p {
  color: var(--grey-600);
}

/* ── CTA BANNER ──────────────────────────────────────── */

.cta-banner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner h2 {
  margin-bottom: 20px;
}

.cta-banner p {
  font-size: 18px;
  color: var(--grey-600);
  margin-bottom: 40px;
}

.cta-banner--dark p {
  color: rgba(255,255,255,0.55);
}

/* ── FOOTER ──────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--grey-200);
  padding: 56px 0 40px;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.footer__brand img {
  height: 40px;
  width: auto;
}

.footer__brand span {
  color: var(--blue);
}

.footer__tagline {
  font-size: 14px;
  color: var(--grey-400);
  max-width: 240px;
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  gap: 56px;
}

.footer__nav-group h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 16px;
}

.footer__nav-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-group a {
  font-size: 14px;
  color: var(--grey-600);
  transition: color 0.2s;
}

.footer__nav-group a:hover {
  color: var(--black);
}

.footer__bottom {
  border-top: 1px solid var(--grey-200);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__copy {
  font-size: 13px;
  color: var(--grey-400);
}

.footer__email a {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-600);
  transition: color 0.2s;
}

.footer__email a:hover {
  color: var(--blue);
}

/* ── PAGE HERO (inner pages) ─────────────────────────── */

.page-hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--grey-200);
}

.page-hero__label {
  margin-bottom: 20px;
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
}

.page-hero p {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--grey-600);
  max-width: 520px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin-bottom: 44px;
}

/* ── DIVIDER ─────────────────────────────────────────── */

.divider {
  height: 1px;
  background: var(--grey-200);
  border: none;
}

/* ── SCROLL ANIMATION ─────────────────────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.fade-up--delay-1 { transition-delay: 0.1s; }
.fade-up--delay-2 { transition-delay: 0.2s; }
.fade-up--delay-3 { transition-delay: 0.3s; }
.fade-up--delay-4 { transition-delay: 0.4s; }
.fade-up--delay-5 { transition-delay: 0.5s; }

/* ── RESPONSIVE ──────────────────────────────────────── */

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .who-card:first-child {
    border-right: none;
    border-bottom: 1px solid var(--grey-200);
  }

  .who-card {
    padding: 44px 36px;
  }

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

  .feature-card {
    border-right: none !important;
    border-bottom: 1px solid var(--grey-200) !important;
  }

  .feature-card:last-child {
    border-bottom: none !important;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--grey-200);
    padding: 36px 24px;
  }

  .stat:last-child {
    border-bottom: none;
  }

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

  .footer__inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer__nav {
    flex-direction: column;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

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

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .page-hero {
    padding: 72px 0 60px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .nav__inner {
    padding: 0 20px;
  }

  .nav__mobile {
    padding: 20px 20px 28px;
  }

  .who-card {
    padding: 36px 24px;
  }

  .feature-card {
    padding: 36px 28px;
  }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-banner p {
    font-size: 16px;
  }
}
