/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background 0.4s ease, color 0.4s ease;
}

:root {
  --ink:     #0c0c0c;
  --ink2:    #141414;
  --ink3:    #1c1c1c;
  --orange:  #e06818;
  --white:   #f0eeeb;
  --white60: rgba(240,238,235,0.60);
  --white20: rgba(240,238,235,0.20);
  --white08: rgba(240,238,235,0.08);
  --rule:    rgba(240,238,235,0.10);
  --nav-h:   72px;
}

/* ─── Typography ────────────────────────────────────────── */
.cond { font-family: 'Barlow Condensed', sans-serif; }
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); display: block; margin-bottom: 16px;
}
.h-rule { width: 48px; height: 3px; background: var(--orange); display: block; margin-bottom: 28px; }

/* ─── NAV ───────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  background: rgba(12,12,12,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s;
}
.nav-logo {
  display: inline-flex; align-items: center;
  height: 100%;
  text-decoration: none;
}
.nav-logo img {
  height: 38px; width: auto; display: block;
  transition: filter 0.4s ease;
}
.nav-links {
  display: flex; gap: 40px; list-style: none;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white60); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: var(--orange);
  padding: 10px 28px; text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: #c45610; }
.theme-toggle .t-short { display: none; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block; width: 24px; height: 2px; background: var(--white);
  transition: all 0.3s;
}
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--ink2);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 16px 32px rgba(0,0,0,0.4);
  flex-direction: column;
  padding: 4px 22px 12px;
  z-index: 999;
}
[data-theme="light"] .mobile-menu { box-shadow: 0 16px 32px rgba(0,0,0,0.08); }
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--white); text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--orange); }

/* ─── HERO ──────────────────────────────────────────────── */
#hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: flex-end;
  padding: 0 60px 80px;
}
#hero .hero-bg {
  position: absolute; inset: 0;
  background: url('products/hero.jpg') center/cover no-repeat, #1a1a1a;
  filter: brightness(0.40) saturate(0.4);
}
#hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,12,12,0.3) 0%, rgba(12,12,12,0.75) 100%),
              linear-gradient(90deg, rgba(12,12,12,0.6) 0%, transparent 60%);
}
#hero .hero-content {
  position: relative; z-index: 1;
  max-width: 820px;
}
#hero .hero-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px; display: block;
}
#hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 900; line-height: 0.9;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 28px;
}
#hero h1 em { color: var(--orange); font-style: normal; }
#hero .hero-sub {
  font-size: clamp(15px, 1.8vw, 20px); font-weight: 300;
  color: var(--white60); line-height: 1.65;
  max-width: 560px; margin-bottom: 44px;
}
#hero .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); background: var(--orange);
  padding: 14px 36px; text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: #c45610; }
.btn-outline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white); border: 1px solid var(--white20);
  padding: 14px 36px; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

#hero .hero-stats {
  position: absolute; right: 60px; bottom: 80px; z-index: 1;
  display: flex; gap: 0;
}
#hero .hstat {
  padding: 24px 36px; border-left: 1px solid var(--rule);
  text-align: center;
}
#hero .hstat:last-child { border-right: 1px solid var(--rule); }
#hero .hstat-n {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px; font-weight: 800;
  color: var(--white); line-height: 1;
  margin-bottom: 4px;
}
#hero .hstat-n em { color: var(--orange); font-style: normal; }
#hero .hstat-l {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white60);
}

/* ─── SECTION BASE ──────────────────────────────────────── */
section { padding: 100px 60px; }
.section-inner { max-width: 1320px; margin: 0 auto; }
.section-h {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(44px, 5vw, 72px); font-weight: 900;
  text-transform: uppercase; line-height: 0.92;
  color: var(--white);
}
.section-h em { color: var(--orange); font-style: normal; }
.section-sub {
  font-size: 17px; font-weight: 300; color: var(--white60);
  line-height: 1.65;
}

/* ─── ABOUT ─────────────────────────────────────────────── */
#about { background: var(--ink2); }
#about .grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
#about .section-h { margin-bottom: 32px; }
#about p {
  font-size: 17px; font-weight: 300;
  color: var(--white60); line-height: 1.75;
  margin-bottom: 20px;
}
#about .facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
}
#about .fact {
  background: var(--ink3); padding: 32px 36px;
  border-top: 3px solid var(--orange);
}
#about .fact-n {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px; font-weight: 800;
  color: var(--orange); line-height: 1; margin-bottom: 6px;
}
#about .fact h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--white); margin-bottom: 6px;
}
#about .fact p {
  font-size: 13px; margin: 0; line-height: 1.5;
}

