
/* ========================================
   OSECARS Navbar
   ======================================== */
.os-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 48px);
  height: 60px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: "Inter", system-ui, sans-serif;
  transition: background 0.3s ease;
}
.os-nav.scrolled {
  background: rgba(0,0,0,0.9);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.os-nav__left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.os-nav__logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.os-nav__logo span { color: #e31937; }
.os-nav__back {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.os-nav__back:hover { color: #fff; }
.os-nav__links {
  display: flex;
  gap: 28px;
}
.os-nav__link {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.3s ease;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.os-nav__link:hover, .os-nav__link.active {
  color: #fff;
  border-bottom-color: #e31937;
}
.os-nav__link--cta {
  color: #e31937;
  font-weight: 700;
}
.os-nav__link--cta:hover { color: #ff2d4a; border-bottom-color: #ff2d4a; }
.os-nav__right { display: none; }
.os-nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.os-nav__burger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.os-nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.os-nav__burger.active span:nth-child(2) { opacity: 0; }
.os-nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.os-nav__mobile {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: "Inter", system-ui, sans-serif;
}
.os-nav__mobile.open { opacity: 1; pointer-events: all; }
.os-nav__mobile a {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}
.os-nav__mobile a:hover { color: #e31937; }

/* Scroll to top */
.os-scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}
.os-scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.os-scroll-top:hover {
  background: #e31937;
  border-color: #e31937;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .os-nav__links { display: none; }
  .os-nav__back { display: none; }
  .os-nav__right { display: flex; }
}

/* ========================================
   OSECARS Separator
   ======================================== */
.os-separator {
  height: 80px;
  background: #fff;
}

/* ========================================
   OSECARS Carousel — Full Width
   ======================================== */
.os-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}
.os-carousel__track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.os-carousel__slide {
  position: relative;
  min-width: 100%;
  height: 85vh;
  min-height: 500px;
  max-height: 900px;
  flex-shrink: 0;
  overflow: hidden;
}
.os-carousel__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}
.os-carousel__slide.active .os-carousel__img {
  transform: scale(1.05);
}
.os-carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 30%,
    rgba(0,0,0,0.55) 70%,
    rgba(0,0,0,0.85) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: clamp(40px, 6vw, 80px);
}
.os-carousel__content {
  max-width: 600px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.os-carousel__slide.active .os-carousel__content {
  opacity: 1;
  transform: translateY(0);
}
.os-carousel__title {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.1;
}
.os-carousel__text {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

/* Nav */
.os-carousel__nav {
  position: absolute;
  bottom: clamp(24px, 4vw, 48px);
  right: clamp(24px, 4vw, 80px);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}
.os-carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.os-carousel__btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.08);
}
.os-carousel__dots {
  display: flex;
  gap: 8px;
}
.os-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
  transition: all 0.4s ease;
}
.os-carousel__dot.active {
  width: 32px;
  border-radius: 4px;
  background: #e31937;
}

/* Progress bar */
.os-carousel::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #e31937;
  z-index: 10;
  animation: carouselProgress 5s linear forwards;
}
.os-carousel.paused::after {
  animation-play-state: paused;
}
@keyframes carouselProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* Powertrain section overrides */
#os-powertrain .os-parallax__panel:not(.os-parallax__panel--intro):not(.os-parallax__panel--spacer) {
  min-height: 40vh;
}
#os-powertrain .os-parallax__panel:nth-child(2) {
  justify-content: flex-end;
}
#os-powertrain .os-parallax__panel:nth-child(2) .os-parallax__card {
  margin-left: auto;
}
#os-powertrain .os-parallax__panel:nth-child(3) {
  justify-content: flex-start;
}

/* Counter */
.os-carousel__counter {
  position: absolute;
  top: clamp(20px, 3vw, 40px);
  right: clamp(24px, 4vw, 80px);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  z-index: 10;
  letter-spacing: 0.05em;
}
.os-carousel__counter .os-carousel__current {
  color: #fff;
  font-size: 1.1rem;
}

/* Mobile */
@media (max-width: 768px) {
  .os-carousel__slide { height: 65vh; min-height: 400px; }
  .os-carousel__nav { bottom: 20px; right: 20px; gap: 10px; }
  .os-carousel__btn { width: 40px; height: 40px; }
}

/* ========================================
   OSECARS Parallax — Powertrain
   ======================================== */
.os-parallax {
  position: relative;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}
