/* ============================================================
   TAKARA NEXUS — Premium Automotive Showroom Styles
   Mobile-first · Dark Luxury / Red Accent / Glassmorphism
   ============================================================ */

:root {
  --bg: #020202;
  --bg-2: #050508;
  --bg-3: #040406;
  --bg-4: #111214;
  --red: #dc2626;
  --red-2: #ef4444;
  --red-3: #b91c1c;
  --ivory: #ffffff;
  --sage: #9ca3af;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.05);
  --glass: rgba(5, 5, 8, 0.75);
  --glass-2: rgba(2, 2, 2, 0.65);
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 10px 30px -12px rgba(0, 0, 0, 0.45);
  --r-lg: 24px;
  --r: 20px;
  --r-sm: 16px;
  --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --header-h: 76px;
  --topbar-h: 40px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ivory);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--red-2); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 16px; color: var(--ivory); }

::selection { background: rgba(220, 38, 38, 0.35); color: var(--ivory); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--bg);
  padding: 10px 18px;
  z-index: 2000;
  border-radius: 0 0 12px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 20px;
}
.container--wide { max-width: 1440px; }

/* ---------------- Typography helpers ---------------- */
.section { padding-block: 72px; position: relative; }
.section--alt { background: var(--bg-2); }
.section--alt-2 { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red));
}
.eyebrow--center::after {
  content: '';
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.section-title {
  font-size: clamp(28px, 5.4vw, 44px);
  color: var(--ivory);
}
.section-sub {
  margin-top: 14px;
  font-size: clamp(15px, 2.6vw, 17px);
  color: var(--sage);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { flex: 0 0 auto; }
.btn:active { transform: scale(0.97); }

.btn--gold {
  background: linear-gradient(135deg, var(--red-2), var(--red) 55%, var(--red-3));
  color: #111214;
  box-shadow: 0 10px 26px -10px rgba(220, 38, 38, 0.55);
}
.btn--gold:hover { box-shadow: 0 16px 34px -10px rgba(220, 38, 38, 0.7); transform: translateY(-2px); color: #111214; }

.btn--outline {
  border-color: var(--red);
  color: var(--red);
  background: transparent;
}
.btn--outline:hover { background: rgba(220, 38, 38, 0.12); color: var(--red-2); transform: translateY(-2px); }

.btn--wa {
  background: var(--wa);
  color: #06281B;
  box-shadow: 0 10px 26px -10px rgba(37, 211, 102, 0.5);
}
.btn--wa:hover { background: #34DE75; color: #06281B; transform: translateY(-2px); }

.btn--call {
  background: transparent;
  border-color: var(--red);
  color: var(--red);
}
.btn--call:hover { background: rgba(220, 38, 38, 0.14); color: var(--red-2); transform: translateY(-2px); }

.btn--ghost { border-color: rgba(242, 242, 242, 0.35); color: var(--ivory); background: transparent; }
.btn--ghost:hover { border-color: var(--red); color: var(--red-2); }

.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* light sweep on hover (desktop only) */
@media (hover: hover) {
  .btn::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s var(--ease);
    pointer-events: none;
  }
  .btn:hover::after { left: 130%; }
}

/* ---------------- Top info bar ---------------- */
.topbar {
  position: relative;
  z-index: 950;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--sage);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--topbar-h);
  padding-block: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.topbar__inner::-webkit-scrollbar { display: none; }
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--sage);
}
.topbar__item svg { color: var(--red); flex: 0 0 auto; }
.topbar__item strong { color: var(--red-2); font-weight: 700; }
.topbar__right { display: none; }
@media (min-width: 720px) { .topbar__right { display: flex; gap: 22px; } }

