/* ==========================================================================
   EUROTEC — Digital Architectural Showroom (Cinematic build)
   Vanilla CSS · logical properties for native EN/AR bidirectional layout
   Theme morph: body transitions light ↔ dark as zones enter the viewport
   ========================================================================== */

:root {
  --brand: #ff4500;
  --brand-deep: #e63900;
  --brand-hover: #cc3300;
  --anchor: #1a1d20;
  --white: #ffffff; /* reserved for elevated cards */
  --canvas: #faf8f5; /* warm off-white page canvas */
  --gray: #f3f1ec; /* warm cream — alt section background */
  --ink-inverse: #f5f4f1; /* soft near-white text on dark */
  --slate: #637381;
  --success: #22c55e;
  --error: #ef4444;

  --font-en: "IBM Plex Sans", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", sans-serif;

  --container: 1300px;
  --radius: 5px;
  --radius-lg: 10px;
  --shadow: 0 4px 20px rgba(26, 29, 32, 0.05);
  --shadow-lift: 0 12px 40px rgba(26, 29, 32, 0.12);
  --line: rgba(26, 29, 32, 0.08);
  --line-dark: rgba(255, 255, 255, 0.1);

  --ease-theme: cubic-bezier(0.36, 0.33, 0, 1);
  --theme-dur: 0.64s;

  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 48px;
  --s8: 64px;
  --s10: 80px;
  --s12: 96px;
  --s15: 120px;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html.lenis {
  scroll-behavior: auto;
}
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
img,
video,
svg {
  max-width: 100%;
  display: block;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}

/* THE THEME MORPH — whole page fades between light & dark */
body {
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.6;
  color: var(--anchor);
  background: var(--canvas);
  overflow-x: hidden;
  transition:
    color var(--theme-dur) var(--ease-theme),
    background-color var(--theme-dur) var(--ease-theme);
}
body.--dark {
  background: var(--anchor);
  color: var(--ink-inverse);
}

/* Arabic typography calibration */
html[lang="ar"] body {
  font-family: var(--font-ar);
  line-height: 1.75;
}
html[lang="ar"] h1 {
  line-height: 1.3;
}
html[lang="ar"] h2 {
  line-height: 1.35;
}
html[lang="ar"] h3,
html[lang="ar"] h4 {
  line-height: 1.4;
}

h1 {
  font-size: clamp(32px, 5vw, 40px);
  line-height: 1.2;
  font-weight: 700;
}
h2 {
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.25;
  font-weight: 700;
}
h3 {
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.3;
  font-weight: 600;
}
h4 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

::selection {
  background: var(--brand);
  color: var(--white);
}

/* Elements whose colors flip with the theme get a synced transition
   (morph zones only: showreel + brands; hero sits next to the showreel zone) */
.hero,
.hero *,
.brands,
.brands * {
  transition-property: color, border-color, background-color;
  transition-duration: var(--theme-dur);
  transition-timing-function: var(--ease-theme);
}

/* split-reveal internals (masks) */
.split-reveal .line-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-block-end: 0.14em;
  margin-block-end: -0.14em;
}
.split-reveal .line-inner {
  display: inline-block;
  will-change: transform;
  transform-style: preserve-3d;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover {
  transform: translateY(-1px) scale(1.03);
}
.btn:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}
.btn-label {
  display: inline-block;
}

.btn-primary {
  background: var(--brand-deep);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--brand-hover);
}
.btn-primary:focus-visible {
  outline: 3px solid rgba(255, 69, 0, 0.4);
  outline-offset: 2px;
}