/* ─── PRODUCTS ──────────────────────────────────────────── */
#products { background: var(--ink); }
#products .section-h { margin-bottom: 16px; }
#products .section-sub { max-width: 600px; margin-bottom: 60px; }
#products .prod-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px;
}
#products .pcard {
  position: relative; height: 420px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px 36px; cursor: pointer;
  background: transparent;
}
#products .pcard .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}
#products .pcard:hover .bg { transform: scale(1.04); }
#products .pcard .overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12,12,12,0) 35%, rgba(12,12,12,1) 75%);
}
#products .pcard .num {
  position: absolute; top: 28px; right: 32px; z-index: 1;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px; font-weight: 900;
  color: rgba(240,238,235,0.08); line-height: 1;
}
#products .pcard .bar {
  position: absolute; left: 0; bottom: 0;
  height: 3px; width: 0; background: var(--orange);
  transition: width 0.4s ease; z-index: 2;
}
#products .pcard:hover .bar { width: 100%; }
.pcard-body { position: relative; z-index: 1; }
.pcard-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--white); margin-bottom: 8px;
}
.pcard-desc {
  font-size: 14px; font-weight: 300;
  color: var(--white60); line-height: 1.5;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s;
  opacity: 0;
}
#products .pcard:hover .pcard-desc { max-height: 80px; opacity: 1; }
.pcard-types {
  margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px;
}
.pcard-type {
  font-size: 11px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--orange);
  background: rgba(224,104,24,0.12);
  padding: 4px 10px;
}

/* ─── SERVICES ──────────────────────────────────────────── */
#services { background: var(--ink2); }
#services .top {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 60px; flex-wrap: wrap; gap: 24px;
}
#services .section-sub { max-width: 480px; text-align: right; }
#services .adv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
}
#services .adv {
  background: var(--ink3); padding: 44px 48px;
  border-left: 3px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
#services .adv:hover { border-left-color: var(--orange); background: var(--ink); }
#services .adv-n {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.20em; color: var(--orange);
  text-transform: uppercase; margin-bottom: 16px;
}
#services .adv h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--white); margin-bottom: 12px;
}
#services .adv p {
  font-size: 15px; font-weight: 300;
  color: var(--white60); line-height: 1.6;
}

/* ─── PROCESS (NEW) ─────────────────────────────────────── */
#process { background: var(--ink); }
#process .section-h { margin-bottom: 16px; }
#process .section-sub { max-width: 640px; margin-bottom: 72px; }
#process .timeline {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; position: relative;
}
#process .timeline::before {
  content: ''; position: absolute;
  top: 26px; left: 0; right: 0; height: 1px;
  background: var(--rule);
}
#process .step {
  position: relative; padding: 0 24px 0 0;
}
#process .step-dot {
  width: 14px; height: 14px;
  background: var(--ink); border: 3px solid var(--orange);
  border-radius: 50%; position: relative;
  margin-bottom: 28px; margin-top: 19px;
  z-index: 1;
}
#process .step-n {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.20em; color: var(--orange);
  text-transform: uppercase; margin-bottom: 10px;
}
#process .step h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--white); margin-bottom: 12px;
}
#process .step p {
  font-size: 14px; font-weight: 300;
  color: var(--white60); line-height: 1.6;
}

/* ─── PARTNERS ──────────────────────────────────────────── */
#partners { background: var(--ink); }
#partners .section-h { margin-bottom: 16px; }
#partners .section-sub { max-width: 640px; margin-bottom: 52px; }
#partners .logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
#partners .logo-box {
  background: #fff; height: 100px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 24px;
  transition: opacity 0.2s;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; letter-spacing: 0.08em;
  color: #222; text-transform: uppercase;
  font-size: 17px; text-align: center;
}
#partners .logo-box:hover { opacity: 0.85; }
#partners .logo-box img {
  max-width: 100%; max-height: 64px; object-fit: contain;
}