.os-parallax__bg {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}
.os-parallax__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.os-parallax__img.active {
  opacity: 1;
}
.os-parallax__scroll {
  position: relative;
  z-index: 2;
  margin-top: -100vh;
}
.os-parallax__panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(40px, 6vw, 80px);
}
.os-parallax__panel--spacer {
  min-height: 30vh;
}
.os-parallax__card {
  max-width: 520px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #d0d0d0;
  border-radius: 24px;
  padding: clamp(32px, 4vw, 48px);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.os-parallax__panel.visible .os-parallax__card {
  opacity: 1;
  transform: translateY(0);
}
.os-parallax__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.1;
}
.os-parallax__subtitle {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.15;
}
.os-parallax__text {
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0 0 24px;
}
.os-parallax__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}
.os-parallax__spec {
  text-align: center;
  position: relative;
}
.os-parallax__spec:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
.os-parallax__spec-value {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.os-parallax__spec-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Video variant */
.os-parallax--video .os-parallax__bg {
  background: #000;
}

/* Autopilot layout overrides */
#os-autopilot .os-parallax__panel--intro {
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
#os-autopilot .os-parallax__panel--intro .os-parallax__card {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}
#os-autopilot .os-parallax__panel:not(.os-parallax__panel--intro):not(.os-parallax__panel--spacer) {
  min-height: 35vh;
}
#os-autopilot .os-parallax__panel:nth-child(3) {
  align-items: center;
  justify-content: flex-end;
}
#os-autopilot .os-parallax__panel:nth-child(3) .os-parallax__card {
  margin-left: auto;
}
#os-autopilot .os-parallax__panel:nth-child(4) {
  align-items: center;
  justify-content: flex-start;
}
#os-autopilot .os-parallax__panel:nth-child(5) {
  align-items: center;
  justify-content: flex-end;
}
#os-autopilot .os-parallax__panel:nth-child(5) .os-parallax__card {
  margin-left: auto;
}
.os-parallax__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.os-parallax__video.active {
  opacity: 1;
}

/* Safety section overrides */
#os-safety .os-parallax__panel:not(.os-parallax__panel--intro):not(.os-parallax__panel--spacer) {
  min-height: 40vh;
  justify-content: flex-end;
}
#os-safety .os-parallax__panel:not(.os-parallax__panel--intro):not(.os-parallax__panel--spacer) .os-parallax__card {
  margin-left: auto;
}

/* Light variant for white/light backgrounds */
.os-parallax__card--light {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.os-parallax__card--light .os-parallax__spec:not(:last-child)::after {
  background: rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .os-parallax__panel { padding: 24px; align-items: flex-end; padding-bottom: 60px; }
  .os-parallax__card { max-width: 100%; padding: 24px; }
  .os-parallax__specs { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   OSECARS Contact + Footer
   ======================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

.os-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Contact Section */
.os-contact {
  padding: clamp(60px, 8vw, 120px) 0;
  background: #ffffff;
  position: relative;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
}
.os-contact::before {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: min(800px, 100vw);
  height: 400px;
  background: radial-gradient(ellipse, rgba(227,25,55,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.os-contact__header { text-align: center; margin-bottom: 48px; }
.os-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #e31937;
  margin-bottom: 12px;
}
.os-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #1a1a2e;
}
.os-desc {
  font-size: 1rem;
  color: #555;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}
.os-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 768px) {
  .os-contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Contact Info */
.os-contact__brand {
  font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px;
}
.os-contact__brand span { color: #e31937; }
.os-contact__role {
  font-size: 0.88rem; color: #e31937; font-weight: 600; margin-bottom: 28px;
}
.os-contact__item {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px;
}
.os-contact__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(227,25,55,0.08);
  border: 1px solid rgba(227,25,55,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.os-contact__icon svg { width: 20px; height: 20px; color: #e31937; }
.os-contact__label { color: #666;
  font-size: 0.72rem; color: #888; text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 600; margin-bottom: 3px;
}
.os-contact__value { font-size: 0.95rem; color: #1a1a2e; font-weight: 500; }
.os-contact__value a { color: #1a1a2e; transition: color 0.3s ease; text-decoration: none; }
.os-contact__value a:hover { color: #e31937; }

/* Form */
.os-form {
  background: #f5f5f7;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 44px;
  position: relative;
}
.os-form::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.04), transparent);
}
.os-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 480px) {
  .os-form__row { grid-template-columns: 1fr; }
  .os-form { padding: 28px 20px; }
}
.os-form__group { margin-bottom: 18px; }
.os-form__group label {
  display: block; font-size: 0.78rem; font-weight: 600;
  color: #555; margin-bottom: 7px; letter-spacing: 0.02em;
}
.os-req { color: #e31937; }
.os-form__group input,
.os-form__group textarea {
  width: 100%; padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  color: #1a1a2e;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-sizing: border-box;
}
.os-form__group input:focus,
.os-form__group textarea:focus {
  border-color: #e31937;
  box-shadow: 0 0 0 3px rgba(227,25,55,0.2);
  background: #ffffff;
}
.os-form__group input::placeholder,
.os-form__group textarea::placeholder { color: #888; }
.os-form__group textarea { resize: vertical; min-height: 100px; }
.os-btn {
  display: inline-flex; align-items: center; gap: 10px;
  width: 100%; justify-content: center;
  padding: 16px 40px; margin-top: 8px;
  background: #e31937; color: #fff;
  font-size: 0.95rem; font-weight: 700;
  border-radius: 100px; border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: "Inter", system-ui, sans-serif;
}
.os-btn:hover {
  background: #ff2d4a;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(227,25,55,0.2), 0 0 0 1px rgba(227,25,55,0.3);
}
.os-rgpd {
  margin-top: 16px; font-size: 0.68rem;
  color: #888; line-height: 1.5; text-align: center;
}

/* Footer */
.os-footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  background: #0a0a0f;
  font-family: "Inter", system-ui, sans-serif;
  color: #1a1a2e;
}
.os-footer__brand { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.os-footer__brand span { color: #e31937; }
.os-footer__info { font-size: 0.82rem; color: #888; line-height: 1.6; }
.os-footer__info a { color: #707080; transition: color 0.3s ease; text-decoration: none; }
.os-footer__info a:hover { color: #e31937; }
.os-footer__legal { margin-top: 20px; font-size: 0.7rem; color: #888; }
