/* ═══════════════════════════════════════════════
   shared.css — AL-KO Landing Pages (common styles)
   ═══════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  --red: #e30613;
  --white: #ffffff;
  --dark-overlay: rgba(0, 0, 0, 0.28);
  --bg-dark: #1a1a1a;
  --bg-light: #f5f5f5;
  --sidebar-w: 54px;
  --sidebar-w-md: 40px;
  --sidebar-w-sm: 32px;
  --section-max-w: 1320px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ── Reset & Base ── */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Archivo", sans-serif;
  background: #fff;
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
}

/* ── Sticky Navigation ── */
.sticky-nav {
  position: fixed;
  top: 1.4rem;
  right: 2.4rem;
  z-index: 999;
  animation: nav-enter 0.7s var(--ease-out) 2.4s both;
}

@keyframes nav-enter {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sticky-nav__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  background: rgba(246, 246, 246, 0.96);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 0.55rem 0.55rem 0.55rem 0.9rem;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0,0,0,0.06);
}

.sticky-nav__logo {
  height: 42px;
  width: auto;
  padding: 0.2rem 0.3rem;
}

.sticky-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--red);
  color: var(--white);
  border-radius: 999px;
  min-height: 46px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 1.4rem;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}

.sticky-nav__cta:hover {
  background: #c00510;
  transform: scale(1.02);
}

/* ── Shared Sidebar Component ── */
/* Kept for compatibility but sections now use section-eyebrow instead */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.sidebar span {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.sidebar__line {
  width: 2px;
  height: 0;
  transition: height 1.2s var(--ease-out);
}

/* Sidebar variants */
.sidebar--light { background: #fff; justify-content: center; }
.sidebar--light span { color: #333; }
.sidebar--light-bordered { background: #fff; justify-content: center; border-right: 2px solid #e0e0e0; }
.sidebar--light-bordered span { color: #333; }
.sidebar--red { background: var(--red); justify-content: flex-start; padding-top: 2.4rem; border-right: 1px solid rgba(255,255,255,.18); }
.sidebar--red span { color: var(--white); }
.sidebar--red .sidebar__line { background: var(--white); }
.sidebar--dark { background: var(--bg-dark); justify-content: flex-start; padding-top: 2.4rem; border-right: 1px solid rgba(255,255,255,.1); }
.sidebar--dark span { color: var(--white); }
.sidebar--dark .sidebar__line { background: var(--red); }
.is-visible > .sidebar .sidebar__line { height: 60px; }

/* ── Section Eyebrow (editorial sticky labels) ── */
.section-eyebrow {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  pointer-events: none;
  user-select: none;
}

.section-eyebrow__number {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  opacity: 0.38;
}

.section-eyebrow__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
}

/* Eyebrow colour variants */
.section-eyebrow--light .section-eyebrow__number,
.section-eyebrow--light .section-eyebrow__label {
  color: #1a1a1a;
}

.section-eyebrow--dark .section-eyebrow__number,
.section-eyebrow--dark .section-eyebrow__label {
  color: rgba(255,255,255,0.9);
}

.section-eyebrow--on-red .section-eyebrow__number,
.section-eyebrow--on-red .section-eyebrow__label {
  color: rgba(255,255,255,0.85);
}

/* ── Brand Badges ── */
.brand-badges {
  background: var(--white);
}

.brand-badges__inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 205px;
  padding: 1.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.brand-badges__inner img {
  display: block;
  max-height: 165px;
  width: auto;
  max-width: min(33%, 360px);
  object-fit: contain;
}

/* ── Slider / Carousel ── */
.slider {
  position: relative;
  z-index: 8;
  background: var(--white);
  padding: 8rem 0 2rem;
  text-align: center;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 60px rgba(0,0,0,0.13);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.slider__heading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  padding: 0 1rem 0;
  transform: translateY(-5%);
}

.slider__heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.18);
  text-align: center;
  white-space: nowrap;
}

.slider__heading h2 em {
  font-style: italic;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.18);
}

.slider__heading h2 strong {
  font-weight: 900;
  font-size: 1.35em;
  color: rgba(227, 6, 19, 0.28);
}

.slider__track-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.slider__arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: var(--white);
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s;
  z-index: 10;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  box-shadow: 0 2px 14px rgba(0,0,0,0.10);
}

