:root {
  --bg: #fbfaf6;
  --paper: #ffffff;
  --ink: #18201c;
  --muted: #63706a;
  --line: #d9ded4;
  --forest: #183f2f;
  --forest-2: #23533f;
  --sage: #9caf8c;
  --sage-soft: #e8eee0;
  --wood: #c58f55;
  --beige: #efe4d1;
  --charcoal: #202624;
  --shadow: 0 24px 70px rgba(24, 63, 47, 0.14);
}

[data-theme="dark"] {
  --bg: #101512;
  --paper: #17201b;
  --ink: #f4f0e8;
  --muted: #b7c2b9;
  --line: #2b3a32;
  --forest: #dfe9d6;
  --forest-2: #b8cba7;
  --sage: #a8bd97;
  --sage-soft: #223027;
  --wood: #d8a663;
  --beige: #243129;
  --charcoal: #f4f0e8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header[data-elevated="true"] {
  border-color: var(--line);
  box-shadow: 0 12px 36px rgba(24, 32, 28, 0.08);
}

.brand,
.nav-links,
.header-actions,
.hero-actions,
.language-switcher {
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  width: min(300px, 42vw);
  min-width: 210px;
}

.brand-logo {
  width: 100%;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  background: transparent;
}

.nav-links {
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--forest-2);
}

.header-actions {
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--forest);
}

.theme-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.theme-toggle-track {
  position: relative;
  display: block;
  width: 54px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sage-soft);
}

.theme-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--forest);
  transition: transform 180ms ease;
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(24px);
  background: var(--wood);
}

.language-switcher {
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.lang-btn {
  min-width: 34px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: 800 12px/1 Inter, Arial, sans-serif;
  cursor: pointer;
}

.lang-btn.active {
  color: #fff;
  background: var(--forest-2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  font-family: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
}

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

.button-primary {
  color: white;
  background: var(--forest-2);
  box-shadow: 0 16px 36px rgba(35, 83, 63, 0.24);
}

.button-secondary {
  color: var(--forest);
  border-color: var(--line);
  background: var(--paper);
}

.button-ghost {
  color: var(--forest);
  border-color: color-mix(in srgb, var(--forest) 18%, transparent);
  background: color-mix(in srgb, var(--sage-soft) 72%, transparent);
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.section-band {
  background:
    radial-gradient(circle at 78% 8%, color-mix(in srgb, var(--sage) 30%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--sage-soft) 58%, var(--bg)) 0%, var(--bg) 100%);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 850px);
  align-items: end;
  min-height: calc(100svh - 78px);
  padding: clamp(86px, 12vw, 150px) clamp(18px, 6vw, 88px) clamp(70px, 9vw, 110px);
  background:
    linear-gradient(90deg, rgba(16, 22, 18, 0.84) 0%, rgba(16, 22, 18, 0.64) 46%, rgba(16, 22, 18, 0.28) 100%),
    linear-gradient(0deg, rgba(16, 22, 18, 0.24), rgba(16, 22, 18, 0.24)),
    url("IMG/hero-conference.jpg") center / cover fixed;
}

.hero-copy,
.section-copy {
  max-width: 760px;
}

.hero .eyebrow,
.hero h1,
.hero .hero-text {
  color: #fff;
}

.hero .eyebrow {
  color: #e5c18d;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--wood);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  color: var(--forest);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--forest);
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--forest);
  font-size: 21px;
  line-height: 1.2;
}

.hero-text,
.section-heading p,
.section-copy p,
.feature-card p,
.process-card p,
.market-card p,
.cert-card p,
.comparison-card li,
.contact-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-text {
  max-width: 710px;
  margin-bottom: 30px;
  font-size: 20px;
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 14px;
  max-width: 680px;
}

.trust-strip div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.trust-strip strong {
  display: block;
  color: #fff;
  font-size: 25px;
}

.trust-strip span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.logo-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 88px);
  border-block: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  font-weight: 800;
  text-align: center;
}

.section,
.contact-layout {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 6vw, 88px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.timeline,
.control-grid,
.process-grid,
.feature-grid,
.comparison-grid,
.cert-grid,
.gallery-grid,
.market-layout,
.contact-layout {
  display: grid;
  gap: 18px;
}

.timeline div,
.feature-card,
.process-card,
.market-card,
.comparison-card,
.cert-card,
.contact-card,
.contact-form,
.map-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.timeline div {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(24, 63, 47, 0.06);
}

.timeline span,
.feature-icon,
.process-card span {
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--forest-2);
  font-weight: 800;
}

.timeline span {
  width: 64px;
  height: 48px;
}

.timeline p {
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.market-layout {
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr);
  align-items: start;
}

.map-card {
  overflow: hidden;
  padding: 0;
}

.map-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.market-list {
  display: grid;
  gap: 14px;
}

.market-card {
  padding: 22px;
}

.market-card span {
  color: var(--wood);
  font-weight: 800;
}

.market-card.primary {
  border-color: color-mix(in srgb, var(--wood) 55%, var(--line));
  background: linear-gradient(135deg, var(--paper), color-mix(in srgb, var(--beige) 60%, var(--paper)));
}

.feature-grid,
.process-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.process-card {
  padding: 28px;
}

.feature-icon,
.process-card span {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  font-size: 13px;
}

