:root {
  --bg: #0a0a0b;
  --bg-elevated: #111114;
  --bg-muted: #16161a;
  --text: #fff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --border: rgba(255, 255, 255, 0.14);
  --radius: 14px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --font-sans: "Manrope", system-ui, ui-sans-serif, sans-serif;
  --font-display: "Manrope", system-ui, ui-sans-serif, sans-serif;
  --shell-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(100% - 2.5rem, var(--shell-max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: #fff;
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: 6px;
}

.skip-link:focus {
  left: 0.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.96), rgba(10, 10, 11, 0.88));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.page-home .site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.72), rgba(10, 10, 11, 0));
  backdrop-filter: blur(8px);
  border-bottom-color: transparent;
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-mark:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand-mark__logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(52vw, 200px);
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a:not(.nav-cta) {
  color: #fff;
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav a:not(.nav-cta):hover {
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
}

.site-nav .nav-cta {
  background: #fff;
  color: #000;
  border-radius: 5px;
  border-color: #fff;
  box-shadow: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav .nav-cta:hover {
  opacity: 0.8;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle__bars {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    right: 1.25rem;
    top: calc(100% + 0.5rem);
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
  border-radius: var(--radius);
    padding: 1rem;
    min-width: 220px;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--gold {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: none;
}

.btn--gold:hover {
  opacity: 0.8;
}

.btn--ghost,
.btn--outline {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border-color: #fff;
}

.btn--ghost:hover,
.btn--outline:hover {
  opacity: 0.8;
}

.btn--sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--search {
  text-transform: uppercase;
}

.btn--search .btn__icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
}

.btn--search .btn__icon svg {
  width: 100%;
  height: 100%;
}

/* Hero */
.hero {
  position: relative;
}

.hero--banner .hero__media {
  position: relative;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  max-height: min(72vh, 560px);
}

.hero--video .hero__media {
  max-height: min(88vh, 760px);
  min-height: min(78vh, 620px);
  background: #000;
}

.hero--banner .hero__media img,
.hero--banner .hero__media video {
  width: 100%;
  height: min(72vh, 560px);
  object-fit: cover;
  object-position: center;
}

.hero--video .hero__media video {
  height: min(88vh, 760px);
  min-height: min(78vh, 620px);
}

.hero__video {
  display: block;
  width: 100%;
}

.hero--video.is-static .hero__video {
  display: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 11, 0.92) 0%, rgba(10, 10, 11, 0.45) 55%, rgba(10, 10, 11, 0.2) 100%);
  pointer-events: none;
}

.hero--video .hero__overlay {
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.35) 0%, rgba(10, 10, 11, 0.1) 28%, rgba(10, 10, 11, 0.55) 100%),
    linear-gradient(90deg, rgba(10, 10, 11, 0.9) 0%, rgba(10, 10, 11, 0.42) 52%, rgba(10, 10, 11, 0.18) 100%);
}

.hero__content {
  padding-block: 3rem 4rem;
}

.hero__content--on-image {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding-block: 2rem 3rem;
  width: min(100% - 2.5rem, var(--shell-max));
  max-width: min(100% - 2.5rem, var(--shell-max));
  margin-inline: auto;
  pointer-events: none;
}

.hero__copy {
  flex: 1 1 0;
  min-width: 0;
  max-width: 36rem;
}

.hero__content--on-image .hero__copy,
.hero__content--on-image .hero-search {
  pointer-events: auto;
}

