:root {
  --bg-charcoal: #1d1713;
  --bg-iron: #29211c;
  --panel: #231b17;
  --panel-light: #30251f;
  --parchment: #ecd8b7;
  --parchment-soft: #f4e7cf;
  --copper: #be7740;
  --copper-dark: #91562b;
  --ember: #dc5f32;
  --oak: #6e4f34;
  --line: rgba(255, 236, 207, 0.18);
  --text-main: #f8eedf;
  --text-muted: #ddc9ab;
  --focus: #ffd38b;
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.32);
  --radius-sm: 0.7rem;
  --radius-md: 1rem;
  --radius-lg: 1.4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  background:
    radial-gradient(75rem 45rem at 15% -10%, rgba(190, 119, 64, 0.23), transparent 60%),
    radial-gradient(55rem 36rem at 92% -5%, rgba(220, 95, 50, 0.17), transparent 62%),
    linear-gradient(140deg, var(--bg-charcoal), var(--bg-iron));
  font-family: "Source Sans 3", "Trebuchet MS", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 232, 196, 0.12) 0 1px,
      rgba(0, 0, 0, 0) 1px 6px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 232, 196, 0.08) 0 1px,
      rgba(0, 0, 0, 0) 1px 6px
    );
  z-index: -1;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: "Cinzel", "Times New Roman", serif;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--parchment-soft);
}

p {
  margin: 0 0 1rem;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: #000;
  color: #fff;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: clamp(3.25rem, 6vw, 5rem) 0;
  scroll-margin-top: 5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(20, 15, 11, 0.74);
  border-bottom: 1px solid rgba(255, 220, 170, 0.12);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 4.4rem;
}

.brand {
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--parchment-soft);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
  margin-right: 0.2rem;
}

.site-nav a {
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color 200ms ease, background-color 200ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--parchment-soft);
  background: rgba(255, 232, 196, 0.1);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 220, 170, 0.22);
  border-radius: 999px;
  background: rgba(17, 13, 10, 0.44);
  padding: 0.24rem 0.4rem;
}

.language-switcher-label {
  color: var(--text-muted);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  white-space: nowrap;
}

.language-switcher-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.05rem;
  padding: 0.3rem 0.45rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 200ms ease, background-color 200ms ease;
}

.lang-link:hover {
  color: var(--parchment-soft);
  background: rgba(255, 220, 170, 0.16);
}

.lang-link.is-current,
.lang-link[aria-current="true"] {
  color: #fff7eb;
  background: linear-gradient(180deg, rgba(239, 144, 76, 0.88), rgba(169, 91, 42, 0.88));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 223, 173, 0.45);
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff9f0;
  background:
    linear-gradient(180deg, rgba(239, 144, 76, 0.96), rgba(169, 91, 42, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 205, 0.5),
    0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 205, 0.6),
    0 16px 28px rgba(0, 0, 0, 0.38);
}

.button:active {
  transform: translateY(0);
}

.button-secondary {
  background: transparent;
  border-color: rgba(255, 223, 173, 0.55);
  color: var(--parchment-soft);
}

.button-secondary:hover {
  background: rgba(255, 223, 173, 0.12);
}

.button-small {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.hero {
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 1.5rem 0 auto;
  height: min(75%, 34rem);
  background:
    radial-gradient(circle at 20% 20%, rgba(220, 95, 50, 0.18), transparent 55%),
    radial-gradient(circle at 90% 40%, rgba(190, 119, 64, 0.14), transparent 52%);
  filter: blur(20px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--copper);
}

.hero h1 {
  font-size: clamp(2rem, 3.9vw, 3.7rem);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: clamp(1.04rem, 1.55vw, 1.24rem);
  color: var(--text-muted);
}

.price-badge {
  display: inline-block;
  margin: 1.2rem 0 1.4rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 213, 156, 0.5);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(49, 35, 24, 0.88), rgba(31, 23, 18, 0.8));
  color: var(--parchment-soft);
}

.price-badge strong {
  color: #ffcb8d;
}

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

.hero-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.8rem;
  color: var(--text-muted);
}

.hero-facts li {
  position: relative;
  padding-left: 1.1rem;
}

.hero-facts li::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--copper);
  position: absolute;
  top: 0.52rem;
  left: 0;
}

.hero-figure {
  margin: 0;
  border: 1px solid rgba(255, 220, 170, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 236, 211, 0.08), rgba(0, 0, 0, 0.2));
  box-shadow: var(--shadow-strong);
}

.hero-figure img {
  width: 100%;
}

.hero-figure figcaption {
  padding: 0.9rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 220, 170, 0.15);
}

.story-panel {
  border: 1px solid rgba(255, 220, 170, 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(130deg, rgba(255, 227, 184, 0.07), rgba(0, 0, 0, 0.15));
  box-shadow: var(--shadow-soft);
  padding: clamp(1.2rem, 3vw, 2.1rem);
}

.story-panel p {
  color: var(--text-muted);
  max-width: 85ch;
}

.machine-section {
  border-top: 1px solid rgba(255, 218, 173, 0.12);
}

.machine-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  align-items: stretch;
}

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