.slider__arrow--prev { left: 1.5rem; }
.slider__arrow--next { right: 1.5rem; }

.slider__arrow:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 4px 20px rgba(227,6,19,0.18);
}

.slider__track {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: visible;
}

.slider__slide {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%) scale(0.45);
  opacity: 0;
  pointer-events: none;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1),
              opacity .6s cubic-bezier(.4, 0, .2, 1);
  will-change: transform, opacity;
}

.slider__slide img {
  display: block;
  height: auto;
  object-fit: contain;
  width: 860px;
  max-width: 80vw;
  transition: filter 0.5s;
}

.slider__slide[data-position="center"] img {
  filter: drop-shadow(0 28px 48px rgba(0,0,0,0.22));
}

.slider__label {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #333;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s;
}

.slider__slide[data-position="center"] {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

.slider__slide[data-position="center"] .slider__label {
  opacity: 1;
}

.slider__slide[data-position="left"] {
  transform: translateX(-155%) scale(0.30) translateY(60px);
  opacity: 0.18;
  z-index: 1;
  filter: blur(2px);
}

.slider__slide[data-position="right"] {
  transform: translateX(55%) scale(0.30) translateY(60px);
  opacity: 0.18;
  z-index: 1;
  filter: blur(2px);
}

.slider__slide[data-position="hidden"] {
  transform: translateX(-50%) scale(0.28);
  opacity: 0;
  z-index: 0;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
  padding: 0 5rem;
}

.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: background 0.25s;
}

.slider__dot.is-active {
  background: var(--red);
}

/* slider trust-badges strip – uses .badges-strip from tractors.css */
.slider .badges-strip {
  background: transparent;
}
.slider .badges-strip__inner {
  margin-top: 1rem;
}

/* ── Dealer Section ── */
.dealer {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--red);
  padding: 5rem 2rem 2rem 3.5rem;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 60px rgba(0,0,0,0.18);
  /* Exactly one viewport tall — map fills remaining space via flex */
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

.dealer__sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2.2rem;
  z-index: 2;
}

.dealer__sidebar-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}

.dealer__sidebar-line {
  width: 2px;
  flex: 1;
  background: #fff;
  margin-top: .7rem;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .8s ease;
}

.dealer.is-visible .dealer__sidebar-line {
  transform: scaleY(1);
}

.dealer__content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  /* Fill vertical space so the map can grow */
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.dealer__content h2 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.6rem;
}

/* Dealer content staggered reveal */
.dealer__content h2 {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

.dealer.is-visible .dealer__content h2 {
  opacity: 1;
  transform: translateY(0);
}

.dealer__cta {
  display: inline-block;
  background: #fff;
  color: var(--red);
  font-family: 'Archivo', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  transition: background .25s, color .25s, opacity 0.5s ease 0.15s, transform 0.5s var(--ease-out) 0.15s;
  opacity: 0;
  transform: translateY(16px);
}

.dealer.is-visible .dealer__cta {
  opacity: 1;
  transform: translateY(0);
}

.dealer__cta:hover {
  background: #222;
  color: #fff;
}

/* ── Dealer ZIP search form ── */
.dealer__zip-form {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s var(--ease-out) 0.2s;
}

.dealer.is-visible .dealer__zip-form {
  opacity: 1;
  transform: translateY(0);
}

.dealer__zip-label {
  display: block;
  color: rgba(255,255,255,0.80);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.dealer__zip-row {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}

.dealer__zip-input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border: none;
  outline: none;
  font-family: 'Archivo', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  letter-spacing: 0.04em;
  min-width: 0;
}

.dealer__zip-input::placeholder {
  color: #aaa;
  font-weight: 400;
}

.dealer__zip-input:focus {
  background: #f8f8f8;
}

.dealer__zip-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  background: #111;
  color: #fff;
  border: none;
  font-family: 'Archivo', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.dealer__zip-btn:hover {
  background: #333;
}

.dealer__map-label {
  color: rgba(255,255,255,0.80);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.7rem 0;
  text-align: left;
}

.dealer__map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s var(--ease-out) 0.3s;
  /* Grow to fill remaining vertical space */
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.dealer.is-visible .dealer__map {
  opacity: 1;
  transform: translateY(0);
}

.dealer__map iframe {
  display: block;
  width: 100%;
  flex: 1;          /* grow to fill .dealer__map height */
  min-height: 280px;
  border: none;
}

/* ── Hotspot Component (shared) ── */
.hotspot {
  position: absolute;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(180, 180, 180, 0.65);
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transform: translate(-50%, -50%);
  transition: background 0.25s, transform 0.25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.hotspot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45);
  animation: hotspot-pulse 2s ease-out infinite;
}