@media (max-width: 720px) {
  .hero--banner:not(.hero--video) .hero__media {
    max-height: none;
  }

  .hero--banner:not(.hero--video) .hero__media img {
    height: auto;
    min-height: 280px;
  }

  .hero--banner:not(.hero--video) .hero__content--on-image {
    position: relative;
    background: var(--bg);
    padding-block: 2rem;
  }

  .hero--banner:not(.hero--video) .hero__overlay {
    display: none;
  }

  .hero--video .hero__media {
    min-height: min(72vh, 520px);
    max-height: min(80vh, 600px);
  }

  .hero--video .hero__media video {
    min-height: min(72vh, 520px);
    height: min(80vh, 600px);
  }

  .hero--video .hero__content--on-image {
    flex-direction: column;
    align-items: stretch;
    padding-block: 5.5rem 2.5rem;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero__line {
  display: block;
}

.hero__line--light {
  color: var(--text);
  font-weight: 600;
}

.hero__line--gold {
  color: var(--text);
  font-weight: 700;
}

.hero__lead {
  max-width: 42ch;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-search {
  flex: 0 1 31.25rem;
  width: 100%;
  max-width: 31.25rem;
  margin-top: 0;
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-search__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: end;
}

.hero-search__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.hero-search__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.hero-search__input {
  width: 100%;
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}

.hero-search__input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 1px;
}

.hero-search__input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hero-search__submit {
  width: 100%;
  white-space: nowrap;
  align-self: end;
}

@media (max-width: 900px) {
  .hero__content--on-image {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }

  .hero__copy {
    max-width: none;
  }

  .hero-search {
    flex: 1 1 auto;
    max-width: none;
  }
}

/* Sections */
.section {
  padding-block: 4rem;
}

.section--tight {
  padding-block: 2rem 1rem;
}

.section--muted {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--border);
}

.section__head {
  margin-bottom: 2rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
}

.section__subtitle {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  max-width: 60ch;
}

.text-link {
  font-weight: 600;
  color: var(--text);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  color: var(--text);
  margin-bottom: 1rem;
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card__title {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Car grid */
.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .car-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .car-grid {
    grid-template-columns: 1fr;
  }
}

.car-card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.car-card--clickable {
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.car-card--clickable:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.car-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.car-card__link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: -2px;
}

.car-card--clickable .car-card__actions {
  position: relative;
  z-index: 2;
}

.car-card--clickable:hover .car-card__media img {
  transform: scale(1.04);
}

.car-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.car-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card__media:hover img {
  transform: scale(1.04);
}

.car-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.car-badge--inline {
  position: static;
  margin-left: 0.75rem;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
}

.car-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1f1f24, #0f0f12 60%, #232328);
}

.car-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.car-card__title {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.35;
}

.car-card__title a {
  color: var(--text);
  text-decoration: none;
}

.car-card__title a:hover {
  color: var(--text);
  opacity: 0.85;
}

.car-meta {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
}

.car-meta__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
}

.car-meta__icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.62);
}

.car-meta__icon svg {
  width: 100%;
  height: 100%;
}

.car-meta__label {
  font-size: 0.85rem;
  line-height: 1.25;
  color: var(--text);
}

.car-card__price {
  margin: 0.25rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.car-card__actions {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.empty-hint {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}

/* Brand cards */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1024px) {
  .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.brand-card {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 1rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255);
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.brand-card:hover {
  opacity: 0.92;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255);
  text-decoration: none;
}

.brand-card__logo {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
  padding: 0.35rem;
}

.brand-card__logo--placeholder {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
}

.brand-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #000;
  text-align: center;
}

/* CTA band */
.cta-band {
  background: rgba(255, 255, 255, 0.03);
  border-block: 1px solid var(--border);
}

/* Reels */
.reels {
  padding-block: 3.5rem;
}

.reels__scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.reel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  scroll-snap-align: start;
  aspect-ratio: 9 / 16;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.reel.is-active {
  transform: scale(1.04);
  border-color: rgba(255, 255, 255, 0.28);
}

.reel__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel__sound {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.reel__sound-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
}

.reel__sound-icon svg {
  width: 100%;
  height: 100%;
}

.reel__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.85rem 0.9rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
  font-size: 0.9rem;
}

.cta-band__inner {
  display: block;
}

.cta-band__content {
  max-width: var(--shell-max);
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.35rem;
}

.cta-band__text {
  margin: 0;
  color: var(--text-muted);
  max-width: 52ch;
}

.cta-band__partners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  width: 100%;
}

.cta-band__partner-logo {
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

.cta-band__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .cta-band__partners {
    grid-template-columns: 1fr;
  }

  .cta-band__partner-logo {
    height: 84px;
  }
}

/* Page hero inner pages */
.page-hero {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
}

.page-lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 55ch;
}

/* Filter */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.filter-bar__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 180px;
}

.filter-bar__field--grow {
  flex: 1;
  min-width: 220px;
}

.filter-bar__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.filter-bar__actions {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  align-self: flex-end;
}

.filter-bar__actions .btn {
  min-height: 2.875rem;
  padding-block: 0.65rem;
}

.filter-bar .input {
  min-height: 2.875rem;
}

.input {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  color: var(--text);
  font: inherit;
}

.input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 1px;
}

.input:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

/* Detail */
.detail-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.detail-gallery__stage {
  position: relative;
}

.detail-gallery__main,
.detail-gallery__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #111114;
}

.detail-gallery__placeholder {
  background: linear-gradient(135deg, #1f1f24, #0f0f12);
}

.detail-gallery__thumbs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.detail-gallery__thumb {
  flex: 0 0 92px;
  width: 92px;
  height: 62px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  opacity: 0.72;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.detail-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-gallery__thumb:hover,
.detail-gallery__thumb.is-active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.85);
}

.detail-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
}

.detail-gallery__nav:hover {
  background: rgba(0, 0, 0, 0.72);
}

.detail-gallery__nav--prev {
  left: 0.75rem;
}

.detail-gallery__nav--next {
  right: 0.75rem;
}

.detail-spec-section {
  margin-top: 2.5rem;
}

.detail-spec-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1.5rem;
}

.detail-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
}

.detail-spec-list {
  margin: 0;
}