/* ---------------- Header ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  background: transparent;
}
.header--scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 0 0 auto; line-height: 1; }
.brand__logo { display: inline-flex; }
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(220, 38, 38, 0.55);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.brand__name {
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red-2);
  white-space: nowrap;
}
.brand--footer { align-items: flex-start; }
.brand--footer img { width: 200px; height: auto; border: 0; box-shadow: none; border-radius: 0; }
@media (min-width: 1024px) {
  .brand--footer img { width: 210px; }
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 13px;
  color: var(--ivory);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 10px;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px;
  bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--red-2); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header__cta { display: none; }

/* hamburger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
  align-items: center;
}
.burger__line {
  width: 22px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: var(--topbar-h) 0 0 0;
  z-index: 1000;
  background: var(--glass-2);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav__home {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--red-3));
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.mobile-nav__home svg { flex: 0 0 auto; }
.mobile-nav__home:active { filter: brightness(1.1); }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 6px;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ivory);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav__link:hover { color: var(--red); }
.mobile-nav__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.mobile-nav__wa { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 14px; font-size: 14px; color: var(--sage); }

@media (min-width: 1080px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  margin-top: calc(-1 * (var(--topbar-h) + var(--header-h)));
  padding-top: calc(var(--topbar-h) + var(--header-h));
}
@media (max-width: 479px) {
  .hero { min-height: 25vh; height: auto; padding-top: calc(var(--topbar-h) + var(--header-h)); }
  .hero__content { padding-block: 14px 12px; }
  .hero__title { font-size: clamp(18px, 6.5vw, 24px); margin-bottom: 4px; }
  .hero__sub { font-size: 12px; margin-top: 8px; max-width: 280px; }
  .hero__actions { margin-top: 10px; }
  .hero__actions .btn { padding: 8px 14px; font-size: 12px; }
  .hero__scroll { display: none; }
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
}
.hero__endframe {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  display: none;
  opacity: 0;
  transition: none;
}
.hero__media.ended .hero__video { display: none; }
.hero__media.ended .hero__endframe { display: block; opacity: 1; }
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: heroZoom 22s var(--ease) infinite alternate;
  will-change: transform;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1.14); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 42%, rgba(0, 0, 0, 0.88) 82%, var(--bg) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0.45) 100%);
}
.hero__shine {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(239, 68, 68, 0.10) 45%, rgba(220, 38, 38, 0.16) 50%, transparent 62%);
  background-size: 250% 100%;
  animation: shineMove 9s var(--ease) infinite;
  pointer-events: none;
}
@keyframes shineMove {
  0%, 100% { background-position: 160% 0; }
  50% { background-position: -60% 0; }
}
.hero__content { max-width: 720px; padding-block: 90px 60px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-2);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(42px, 9vw, 84px);
  color: var(--ivory);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
  line-height: 1.04;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--red-2), var(--red) 45%, var(--red-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 20px;
  max-width: 560px;
  font-size: clamp(15px, 2.8vw, 18px);
  color: var(--sage);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--sage);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero__scroll span {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--red), transparent);
  animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse { 0% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(0.4); opacity: 0.4; } }

@media (min-width: 1080px) {
  .hero__content { padding-block: 120px 90px; }
}

/* ---------------- Home fullscreen video ---------------- */
.hero__video-toggle {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(220, 38, 38, 0.55);
  border-radius: 999px;
  background: rgba(8, 9, 10, 0.72);
  color: var(--red-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.hero__video-toggle:hover { background: var(--red); color: var(--bg); }

/* ---------------- Cards: categories / brands / models ---------------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 480px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid { gap: 22px; }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1280px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card:hover .card__media img { transform: scale(1.08); }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.card__title {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ivory);
  line-height: 1.25;
}
.card__title a { color: inherit; }
.card__title a:hover { color: var(--red-2); }
.card__meta { font-size: 13.5px; color: var(--sage); }

/* category card */
.cat-card { aspect-ratio: 4 / 3.4; }
.cat-card__media { flex: 1; min-height: 0; aspect-ratio: 3 / 2; }
.cat-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.85) 100%);
}
.cat-card__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
}
.cat-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 4px;
}
.cat-card__arrow svg { transition: transform 0.35s var(--ease); }
.cat-card:hover .cat-card__arrow svg { transform: translateX(6px); }
.cat-card__count { font-size: 12px; color: var(--sage); font-weight: 600; letter-spacing: 0.08em; }

@media (max-width: 479px) {
  .cat-card__body { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .cat-card__body .btn { margin-inline: auto; }
}

/* brand card */
.brand-card {
  align-items: center;
  text-align: center;
  padding-bottom: 6px;
}
.brand-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 8px;
}
.brand-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-card__body { padding: 6px 16px 18px; gap: 6px; }
.brand-card__body h3 { font-size: 19px; }
.brand-card__count { font-size: 12.5px; color: var(--sage); letter-spacing: 0.05em; }

