:root {
  color-scheme: dark;
  --ink: #f8faf7;
  --muted: #b8c7c1;
  --bg: #07110f;
  --panel: rgba(12, 26, 23, 0.82);
  --panel-strong: #0b1815;
  --line: rgba(222, 241, 233, 0.16);
  --accent: #38d7ad;
  --accent-strong: #18b88e;
  --accent-soft: rgba(56, 215, 173, 0.16);
  --amber: #f0ba4d;
  --red: #f46d6d;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body.rtl {
  font-family: Tahoma, Arial, ui-sans-serif, system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 15, 0.88);
  backdrop-filter: blur(18px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.language-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.nav-links a.active,
.nav-links a:hover,
.language-link:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 950;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #031410;
  box-shadow: 0 14px 32px rgba(56, 215, 173, 0.22);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.button.glass {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.button.large {
  min-height: 52px;
  padding-inline: 22px;
}

.hero,
.subhero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(7, 17, 15, 0.98) 0%, rgba(7, 17, 15, 0.78) 38%, rgba(7, 17, 15, 0.36) 70%, rgba(7, 17, 15, 0.78) 100%),
    url("/assets/seo-hero.png");
  background-size: cover;
  background-position: center;
}

.rtl .hero,
.rtl .subhero {
  background-image:
    linear-gradient(270deg, rgba(7, 17, 15, 0.98) 0%, rgba(7, 17, 15, 0.78) 38%, rgba(7, 17, 15, 0.36) 70%, rgba(7, 17, 15, 0.78) 100%),
    url("/assets/seo-hero.png");
}

.subhero {
  min-height: 470px;
}

.hero::after,
.subhero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(7, 17, 15, 0), var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.hero-content > * {
  max-width: 740px;
}

.rtl .hero-content > * {
  margin-inline-start: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rtl .eyebrow {
  text-transform: none;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: 0;
}

.subhero h1 {
  font-size: clamp(36px, 5vw, 64px);
}

.hero-lede {
  margin-bottom: 30px;
  color: #dbe7e1;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  font-weight: 720;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 9px 12px;
  color: #e6f3ee;
  font-size: 13px;
  font-weight: 900;
}

.section,
.cta-band,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 82px 0 0;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.info-card,
.price-card,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.info-card {
  min-height: 210px;
  padding: 24px;
}

.info-card h2,
.section-heading h2,
.cta-band h2 {
  margin-bottom: 12px;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.04;
}

.info-card p,
.section-heading p,
.site-footer p,
details p {
  color: var(--muted);
  line-height: 1.65;
  font-weight: 650;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 22px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  padding: 24px;
}

.price-card.featured {
  border-color: rgba(56, 215, 173, 0.72);
  background: linear-gradient(180deg, rgba(56, 215, 173, 0.16), rgba(255, 255, 255, 0.045));
}

.plan-name {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 950;
}

.price {
  margin-bottom: 2px;
  font-size: 42px;
  font-weight: 950;
}

.price span {
  color: var(--muted);
  font-size: 14px;
}

.muted {
  color: var(--muted);
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: #d9e8e1;
  font-weight: 800;
}

.faq-section {
  padding-bottom: 82px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 950;
}

details p {
  margin: 14px 0 0;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(56, 215, 173, 0.38);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(56, 215, 173, 0.18), rgba(240, 186, 77, 0.08), rgba(255, 255, 255, 0.05));
  padding: 30px;
  margin-bottom: 70px;
}

.cta-band h2 {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 32px 0 46px;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.showroom-hero,
.showroom-layout,
.showroom-detail,
.showroom-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.showroom-hero {
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: 72px 0 34px;
}

.showroom-hero h1,
.showroom-detail h1 {
  max-width: 880px;
  margin-bottom: 18px;
}

.showroom-hero p {
  max-width: 760px;
  color: #dbe7e1;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 720;
}

.showroom-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-bottom: 72px;
}

.showroom-filters,
.showroom-card,
.showroom-detail-panel,
.showroom-no-results {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.showroom-filters {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.filter-heading strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.showroom-filters label {
  display: grid;
  gap: 7px;
}

.showroom-filters label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.rtl .showroom-filters label span {
  text-transform: none;
}

.showroom-filters input,
.showroom-filters select {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  font-weight: 820;
  outline: none;
}

.showroom-filters input:focus,
.showroom-filters select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 215, 173, 0.16);
}

.showroom-filters option {
  background: #07110f;
  color: var(--ink);
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.showroom-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.showroom-results-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.showroom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.showroom-card {
  overflow: hidden;
}

.showroom-card-image {
  display: block;
  background: var(--panel-strong);
}

.showroom-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 220ms ease;
}

.showroom-card:hover img {
  transform: scale(1.025);
}

.showroom-card-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.showroom-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
}

.showroom-price {
  margin: 8px 0 0;
  color: var(--accent);
  font-size: 25px;
  font-weight: 950;
}

.showroom-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.showroom-meta span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 10px;
  color: #dbe7e1;
  font-size: 13px;
  font-weight: 850;
}

.showroom-meta b {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.rtl .showroom-meta b {
  text-transform: none;
}

.showroom-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.showroom-no-results,
.showroom-empty {
  padding: 36px;
  text-align: center;
}

.showroom-detail {
  padding: 34px 0 82px;
}

.showroom-back {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-weight: 950;
}

.showroom-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 18px;
  align-items: stretch;
}

.showroom-detail-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.showroom-detail-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.showroom-detail-panel {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 24px;
}

.showroom-meta.detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .site-nav {
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-actions {
    margin-inline-start: auto;
  }

  .hero,
  .subhero {
    min-height: 690px;
    background-position: 64% center;
  }

  .rtl .hero,
  .rtl .subhero {
    background-position: 36% center;
  }

  .section-grid,
  .pricing-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .showroom-layout,
  .showroom-detail-grid {
    grid-template-columns: 1fr;
  }

  .showroom-filters {
    position: static;
  }

  .showroom-grid {
    grid-template-columns: 1fr;
  }

  .showroom-detail-photo img {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .site-nav,
  .section,
  .cta-band,
  .site-footer,
  .hero-content,
  .showroom-hero,
  .showroom-layout,
  .showroom-detail,
  .showroom-footer {
    width: min(100% - 24px, 1180px);
  }

  .brand span {
    display: none;
  }

  .nav-actions {
    gap: 6px;
  }

  .button {
    padding-inline: 12px;
  }

  .nav-actions .ghost {
    display: none;
  }

  .hero,
  .subhero {
    min-height: 640px;
  }

  .hero-content {
    padding: 72px 0;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .info-card,
  .price-card,
  .cta-band {
    padding: 20px;
  }

  .showroom-card-actions,
  .filter-actions,
  .showroom-meta.detail {
    grid-template-columns: 1fr;
  }

  .showroom-detail-panel {
    padding: 18px;
  }
}