.btn-secondary {
  background: transparent;
  color: var(--anchor);
  box-shadow: inset 0 0 0 1.5px var(--anchor);
}
body.--dark .btn-secondary {
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6);
}
.btn-secondary:hover {
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 1.5px var(--brand-deep);
}
body.--dark .btn-secondary:hover {
  color: var(--brand);
  box-shadow: inset 0 0 0 1.5px var(--brand);
}
.btn-secondary:focus-visible {
  outline: 3px solid rgba(255, 69, 0, 0.4);
  outline-offset: 2px;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.btn-ghost:focus-visible {
  outline: 3px solid rgba(255, 69, 0, 0.4);
  outline-offset: 2px;
}

.btn-lg {
  padding: 17px 36px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}

/* ==========================================================================
   HEADER — adapts to theme
   ========================================================================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--anchor);
  transition:
    background-color 0.4s var(--ease-theme),
    box-shadow 0.4s ease,
    color var(--theme-dur) var(--ease-theme);
}
body.--dark .site-header {
  color: var(--white);
}
.site-header.is-scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 var(--line),
    var(--shadow);
}
body.--dark .site-header.is-scrolled {
  background: rgba(26, 29, 32, 0.85);
  box-shadow: 0 1px 0 var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s4);
  height: var(--header-h);
  justify-content: space-between;
}
.header-logo {
  background: rgba(255, 255, 255, 0.94);
  padding: 6px 10px;
  border-radius: var(--radius);
}
.header-logo img {
  height: 24px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: var(--s4);
  margin-inline-start: auto;
}
.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: inherit;
  padding-block: 6px;
}
.nav-link::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-inline-start: auto;
}
.header-nav + .header-actions {
  margin-inline-start: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: inherit;
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: background-color 0.25s ease;
}
.lang-toggle:hover {
  background: rgba(127, 127, 127, 0.14);
}
html[lang="en"] .lang-toggle #langToggleLabel {
  font-family: var(--font-ar);
}
html[lang="ar"] .lang-toggle #langToggleLabel {
  font-family: var(--font-en);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding-inline: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.nav-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--brand-deep);
}
.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--brand-deep);
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--anchor);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s10) clamp(24px, 8vw, 48px) var(--s6);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0.35s;
}
.mobile-drawer.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.mobile-link {
  color: var(--white);
  font-size: 28px;
  font-weight: 600;
  padding-block: var(--s1);
  border-block-end: 1px solid var(--line-dark);
  transform: translateY(24px);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
}
.mobile-drawer.is-open .mobile-link {
  transform: translateY(0);
  opacity: 1;
}
.mobile-drawer.is-open .mobile-link:nth-child(2) {
  transition-delay: 0.05s;
}
.mobile-drawer.is-open .mobile-link:nth-child(3) {
  transition-delay: 0.1s;
}
.mobile-drawer.is-open .mobile-link:nth-child(4) {
  transition-delay: 0.15s;
}
.mobile-cta {
  margin-block-start: var(--s3);
  align-self: flex-start;
}
.mobile-drawer-foot {
  margin-block-start: var(--s8);
  color: var(--slate);
  font-size: 14px;
  text-align: center;
}

/* ==========================================================================
   HERO — cinematic typographic
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Brand flag motif (shape1.svg outline) tiled as the hero backdrop */
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='89.813 3.461 76.188 42.269'%3E%3Cpath fill='none' stroke='rgba(26,29,32,0.12)' stroke-width='0.35' d='M155.301 20.291l-14.806-2.643-13.504 6.758-26.48-4.74v9.235l14.807 2.643 13.504-6.758 26.479 4.742V20.291z'/%3E%3C/svg%3E");
  background-size: 250px auto;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(
    ellipse 90% 80% at 50% 40%,
    black 30%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 90% 80% at 50% 40%,
    black 30%,
    transparent 100%
  );
}
body.--dark .hero-lines {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='89.813 3.461 76.188 42.269'%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='0.35' d='M155.301 20.291l-14.806-2.643-13.504 6.758-26.48-4.74v9.235l14.807 2.643 13.504-6.758 26.479 4.742V20.291z'/%3E%3C/svg%3E");
}

.hero-content {
  width: 100%;
  padding-block: calc(var(--header-h) + var(--s6)) var(--s10);
  z-index: 5;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-block-end: var(--s5);
}
html[lang="ar"] .hero-meta {
  letter-spacing: 0;
}
.hero-meta-sep {
  width: 48px;
  height: 1px;
  background: var(--brand-deep);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(40px, 7.6vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin-block-end: var(--s8);
  perspective: 800px;
}
html[lang="ar"] .hero-title {
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s6);
}
.hero-sub {
  font-size: 17px;
  color: var(--slate);
  max-width: 520px;
}
body.--dark .hero-sub {
  color: rgba(255, 255, 255, 0.65);
}
.hero-ctas {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
}

/* ==========================================================================
   SHOWREEL — video expands from inset card to fullscreen (scrubbed)
   ========================================================================== */
.showreel {
  position: relative;
}

/* Desktop: the small video card peeks into the hero viewport, bridging the
   light → dark transition instead of a hard fold line. The pulled-up pin
   overlays the hero CTAs, so it must be click-through except the frame. */