@keyframes hotspot-pulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.55); opacity: 0; }
}

.hotspot:hover,
.hotspot.is-active {
  background: var(--red);
  transform: translate(-50%, -50%) scale(1.12);
}

.hotspot__icon {
  pointer-events: none;
  line-height: 0;
}

.hotspot__tooltip {
  position: absolute;
  z-index: 10;
  width: 280px;
  background: rgba(30, 30, 30, 0.92);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  pointer-events: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}

.hotspot__tooltip.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hotspot__tooltip strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--red);
}

.hotspot__tooltip p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.38;
  color: rgba(255, 255, 255, .88);
}

/* ══════════════════════════════
   Shared Responsive — 900px
   ══════════════════════════════ */
@media (max-width: 900px) {
  .sticky-nav {
    top: 0.8rem;
    right: 0.8rem;
  }

  .sticky-nav__logo { height: 36px; }

  .sticky-nav__cta {
    font-size: 0.75rem;
    min-height: 40px;
    padding: 0 1rem;
  }

  .sidebar { width: var(--sidebar-w-md); }
  .sidebar--red, .sidebar--dark { padding-top: 1.5rem; }

  .section-eyebrow { top: 1.2rem; left: 1.2rem; }

  .brand-badges__inner {
    min-height: unset;
    padding: 1.15rem 1rem;
    gap: 0.9rem;
  }

  .brand-badges__inner img {
    max-height: 126px;
    max-width: 32%;
  }

  .hotspot { width: 38px; height: 38px; }
  .hotspot__tooltip { width: 240px; }

  .slider {
    padding: 3rem 0 2.5rem;
    min-height: auto;
  }

  .slider__heading { padding: 0; }
  .slider__heading h2 { font-size: clamp(3.5rem, 10vw, 8rem); }
  .slider__dots { padding: 0 4rem; }
  .slider__track { height: 440px; }
  .slider__slide img { width: 560px; }
  .slider__arrow { width: 42px; height: 42px; }
  .slider__arrow--prev { left: 1rem; }
  .slider__arrow--next { right: 1rem; }

  .dealer {
    padding: 3.5rem 1.2rem 1.5rem 2.5rem;
    height: 100vh;
    height: 100dvh;
  }
}

/* ══════════════════════════════
   Shared Responsive — 680px
   ══════════════════════════════ */
