/* =====================================================================
   Mahindra USA — Landing Page Template
   Plain HTML/CSS/JS version for WordPress integration.
   Ported from the React/Next.js source — class names are prefixed per
   section (BEM-ish) so nothing collides in a global stylesheet.
   ===================================================================== */

/* ── Custom font ─────────────────────────────────────── */
@font-face {
  font-family: 'QuantumRise';
  src: url('../../fonts/campaign-1100/QuantumRise-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ── Design tokens ───────────────────────────────────── */
:root {
  --primary-red: #e51836;
  --primary-red-hover: #c4122c;
  --primary-red-glow: rgba(229, 24, 54, 0.22);
  --dark-bg: #080808;
  --surface: #0d0d0d;
  --card-bg: rgba(255, 255, 255, 0.03);
  --text-main: #ffffff;
  --text-secondary: #ffffff;
  --text-muted: #ffffff;
  --border-color: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.16);
  --container-padding: 1.5rem;
  --max-width: 1280px;
  --section-padding-desktop: 7rem 0;
  --section-padding-mobile: 4rem 0;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'QuantumRise', 'Arial Black', sans-serif;
  --font-body: 'Georama', 'Arial', sans-serif;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --header-height: 76px;
}

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

/* ── Base ────────────────────────────────────────────── */
html,
body {
  scroll-behavior: smooth;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--dark-bg);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

p,
span,
label,
input,
textarea,
select,
li {
  font-family: var(--font-body);
}

a {
  font-family: var(--font-body);
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
}

/* ── Primary button ──────────────────────────────────── */
.btn-primary {
  background-color: var(--primary-red);
  color: #fff;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-sm);
  transition:
          background-color var(--transition-fast),
          transform var(--transition-fast),
          box-shadow var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(227, 24, 55, 0.38);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ── Offer disclaimer asterisk ───────────────────────── */
.offer-star {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.offer-star:hover {
  text-decoration: underline;
}

/* ── Section padding ─────────────────────────────────── */
.section-padding {
  padding: var(--section-padding-mobile);
}

@media (min-width: 768px) {
  .section-padding {
    padding: var(--section-padding-desktop);
  }
}

/* ── Fade-in on scroll (replaces the React FadeIn wrapper) ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   Layout grid helpers
   If Bootstrap is already enqueued on the WordPress site, delete this
   block — these are just the handful of grid/utility classes the
   template markup uses (container, row, col-*, d-flex, d-none, d-lg-*).
   ===================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.row.g-0 { margin-left: 0; margin-right: 0; }
.row.g-0 > * { padding-left: 0; padding-right: 0; }

.row.g-3 > * { padding: 0.5rem 0.75rem; }
.row.g-4 > * { padding: 0.75rem 0.75rem; }

.col-12 { flex: 0 0 100%; max-width: 100%; padding-left: 0.75rem; padding-right: 0.75rem; }

.d-flex { display: flex; }
.d-none { display: none; }
.justify-content-between { justify-content: space-between; }
.align-items-center {
  align-items: center;
}

.h-100 {
  height: 100%;
}

@media (min-width: 576px) {
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 768px) {
  .col-md-5 {
    flex: 0 0 41.6667%;
    max-width: 41.6667%;
  }

  .col-md-7 {
    flex: 0 0 58.3333%;
    max-width: 58.3333%;
  }

  .row.g-md-5>* {
    padding: 1.5rem;
  }
}

@media (min-width: 992px) {
  .d-lg-flex {
    display: flex;
  }

  .d-lg-block {
    display: block;
  }

  .d-lg-none {
    display: none;
  }
}


/* =====================================================================
   Site header
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(8, 8, 8, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  max-width: 140px;
}

.site-header__nav {
  gap: 2rem;
}

.site-header__link {
  color: #ffffff;
  transition: color 0.2s ease;
}

.site-header__link:hover {
  color: #fff;
}

.site-header__hamburger {
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 17px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
  padding: 0;
}

.site-header__bar {
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__hamburger.is-open .site-header__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.site-header__hamburger.is-open .site-header__bar:nth-child(2) {
  opacity: 0;
}

.site-header__hamburger.is-open .site-header__bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.site-header__mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 5, 5, 0.98);
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.site-header__mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.site-header__mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.site-header__mobile-link {
  color: #ffffff;
  transition: color 0.2s ease;
}

.site-header__mobile-link:hover {
  color: #fff;
}

@media (min-width: 992px) {
  .site-header__mobile-menu {
    display: none;
  }
}


/* =====================================================================
   Hero
   ===================================================================== */
.hero-form-row {
  margin-top: 76px;
}

@media (min-width: 992px) {
  .hero-form-row {
    position: relative;
  }

  .hero-form-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 3rem;
    margin: auto 0;
    width: 420px;
    max-height: calc(100% - 4rem);
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #050505;
  min-height: 50svh;
}

.hero__image-layer {
  position: absolute;
  inset: 0;
  background: url('../../img/campaign-1100/slides/1100-4.JPG') center / cover no-repeat;
  opacity: 1;
  transform: scale(1.04) scaleX(-1);
  z-index: 0;
}

.hero__gradient-layer {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.40);
  z-index: 1;
}

.hero__glow-layer {
  position: absolute;
  bottom: -20%;
  left: -8%;
  width: 60%;
  height: 75%;
  background: radial-gradient(ellipse at center, rgba(227, 24, 55, 0.14) 0%, transparent 68%);
  z-index: 2;
  pointer-events: none;
}

.hero__noise-layer {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  z-index: 3;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

.hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-top: 7rem;
  padding-bottom: 3.5rem;
}

.hero__headline {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
}

.hero__headline-solid {
  font-family: inherit;
  color: #ffffff;
}

.hero__headline-red {
  font-family: inherit;
  color: var(--primary-red);
}

.hero__subhead {
  color: #ffffff;
  line-height: 1.7;
  max-width: 420px;
  margin: 0;
  margin-top: -1rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 0.25rem;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-right: 2rem;
}

.hero__stat-val {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  display: block;
}

.hero__stat-label {
  font-size: 0.62rem;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__stat-rule {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  margin-right: 2rem;
}

@media (min-width: 992px) {
  .hero {
    min-height: calc(100vh - 76px);
    align-items: center;
  }

  .hero__inner {
    padding-top: 0;
    padding-bottom: 4.5rem;
    gap: 2rem;
  }
}


/* =====================================================================
   Quote wizard form
   NOTE: the toast/error-popup from the React version has been removed.
   Validation now relies on native HTML5 (required + reportValidity()).
   ===================================================================== */
.wizard {
  background: var(--dark-bg);
  scroll-margin-top: var(--header-height, 76px);
}

.wizard__container {
  max-width: 520px;
  margin: 0 auto;
  padding: 0;
}

.wizard__header {
  margin-bottom: 2rem;
}

.wizard__title-group {
  margin-bottom: 1.5rem;
}

.wizard__title {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.4rem;
  line-height: 1.05;
}

.wizard__tagline {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.wizard__content {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wizard__step {
  animation: wizardStepIn 0.32s ease forwards;
}

@keyframes wizardStepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard__input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wizard__input-group label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.wizard__input-group input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.875rem;
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, background 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  width: 100%;
}

.wizard__input-group input::placeholder {
  color: #ffffff;
}

.wizard__input-group input:focus {
  border-color: var(--primary-red);
  background: rgba(227, 24, 55, 0.04);
}

.wizard__input-group input:invalid.is-touched {
  border-color: var(--primary-red);
  background: rgba(227, 24, 55, 0.06);
}

.wizard__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.25rem;
  cursor: pointer;
}

.wizard__consent input {
  margin-top: 0.2rem;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--primary-red);
  cursor: pointer;
}

.wizard__consent span {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Ensure the CF7 element wrappers don't collapse flex structures */
.wizard__consent .wpcf7-form-control-wrap,
.wizard__consent .wpcf7-list-item {
  display: inline-flex;
  margin: 0;
  padding: 0;
}

/* Maintain proper spacing even with CF7's custom markup wrappers */
.wizard__consent .wpcf7-list-item {
  gap: 0.6rem;
  align-items: flex-start;
}

/* Explicitly force the checkbox sizing inside the CF7 wrapper layer */
.wizard__consent input[type="checkbox"] {
  margin-top: 0.25rem !important;
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0 !important;
  accent-color: var(--primary-red);
  cursor: pointer;
}

/* Ensure the inline text block correctly accepts structural flex distribution */
.wizard__consent span.wpcf7-list-item-label {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.wpcf7-not-valid-tip {
  font-size: 0.8em;
}

.wpcf7 form.invalid .wpcf7-response-output {
  font-size: 0.85rem;
}

.wpcf7 .wpcf7-submit:disabled {
  cursor: not-allowed;
  background-color: #e5183642;
}

.wizard__footer {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.wizard__footer .btn-primary {
  flex: 1;
  justify-content: center;
  padding: 0.9rem 1.5rem;
}

.wizard__success {
  text-align: center;
  padding: 2rem 1rem;
  animation: wizardStepIn 0.5s ease;
}

.wizard__success-icon {
  width: 68px;
  height: 68px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 10px rgba(227, 24, 55, 0.12);
}

@media (min-width: 992px) {
  .wizard {
    padding: 0 !important;
    background: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
    max-height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .wizard::-webkit-scrollbar {
    display: none;
  }

  .wizard .container {
    max-width: 100%;
    padding: 2.5rem 2.75rem;
    width: 100%;
  }

  .wizard__container {
    max-width: 100%;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 0;
  }

  .wizard__title {
    font-size: 2.25rem;
  }

  .wizard__content {
    min-height: 190px;
  }
}


/* =====================================================================
   Product grid / slideshow
   ===================================================================== */
.product {
  background: #ffffff;
  position: relative;
}

.product::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.product__slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.product__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.product__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.product__slide.is-active {
  opacity: 1;
}

.product__slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 45%);
  z-index: 2;
  pointer-events: none;
}

.product__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.product__slideshow:hover .product__arrow {
  opacity: 1;
}

.product__arrow:hover {
  background: var(--primary-red);
  transform: translateY(-50%) scale(1.05);
}

.product__arrow--prev {
  left: 1rem;
}

.product__arrow--next {
  right: 1rem;
}

.product__dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.product__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.35s;
}

.product__dot.is-active {
  width: 24px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.product__summary {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.product__pitch {
  font-weight: 600;
  color: #000000;
  margin: 0;
}

.product__subcopy {
  font-size: 0.9rem;
  color: #000000;
  line-height: 1.7;
  margin: 0;
}

.product__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product__bullet {
  font-size: 0.875rem;
  color: #000000;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
}

.product__bullet::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  background: var(--primary-red);
  border-radius: 50%;
}

.product__offer {
  display: inline-block;
  background: rgba(227, 24, 55, 0.08);
  border: 1px solid rgba(227, 24, 55, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: #000000;
}

.product__offer strong {
  color: #000000;
  font-weight: 700;
}

.product__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary-red);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  font-family: var(--font-body);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.product__cta:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(227, 24, 55, 0.4);
  color: #fff;
}

@media (max-width: 767px) {
  .product__slideshow {
    aspect-ratio: 16 / 10;
  }
}


/* =====================================================================
   Trusted-by-customers video
   ===================================================================== */
.trusted {
  background: #f5f5f5;
  overflow: hidden;
  position: relative;
}

.trusted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.trusted__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.trusted__title {
  color: #000000;
  margin: 0 0 0.6rem;
}

.trusted__video {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: #000;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.trusted__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* =====================================================================
   Media / testimonials carousel
   ===================================================================== */
.media {
  background: #080808;
  overflow: hidden;
  position: relative;
}

.media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.media__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.media__title {
  color: #ffffff;
  margin: 0;
}

.media__controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.media__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #000000;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.media__nav-btn:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
}

.media__carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.media__carousel::-webkit-scrollbar {
  display: none;
}

.media__carousel.is-grabbing {
  cursor: grabbing;
}

.media__card {
  flex: 0 0 min(85vw, 400px);
  scroll-snap-align: start;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-user-select: none;
  user-select: none;
}

.media__card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.media__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.media__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: auto;
}

.media__video.is-dragging iframe {
  pointer-events: none;
}

.media__card-content {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.media__video-title {
  font-size: 0.82rem;
  color: #ffffff;
  line-height: 1.4;
  font-family: var(--font-body);
  font-weight: 400;
}

.media__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

@keyframes mediaDotFill {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.media__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.35s;
}

.media__dot.is-active {
  width: 24px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.media__dot.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform-origin: left center;
  animation: mediaDotFill 5s linear forwards;
  animation-play-state: running;
}

.media__dot.is-active.is-paused::after {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .media__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .media__controls {
    display: none;
  }
}


/* =====================================================================
   FAQ accordion
   ===================================================================== */
.faq {
  background: #ffffff;
  position: relative;
}

.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.faq__title {
  color: #000000;
  margin-bottom: 3rem;
}

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

.faq__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: border-color 0.25s ease;
}

.faq__item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq__item.is-open {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.03);
  border-left: 3px solid var(--primary-red);
  padding-left: 1.25rem;
}

.faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.4rem 1rem 1.4rem 0;
  color: #000000;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-body);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.faq__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--primary-red);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.3s ease, background 0.2s ease, border-color 0.2s ease;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: rgba(227, 24, 55, 0.1);
  border-color: rgba(227, 24, 55, 0.3);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1),
  opacity 0.25s ease;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq__answer p {
  overflow: hidden;
  font-size: 0.9rem;
  color: #000000;
  line-height: 1.75;
  padding-bottom: 0;
  transition: padding-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__item.is-open .faq__answer p {
  padding-bottom: 1.4rem;
}


/* =====================================================================
   Sticky bottom CTA
   ===================================================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--border-color);
  padding: 0.875rem 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 90;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__inner {
  gap: 1rem;
}

.sticky-cta__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sticky-cta__offer {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.sticky-cta__subtext {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .sticky-cta__inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

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


/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  padding: 2rem 0 6rem;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .site-footer {
    padding: 2rem 0 11rem;
  }
}

.site-footer__disclaimer {
  max-width: 640px;
  margin: 0 auto 1rem;
  font-size: 0.68rem;
  line-height: 1.6;
  opacity: 0.7;
  scroll-margin-top: var(--header-height, 76px);
}