@media (min-width: 1024px) {
  .showreel {
    margin-block-start: -30svh;
  }
  .showreel-pin {
    pointer-events: none;
  }
  .showreel-frame {
    pointer-events: auto;
  }
}
.showreel-pin {
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.showreel-frame {
  position: relative;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  border-radius: 20px;
  transform: scale(0.42);
  will-change: transform;
}
.showreel-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-sound {
  position: absolute;
  inset-block-end: clamp(16px, 3vw, 32px);
  inset-inline-end: clamp(16px, 3vw, 32px);
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(26, 29, 32, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}
.reel-sound:hover {
  background: rgba(230, 57, 0, 0.85);
  border-color: transparent;
}
.reel-sound:focus-visible {
  outline: 3px solid rgba(255, 69, 0, 0.4);
  outline-offset: 2px;
}
.reel-sound .ic-on {
  display: none;
}
.reel-sound.is-on .ic-on {
  display: block;
}
.reel-sound.is-on .ic-muted {
  display: none;
}

/* ==========================================================================
   STATS — trust board (static dark)
   ========================================================================== */
.stats {
  position: relative;
  padding-block: var(--s10) var(--s15);
  background: var(--anchor);
  color: var(--ink-inverse);
}
.stats-head {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  max-width: 820px;
  margin-block-end: var(--s10);
}
.stats-mark {
  color: var(--brand);
  flex-shrink: 0;
  margin-block-start: 6px;
}
.stats-title {
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
}

.stats-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline-start: 1px solid var(--line-dark);
}
.stat-cell {
  padding: var(--s4);
  padding-inline-start: var(--s4);
  border-inline-end: 1px solid var(--line-dark);
  position: relative;
}
.stat-cell::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 24px;
  height: 2px;
  background: var(--brand);
}
.stat-cell:nth-child(2) {
  margin-block-start: var(--s5);
}
.stat-cell:nth-child(3) {
  margin-block-start: var(--s2);
}
.stat-cell:nth-child(4) {
  margin-block-start: var(--s8);
}

.stat-value {
  display: flex;
  align-items: baseline;
  font-weight: 700;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-plus {
  color: var(--brand);
  font-size: 0.6em;
  margin-inline-start: 2px;
}
.stat-caption {
  margin-block-start: var(--s2);
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.6;
}
html[lang="ar"] .stat-caption {
  line-height: 1.65;
}

/* ==========================================================================
   SECTOR TAGS
   ========================================================================== */
.sector-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-block-end: var(--s2);
}
.sector-tag::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-deep);
}
body.--dark .sector-tag {
  color: var(--brand);
}
body.--dark .sector-tag::before {
  background: var(--brand);
}
html[lang="ar"] .sector-tag {
  letter-spacing: 0;
}

/* ==========================================================================
   SECTOR 01 — WOOD
   ========================================================================== */
.sector-wood {
  padding-block: var(--s15) 0;
}

.wood-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  position: relative;
}
.wood-index {
  position: absolute;
  inset-block-start: -0.35em;
  inset-inline-end: 0;
  font-size: clamp(96px, 14vw, 180px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 29, 32, 0.12);
  pointer-events: none;
  z-index: 0;
}
body.--dark .wood-index {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.15);
}
.wood-media {
  grid-column: 1 / span 8;
  grid-row: 1;
  z-index: 1;
  border-radius: var(--radius);
}
.wood-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.wood-panel {
  grid-column: 7 / span 6;
  grid-row: 1;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: clamp(28px, 3.5vw, 48px);
  margin-block-start: var(--s12);
  border-inline-start: 3px solid var(--brand-deep);
  color: var(--anchor);
}
.wood-panel h2 {
  margin-block-end: var(--s2);
}
.wood-panel p {
  color: var(--slate);
  margin-block-end: var(--s4);
}

/* Finishes — horizontal showroom track */
.finishes {
  margin-block-start: var(--s12);
  background: var(--gray);
}
.finishes-pin {
  padding-block: var(--s8);
  overflow: hidden;
}
.finishes-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  margin-block-end: var(--s5);
  color: var(--anchor);
}
.finishes-counter {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 14px;
  color: var(--slate);
  letter-spacing: 0.1em;
}
.finishes-counter #finCounter {
  color: var(--brand-deep);
  font-size: 20px;
}