/* ─── FAQ (NEW) ─────────────────────────────────────────── */
#faq { background: var(--ink2); }
#faq .section-h { margin-bottom: 16px; }
#faq .section-sub { max-width: 600px; margin-bottom: 60px; }
#faq .faq-list {
  border-top: 1px solid var(--rule);
}
#faq .faq-item {
  border-bottom: 1px solid var(--rule);
}
#faq .faq-q {
  width: 100%; background: transparent; border: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--white); text-align: left;
  transition: color 0.2s;
}
#faq .faq-q:hover { color: var(--orange); }
#faq .faq-q .icon {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 300;
  color: var(--orange);
  width: 32px; text-align: center;
  transition: transform 0.3s;
}
#faq .faq-item.open .faq-q .icon { transform: rotate(45deg); }
#faq .faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: 15px; font-weight: 300;
  color: var(--white60); line-height: 1.7;
}
#faq .faq-item.open .faq-a {
  max-height: 320px;
  padding: 0 0 28px;
}

/* ─── CONTACT ───────────────────────────────────────────── */
#contact { background: var(--ink2); padding: 100px 60px 0; }
#contact .section-h { margin-bottom: 12px; }
#contact .section-sub { max-width: 600px; margin-bottom: 60px; }
#contact .contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  max-width: 1320px; margin: 0 auto;
}
#contact .contact-info { display: flex; flex-direction: column; gap: 0; }
#contact .cblock {
  padding: 32px 0; border-bottom: 1px solid var(--rule);
}
#contact .cblock:first-child { border-top: 1px solid var(--rule); }
#contact .clabel {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 8px;
}
#contact .cval {
  font-size: 17px; font-weight: 400; color: var(--white); line-height: 1.5;
}
#contact .cval a { color: var(--white); text-decoration: none; }
#contact .cval a:hover { color: var(--orange); }

/* Form */
#contact form { display: flex; flex-direction: column; gap: 16px; }
#contact .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#contact input, #contact textarea, #contact select {
  width: 100%;
  background: var(--ink3);
  border: 1px solid var(--rule);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 15px; font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
#contact input::placeholder, #contact textarea::placeholder { color: rgba(240,238,235,0.30); }
#contact input:focus, #contact textarea:focus, #contact select:focus { border-color: var(--orange); }
#contact textarea { height: 130px; resize: vertical; }
#contact select { color: rgba(240,238,235,0.60); }
#contact select option { background: var(--ink3); }
#contact .form-submit {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); background: var(--orange);
  border: none; padding: 16px 48px; cursor: pointer;
  transition: background 0.2s; align-self: flex-start;
}
#contact .form-submit:hover { background: #c45610; }
#contact .form-success {
  display: none; padding: 20px 24px;
  background: rgba(224,104,24,0.12); border: 1px solid var(--orange);
  font-size: 15px; color: var(--orange); font-weight: 500;
}

/* Map */
#contact .map-wrap {
  margin-top: 60px;
  height: 380px;
  background: var(--ink3);
  position: relative; overflow: hidden;
  border-top: 3px solid var(--orange);
}
#contact .map-wrap iframe {
  width: 100%; height: 100%; border: none; filter: grayscale(1) invert(0.88);
}
#contact .map-overlay {
  position: absolute; top: 0; left: 0;
  padding: 16px 20px;
  background: rgba(12,12,12,0.85);
}
#contact .map-overlay span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange);
}

/* ─── FOOTER ────────────────────────────────────────────── */
footer {
  background: #080808;
  padding: 40px 60px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 20px;
  border-top: 1px solid var(--rule);
}
.footer-logo { display: inline-flex; align-items: center; }
.footer-logo img {
  height: 30px; width: auto; display: block;
  transition: filter 0.4s ease;
}
footer p {
  font-size: 13px; color: var(--white60); font-weight: 300;
}
.footer-links {
  display: flex; gap: 28px; list-style: none;
}
.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--white60);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }

/* ─── LANG TOGGLE ───────────────────────────────────────── */
.lang-toggle {
  display: inline-flex; align-items: center;
  background: transparent;
  border: 1px solid var(--white20);
  margin-right: 12px;
  font-family: 'Barlow Condensed', sans-serif;
}
.lang-toggle button {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 14px;
  color: var(--white60);
  background: transparent; border: none; cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.lang-toggle button.l-active {
  color: var(--ink); background: var(--orange);
}
.lang-toggle:hover { border-color: var(--orange); }

/* ─── VARIANT TOGGLE ────────────────────────────────────── */
.variant-toggle {
  display: inline-flex; align-items: center;
  background: transparent;
  border: 1px solid var(--white20);
  margin-right: 12px;
  font-family: 'Barlow Condensed', sans-serif;
}
.variant-toggle a {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 14px;
  color: var(--white60);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.variant-toggle a.v-active {
  color: var(--ink); background: var(--orange);
}
.variant-toggle:hover { border-color: var(--orange); }

/* ─── THEME TOGGLE ──────────────────────────────────────── */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 0;
  background: transparent;
  border: 1px solid var(--white20);
  padding: 0; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  margin-right: 16px;
  transition: border-color 0.2s;
}
.theme-toggle:hover { border-color: var(--orange); }
.theme-toggle span {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 12px;
  color: var(--white60);
  transition: color 0.2s, background 0.2s;
}
.theme-toggle .t-active {
  color: var(--ink); background: var(--orange);
}

/* ─── LIGHT THEME ───────────────────────────────────────── */
[data-theme="light"] {
  --ink:     #f4f1ea;
  --ink2:    #ffffff;
  --ink3:    #ebe7df;
  --orange:  #c45610;
  --white:   #1a1a1a;
  --white60: rgba(26,26,26,0.62);
  --white20: rgba(26,26,26,0.20);
  --white08: rgba(26,26,26,0.06);
  --rule:    rgba(26,26,26,0.12);
}

/* Nav glassy bar adapts */
[data-theme="light"] nav { background: rgba(244,241,234,0.92); }
[data-theme="light"] .nav-burger span { background: var(--white); }
[data-theme="light"] .mobile-menu { background: var(--ink2); }

/* Buttons keep readable contrast on orange */
[data-theme="light"] .nav-cta,
[data-theme="light"] .btn-primary,
[data-theme="light"] .form-submit { color: #fff; }

/* Hero — brighten the image, light overlay, dark text */
[data-theme="light"] #hero { background: var(--ink); }
[data-theme="light"] #hero .hero-bg { filter: brightness(0.95) saturate(0.85); }
[data-theme="light"] #hero .hero-overlay {
  background: linear-gradient(180deg, rgba(244,241,234,0.35) 0%, rgba(244,241,234,0.88) 100%),
              linear-gradient(90deg, rgba(244,241,234,0.70) 0%, transparent 60%);
}
[data-theme="light"] #hero h1,
[data-theme="light"] #hero .hstat-n { color: var(--white); }
[data-theme="light"] #hero .hero-sub,
[data-theme="light"] #hero .hstat-l { color: var(--white60); }
[data-theme="light"] #hero .btn-outline { color: var(--white); border-color: var(--white20); }
[data-theme="light"] #hero .btn-outline:hover { color: var(--orange); border-color: var(--orange); }
[data-theme="light"] #hero .hstat { border-left-color: var(--rule); }
[data-theme="light"] #hero .hstat:last-child { border-right-color: var(--rule); }

/* Product cards — fade to light section bg at the bottom */
[data-theme="light"] #products .pcard .overlay {
  background: linear-gradient(180deg, rgba(244,241,234,0) 35%, rgba(244,241,234,1) 75%);
}
[data-theme="light"] .pcard-name { color: var(--white); }
[data-theme="light"] .pcard-desc { color: var(--white60); }
[data-theme="light"] #products .pcard .num { color: rgba(26,26,26,0.08); }
[data-theme="light"] .pcard-type {
  color: var(--orange);
  background: rgba(196,86,16,0.12);
}

/* Partners — boxes with subtle border on light bg */
[data-theme="light"] #partners .logo-box {
  background: #ffffff;
  border: 1px solid var(--rule);
}

/* Map — softer grayscale, lighter overlay */
[data-theme="light"] #contact .map-wrap iframe { filter: grayscale(0.4); }
[data-theme="light"] #contact .map-overlay { background: rgba(244,241,234,0.92); }