@media (max-width: 680px) {
  .sticky-nav {
    top: 0.5rem;
    right: 0.5rem;
  }

  .sticky-nav__inner {
    padding: 0.4rem 0.4rem 0.4rem 0.6rem;
    gap: 0.5rem;
  }

  .sticky-nav__cta {
    font-size: 0.7rem;
    min-height: 36px;
    padding: 0 0.8rem;
  }

  .sticky-nav__logo {
    height: 32px;
    padding: 0;
  }

  .sidebar { width: var(--sidebar-w-sm); }
  .sidebar span { font-size: 0.7rem; }

  .section-eyebrow { top: 0.9rem; left: 0.9rem; }
  .section-eyebrow__number { font-size: 0.56rem; }
  .section-eyebrow__label { font-size: 0.62rem; }

  .brand-badges__inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
    padding: 1rem 0.75rem 1.2rem;
  }

  .brand-badges__inner img {
    max-width: 100%;
    width: min(100%, 320px);
    max-height: 120px;
  }

  .hotspot { width: 32px; height: 32px; }
  .hotspot__icon svg { width: 16px; height: 16px; }

  .hotspot__tooltip {
    width: 220px;
    padding: 0.8rem;
    font-size: 0.75rem;
    left: 50% !important;
    top: auto !important;
    bottom: -10px;
    transform: translate(-50%, 100%);
  }

  .hotspot__tooltip.is-open {
    transform: translate(-50%, 100%);
  }

  .slider__heading h2 {
    font-size: clamp(2.8rem, 11vw, 5.5rem);
    white-space: normal;
  }

  .slider__heading { padding: 0; }
  .slider__dots { padding: 0 3rem; }
  .slider__track { height: 300px; }
  .slider__slide img { width: 340px; max-width: 72vw; }

  .slider__slide[data-position="left"],
  .slider__slide[data-position="right"] {
    opacity: 0;
  }

  .slider__arrow { width: 38px; height: 38px; }
  .slider__arrow--prev { left: 0.5rem; }
  .slider__arrow--next { right: 0.5rem; }
  .slider__arrow svg { width: 20px; height: 20px; }

  .slider {
    min-height: 100dvh;
    justify-content: center;
    background: #fff;
    border-radius: 0;
    padding-top: 3.5rem;
  }

  /* Badges strip: match features mobile badges look, always visible */
  .slider .badges-strip__inner {
    opacity: 1;
    transform: none;
    transition: none;
    gap: 0.8rem;
    padding: 0.8rem 0.5rem 1.5rem;
    border-top: none;
  }
  .slider .badges-strip__inner img {
    max-height: 70px;
    max-width: 28%;
  }

  /* Side slides peek from edges */
  .slider__slide[data-position="left"] {
    transform: translateX(-55%) scale(0.35) translateY(20px);
    opacity: 0.4;
    filter: none;
  }
  .slider__slide[data-position="right"] {
    transform: translateX(55%) scale(0.35) translateY(20px);
    opacity: 0.4;
    filter: none;
  }

  .dealer {
    padding: 2.5rem 1rem 1rem;
    height: 100vh;
    height: 100dvh;
  }

  .dealer__sidebar { display: none; }
  .dealer__map iframe { min-height: 0; }
}

/* ── Site Footer ── */
.site-footer {
  position: relative;
  z-index: 11;
  background: #111;
  color: rgba(255,255,255,.75);
  font-family: var(--font);
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2.5rem 2.5rem;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.site-footer__brand {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__brand img {
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.site-footer__brand p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,.55);
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: border-color 0.22s, color 0.22s, background 0.22s;
}

.site-footer__social a:hover {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.site-footer__nav {
  flex: 1;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.site-footer__col {
  flex: 1 1 160px;
}

.site-footer__col h3 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__col ul li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__col ul li a:hover {
  color: var(--red);
}

.site-footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.1rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,.3);
  font-weight: 500;
}

.site-footer__bottom a {
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__bottom a:hover {
  color: var(--red);
}

.footer__mobile-br { display: none; }

@media (max-width: 680px) {
  .site-footer__inner {
    padding: 2.5rem 1.2rem 1.8rem;
    gap: 2rem;
  }

  .site-footer__brand {
    flex: 0 0 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
  }

  .site-footer__brand img {
    width: 90px;
  }

  .site-footer__brand p {
    flex: 1 1 160px;
    font-size: 0.82rem;
  }

  .site-footer__social {
    flex: 0 0 100%;
    margin-top: 0;
  }

  .site-footer__nav {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }

  .site-footer__col h3 {
    font-size: 0.68rem;
    margin-bottom: 0.7rem;
  }

  .site-footer__col ul li a {
    font-size: 0.84rem;
  }

  .site-footer__bottom {
    padding: 1rem 1.2rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    font-size: 0.72rem;
  }

  .footer__mobile-br { display: inline; }
}

/* ─────────────────────────────────────────
   FAQ section
───────────────────────────────────────── */
.faq {
  position: relative;
  background: var(--bg-dark);
  padding: 7rem 1.5rem;
  z-index: 20;
}

.faq__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}

.faq.is-visible .faq__header {
  opacity: 1;
  transform: translateY(0);
}

.faq__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.faq__header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}

.faq.is-visible .faq__item { opacity: 1; transform: translateY(0); }
.faq.is-visible .faq__item:nth-child(1) { transition-delay: 0s; }
.faq.is-visible .faq__item:nth-child(2) { transition-delay: 0.07s; }
.faq.is-visible .faq__item:nth-child(3) { transition-delay: 0.14s; }
.faq.is-visible .faq__item:nth-child(4) { transition-delay: 0.21s; }
.faq.is-visible .faq__item:nth-child(5) { transition-delay: 0.28s; }
.faq.is-visible .faq__item:nth-child(6) { transition-delay: 0.35s; }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  list-style: none;
  user-select: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--white);
  transition: transform 0.35s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
}

