:root {
  --bg: #0f0d0b;
  --bg-soft: #1c1713;
  --paper: #efe4d1;
  --text: #f9f2e7;
  --text-dim: #d5c9b7;
  --accent: #c58a54;
  --accent-strong: #e1a166;
  --accent-dark: #7e4a22;
  --wheel-red: #8f1d1d;
  --line: rgba(229, 197, 158, 0.26);
  --card: rgba(30, 24, 19, 0.74);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
  --radius-lg: 22px;
  --radius-md: 14px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Source Sans 3", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 15%, rgba(197, 138, 84, 0.18) 0%, transparent 42%),
    radial-gradient(circle at 80% 8%, rgba(143, 29, 29, 0.16) 0%, transparent 32%),
    linear-gradient(140deg, #0d0b09 0%, #17120e 48%, #0f0c09 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255, 230, 195, 0.08),
      rgba(255, 230, 195, 0.08) 1px,
      transparent 1px,
      transparent 9px
    );
}

a {
  color: inherit;
}

.container {
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto;
}

.section {
  padding: clamp(3.2rem, 5.4vw, 5.6rem) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(9, 8, 7, 0.88), rgba(9, 8, 7, 0.52));
  border-bottom: 1px solid rgba(213, 176, 135, 0.22);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand-main {
  font-family: "Cinzel", serif;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  color: var(--paper);
}

.brand-sub {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

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

.lang-wrap label {
  font-size: 0.82rem;
  color: var(--text-dim);
}

#language-switcher {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(24, 20, 17, 0.85);
  color: var(--text);
  padding: 0.56rem 2rem 0.56rem 0.9rem;
  font-size: 0.82rem;
  line-height: 1;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 1rem) calc(50% - 3px),
    calc(100% - 0.72rem) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.hero {
  padding-top: clamp(3.4rem, 6.4vw, 6.2rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.2rem, 3.4vw, 3.2rem);
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent-strong);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: "Cinzel", serif;
  margin: 0;
  line-height: 1.07;
  font-size: clamp(1.95rem, 5.4vw, 4.15rem);
  color: var(--paper);
  text-wrap: balance;
}

.hero-subtitle {
  margin: 1.1rem 0 1.6rem;
  color: var(--text-dim);
  max-width: 62ch;
  line-height: 1.65;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.78rem 1.28rem;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #c58a54 0%, #e8b37e 100%);
  color: #2e1707;
  box-shadow: 0 10px 24px rgba(197, 138, 84, 0.4);
}

.btn-secondary {
  border-color: rgba(213, 176, 135, 0.55);
  color: var(--paper);
  background: rgba(24, 20, 16, 0.7);
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stats li {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.hero-stats strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 1.15rem;
  color: var(--accent-strong);
  margin-bottom: 0.35rem;
}

.hero-stats span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.hero-media {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(225, 161, 102, 0.4);
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 58%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(235, 214, 188, 0.28), transparent 62%);
  filter: blur(9px);
  animation: steamHaze 8.5s ease-in-out infinite;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.hero-media figcaption {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  background: rgba(8, 7, 6, 0.72);
  border: 1px solid rgba(235, 201, 160, 0.35);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font-size: 0.74rem;
  color: var(--paper);
}

.section-head {
  max-width: 75ch;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  margin: 0 0 0.8rem;
  font-family: "Cinzel", serif;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  color: var(--paper);
}

.section-head p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.62;
}

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

.value-card,
.machine-copy,
.video-shell,
.price-panel,
.contact-panel,
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.value-card {
  padding: 1.1rem;
}

.value-card h3 {
  margin: 0 0 0.6rem;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
}

.value-card p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.55;
  font-size: 0.95rem;
}

.machine-wrap {
  display: grid;
  gap: 1rem;
}