@media (max-width: 479px) {
  .grid--3 .brand-card__media {
    aspect-ratio: 1 / 1;
    padding: 10px;
  }
  .grid--3 .brand-card__body {
    padding: 4px 10px 14px;
    gap: 4px;
  }
  .grid--3 .brand-card__body h3 {
    font-size: 15px;
  }
  .grid--3 .brand-card__count {
    font-size: 11px;
  }
  .grid--3 .brand-card--bmw .brand-card__media img {
    transform: scale(1.6);
  }
}

/* model card */
.model-card__media { aspect-ratio: 16 / 10; }
.model-card__media img { object-position: center; }
.model-card__brand {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.model-card__title { font-size: 19px; }
.model-card__actions { margin-top: auto; padding-top: 6px; }
.model-card .btn { width: 100%; }

/* ---------------- Availability badge ---------------- */
.av-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: flex-start;
}
.av-badge .av-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}
.av-badge--available {
  color: #7BEBA9;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
}
.av-badge--available .av-dot { background: var(--wa); animation: dotPulse 1.8s var(--ease) infinite; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
}
.av-badge--contact {
  color: var(--red-2);
  background: rgba(220, 38, 38, 0.10);
  border: 1px solid rgba(220, 38, 38, 0.45);
}
.av-badge--contact .av-dot { background: var(--red); animation: dotPulseGold 2s var(--ease) infinite; }
@keyframes dotPulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}
.av-badge--float {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.65);
}

/* ---------------- Carousel ---------------- */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 22px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__item {
  flex: 0 0 82%;
  scroll-snap-align: start;
  max-width: 340px;
}
.carousel__nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 6px;
}
.carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--red);
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.carousel__btn:hover { background: rgba(220, 38, 38, 0.14); border-color: var(--red); transform: translateY(-2px); }
@media (min-width: 480px) { .carousel__item { flex-basis: 46%; } }
@media (min-width: 860px) { .carousel__item { flex-basis: 31%; } }
@media (min-width: 1280px) { .carousel__item { flex-basis: 24%; } }

/* ---------------- Why choose us ---------------- */
.why-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-card {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 30px 24px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -40%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.why-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow-sm); }
.why-card:hover::before { opacity: 1; }
.why-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(220, 38, 38, 0.08);
  display: grid;
  place-items: center;
  color: var(--red);
  margin-bottom: 20px;
}
.why-card h3 { font-size: 19px; margin-bottom: 8px; }
.why-card p { font-size: 14.5px; color: var(--sage); }

/* ---------------- About / contact ---------------- */
.about-grid { display: grid; gap: 34px; align-items: center; }
.about__emblem img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
}
.about__emblem { display: none; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .about__emblem { display: block; }
}

.contact-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 26px; } }

.contact-panel {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 30px 24px;
}
.contact-panel__row {
  display: flex;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.contact-panel__row:last-child { border-bottom: 0; }
.contact-panel__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(220, 38, 38, 0.08);
  color: var(--red);
  display: grid;
  place-items: center;
}
.contact-panel__label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-bottom: 3px; }
.contact-panel__value { font-size: 16px; color: var(--ivory); word-break: break-word; }
.contact-panel__value a { color: var(--ivory); }
.contact-panel__value a:hover { color: var(--red-2); }
.contact-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }

/* ---------------- Forms ---------------- */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--red-2); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  color: var(--ivory);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  min-height: 50px;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23E4AC59' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.field select option { background: var(--bg-2); color: var(--ivory); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
  outline: none;
}
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-note { font-size: 13px; color: var(--sage); margin-top: 14px; display: flex; align-items: center; gap: 8px; }

.alert {
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14.5px;
  border: 1px solid;
  margin-bottom: 18px;
}
.alert--ok { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.4); color: #7BEBA9; }
.alert--error { background: rgba(230, 84, 84, 0.1); border-color: rgba(230, 84, 84, 0.4); color: #F0A8A8; }

/* ---------------- Map ---------------- */
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 260px;
  background: var(--bg-2);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; filter: grayscale(0.4) contrast(1.05); }

