body.ambients-page {
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --bg-soft: #ececf1;
  --card: #ffffff;
  --card-border: #e1e3ea;
  --text: #111318;
  --text-secondary: #666d7a;
  --border: #dfe2e8;
  --accent: #5e2bff;
  --accent-rgb: 94, 43, 255;
  --accent-soft: rgba(var(--accent-rgb), 0.12);
  --accent-glow: rgba(var(--accent-rgb), 0.28);
  --shadow: 0 18px 55px rgba(18, 22, 34, 0.08);
  --font-display: "Barlow Condensed", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --transition: 0.25s ease;
}
body.ambients-page,
body.ambients-page * {
  box-sizing: border-box;
}
body.ambients-page {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}
body.ambients-page button,
body.ambients-page input {
  font: inherit;
}
body.ambients-page button {
  cursor: pointer;
}
body.ambients-page a {
  text-decoration: none;
  color: inherit;
}
body.ambients-page img,
body.ambients-page svg {
  display: block;
  max-width: 100%;
}
body.ambients-page header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body.ambients-page .menu-btn {
  position: absolute;
  left: 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  transition: var(--transition);
}
body.ambients-page .menu-btn:hover {
  color: var(--accent);
  transform: scale(1.08);
}
body.ambients-page .header-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 2px;
  font-size: 1.6rem;
}
body.ambients-page .header-brand:hover {
  color: var(--accent);
}
body.ambients-page .dropdown-content {
  display: none;
  position: absolute;
  top: 68px;
  left: 15px;
  width: min(90vw, 240px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: left;
}
body.ambients-page .dropdown-content.open {
  display: block;
}
body.ambients-page .dropdown-content a {
  display: block;
  padding: 14px 18px;
  color: var(--text);
  transition: var(--transition);
}
body.ambients-page .dropdown-content a:hover,
body.ambients-page .dropdown-content a.active {
  padding-left: 24px;
  color: #fff;
  background: var(--accent);
}
body.ambients-page .toggle-switch-container {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}
body.ambients-page .toggle-label {
  font-size: 0.92rem;
}
body.ambients-page .switch {
  position: relative;
  width: 50px;
  height: 26px;
  margin-left: auto;
}
body.ambients-page .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
body.ambients-page .slider {
  position: absolute;
  inset: 0;
  background: #ced2da;
  border-radius: 30px;
  transition: 0.3s;
}
body.ambients-page .slider:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: 0.3s;
}
body.ambients-page input:checked + .slider {
  background: var(--accent);
}
body.ambients-page input:checked + .slider:before {
  transform: translateX(24px);
}
body.ambients-page .hero {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
  padding: 100px 20px 90px;
  overflow: hidden;
  text-align: center;
}
body.ambients-page .hero-glow {
  position: absolute;
  width: min(720px, 90vw);
  height: min(720px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
body.ambients-page .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
body.ambients-page .eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
body.ambients-page .hero .eyebrow {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: none;
}
body.ambients-page .hero h1 {
  margin: 0.6rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text-secondary);
}
body.ambients-page .hero-lead {
  max-width: 650px;
  margin: 1.4rem auto 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
}
body.ambients-page .hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}
body.ambients-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: var(--transition);
}
body.ambients-page .btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 30px var(--accent-glow);
}
body.ambients-page .btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
body.ambients-page .btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.45);
}
body.ambients-page .btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}
body.ambients-page .btn-full {
  width: 100%;
}
body.ambients-page .configurator-section,
body.ambients-page .features-section,
body.ambients-page .process-section,
body.ambients-page .faq-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 20px;
}
body.ambients-page .configurator-section {
  padding: 70px 20px 90px;
}
body.ambients-page .section-head {
  max-width: 720px;
  margin: 0 auto clamp(34px, 6vw, 58px);
  text-align: center;
}
body.ambients-page .configurator-section .section-head {
  max-width: 760px;
  margin: 0 auto 36px;
}
body.ambients-page .section-head h2,
body.ambients-page .contact-band h2 {
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
body.ambients-page .section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
}
body.ambients-page .configurator-section .section-head h2 {
  font-size: clamp(2.5rem, 5.5vw, 4.6rem);
}
body.ambients-page .section-head p {
  color: var(--text-secondary);
  line-height: 1.75;
}
body.ambients-page .configurator-section .section-head p {
  max-width: 690px;
  margin: 18px auto 0;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  line-height: 1.65;
}
body.ambients-page .configurator {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}
body.ambients-page .preview-panel,
body.ambients-page .controls-panel,
body.ambients-page .feature-card,
body.ambients-page .process-grid article,
body.ambients-page .faq-list details {
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}
body.ambients-page .preview-panel {
  border-radius: 24px;
  overflow: hidden;
}
body.ambients-page .preview-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
body.ambients-page .preview-toolbar > div:last-child {
  text-align: right;
}
body.ambients-page .toolbar-label {
  display: block;
  margin-bottom: 3px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
body.ambients-page .preview-toolbar strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}
body.ambients-page .interior-stage {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 70%, var(--accent-soft), transparent 44%),
    linear-gradient(180deg, #e9ebf2 0%, #d8dce5 100%);
}
body.ambients-page .stage-glow {
  position: absolute;
  inset: 35% 12% 5%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  filter: blur(45px);
  opacity: 0.7;
}
body.ambients-page .e90-interior {
  position: relative;
  z-index: 1;
  width: 100%;
}
body.ambients-page .cabin-shell {
  fill: #121212;
  stroke: #383838;
  stroke-width: 8;
}
body.ambients-page .windscreen {
  fill: #c7d3e3;
  stroke: #262626;
  stroke-width: 8;
}
body.ambients-page .dashboard {
  stroke: #090909;
  stroke-width: 7;
}
body.ambients-page .dash-trim {
  stroke: #171717;
  stroke-width: 3;
}
body.ambients-page .screen-frame {
  fill: #111;
  stroke: #4c4c4c;
  stroke-width: 5;
}
body.ambients-page .screen-line {
  stroke: #4c79af;
  stroke-width: 5;
  stroke-linecap: round;
}
body.ambients-page .screen-dot {
  fill: #6fa8ed;
}
body.ambients-page .vents rect {
  fill: #151515;
  stroke: #4a4a4a;
  stroke-width: 4;
}
body.ambients-page .vents path {
  stroke: #7a7a7a;
  stroke-width: 3;
}
body.ambients-page .cluster path {
  fill: #101010;
  stroke: #3a3a3a;
  stroke-width: 5;
}
body.ambients-page .cluster circle {
  fill: #090909;
  stroke: #7c7c7c;
  stroke-width: 4;
}
body.ambients-page .cluster path:last-child {
  stroke: #e8e8e8;
  stroke-width: 3;
}
body.ambients-page .steering circle,
body.ambients-page .steering path {
  fill: none;
  stroke: #1b1b1b;
  stroke-width: 22;
  stroke-linecap: round;
}
body.ambients-page .steering circle:nth-child(2) {
  fill: #222;
  stroke: #333;
  stroke-width: 8;
}
body.ambients-page .console-body {
  fill: #181818;
  stroke: #333;
  stroke-width: 7;
}
body.ambients-page .gear-panel {
  fill: #252525;
  stroke: #555;
  stroke-width: 4;
}
body.ambients-page .gear-lever {
  fill: #111;
  stroke: #777;
  stroke-width: 4;
}
body.ambients-page .idrive {
  fill: #1b1b1b;
  stroke: #777;
  stroke-width: 5;
}
body.ambients-page .console-slot {
  fill: #0d0d0d;
  stroke: #444;
  stroke-width: 3;
}
body.ambients-page .door {
  fill: #171717;
  stroke: #353535;
  stroke-width: 7;
}
body.ambients-page .door-trim,
body.ambients-page .door-handle {
  fill: none;
  stroke: #5c5c5c;
  stroke-width: 8;
  stroke-linecap: round;
}
body.ambients-page .seat {
  fill: #111;
  stroke: #313131;
  stroke-width: 8;
}
body.ambients-page .ambient-strip {
  fill: none;
  stroke: var(--accent);
  stroke-width: 9;
  stroke-linecap: round;
  opacity: 0.82;
  filter: drop-shadow(0 0 9px var(--accent)) drop-shadow(0 0 20px var(--accent));
  transition:
    stroke 0.35s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
}
body.ambients-page .footwell-strip {
  stroke-width: 18;
  opacity: 0.48;
  filter: drop-shadow(0 7px 10px var(--accent))
    drop-shadow(0 14px 28px var(--accent));
}
body.ambients-page .controls-panel {
  border-radius: 24px;
  padding: 22px;
  align-self: start;
}
body.ambients-page .control-block {
  padding: 2px 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
body.ambients-page .control-block h3 {
  margin: 0.15rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
body.ambients-page .control-kicker {
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
body.ambients-page .control-heading,
body.ambients-page .range-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}
body.ambients-page .colour-value {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 0.78rem;
  font-weight: 700;
}
body.ambients-page .swatches {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
body.ambients-page .swatch {
  aspect-ratio: 1;
  border: 3px solid transparent;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
body.ambients-page .swatch:hover {
  transform: scale(1.08);
}
body.ambients-page .swatch.active {
  border-color: var(--text);
  transform: scale(1.08);
}
body.ambients-page .custom-colour {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}
body.ambients-page .custom-colour input {
  width: 52px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}
body.ambients-page .range {
  width: 100%;
  accent-color: var(--accent);
}
body.ambients-page .mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
body.ambients-page .mode-btn {
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 700;
}
body.ambients-page .mode-btn:hover,
body.ambients-page .mode-btn.active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}
body.ambients-page .mode-note {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}
body.ambients-page .selection-summary {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
}
body.ambients-page .selection-summary > span {
  display: block;
  margin-bottom: 5px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
}
body.ambients-page .selection-summary strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
}
body.ambients-page .selection-summary p {
  display: flex;
  gap: 7px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
body.ambients-page .feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
body.ambients-page .feature-card {
  min-height: 245px;
  padding: 26px;
  border-radius: 18px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}
body.ambients-page .feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
body.ambients-page .feature-number {
  display: block;
  margin-bottom: 30px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}
body.ambients-page .feature-card h3,
body.ambients-page .process-grid h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.55rem;
}
body.ambients-page .feature-card p,
body.ambients-page .process-grid p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}
body.ambients-page .process-section {
  max-width: none;
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}
body.ambients-page .process-section .section-head {
  max-width: 1180px;
}
body.ambients-page .process-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
body.ambients-page .process-grid article {
  padding: 26px;
  border-radius: 18px;
}
body.ambients-page .process-grid article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
}
body.ambients-page .faq-list {
  max-width: 820px;
  margin: 0 auto;
}
body.ambients-page .faq-list details {
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
}
body.ambients-page .faq-list summary {
  padding: 20px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
body.ambients-page .faq-list summary::-webkit-details-marker {
  display: none;
}
body.ambients-page .faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-size: 1.4rem;
}
body.ambients-page .faq-list details[open] summary::after {
  content: "–";
}
body.ambients-page .faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}
body.ambients-page .contact-band {
  padding: clamp(80px, 10vw, 130px) 20px;
  text-align: center;
  background:
    radial-gradient(circle at center, var(--accent-soft), transparent 48%),
    var(--bg);
}
body.ambients-page .contact-band h2 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}
body.ambients-page .contact-band p {
  max-width: 620px;
  margin: 1rem auto 0;
  color: var(--text-secondary);
  line-height: 1.75;
}
body.ambients-page footer {
  padding: 44px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-secondary);
}
body.ambients-page .footer-brand {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  font-weight: 800;
}
body.ambients-page .social-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 18px 0;
}
body.ambients-page .social-buttons a:hover {
  color: var(--accent);
}
body.ambients-page.mode-fade .ambient-strip {
  animation: fadeGlow 3s ease-in-out infinite alternate;
}
body.ambients-page.mode-pulse .ambient-strip {
  animation: pulseGlow 1.15s ease-in-out infinite;
}
body.ambients-page.mode-symphony .ambient-strip:nth-of-type(odd) {
  animation: symphonyA 0.8s ease-in-out infinite alternate;
}
body.ambients-page.mode-symphony .ambient-strip:nth-of-type(even) {
  animation: symphonyB 0.65s ease-in-out infinite alternate;
}
@keyframes fadeGlow {
  from {
    opacity: 0.25;
  }
  to {
    opacity: 1;
  }
}
@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
@keyframes symphonyA {
  from {
    opacity: 0.25;
    stroke-width: 7;
  }
  to {
    opacity: 1;
    stroke-width: 12;
  }
}
@keyframes symphonyB {
  from {
    opacity: 1;
    stroke-width: 12;
  }
  to {
    opacity: 0.25;
    stroke-width: 7;
  }
}
@media (max-width: 980px) {
  body.ambients-page .configurator {
    grid-template-columns: 1fr;
  }
  body.ambients-page .feature-grid,
  body.ambients-page .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  body.ambients-page .interior-stage {
    min-height: 430px;
  }
}
@media (max-width: 640px) {
  body.ambients-page .hero {
    min-height: 520px;
    padding-top: 80px;
  }
  body.ambients-page .hero .eyebrow {
    font-size: clamp(2.5rem, 14vw, 4.2rem);
  }
  body.ambients-page .preview-toolbar {
    flex-direction: column;
    padding: 14px 16px;
  }
  body.ambients-page .preview-toolbar > div:last-child {
    text-align: left;
  }
  body.ambients-page .interior-stage {
    min-height: 330px;
    padding: 4px;
  }
  body.ambients-page .controls-panel {
    padding: 18px;
  }
  body.ambients-page .swatches {
    grid-template-columns: repeat(7, 1fr);
    gap: 7px;
  }
  body.ambients-page .feature-grid,
  body.ambients-page .process-grid {
    grid-template-columns: 1fr;
  }
  body.ambients-page .configurator-section {
    padding: 50px 16px 65px;
  }
  body.ambients-page .configurator-section .section-head {
    margin-bottom: 28px;
  }
}
@media (max-width: 420px) {
  body.ambients-page .menu-btn {
    left: 10px;
  }
  body.ambients-page .header-brand {
    font-size: 1.35rem;
  }
  body.ambients-page .mode-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.ambients-page,
  body.ambients-page * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
body.ambients-page a:focus-visible,
body.ambients-page button:focus-visible,
body.ambients-page input:focus-visible,
body.ambients-page summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
/* ---------- IMPROVED E90 SVG ---------- */
body.ambients-page .dashboard-upper,
body.ambients-page .dashboard-lower {
  stroke: #090909;
  stroke-width: 7;
}
body.ambients-page .hazard {
  fill: #202024;
  stroke: #555;
  stroke-width: 3;
}
body.ambients-page .hazard-symbol {
  fill: none;
  stroke: #d54b4b;
  stroke-width: 3;
  stroke-linejoin: round;
}
body.ambients-page .centre-stack rect {
  fill: #171719;
  stroke: #4b4b50;
  stroke-width: 4;
}
body.ambients-page .centre-stack path {
  fill: none;
  stroke: #6f7075;
  stroke-width: 3;
  stroke-linecap: round;
}
body.ambients-page .centre-stack circle {
  fill: #0e0e10;
  stroke: #74767d;
  stroke-width: 4;
}
body.ambients-page .door-insert {
  fill: #101012;
  stroke: #33353a;
  stroke-width: 5;
}
body.ambients-page .footwell-glow {
  fill: var(--accent);
  opacity: 0.22;
  filter: url(#footwellBlur);
  transition:
    fill 0.35s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
  pointer-events: none;
}
/* ---------- CLICK-TO-EXPAND SERVICES MENU ---------- */
body.ambients-page .dropdown-content {
  width: min(90vw, 250px);
}
body.ambients-page .dropdown-parent {
  border-bottom: 1px solid var(--border);
}
body.ambients-page .dropdown-expand {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
body.ambients-page .dropdown-expand:hover {
  padding-left: 24px;
  color: #fff;
  background: var(--accent);
}
body.ambients-page .submenu-arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s ease;
}
body.ambients-page .dropdown-parent.open .submenu-arrow {
  transform: rotate(90deg);
}
body.ambients-page .submenu {
  max-height: 0;
  overflow: hidden;
  margin-left: 18px;
  border-left: 2px solid var(--accent);
  transition: max-height 0.28s ease;
}
body.ambients-page .dropdown-parent.open .submenu {
  max-height: 320px;
}
body.ambients-page .submenu a {
  display: block;
  padding: 12px 18px 12px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition);
}
body.ambients-page .submenu a:hover,
body.ambients-page .submenu a.active {
  padding-left: 26px;
  color: var(--accent);
  background: var(--accent-soft);
}
body.ambients-page .dropdown-content > a {
  display: block;
  padding: 15px 18px;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}
body.ambients-page .dropdown-content > a:hover,
body.ambients-page .dropdown-content > a.active {
  padding-left: 24px;
  color: #fff;
  background: var(--accent);
}
@media (max-width: 640px) {
  body.ambients-page .dropdown-content {
    left: 10px;
    width: min(calc(100vw - 20px), 250px);
  }
}