.machine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.machine-copy {
  padding: 1.28rem;
  background:
    linear-gradient(160deg, rgba(34, 26, 20, 0.9), rgba(21, 17, 14, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(197, 138, 84, 0.18), transparent 45%);
  border: 1px solid rgba(220, 179, 139, 0.3);
  border-left: 4px solid rgba(197, 138, 84, 0.62);
}

.machine-copy h2 {
  margin: 0 0 0.65rem;
  font-family: "Cinzel", serif;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
}

.machine-copy p {
  margin: 0 0 1rem;
  color: var(--text-dim);
  line-height: 1.62;
}

.spec-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.spec-row {
  border-bottom: 1px solid rgba(213, 176, 135, 0.16);
  padding-bottom: 0.45rem;
}

.spec-row dt {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.spec-row dd {
  margin: 0.22rem 0 0;
  color: var(--paper);
  line-height: 1.45;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(229, 197, 158, 0.27);
  background: rgba(13, 11, 9, 0.85);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery figure:hover img {
  transform: scale(1.03);
}

.hero-media img,
.gallery img {
  cursor: zoom-in;
}

.gallery figcaption {
  padding: 0.5rem 0.58rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(229, 197, 158, 0.2);
  min-height: 2.3rem;
}

.video-shell {
  padding: 0;
  overflow: hidden;
  min-height: 320px;
  position: relative;
  background:
    linear-gradient(145deg, rgba(139, 86, 48, 0.35), rgba(18, 15, 12, 0.95)),
    radial-gradient(circle at 50% 30%, rgba(255, 228, 196, 0.16), transparent 55%);
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.video-load-btn {
  border: 1px solid rgba(232, 179, 126, 0.74);
  background: rgba(10, 9, 8, 0.65);
  color: var(--paper);
  padding: 0.92rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.video-shell iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.price-panel {
  padding: 1.6rem;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(31, 18, 12, 0.92), rgba(14, 11, 9, 0.97)),
    radial-gradient(circle at 50% 0, rgba(197, 138, 84, 0.22), transparent 70%);
}

.price-panel h2 {
  margin: 0 0 0.5rem;
  font-family: "Cinzel", serif;
}

.price-value {
  margin: 0;
  font-size: clamp(1.95rem, 4.4vw, 3.25rem);
  font-family: "Cinzel", serif;
  color: #f5d8b7;
}

.price-note {
  margin: 0.7rem auto 0;
  max-width: 55ch;
  color: var(--text-dim);
}

.contact-panel {
  padding: 1.35rem;
  text-align: center;
}

.contact-panel p {
  color: var(--text-dim);
  margin: 0 0 1rem;
}

.contact-email {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: clamp(1.03rem, 2.1vw, 1.25rem);
  font-weight: 700;
  color: #f2c99e;
  text-decoration: none;
}

.faq {
  padding: 1.1rem;
}

.faq details {
  border-bottom: 1px solid rgba(213, 176, 135, 0.2);
  padding: 0.75rem 0;
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--paper);
}

.faq p {
  margin: 0.55rem 0 0;
  color: var(--text-dim);
  line-height: 1.55;
}

.site-footer {
  border-top: 1px solid rgba(213, 176, 135, 0.2);
  padding: 1.3rem 0 2.3rem;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(0.8rem, 2.2vw, 1.8rem);
  background: rgba(7, 6, 5, 0.86);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  width: min(96vw, 1500px);
  max-height: 92vh;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.3s ease;
}

.lightbox.is-open .lightbox-dialog {
  transform: scale(1) translateY(0);
}

.lightbox-figure {
  margin: 0;
  display: grid;
  gap: 0.6rem;
  justify-items: center;
}

.lightbox-image {
  max-width: min(96vw, 1500px);
  max-height: calc(92vh - 3.6rem);
  width: auto;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(225, 161, 102, 0.52);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
  background: rgba(10, 9, 8, 0.95);
}

.lightbox-caption {
  max-width: min(90vw, 980px);
  text-align: center;
  color: var(--paper);
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 0.35rem 0.5rem;
}

.lightbox-close {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(243, 214, 177, 0.62);
  border-radius: 999px;
  background: rgba(14, 12, 10, 0.92);
  color: #f7e2c9;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(28, 22, 17, 0.96);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes steamHaze {
  0%,
  100% {
    transform: translateX(-2%) translateY(0) scale(1);
    opacity: 0.52;
  }
  50% {
    transform: translateX(3%) translateY(8px) scale(1.06);
    opacity: 0.25;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .machine-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.6rem;
  }
}

@media (max-width: 800px) {
  .value-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .topbar {
    min-height: 66px;
  }

  .lang-wrap label {
    display: none;
  }

  .section {
    padding: 2.7rem 0;
  }

  .video-shell {
    min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-media::after,
  .btn,
  .gallery img,
  .lightbox,
  .lightbox-dialog {
    animation: none !important;
    transition: none !important;
  }
}

html[dir="rtl"] .brand {
  align-items: flex-end;
}

html[dir="rtl"] .lang-wrap {
  flex-direction: row-reverse;
}

html[dir="rtl"] .cta-row,
html[dir="rtl"] .hero-stats,
html[dir="rtl"] .value-grid,
html[dir="rtl"] .machine-grid,
html[dir="rtl"] .gallery {
  direction: rtl;
}