/* Footer */
[data-theme="light"] footer { background: #ebe7df; }

/* Logo — invert white-line artwork to dark for light bg */
[data-theme="light"] .nav-logo img,
[data-theme="light"] .footer-logo img { filter: invert(1); }

/* ─── SCROLL ANIMATIONS ─────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  #about .grid { grid-template-columns: 1fr; gap: 48px; }
  #products .prod-grid { grid-template-columns: 1fr 1fr; }
  #products .pcard .pcard-desc { max-height: 60px; opacity: 1; }
  #services .adv-grid { grid-template-columns: 1fr 1fr; }
  #process .timeline { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  #process .timeline::before { display: none; }
  #partners .logo-grid { grid-template-columns: repeat(4, 1fr); }
  #contact .contact-grid { grid-template-columns: 1fr; }
  #hero .hero-stats { position: static; display: flex; margin-top: 48px; }
  #hero { flex-direction: column; justify-content: flex-end; padding-bottom: 60px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-logo img { height: 30px; }
  .lang-toggle { margin-right: 8px; }
  .lang-toggle button { padding: 6px 9px; font-size: 10px; letter-spacing: 0.12em; }
  .variant-toggle { margin-right: 8px; }
  .variant-toggle a { padding: 6px 9px; font-size: 10px; letter-spacing: 0.12em; }
  .theme-toggle { margin-right: 8px; }
  .theme-toggle span { padding: 6px 9px; font-size: 10px; letter-spacing: 0.12em; }
  .theme-toggle .t-long { display: none; }
  .theme-toggle .t-short { display: inline; }
  section { padding: 72px 20px; }

  /* Headings — recompute clamp for mobile, tighten letter-spacing */
  #hero { padding: 0 20px 60px; min-height: 560px; height: auto; padding-top: 120px; }
  #hero h1 {
    font-size: clamp(42px, 11vw, 64px);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 22px;
    word-wrap: break-word;
  }
  #hero .hero-tag { font-size: 11px; letter-spacing: 0.18em; margin-bottom: 14px; }
  #hero .hero-sub { font-size: 15px; margin-bottom: 32px; }
  .section-h {
    font-size: clamp(34px, 9vw, 52px);
    line-height: 0.95;
    letter-spacing: -0.005em;
    word-wrap: break-word;
    hyphens: none;
  }
  .eyebrow { font-size: 11px; letter-spacing: 0.18em; margin-bottom: 12px; }
  .section-sub { font-size: 15px; }

  /* Hero stats — keep all 3 in a single row on mobile */
  #hero .hero-stats { display: flex; flex-wrap: nowrap; gap: 0; margin-top: 36px; width: 100%; }
  #hero .hstat { flex: 1 1 0; min-width: 0; padding: 16px 8px; }
  #hero .hstat:first-child { border-left: none; }
  #hero .hstat-n { font-size: 22px; letter-spacing: -0.01em; }
  #hero .hstat-l { font-size: 9px; letter-spacing: 0.10em; }
  #hero .hero-actions .btn-primary,
  #hero .hero-actions .btn-outline { padding: 12px 24px; font-size: 12px; }

  /* About */
  #about .fact { padding: 24px 22px; }
  #about .fact-n { font-size: 32px; }
  #about p { font-size: 15px; }

  /* Products / Services / Process / FAQ */
  #products .prod-grid { grid-template-columns: 1fr; }
  #products .pcard { height: 340px; padding: 32px 24px; }
  .pcard-name { font-size: 24px; }
  #services .adv-grid { grid-template-columns: 1fr; }
  #services .adv { padding: 32px 28px; }
  #services .adv h4 { font-size: 20px; }
  #process .timeline { grid-template-columns: 1fr; gap: 32px; }
  #process .step { padding: 0; }
  #partners .logo-grid { grid-template-columns: repeat(2, 1fr); }
  #partners .logo-box { height: 84px; padding: 12px 18px; }
  #contact .field-row { grid-template-columns: 1fr; }
  #contact { padding: 72px 20px 0; }
  #contact .map-wrap { margin-top: 40px; height: 280px; }
  #contact .cval { font-size: 16px; }

  /* FAQ */
  #faq .faq-q { font-size: 16px; padding: 22px 0; gap: 16px; letter-spacing: 0.02em; }
  #faq .faq-q .icon { font-size: 24px; flex-shrink: 0; }
  #faq .faq-item.open .faq-a { max-height: 600px; padding-bottom: 22px; }

  /* Footer */
  footer { flex-direction: column; text-align: center; padding: 32px 20px; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 18px; }

  /* Services header layout */
  #services .top { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  #services .section-sub { text-align: left; }
}

@media (max-width: 420px) {
  section { padding: 60px 18px; }
  #hero { padding: 100px 18px 48px; }
  #hero h1 { font-size: clamp(36px, 12vw, 48px); }
  .section-h { font-size: clamp(30px, 10vw, 42px); }
  #partners .logo-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  #hero .hero-actions { gap: 10px; }
  #hero .hero-actions .btn-primary,
  #hero .hero-actions .btn-outline { width: 100%; text-align: center; }
}