.finishes-track {
  display: flex;
  gap: var(--s3);
  padding-inline: clamp(20px, 4vw, 40px);
  padding-block-end: var(--s2);
  will-change: transform;
}
.finish-card {
  flex: 0 0 clamp(280px, 30vw, 420px);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease;
  background: var(--white);
  color: var(--anchor);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.finish-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.finish-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.finish-meta {
  padding: var(--s3);
  position: relative;
}
.finish-num {
  position: absolute;
  inset-block-start: calc(-1 * var(--s3));
  inset-inline-end: var(--s3);
  background: var(--anchor);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 3px;
  letter-spacing: 0.1em;
}
.finish-meta h4 {
  font-size: 18px;
  margin-block-end: 4px;
}
.finish-meta p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

.finishes-track.slick-slider {
  display: block;
  padding-inline: 0;
}
.finishes-track.slick-slider .finish-card {
  margin-inline: 10px;
}

/* ==========================================================================
   SECTOR 02 — SMART : 3D TILES STACK (deck of cards discarded on scroll)
   — static dark section
   ========================================================================== */
.sector-smart {
  padding-block: var(--s15) var(--s10);
  background: var(--anchor);
  color: var(--ink-inverse);
}
.sector-smart .sector-tag {
  color: var(--brand);
}
.sector-smart .sector-tag::before {
  background: var(--brand);
}

.smart-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s6);
  align-items: end;
  margin-block-end: var(--s8);
}
.smart-head-copy {
  color: rgba(255, 255, 255, 0.72);
}

.stack-wrapper {
  position: relative;
}
.stack-list {
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.stack-card {
  will-change: transform;
  transform-style: preserve-3d;
}
.stack-card + .stack-card {
  margin-block-start: var(--s4);
}

.stack-card-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  max-width: 1120px;
  margin-inline: auto;
  background: #262b31;
  color: var(--ink-inverse);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 48px);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.26);
}
.stack-card-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.stack-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stack-card-count {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.14em;
  margin-block-end: var(--s2);
  font-variant-numeric: tabular-nums;
}
.stack-card-title {
  margin-block-end: var(--s2);
  font-size: clamp(22px, 2.4vw, 30px);
}
.stack-card-copy {
  color: rgba(255, 255, 255, 0.72);
  margin-block-end: var(--s4);
  line-height: 1.7;
}
html[lang="ar"] .stack-card-copy {
  line-height: 1.8;
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.spec-chip {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  padding: 10px 14px;
  position: relative;
  padding-inline-start: 26px;
}
html[lang="ar"] .spec-chip {
  line-height: 1.65;
}
.spec-chip::before {
  content: "";
  position: absolute;
  inset-inline-start: 12px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--brand);
  border-radius: 1px;
}

.smart-foot {
  margin-block-start: var(--s8);
  text-align: center;
}