.detail-spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.detail-spec-row dt {
  margin: 0;
  font-weight: 400;
  color: var(--text-muted);
}

.detail-spec-row dd {
  margin: 0;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .detail-spec-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .detail-spec-list + .detail-spec-list {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .detail-spec-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .detail-spec-row dd {
    text-align: left;
    white-space: normal;
  }
}

.detail-description-section {
  margin-top: 2.5rem;
}

.detail-description-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1.5rem;
}

.detail-description {
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

.detail-description :is(p, li, h1, h2, h3, h4, h5, h6, blockquote) {
  text-align: left !important;
}

.detail-description p,
.detail-description li {
  color: var(--text-muted);
  line-height: 1.7;
}

.detail-description h2,
.detail-description h3,
.detail-description h4 {
  font-family: var(--font-display);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.detail-description h2:first-child,
.detail-description h3:first-child {
  margin-top: 0;
}

.detail-description ul,
.detail-description ol {
  padding-left: 1.25rem;
  margin: 0.75rem 0 1.25rem;
}

.detail-description a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.detail-description a:hover {
  opacity: 0.85;
}

.detail-media__img,
.detail-media__placeholder {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: 100%;
}

.detail-media__placeholder {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1f1f24, #0f0f12);
}

.detail-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.detail-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.detail-price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.detail-lead {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.detail-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.section--article {
  padding-top: 0;
}

.section--legal .legal-content {
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

.section--legal .legal-content :is(p, li, h1, h2, h3, h4, h5, h6, blockquote, td, th) {
  text-align: left !important;
}

.page-legal .page-hero,
.page-legal .page-hero .shell {
  text-align: left;
}

.page-legal .page-lead {
  max-width: none;
}

.prose {
  max-width: 720px;
}

.prose--columns {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .prose--columns {
    grid-template-columns: 1fr;
  }
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-top: 0;
}

.legal-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
  font-family: var(--font-display);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h2:first-child,
.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.25rem;
  margin: 0.75rem 0 1.25rem;
}

.legal-content a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-content a:hover {
  opacity: 0.85;
}

.check-list {
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.check-list li {
  margin-bottom: 0.5rem;
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.panel--accent {
  background: rgba(255, 255, 255, 0.04);
}

.panel .h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.leasing-calculator {
  width: 100%;
}

.leasing-calculator__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 1.25rem;
}

.leasing-calculator__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 900px) {
  .leasing-calculator__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .leasing-calculator__grid {
    grid-template-columns: 1fr;
  }
}

.leasing-calculator__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.leasing-calculator__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.leasing-calculator__submit {
  width: 100%;
}

.leasing-calculator__submit .btn__icon {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
}

.leasing-calculator__submit .btn__icon svg {
  width: 100%;
  height: 100%;
}

.leasing-calculator__error {
  margin: 0.85rem 0 0;
  color: #ffb4b4;
  font-size: 0.9rem;
}

.leasing-calculator__results {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.leasing-calculator__result-main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
}

.leasing-calculator__result-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.leasing-calculator__result-main strong {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
}

.leasing-calculator__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.leasing-calculator__summary div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.leasing-calculator__summary dt {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.leasing-calculator__summary dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 640px) {
  .leasing-calculator__summary {
    grid-template-columns: 1fr;
  }
}

.leasing-calculator__disclaimer {
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem 1.5rem;
  margin-top: 4rem;
  background: rgba(0, 0, 0, 0.35);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.brand-mark--footer .brand-mark__logo {
  height: 50px;
  max-width: 180px;
}

.footer__tagline {
  color: var(--text-muted);
  max-width: 36ch;
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.footer__heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.4rem;
}

.footer__links a {
  color: var(--text-muted);
}

.footer__links a:hover {
  color: var(--text);
}

.footer__badges {
  display: grid;
  gap: 0.75rem;
}

.footer__badge {
  display: inline-flex;
  text-decoration: none;
  overflow: hidden;
}

.footer__badge:hover {
  opacity: 0.92;
}

.footer__badge img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 16px 40px rgba(18, 140, 126, 0.45);
  text-decoration: none;
}

.whatsapp-fab:hover {
  text-decoration: none;
  transform: scale(1.05);
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 10, 11, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.cookie-banner__text {
  margin: 0;
  max-width: 62ch;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.cookie-banner__text a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.65rem;
}

.cookie-banner__btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.35);
}

.cookie-banner__btn-secondary:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.cookie-modal__panel {
  position: relative;
  width: min(100% - 2rem, 520px);
  margin: 10vh auto 0;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.cookie-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-modal__close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.cookie-modal__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.cookie-modal__text {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cookie-modal__text a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-modal__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

body.cookie-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }

  .cookie-modal__actions {
    flex-direction: column-reverse;
  }

  .cookie-modal__actions .btn {
    width: 100%;
  }
}