.product-slider {
  margin-top: clamp(30px, 5vw, 56px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(24, 63, 47, 0.08);
}

.slider-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.slider-heading h3 {
  max-width: 620px;
  margin: 0;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-btn {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--forest);
  background: var(--bg);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.slider-btn:hover {
  transform: translateY(-2px);
  background: var(--sage-soft);
}

.slider-viewport {
  overflow: hidden;
}

.slider-track {
  --slides-per-view: 3;
  display: flex;
  gap: 18px;
  transform: translateX(0);
  transition: transform 420ms ease;
  will-change: transform;
}

.slide-card {
  flex: 0 0 calc((100% - (18px * (var(--slides-per-view) - 1))) / var(--slides-per-view));
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.slide-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}

.slide-card figcaption {
  padding: 14px 16px;
  color: var(--forest);
  font-weight: 800;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--forest) 26%, transparent);
  cursor: pointer;
}

.slider-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--forest-2);
}

.control-grid {
  grid-template-columns: repeat(2, 1fr);
}

.control-grid div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.control-grid strong,
.control-grid span {
  display: block;
}

.control-grid strong {
  margin-bottom: 9px;
  color: var(--forest);
}

.control-grid span {
  color: var(--muted);
  line-height: 1.6;
}

.comparison-grid {
  grid-template-columns: repeat(2, 1fr);
}

.comparison-card {
  padding: 30px;
}

.comparison-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.featured-card {
  color: white;
  background: linear-gradient(135deg, #183f2f, #275b44);
}

.featured-card h3,
.featured-card li {
  color: white;
}

.cert-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
}

.cert-card {
  padding: 30px;
  text-align: center;
}

.cert-card img {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 14px 16px;
  color: var(--forest);
  font-weight: 800;
}

.final-cta {
  margin: 0 clamp(18px, 6vw, 88px) clamp(50px, 6vw, 80px);
  padding: clamp(52px, 8vw, 92px);
  border-radius: 14px;
  color: white;
  background:
    radial-gradient(circle at 86% 22%, rgba(197, 143, 85, 0.34), transparent 28%),
    linear-gradient(135deg, #183f2f, #202624);
  text-align: center;
}

.final-cta .eyebrow,
.final-cta h2 {
  color: white;
}

.final-cta h2 {
  max-width: 820px;
  margin-inline: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  font-size: 14px;
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.site-footer strong,
.site-footer a {
  color: var(--forest);
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 17, 0.66);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding: clamp(28px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.modal-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--forest);
  background: var(--bg);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.spec-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.spec-form label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-weight: 800;
}

.spec-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  color: var(--ink);
  background: var(--bg);
  font: inherit;
}

.privacy-note {
  margin: 0;
  font-size: 12px;
}

.contact-hero {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 6vw, 88px);
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
}

.contact-form {
  grid-template-columns: repeat(2, 1fr);
  padding: 28px;
}

.contact-form,
.contact-form label {
  display: grid;
  gap: 14px;
}

.contact-form label span {
  color: var(--forest);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  background: var(--bg);
  font: inherit;
}

.wide {
  grid-column: 1 / -1;
}

.contact-card {
  padding: 28px;
}

.map-placeholder {
  display: grid;
  min-height: 220px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--forest);
  background:
    linear-gradient(90deg, transparent 24%, color-mix(in srgb, var(--sage) 20%, transparent) 25%, transparent 26%),
    linear-gradient(0deg, transparent 24%, color-mix(in srgb, var(--sage) 20%, transparent) 25%, transparent 26%),
    var(--sage-soft);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 77px 16px auto 16px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px;
    border-radius: 8px;
  }

  .nav-links a:hover {
    background: var(--sage-soft);
  }

  .hero,
  .split-section,
  .market-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100svh - 78px);
  }

  .contact-layout {
    padding-top: 60px;
  }
}

@media (max-width: 860px) {
  .brand {
    width: min(250px, 48vw);
    min-width: 185px;
  }

  .brand-logo {
    height: 52px;
  }

  .button-small {
    display: none;
  }

  h1 {
    font-size: 42px;
    line-height: 1.05;
  }

  .hero-text {
    font-size: 18px;
  }

  .trust-strip,
  .logo-band,
  .feature-grid,
  .process-grid,
  .control-grid,
  .comparison-grid,
  .cert-grid,
  .gallery-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .slider-track {
    --slides-per-view: 2;
  }

  .logo-band {
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: 14px 16px;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
    width: 100%;
  }

  .brand {
    width: 215px;
    min-width: 0;
  }

  .map-card img {
    min-height: 320px;
  }

  .hero,
  .section,
  .contact-hero,
  .contact-layout {
    padding-inline: 16px;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(16, 22, 18, 0.88) 0%, rgba(16, 22, 18, 0.62) 100%),
      url("IMG/hero-conference.jpg") center / cover scroll;
  }

  .hero-actions .button {
    width: 100%;
  }

  .slider-heading {
    align-items: start;
    flex-direction: column;
  }

  .slider-track {
    --slides-per-view: 1;
  }

  .timeline div {
    grid-template-columns: 1fr;
  }

  .final-cta {
    margin-inline: 16px;
    padding: 42px 20px;
  }
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.contact-options.vertical {
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-start;
  margin: 20px 0 10px;
}

.contact-options.vertical .button {
  width: 100%;
}

.footer-contact-button {
  border: 0;
  color: var(--forest);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.contact-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.contact-status.error {
  color: #9b2f24;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 560px) {
  .contact-options,
  .contact-options .button {
    width: 100%;
  }
}