/* Desktop: cards become an absolute 3D deck driven by GSAP */
@media (min-width: 1024px) {
  .stack-wrapper {
    height: 300vh;
  }
  .stack-list {
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .stack-card {
    position: absolute;
    inset-inline: clamp(20px, 4vw, 40px);
  }
  .stack-card + .stack-card {
    margin-block-start: 0;
  }
  .stack-card-inner {
    min-height: 52vh;
  }
  .smart-foot {
    margin-block-start: 0;
    padding-block-end: var(--s6);
  }
}

/* ==========================================================================
   SECTOR 03 — SOLID SURFACES
   ========================================================================== */
.sector-solid {
  padding-block: var(--s15);
  background: var(--gray);
  color: var(--anchor);
}

.solid-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  position: relative;
}
.solid-media {
  grid-column: 5 / -1;
  grid-row: 1 / span 2;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
.solid-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* material detail inset — framed swatch pinned to the main image's bottom edge */
.solid-media-b {
  position: absolute;
  inset-block-end: calc(-1 * var(--s6));
  inset-inline-start: 34%;
  width: clamp(200px, 21vw, 270px);
  aspect-ratio: 1 / 1;
  z-index: 2;
  border: 8px solid var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.solid-media-b img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solid-card {
  grid-column: 1 / span 5;
  grid-row: 1;
  z-index: 3;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: clamp(28px, 3.5vw, 48px);
  margin-block-start: var(--s8);
  margin-inline-end: calc(-1 * var(--s4));
}
.solid-card h2 {
  margin-block-end: var(--s2);
}
.solid-card > p {
  color: var(--slate);
  margin-block-end: var(--s4);
}

.solid-specs {
  display: flex;
  flex-direction: column;
  margin-block-end: var(--s4);
  border-block-start: 1px solid var(--line);
}
.solid-spec {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding-block: 18px;
  border-block-end: 1px solid var(--line);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
}
.solid-spec svg {
  color: var(--brand-deep);
  flex-shrink: 0;
}

/* CTAs inside white cards must ignore the page theme — the card is always light,
   so the dark-mode white-outline variant would render them invisible */
body.--dark .wood-panel .btn-secondary,
body.--dark .solid-card .btn-secondary {
  color: var(--anchor);
  box-shadow: inset 0 0 0 1.5px var(--anchor);
}
body.--dark .wood-panel .btn-secondary:hover,
body.--dark .solid-card .btn-secondary:hover {
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 1.5px var(--brand-deep);
}

/* ==========================================================================
   BRANDS — ORBIT RING (desktop) / carousel (mobile)
   ========================================================================== */
.brands {
  padding-block: var(--s12);
  overflow: hidden;
}

.brands-orbit {
  position: relative;
  width: min(86vmin, 880px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
/* engineered guide track behind the constellation (Note 5) */
.orbit-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}
.track-ring {
  fill: none;
  stroke: rgba(26, 29, 32, 0.14);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
  transition: stroke var(--theme-dur) var(--ease-theme);
}
.track-ring-inner {
  stroke: rgba(26, 29, 32, 0.07);
}
.track-dots circle {
  fill: rgba(230, 57, 0, 0.45);
  transition: fill var(--theme-dur) var(--ease-theme);
}
body.--dark .track-ring {
  stroke: rgba(255, 255, 255, 0.16);
}
body.--dark .track-ring-inner {
  stroke: rgba(255, 255, 255, 0.08);
}
body.--dark .track-dots circle {
  fill: rgba(255, 69, 0, 0.55);
}

.orbit-ring {
  position: absolute;
  inset: 0;
  will-change: transform;
  pointer-events: none; /* full-size layers must not swallow hover… */
}
.orbit-col {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  will-change: transform;
  pointer-events: none;
}
.orbit-tile {
  pointer-events: auto;
} /* …only the logo cards are interactive */
.orbit-tile {
  width: clamp(120px, 14vw, 176px);
  height: clamp(72px, 8.5vw, 104px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: 14px 20px;
  will-change: transform;
}
body.--dark .orbit-tile {
  border-color: var(--line-dark);
}
.orbit-tile img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease;
}
.orbit-tile:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.orbit-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(58%, 520px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
}
html[dir="rtl"] .orbit-center {
  transform: translate(50%, -50%);
  inset: 50% 50% auto auto;
}
.orbit-center h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  perspective: 600px;
}

.brands-copy {
  max-width: 760px;
  margin-inline: auto;
  margin-block-start: var(--s8);
  text-align: center;
  color: var(--slate);
  font-size: 15px;
}
body.--dark .brands-copy {
  color: rgba(255, 255, 255, 0.65);
}

/* Mobile carousel version */
.brands-carousel-wrap {
  display: none;
}
.brand-tile {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: var(--s4);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-inline: 8px;
}
.brand-tile img {
  height: 40px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
}
.brand-tile figcaption {
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.06em;
  text-align: center;
}
.brands-carousel-title {
  text-align: center;
  margin-block-end: var(--s5);
}
.brands-carousel-cta {
  text-align: center;
  margin-block-start: var(--s5);
}

@media (max-width: 1023px) {
  .brands-orbit {
    display: none;
  }
  .brands-carousel-wrap {
    display: block;
  }
}
@media (min-width: 1024px) {
  .brands-carousel-wrap {
    display: none;
  }
}

/* ==========================================================================
   WHY EUROTEC — scattered elastic pile
   ========================================================================== */
.why {
  padding-block: var(--s12) var(--s15);
}
.why-head {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-block-end: var(--s8);
}
.why-head h2 {
  margin-block-end: var(--s1);
  perspective: 600px;
}
.why-head p {
  color: var(--slate);
}

.pile {
  display: flex;
  gap: var(--s3);
  justify-content: center;
  align-items: stretch;
}
.pile-card {
  flex: 0 1 380px;
  will-change: transform;
}
.pile-card-inner {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(24px, 2.5vw, 40px);
  position: relative;
  color: var(--anchor);
  will-change: transform;
}
.pile-num {
  position: absolute;
  inset-block-start: var(--s3);
  inset-inline-end: var(--s3);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--brand-deep);
  font-variant-numeric: tabular-nums;
}
.pile-icon {
  color: var(--anchor);
  background: var(--gray);
  border-radius: var(--radius);
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-block-end: var(--s3);
}
.pile-card-inner h3 {
  font-size: 20px;
  margin-block-end: var(--s1);
}
.pile-card-inner p {
  color: var(--slate);
  font-size: 15px;
}

@media (min-width: 1024px) {
  .pile {
    min-height: 460px;
    align-items: center;
  }
  .pile-card {
    cursor: default;
  }
}

/* ==========================================================================
   QUOTE — lead capture (static dark)
   ========================================================================== */
.quote {
  padding-block: var(--s15);
  position: relative;
  overflow: hidden;
  background: var(--anchor);
  color: var(--ink-inverse);
}
.quote .sector-tag {
  color: var(--brand);
}
.quote .sector-tag::before {
  background: var(--brand);
}
.quote::before {
  content: "";
  position: absolute;
  inset-block-start: -200px;
  inset-inline-end: -200px;
  width: 560px;
  height: 560px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  pointer-events: none;
}
.quote::after {
  content: "";
  position: absolute;
  inset-block-start: -120px;
  inset-inline-end: -120px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 69, 0, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.quote-pitch h2 {
  margin-block-end: var(--s3);
  perspective: 600px;
}
.quote-pitch > p {
  color: rgba(255, 255, 255, 0.72);
  margin-block-end: var(--s5);
}

.quote-steps {
  display: flex;
  flex-direction: column;
}
.quote-step {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding-block: 18px;
  border-block-start: 1px solid var(--line-dark);
  font-weight: 500;
  line-height: 1.6;
}
.quote-step:last-child {
  border-block-end: 1px solid var(--line-dark);
}
.quote-step-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
}

.quote-form {
  position: relative;
  background: var(--white);
  color: var(--anchor);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  will-change: transform;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label,
.form-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
html[lang="ar"] .form-field label,
html[lang="ar"] .form-label {
  letter-spacing: 0;
}

/* Underline fields — minimal engineering aesthetic (UX note 3).
   The focus accent is a gradient layer that grows from the inline-start. */
.form-field input,
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-block-end: 1.5px solid rgba(26, 29, 32, 0.16);
  border-radius: 0;
  padding: 10px 2px;
  background-color: transparent;
  background-image: linear-gradient(var(--brand-deep), var(--brand-deep));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 2px;
  font-size: 15px;
  transition:
    border-color 0.25s ease,
    background-size 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}
html[dir="rtl"] .form-field input,
html[dir="rtl"] .form-field select {
  background-position: right bottom;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-block-end-color: transparent;
  background-size: 100% 2px;
}
.form-field input.is-invalid,
.form-field select.is-invalid {
  border-block-end-color: var(--error);
}
html[dir="rtl"] .form-field input[dir="ltr"] {
  text-align: end;
}

/* Custom select — inline SVG chevron, RTL-aware */
.form-field select {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23637381' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(var(--brand-deep), var(--brand-deep));
  background-position:
    right 4px center,
    left bottom;
  background-size:
    12px 8px,
    0% 2px;
  padding-inline-end: 26px;
  cursor: pointer;
}
html[dir="rtl"] .form-field select {
  background-position:
    left 4px center,
    right bottom;
}
.form-field select:focus {
  background-size:
    12px 8px,
    100% 2px;
}

/* BOQ dropzone — the form's hero element (UX note 3) */
.form-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  border: 1.5px dashed rgba(230, 57, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: var(--s5) var(--s4);
  cursor: pointer;
  text-align: center;
  color: var(--slate);
  background: rgba(255, 69, 0, 0.03);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.form-drop svg {
  color: var(--brand-deep);
  background: rgba(255, 69, 0, 0.1);
  border-radius: 50%;
  padding: 12px;
  width: 54px;
  height: 54px;
  transition: transform 0.3s ease;
}
.form-drop:hover,
.form-drop.is-drag {
  border-color: var(--brand-deep);
  background: rgba(255, 69, 0, 0.06);
  color: var(--brand-deep);
}
.form-drop.is-drag {
  transform: scale(1.015);
  border-style: solid;
}
.form-drop.is-drag svg {
  animation: dropBounce 0.7s ease-in-out infinite;
}
@keyframes dropBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.form-drop.has-file {
  border-style: solid;
  border-color: var(--success);
  background: rgba(34, 197, 94, 0.05);
  color: var(--anchor);
}
.form-drop.has-file svg {
  color: var(--success);
  background: rgba(34, 197, 94, 0.12);
}
.form-drop-text {
  font-size: 14px;
  font-weight: 500;
}
.form-drop-hint {
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html[lang="ar"] .form-drop-hint {
  letter-spacing: 0;
}

.form-success {
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  text-align: center;
  padding: var(--s4);
  z-index: 2;
}
.form-success[hidden] {
  display: none;
}
.form-success svg {
  color: var(--success);
}
.form-success p {
  color: var(--slate);
  max-width: 380px;
}

/* ==========================================================================
   BRANCHES — network (static dark)
   ========================================================================== */
.branches {
  padding-block: 0 var(--s15);
  background: var(--anchor);
  color: var(--ink-inverse);
}
.branches-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-block-end: var(--s8);
}
.branches-head h2 {
  margin-block-end: var(--s2);
  perspective: 600px;
}
.branches-head p {
  color: rgba(255, 255, 255, 0.65);
}

.branches-map {
  position: relative;
}
.branches-net {
  display: block;
  width: 100%;
  height: 96px;
  pointer-events: none;
}
html[dir="rtl"] .branches-net {
  transform: scaleX(-1);
}
.net-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
  stroke-linecap: round;
}
.net-trunk {
  stroke: rgba(255, 255, 255, 0.32);
}
.net-packet {
  fill: var(--brand);
  opacity: 0;
}
.net-origin {
  fill: var(--brand);
  animation: originGlow 2.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes originGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.55;
  }
}