/* ---------------- Footer ---------------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: 60px;
  margin-bottom: 64px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 22px;
  padding-bottom: 44px;
}
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(4, 1fr); gap: 40px 36px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 30px; }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.5fr 0.9fr 1fr 1.2fr; gap: 48px 40px; }
}
@media (max-width: 479px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .footer__first { grid-column: 1 / -1; }
  .brand--footer img { width: auto; max-width: 100%; max-height: 150px; height: auto; }
  .brand--footer { align-items: center; text-align: center; }
  .footer__first .footer__desc { max-width: none; margin-inline: auto; text-align: center; }
  .footer__title { font-size: 12px; }
  .footer__desc { font-size: 13px; }
  .footer__links li { font-size: 14px; }
  .footer__contact li, .footer__contact span, .footer__contact a { overflow-wrap: break-word; word-break: break-word; font-size: 14px; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__actions { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; margin-top: 18px !important; }
  .footer__actions .btn { width: 100%; min-height: 60px; padding: 15px 14px; font-size: 16px; font-weight: 700; justify-content: center; border-radius: 14px; }
  .footer__actions .btn svg { width: 24px; height: 24px; }
  .footer__actions span, .footer__actions .btn { line-height: 1; }
}
.footer__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.footer__desc { font-size: 14.5px; color: var(--sage); margin-top: 16px; max-width: 340px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: var(--sage); font-size: 15px; }
.footer__links a:hover { color: var(--red-2); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--sage); font-size: 14.5px; }
.footer__contact svg { color: var(--red); flex: 0 0 auto; margin-top: 3px; }
.footer__contact a { color: var(--sage); }
.footer__contact a:hover { color: var(--red-2); }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid var(--line);
  color: var(--red);
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.social-btn:hover { background: rgba(220, 38, 38, 0.14); border-color: var(--red); transform: translateY(-3px); color: var(--red-2); }
.footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--sage);
}
.footer__bottom a { color: var(--sage); }
.footer__bottom a:hover { color: var(--red-2); }

/* ---------------- Floating buttons + mobile action bar ---------------- */
.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 800;
  display: none;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: none;
  position: relative;
}
.float-btn:hover { transform: translateY(-4px) scale(1.05); }
.float-btn--wa { background: var(--wa); color: #06281B; }
.float-btn--call { background: linear-gradient(135deg, var(--red-2), var(--red) 55%, var(--red-3)); color: #111214; }
.float-btn__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--ivory);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.float-btn:hover .float-btn__tip { opacity: 1; }

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 850;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar__btn {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.03em;
  border: none;
  -webkit-tap-highlight-color: transparent;
  transition: filter 0.2s var(--ease);
}
.mobile-bar__btn svg { width: 24px; height: 24px; }
.mobile-bar__btn:active { filter: brightness(1.15); }
.mobile-bar__btn--home { display: none; }
.mobile-bar__btn--wa { background: var(--wa); color: #06281B; }
.mobile-bar__btn--call { background: var(--red); color: #111214; }

@media (min-width: 768px) {
  .mobile-bar { display: none; }
  .float-actions { display: flex; }
  .footer { margin-bottom: 0; }
}

/* ---------------- Modal ---------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: grid;
  place-items: end center;
  visibility: hidden;
  pointer-events: none;
}
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 28px 22px calc(26px + env(safe-area-inset-bottom));
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  box-shadow: var(--shadow);
  max-height: 88vh;
  overflow-y: auto;
}
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--sage);
  display: grid;
  place-items: center;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.modal__close:hover { color: var(--red-2); border-color: var(--red); transform: rotate(90deg); }
.modal__kicker {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}
.modal__title { font-size: 22px; margin-top: 8px; }
.modal__text { font-size: 14.5px; color: var(--sage); margin-top: 10px; }
.modal__item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px dashed var(--line);
  border-radius: 14px;
}
.modal__item-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(220, 38, 38, 0.14);
  color: var(--red);
  display: grid;
  place-items: center;
}
.modal__item-name { font-family: var(--serif); font-size: 17px; color: var(--ivory); line-height: 1.3; }
.modal__actions { display: grid; gap: 12px; margin-top: 22px; }
.modal__actions .btn { width: 100%; }
.modal__or { text-align: center; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); }
@media (min-width: 560px) {
  .modal { place-items: center; padding: 24px; }
  .modal__panel { border-radius: var(--r-lg); padding: 34px; }
}

/* ---------------- Breadcrumbs / page head ---------------- */
.page-head {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-soft);
  padding-block: 44px 36px;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.12), transparent 65%);
  pointer-events: none;
}
.page-head h1 { font-size: clamp(30px, 6vw, 46px); position: relative; }
.page-head .section-sub { margin-top: 10px; max-width: 620px; }
.page-head__cols {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  align-items: end;
}
.page-head__cols .section-sub { margin-top: 0; max-width: none; }
@media (min-width: 800px) {
  .page-head__cols { grid-template-columns: 1.15fr 1fr; gap: 40px; }
  .page-head__cols .section-sub { margin-block: 6px 0; }
}
.page-head--banner { background-size: cover; background-position: center; }
.page-head--banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 10, 0.92) 0%, rgba(8, 9, 10, 0.6) 55%, rgba(8, 9, 10, 0.35) 100%);
  pointer-events: none;
}
.page-head--banner .container { position: relative; z-index: 1; }