.machine-media img {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 220, 170, 0.18);
  box-shadow: var(--shadow-soft);
}

.machine-card {
  border: 1px solid rgba(255, 220, 170, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 3vw, 1.9rem);
  background:
    linear-gradient(160deg, rgba(255, 214, 157, 0.09), rgba(0, 0, 0, 0.22));
  box-shadow: var(--shadow-soft);
}

.machine-card h2 {
  margin-bottom: 0.25rem;
}

.machine-card h3 {
  margin: 0 0 0.9rem;
  color: var(--copper);
  font-size: clamp(1.02rem, 1.6vw, 1.3rem);
}

.machine-card p {
  color: var(--text-muted);
}

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

.spec-grid div {
  padding: 0.75rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 220, 170, 0.16);
  background: rgba(16, 12, 9, 0.3);
}

.spec-grid dt {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copper);
  font-weight: 700;
}

.spec-grid dd {
  margin: 0;
  color: var(--parchment-soft);
}

.alt-machine {
  background: linear-gradient(180deg, rgba(255, 215, 157, 0.03), rgba(0, 0, 0, 0));
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.gallery-card {
  width: 100%;
  border: 1px solid rgba(255, 220, 170, 0.2);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 225, 180, 0.08), rgba(0, 0, 0, 0.12));
  box-shadow: var(--shadow-soft);
  color: var(--parchment-soft);
  cursor: pointer;
  text-align: left;
  padding: 0;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 220, 170, 0.38);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card span {
  display: block;
  padding: 0.65rem 0.8rem;
  font-weight: 600;
}

.video-shell {
  border: 1px solid rgba(255, 220, 170, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #090705;
}

.video-frame iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.faq-section {
  border-top: 1px solid rgba(255, 218, 173, 0.12);
}

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

.faq-grid details {
  border: 1px solid rgba(255, 220, 170, 0.2);
  border-radius: var(--radius-md);
  background: linear-gradient(170deg, rgba(255, 220, 170, 0.08), rgba(0, 0, 0, 0.16));
  padding: 0.9rem 1rem;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--parchment-soft);
}

.faq-grid p {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
}

.contact-section {
  padding-top: clamp(2.6rem, 5vw, 4.2rem);
}

.contact-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 214, 156, 0.4);
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(220, 95, 50, 0.23), transparent),
    linear-gradient(135deg, rgba(255, 224, 173, 0.09), rgba(0, 0, 0, 0.2));
  box-shadow: var(--shadow-strong);
  padding: clamp(1.2rem, 3.2vw, 2.1rem);
}

.contact-text {
  color: var(--text-muted);
  max-width: 72ch;
}

.contact-price {
  font-size: clamp(1.15rem, 2.15vw, 1.7rem);
  color: var(--parchment-soft);
  margin-bottom: 1.2rem;
}

.contact-price strong {
  color: #ffcb8d;
}

.contact-button {
  min-width: min(100%, 23rem);
}

.site-footer {
  padding: 1.4rem 0 5rem;
  border-top: 1px solid rgba(255, 220, 170, 0.12);
  color: var(--text-muted);
}

.site-footer p {
  margin: 0;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 220, 170, 0.25);
  background: rgba(20, 15, 11, 0.95);
  backdrop-filter: blur(8px);
}

.mobile-cta p {
  margin: 0;
  font-weight: 700;
  color: var(--parchment-soft);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.84);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox-content {
  margin: 0;
  width: min(1120px, 100%);
  max-height: calc(100vh - 5rem);
}

.lightbox-content img {
  width: 100%;
  max-height: calc(100vh - 8.6rem);
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 220, 170, 0.35);
  background: #060402;
}

.lightbox-content figcaption {
  margin-top: 0.55rem;
  color: var(--parchment-soft);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid rgba(255, 220, 170, 0.35);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: rgba(13, 9, 7, 0.9);
  color: #fff;
  cursor: pointer;
}

.lock-scroll {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

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

  .hero-facts,
  .spec-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    flex-wrap: wrap;
    padding: 0.45rem 0 0.8rem;
  }

  .site-nav {
    width: 100%;
    margin: 0;
    order: 2;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
  }

  .language-switcher {
    width: 100%;
    order: 3;
    margin-top: 0.15rem;
    border-radius: var(--radius-sm);
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .language-switcher-label {
    flex: 0 0 auto;
  }

  .language-switcher-list {
    flex-wrap: nowrap;
    padding-right: 0.2rem;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 760px) {
  .mobile-cta {
    display: flex;
  }

  body {
    padding-bottom: 4.5rem;
  }
}

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

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

  .button,
  .gallery-card {
    transition: none;
  }
}