.branch-nodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
  position: relative;
  z-index: 1;
}
.branch-node {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: var(--s4);
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
  will-change: transform;
}
.branch-node:hover {
  border-color: rgba(255, 69, 0, 0.5);
  background: rgba(255, 69, 0, 0.05);
}
.branch-node.is-hq {
  border-color: rgba(255, 69, 0, 0.6) !important;
}
.branch-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  margin-block-end: var(--s2);
  position: relative;
}
.branch-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 69, 0, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.7);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
.branch-node h3 {
  font-size: 18px;
  margin-block-end: 4px;
}
.branch-node p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.branches-foot {
  margin-block-start: var(--s8);
  text-align: center;
}
.branches .btn-ghost {
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}
.branches .btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--brand);
  color: var(--brand);
  background: rgba(255, 69, 0, 0.05);
}

/* ==========================================================================
   FOOTER — always dark (opaque)
   ========================================================================== */
.site-footer {
  background: var(--anchor);
  color: rgba(255, 255, 255, 0.75);
  border-block-start: 1px solid var(--line-dark);
  padding-block-start: var(--s10);
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr));
  gap: var(--s6);
  padding-block-end: var(--s8);
}
.footer-logo {
  height: 26px;
  width: auto;
  background: var(--white);
  padding: 5px 8px;
  border-radius: 4px;
  box-sizing: content-box;
}
.footer-brand p {
  margin-block-start: var(--s3);
  font-size: 14px;
  max-width: 340px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-block-end: var(--s1);
}
.footer-col a,
.footer-col span {
  font-size: 14px;
  padding-block: 2px;
}
.footer-col a {
  transition: color 0.25s ease;
}
.footer-col a:hover {
  color: var(--brand);
}
.footer-cta-link {
  color: var(--brand);
  font-weight: 600;
}