.breadcrumbs { padding-top: 22px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: var(--sage); }
.bc-item { display: inline-flex; align-items: center; gap: 6px; }
.bc-item + .bc-item::before { content: '›'; color: var(--red); opacity: 0.7; }
.bc-item a { color: var(--sage); }
.bc-item a:hover { color: var(--red-2); }
.bc-item--current { color: var(--red-2); }

/* ---------------- Filter bar / search ---------------- */
.filter-bar {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 30px;
}
.filter-bar .field { min-width: 0; }
@media (min-width: 640px) { .filter-bar { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .filter-bar { grid-template-columns: 1.6fr 1fr 1fr 1fr auto; align-items: end; } }

.search-box { position: relative; }
.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  pointer-events: none;
}
.search-box input { padding-left: 46px; }

.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--sage);
}
.results-meta strong { color: var(--red-2); }

.empty-state {
  text-align: center;
  padding: 60px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
}
.empty-state svg { color: var(--red); opacity: 0.6; margin-inline: auto; }
.empty-state h3 { font-size: 21px; margin-top: 16px; }
.empty-state p { color: var(--sage); margin-top: 8px; font-size: 14.5px; }

/* ---------------- Reveal animations ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--left.is-visible, .reveal--right.is-visible { transform: none; }

/* page transition */
.page-fade { animation: pageFade 0.6s var(--ease) both; }
@keyframes pageFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------------- Scroll progress (gold light) ---------------- */
.scrollbar-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1000;
  background: transparent;
}
.scrollbar-thumb {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red-3), var(--red), var(--red-2));
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.8);
}

/* ---------------- Toast ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ivory);
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 14.5px;
  z-index: 960;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast strong { color: var(--red-2); }
@media (min-width: 768px) { .toast { bottom: 30px; } }

/* ---------------- Reduced motion ---------------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__img { animation: none; transform: none; }
  .hero__shine { animation: none; background: none; }
}
/* ============================================================
   
/* ============================================================
   
/* ============================================================
   
/* ============================================================
   
/* ============================================================
   NAV GLASS — dark frosted glass navigation bar only
   ============================================================ */