.faq__icon::before {
  content: '+';
  font-weight: 300;
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
}

.faq__answer {
  padding-bottom: 1.4rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
  max-width: 80ch;
}

/* Smooth open/close animation for <details> */
.faq__item::details-content {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.35s var(--ease-out),
              opacity 0.35s ease,
              content-visibility 0.35s allow-discrete;
}

.faq__item[open]::details-content {
  height: max-content;
  opacity: 1;
}

@starting-style {
  .faq__item[open]::details-content {
    height: 0;
    opacity: 0;
  }
}

.faq__answer p { margin: 0; }

.faq__answer a {
  color: var(--red);
  text-decoration: none;
}

.faq__answer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .faq { padding: 4.5rem 1.25rem; }
  .faq__question { font-size: 0.95rem; }
}

/* ─────────────────────────────────────────
   Mobile CTA bar
───────────────────────────────────────── */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 900px) {
  .mobile-cta-bar {
    display: block;
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    z-index: 900;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    white-space: nowrap;
  }

  .mobile-cta-bar.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .mobile-cta-bar__btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: var(--red);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 100px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    letter-spacing: 0.03em;
  }
}

/* ── Accessibility: reduced motion ── */
/* ── Cookie Consent Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 0 1rem 1rem;
  transform: translateY(110%);
  transition: transform 0.5s var(--ease-out);
  pointer-events: none;
}

#cookie-banner.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner__inner {
  max-width: 1140px;
  margin: 0 auto;
  background: #181818;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 40px rgba(0,0,0,0.5);
}

.cookie-banner__text {
  flex: 1 1 auto;
  min-width: 0;
}

.cookie-banner__text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.35rem;
}

.cookie-banner__text p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--red);
  text-decoration: none;
}

.cookie-banner__text a:hover {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Cookie buttons */
.cookie-btn {
  font-family: var(--font, "Archivo", sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  padding: 0.6rem 1.3rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
  border: 2px solid transparent;
}

.cookie-btn:hover { transform: scale(1.02); }

.cookie-btn--accept {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.cookie-btn--accept:hover {
  background: #c00510;
  border-color: #c00510;
}

.cookie-btn--outline {
  background: transparent;
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.25);
}

.cookie-btn--outline:hover {
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

.cookie-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.45);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.cookie-btn--ghost:hover {
  color: rgba(255,255,255,.8);
}

/* Preferences panel – full-screen overlay modal */
.cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  /* override any max-height inherited from banner layout */
  max-height: none;
  overflow: auto;
}

.cookie-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cookie-panel__inner {
  width: 100%;
  max-width: 480px;
  background: #181818;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 2rem 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}

.cookie-panel__inner h3 {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.cookie-toggle__info {
  flex: 1;
}

.cookie-toggle__info strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.cookie-toggle__info span {
  font-size: 0.75rem;
  color: rgba(255,255,255,.4);
  line-height: 1.4;
}

.cookie-toggle__switch--locked {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* Toggle switch */
.cookie-toggle__switch {
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-toggle__switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__track {
  display: block;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  position: relative;
  transition: background 0.25s;
}

.cookie-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s var(--ease-out);
}

.cookie-toggle__switch input:checked + .cookie-toggle__track {
  background: var(--red);
}

.cookie-toggle__switch input:checked + .cookie-toggle__track .cookie-toggle__thumb {
  transform: translateX(20px);
}

.cookie-panel__footer {
  padding-top: 1.1rem;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 680px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.2rem;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .cookie-btn {
    flex: 1;
    text-align: center;
  }

  .cookie-btn--ghost {
    flex: 0 0 auto;
    text-align: left;
  }

  /* Preferences modal — prevent overflow on small phones */
  .cookie-panel {
    align-items: flex-start;
    padding: 0.75rem;
    overflow-y: auto;
  }
  .cookie-panel__inner {
    max-height: calc(100dvh - 1.5rem);
    overflow-y: auto;
    padding: 1.4rem 1.2rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