.footer-legal {
  border-block-start: 1px solid var(--line-dark);
  padding-block: var(--s3);
  font-size: 13px;
  color: var(--slate);
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
}

/* ==========================================================================
   ANIMATION HELPERS
   ========================================================================== */
.img-reveal {
  overflow: hidden;
}
.img-reveal img {
  will-change: transform, opacity;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1023px) {
  :root {
    --header-h: 64px;
  }

  .header-nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .nav-burger {
    display: flex;
  }

  .hero-title {
    max-width: none;
  }
  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s4);
  }

  .showreel-pin {
    height: auto;
    padding-block: var(--s6);
  }
  .showreel-frame {
    width: calc(100% - 40px);
    height: auto;
    aspect-ratio: 16 / 10;
    margin-inline: auto;
    transform: none;
    border-radius: var(--radius-lg);
  }

  .stats {
    padding-block: var(--s8) var(--s10);
  }
  .stats-board {
    grid-template-columns: 1fr 1fr;
    border-inline-start: none;
  }
  .stat-cell {
    border-inline-end: none;
    border-block-end: 1px solid var(--line-dark);
    padding-inline: 0;
  }
  .stat-cell:nth-child(n) {
    margin-block-start: 0;
  }
  .stat-cell:nth-child(odd) {
    padding-inline-end: var(--s3);
  }
  .stat-cell:nth-child(even) {
    padding-inline-start: var(--s3);
    border-inline-start: 1px solid var(--line-dark);
  }
  .stats-head {
    margin-block-end: var(--s6);
  }

  .sector-wood {
    padding-block-start: var(--s10);
  }
  .wood-grid {
    display: block;
  }
  .wood-media {
    margin-inline-end: var(--s4);
  }
  .wood-panel {
    margin-block-start: calc(-1 * var(--s8));
    margin-inline-start: var(--s4);
    position: relative;
  }
  .wood-index {
    inset-block-start: -0.5em;
  }
  .finishes {
    margin-block-start: var(--s8);
  }
  .finishes-pin {
    padding-block: var(--s6);
  }

  .sector-smart {
    padding-block: var(--s10) var(--s8);
  }
  .smart-head {
    grid-template-columns: 1fr;
    gap: var(--s3);
    margin-block-end: var(--s6);
  }
  .stack-card-inner {
    grid-template-columns: 1fr;
    gap: var(--s3);
  }
  .smart-foot {
    text-align: center;
  }

  .sector-solid {
    padding-block: var(--s10);
  }
  .solid-grid {
    display: block;
  }
  .solid-media {
    aspect-ratio: 16 / 10;
    margin-inline-start: var(--s4);
  }
  .solid-card {
    margin-block-start: calc(-1 * var(--s6));
    margin-inline: 0 var(--s4);
    position: relative;
  }
  .solid-media-b {
    display: none;
  }

  .brands {
    padding-block: var(--s10);
  }
  .why {
    padding-block: var(--s10);
  }
  .pile {
    flex-direction: column;
    align-items: stretch;
  }
  .pile-card {
    flex-basis: auto;
  }

  .quote {
    padding-block: var(--s10);
  }
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .branches {
    padding-block-end: var(--s10);
  }
  .branches-net {
    display: none;
  }
  .branch-nodes {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hero-ctas {
    width: 100%;
  }
  .hero-ctas .btn {
    flex: 1 1 auto;
  }
  .hero-meta {
    flex-wrap: wrap;
  }

  .stats-board {
    grid-template-columns: 1fr;
  }
  .stat-cell:nth-child(even) {
    border-inline-start: none !important;
    padding-inline-start: 0;
  }
  .stat-cell {
    text-align: center;
  }
  .stat-cell::before {
    inset-inline-start: 50%;
    transform: translateX(-50%);
  }
  .stat-value {
    justify-content: center;
  }

  .wood-panel {
    margin-inline-start: var(--s2);
  }
  .wood-media {
    margin-inline-end: var(--s2);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .branch-nodes {
    grid-template-columns: 1fr;
  }
  .smart-head-text {
    text-align: center;
  }
  .smart-head-text .sector-tag {
    justify-content: center;
  }
  .smart-head-copy {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-legal {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* slick custom SVG dots */
.slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 10px;
  margin-block-start: var(--s3);
}
.slick-dots li {
  line-height: 0;
}
.slick-dots button {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  line-height: 0;
}
.slick-dots svg rect {
  fill: rgba(99, 115, 129, 0.35);
  transition: fill 0.3s ease;
}
.slick-dots .slick-active svg rect {
  fill: var(--brand-deep);
}

/* ==========================================================================
   TACTILE CARD HOVERS (fine pointers only)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  .finish-img img {
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .finish-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26, 29, 32, 0.12);
  }
  .finish-card:hover .finish-img img {
    transform: scale(1.06);
  }

  .stack-card-media img {
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .stack-card-inner {
    transition:
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.5s ease;
  }
  .stack-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.32);
  }
  .stack-card-inner:hover .stack-card-media img {
    transform: scale(1.05);
  }
}