.header {
    background:
        radial-gradient(
            circle at 18% 35%,
            rgba(220,38,38,.10),
            transparent 30%
        ),
        rgba(2,2,2,.91);
    backdrop-filter: blur(20px) saturate(1.45);
    -webkit-backdrop-filter: blur(20px) saturate(1.45);
    border-bottom: 1px solid rgba(220, 38, 38, 0.32);
    box-shadow: 0 14px 38px -18px rgba(2, 2, 2, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.header--scrolled {
    background:
        radial-gradient(
            circle at 18% 35%,
            rgba(220,38,38,.12),
            transparent 30%
        ),
        rgba(2,2,2,.94);
    backdrop-filter: blur(20px) saturate(1.45);
    -webkit-backdrop-filter: blur(20px) saturate(1.45);
    border-bottom: 1px solid rgba(220, 38, 38, 0.32);
}
.brand__name { color: #dc2626; }
.nav__link { color: rgba(255, 255, 255, 0.85); }
.nav__link::after { background: #dc2626; }
.nav__link:hover, .nav__link.is-active { color: #ef4444; }
.header .btn--outline {
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.55);
    background: rgba(255, 255, 255, 0.04);
}
.header .btn--outline:hover {
    color: #ef4444;
    border-color: rgba(220, 38, 38, 0.8);
    background: rgba(220, 38, 38, 0.14);
}
.burger__line { background: #ffffff; }
.burger:hover .burger__line { background: #ef4444; }
/* ============================================================
   MODAL GLASS — dark frosted glass availability modal
   ============================================================ */
.modal__panel {
    background:
        radial-gradient(
            circle at 18% 35%,
            rgba(220,38,38,.10),
            transparent 30%
        ),
        rgba(2,2,2,.91);
    backdrop-filter: blur(20px) saturate(1.45);
    -webkit-backdrop-filter: blur(20px) saturate(1.45);
    border: 1px solid rgba(220, 38, 38, 0.32);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.modal__kicker { color: #dc2626; }
.modal__title { color: #ffffff; }
.modal__text { color: rgba(255, 255, 255, 0.78); }
.modal__item-name { color: rgba(255, 255, 255, 0.92); }
.modal__or { color: rgba(255, 255, 255, 0.7); }
.modal__close {
    color: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
}
.modal__close:hover {
    color: #ef4444;
    border-color: rgba(220, 38, 38, 0.6);
    background: rgba(220, 38, 38, 0.12);
}
/* ============================================================
   
/* ============================================================
   TOPBAR PALETTE — dark bronze · #0D0D0E
   ============================================================ */
.topbar {
    background: rgba(2, 2, 2, 0.88);
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: #9ca3af;
}
.topbar__item { color: #e5e7eb; }
.topbar__item strong { color: #ef4444; }
.topbar__item svg { color: #dc2626; }
.topbar__item a, .topbar__item a:visited { color: #e5e7eb; }
.topbar__item a:hover { color: #ef4444; }
/* ============================================================
   BRAND CONTACT — All Models Available · models on request
   ============================================================ */
.brand-card__count {
    color: #ef4444;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.brand-card__cta {
    margin-top: 12px;
    width: 100%;
    justify-content: center;
}
.brand-contact__media {
    width: 100%;
    aspect-ratio: 16 / 8;
    display: grid;
    place-items: center;
    padding: 12px;
}
.brand-contact__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand-contact__body {
    padding: 24px 26px 28px;
    align-items: flex-start;
    text-align: left;
}
.brand-contact__avail {
    color: #ef4444;
    font-weight: 800;
    font-size: 13.5px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}
.brand-contact__text {
    margin-top: 10px;
    color: var(--sage);
    max-width: 540px;
    line-height: 1.65;
}
.brand-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
/* ============================================================
   HOME CONTACT PANEL — logo on the left
   ============================================================ */
.brand-contact--logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    text-align: left;
}
.brand-contact--logo .brand-contact__media {
    aspect-ratio: auto;
    width: auto;
    flex: 0 0 auto;
    padding: 22px 6px 22px 22px;
    display: block;
}
.brand-contact--logo .brand-contact__media img {
    width: 300px;
    height: 169px;
    object-fit: cover;
    transform: scale(1.1);
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    background: var(--bg-4);
    padding: 0;
}
.brand-contact--logo .brand-contact__body {
    flex: 1;
    align-items: center;
    text-align: center;
    padding: 24px 26px 28px 18px;
}
@media (max-width: 640px) {
    .brand-contact--logo {
        flex-direction: column;
        text-align: center;
    }
.brand-contact--logo .brand-contact__media {
        padding: 20px 20px 4px;
    }
    .brand-contact--logo .brand-contact__media img {
        width: 212px;
        height: 119px;
        object-fit: cover;
        transform: scale(1.1);
    }
    .brand-contact--logo .brand-contact__body {
        padding: 14px 20px 24px;
    }
}
/* ============================================================
   OVERFLOW GUARD — no sideways page scroll on mobile
   ============================================================ */
html, body {
    overflow-x: clip;
}
/* ============================================================
   FAQ — accordion (details/summary, no JS)
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
    background: var(--bg-4);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: box-shadow .25s var(--ease);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-item__q {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    font-weight: 700;
    font-size: 15.5px;
    color: var(--text);
    line-height: 1.45;
    transition: color .2s;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
    content: '+';
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-3);
    border: 1px solid var(--line);
    font-size: 17px;
    font-weight: 700;
    color: var(--red);
    transition: transform .25s var(--ease), background .2s;
}
.faq-item[open] .faq-item__q::after {
    transform: rotate(45deg);
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.faq-item__q:hover { color: var(--red); }

.faq-item__a {
    padding: 0 22px 20px;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-muted);
}
