/* ==========================================================================
   Nile Linen Export — Egyptian Flax · Premium Industrial Elegance
   ========================================================================== */

:root {
  /* Olive */
  --olive-950: #141B13;
  --olive-900: #1F2A1E;
  --olive-800: #2B3A28;
  --olive-700: #3A4D35;
  --olive-600: #4F6446;
  --olive-100: #E6EADF;
  /* Linen / ivory */
  --ivory: #FBF8F2;
  --linen-50: #F8F3E9;
  --linen-100: #F2EADB;
  --linen-200: #E7DBC4;
  --linen-300: #D6C4A2;
  /* Muted gold */
  --gold-300: #D9C092;
  --gold-400: #C6A774;
  --gold-500: #B08D57;
  --gold-600: #8F6F3E;
  /* Text */
  --ink: #1A1F19;
  --ink-2: #3D4339;
  --muted: #6B6F63;
  --wa: #25D366;

  --line: rgba(31, 42, 30, 0.09);
  --line-strong: rgba(31, 42, 30, 0.16);
  --line-light: rgba(255, 255, 255, 0.12);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(31, 42, 30, .05), 0 1px 1px rgba(31, 42, 30, .03);
  --shadow: 0 1px 2px rgba(31, 42, 30, .04), 0 4px 12px -2px rgba(31, 42, 30, .06), 0 16px 32px -12px rgba(31, 42, 30, .10);
  --shadow-lg: 0 2px 4px rgba(31, 42, 30, .04), 0 12px 24px -6px rgba(31, 42, 30, .10), 0 40px 80px -24px rgba(31, 42, 30, .22);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(80px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }
h1, h2, .display { font-family: var(--font-display); font-optical-sizing: auto; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-300); color: var(--olive-900); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
svg.i, .btn svg { width: 18px; height: 18px; flex: none; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--olive-900); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: clamp(56px, 7vw, 88px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.04; letter-spacing: -0.025em; }
.h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); font-family: var(--font-display); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); line-height: 1.7; max-width: 62ch; }
.gold-italic { font-style: italic; color: var(--gold-500); font-weight: 400; }
.muted { color: var(--muted); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }
.section-head-split { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-split .section-head { margin-bottom: 0; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .01em; color: var(--olive-800);
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm); backdrop-filter: blur(8px);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 3px rgba(176, 141, 87, .18); }
.pill-gold { color: var(--gold-600); background: rgba(176, 141, 87, .08); border-color: rgba(176, 141, 87, .28); box-shadow: none; }
.pill-dark { color: var(--linen-100); background: rgba(255, 255, 255, .06); border-color: var(--line-light); box-shadow: none; }
.pill-dark .dot { background: var(--gold-400); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--olive-900); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: .005em; white-space: nowrap;
  color: var(--fg); background: var(--bg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg use[href="#i-arrow"] { }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  background: linear-gradient(180deg, var(--olive-700) 0%, var(--olive-900) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(20, 27, 19, .3), 0 8px 20px -8px rgba(31, 42, 30, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 4px rgba(20, 27, 19, .25), 0 14px 30px -10px rgba(31, 42, 30, .6); }
.btn-primary::after, .btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-primary:hover::after, .btn-gold:hover::after { transform: translateX(120%); }
.btn-gold {
  --fg: var(--olive-950);
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-500) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -10px rgba(143, 111, 62, .7);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { --bg: rgba(255, 255, 255, .6); --fg: var(--olive-900); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { --bg: #fff; border-color: rgba(31, 42, 30, .28); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light { --bg: rgba(255, 255, 255, .04); --fg: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-outline-light:hover { --bg: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); transform: translateY(-2px); }
.btn-wa { --bg: #1FAF55; --fg: #fff; background: linear-gradient(180deg, #2BD468 0%, #1A9E4C 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 24px -10px rgba(26, 158, 76, .7); }
.btn-wa:hover { transform: translateY(-2px); }
.btn-wa svg { width: 20px; height: 20px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--olive-800); }
.link-arrow svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.gold { color: var(--gold-600); }

.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; flex: none; transition: background .2s, transform .2s; }
.icon-btn:hover { background: var(--linen-50); transform: rotate(90deg); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Header (floating glass) ---------- */
.site-header { position: fixed; inset: 14px 0 auto; z-index: 100; padding-inline: var(--gutter); pointer-events: none; }
.nav-shell {
  pointer-events: auto;
  max-width: var(--container); margin-inline: auto; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 10px 0 18px; border-radius: 20px;
  background: rgba(251, 248, 242, .72);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 8px 32px -12px rgba(31, 42, 30, .22), 0 0 0 1px rgba(31, 42, 30, .05);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.scrolled .nav-shell { background: rgba(251, 248, 242, .88); height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 36px; height: 36px; }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--olive-900); letter-spacing: .01em; text-transform: uppercase; }
.brand-sub { font-size: 9.5px; letter-spacing: .5em; text-transform: uppercase; color: var(--gold-600); margin-top: 4px; padding-left: 2px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: var(--gold-400); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link { position: relative; padding: 8px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-link:hover { color: var(--olive-900); background: rgba(31, 42, 30, .05); }
.nav-link[aria-current="page"] { color: var(--olive-900); font-weight: 600; }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--gold-500); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: var(--olive-900); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  pointer-events: auto; max-width: var(--container); margin: 8px auto 0; padding: 12px; border-radius: 20px;
  background: rgba(251, 248, 242, .96); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(18px);
  animation: menuIn .35s var(--ease);
}
.mobile-menu nav { display: grid; }
.mobile-menu .nav-link { padding: 14px 14px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
.mobile-menu .nav-link[aria-current="page"]::after { display: none; }
.mobile-menu .nav-link[aria-current="page"] { color: var(--gold-600); }
.mobile-menu-cta { display: grid; gap: 10px; padding: 14px 4px 4px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + 22px); position: relative; }
.hero-frame {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--linen-200);
  aspect-ratio: 1672 / 941;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.hero-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); pointer-events: none; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bar {
  position: relative; z-index: 2; margin: 16px 0 0;
  display: grid; grid-template-columns: 1.3fr auto; align-items: center; gap: 28px;
  padding: 26px 28px; border-radius: var(--radius-lg);
  background: rgba(251, 248, 242, .86); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(20px) saturate(150%);
}
.hero-bar h1 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; }
.hero-bar p { margin-top: 8px; color: var(--muted); font-size: 15.5px; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 72px); border-block: 1px solid var(--line); }
.stat { padding: 28px 24px; display: grid; gap: 6px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 44px); color: var(--olive-900); line-height: 1; letter-spacing: -0.02em; }
.stat-value small { font-size: .5em; color: var(--gold-500); margin-left: 2px; }
.stat-label { font-size: 14px; color: var(--muted); }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: linear-gradient(180deg, #fff 0%, var(--linen-100) 100%); border: 1px solid var(--line-strong);
  color: var(--olive-800); box-shadow: inset 0 1px 0 #fff, var(--shadow-sm);
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.gold { color: var(--gold-600); background: linear-gradient(180deg, #FFFBF2 0%, #F3E6CC 100%); border-color: rgba(176, 141, 87, .3); }
.icon-tile.dark { color: var(--gold-300); background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); border-color: var(--line-light); box-shadow: none; }

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-media { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--linen-200); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-media .pill { position: absolute; top: 14px; left: 14px; }
.product-reveal {
  position: absolute; inset: auto 0 0 0; padding: 22px 20px 18px; color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 27, 19, .55) 30%, rgba(20, 27, 19, .9) 100%);
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.product-card:hover .product-reveal, .product-card:focus-within .product-reveal { transform: translateY(0); }
.product-reveal dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 13.5px; }
.product-reveal dt { color: var(--gold-300); font-weight: 500; }
.product-reveal dd { margin: 0; color: rgba(255, 255, 255, .9); }
.product-body { padding: 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.product-body h3 { font-size: 24px; font-family: var(--font-display); }
.product-body p { font-size: 15px; color: var(--muted); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); margin-top: auto; }
.product-num { font-family: var(--font-display); font-size: 14px; color: var(--gold-500); letter-spacing: .1em; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.bento > * { padding: 28px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.bento h3 { font-size: 20px; font-family: var(--font-display); }
.bento p { font-size: 15px; color: var(--muted); }
.b-2 { grid-column: span 2; } .b-3 { grid-column: span 3; } .b-4 { grid-column: span 4; } .b-6 { grid-column: span 6; }
.b-tall { grid-row: span 2; }
.bento-feature { padding: 0 !important; color: #fff; background: var(--olive-900); border: 0; }
.bento-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform 1.2s var(--ease); }
.bento-feature:hover img { transform: scale(1.05); }
.bento-feature::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 27, 19, 0) 20%, rgba(20, 27, 19, .88) 100%); }
.bento-feature .bento-content { position: relative; z-index: 2; margin-top: auto; padding: 30px; display: grid; gap: 12px; }
.bento-feature h3 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); }
.bento-feature p { color: rgba(255, 255, 255, .78); max-width: 46ch; }
.big-year { font-family: var(--font-display); font-size: clamp(64px, 8vw, 104px); line-height: .9; color: var(--gold-300); letter-spacing: -0.04em; }
.bento-dark { background: radial-gradient(120% 120% at 100% 0%, rgba(176, 141, 87, .25) 0%, transparent 50%), var(--olive-900); border-color: transparent; color: #fff; }
.bento-dark h3 { color: #fff; } .bento-dark p { color: rgba(255, 255, 255, .7); }
.grade-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.grade-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--linen-50); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.grade-chip b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--olive-900); color: var(--gold-300); font-family: var(--font-display); font-size: 13px; }

/* ---------- Process (From Raw to Refined) ---------- */
.process { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: stretch; }
.process-steps { display: grid; gap: 8px; align-content: start; }
.process-step {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; text-align: left;
  padding: 18px 20px; border-radius: var(--radius); border: 1px solid transparent; background: transparent;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.process-step:hover { background: rgba(255, 255, 255, .6); }
.process-step[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.process-step .num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 15px; color: var(--olive-800); border: 1px solid var(--line-strong); background: var(--ivory); transition: all .35s; }
.process-step[aria-selected="true"] .num { background: var(--olive-900); color: var(--gold-300); border-color: var(--olive-900); }
.process-step b { display: block; font-size: 16px; color: var(--ink); font-weight: 600; }
.process-step span.desc { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.process-step .bar { grid-column: 2; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; margin-top: 10px; display: none; }
.process-step[aria-selected="true"] .bar { display: block; }
.process-step .bar i { display: block; height: 100%; width: 0; background: var(--gold-500); }
.process-step[aria-selected="true"] .bar i { animation: fill 6s linear forwards; }
.process.paused .process-step .bar i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.process-stage { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 460px; background: var(--olive-900); box-shadow: var(--shadow-lg); }
.process-panel { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.process-panel.active { opacity: 1; }
.process-panel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.process-panel.active img { transform: scale(1); }
.process-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 27, 19, .85)); }
.process-caption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; color: #fff; display: grid; gap: 8px; justify-items: start; }
.process-caption h3 { color: #fff; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); }
.process-caption p { color: rgba(255, 255, 255, .8); max-width: 52ch; font-size: 15px; }

/* ---------- Services ---------- */
.dark-section { background: radial-gradient(70% 60% at 85% 0%, rgba(176, 141, 87, .16) 0%, transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(79, 100, 70, .35) 0%, transparent 60%), var(--olive-900); color: rgba(255, 255, 255, .78); }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section .eyebrow { color: var(--gold-400); }
.dark-section .lead { color: rgba(255, 255, 255, .68); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  position: relative; padding: 28px; border-radius: var(--radius-lg); display: grid; gap: 14px; align-content: start;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .02) 100%);
  border: 1px solid var(--line-light); transition: transform .5s var(--ease), background .5s, border-color .5s;
  overflow: hidden;
}
.service-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(198, 167, 116, .16), transparent 40%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(198, 167, 116, .35); }
.service-card h3 { font-size: 20px; font-family: var(--font-display); }
.service-card p { font-size: 14.5px; color: rgba(255, 255, 255, .66); }
.service-card .icon-tile svg { transition: transform .6s var(--ease); }
.service-card:hover .icon-tile svg { transform: scale(1.12) rotate(-6deg); }
.service-num { position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-size: 14px; color: rgba(255, 255, 255, .3); }
.motto { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 36px; border-top: 1px solid var(--line-light); }
.motto p { font-family: var(--font-display); font-style: italic; font-size: clamp(24px, 3vw, 36px); color: #fff; line-height: 1.2; }
.motto p span { color: var(--gold-300); }

/* ---------- Heritage / timeline ---------- */
.heritage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.heritage-media { position: relative; }
.heritage-media .img-main { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.heritage-media .img-main img { width: 100%; height: 100%; object-fit: cover; }
.heritage-badge { position: absolute; right: -20px; bottom: 40px; padding: 20px 24px; border-radius: var(--radius-lg); background: rgba(251, 248, 242, .9); backdrop-filter: blur(16px); border: 1px solid #fff; box-shadow: var(--shadow-lg); display: grid; gap: 2px; }
.heritage-badge strong { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--olive-900); font-weight: 500; }
.heritage-badge span { font-size: 13px; color: var(--muted); }
.timeline { position: relative; display: grid; gap: 4px; margin-top: 32px; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(var(--gold-400), var(--line)); }
.timeline li { position: relative; padding: 12px 0 12px 52px; }
.timeline li::before { content: ""; position: absolute; left: 9px; top: 19px; width: 13px; height: 13px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold-500); }
.timeline b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 500; color: var(--ink); }
.timeline span { font-size: 15px; color: var(--muted); }

/* ---------- World map ---------- */
.map-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: radial-gradient(80% 80% at 60% 40%, rgba(176, 141, 87, .14) 0%, transparent 60%), var(--olive-950); border: 1px solid rgba(255, 255, 255, .06); box-shadow: var(--shadow-lg); }
.map-wrap { position: relative; }
.map-wrap svg { width: 100%; height: auto; }
.map-dots circle { fill: rgba(230, 219, 196, .22); }
.map-arc { fill: none; stroke: url(#arcGrad); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 6 10; animation: dash 2.2s linear infinite; }
.map-arc-base { fill: none; stroke: rgba(198, 167, 116, .28); stroke-width: 1; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.map-node circle.core { fill: var(--gold-300); }
.map-node circle.ring { fill: none; stroke: var(--gold-400); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease) infinite; }
.map-node.origin circle.core { fill: #fff; }
.map-node text { fill: rgba(255, 255, 255, .85); font: 500 13px var(--font-sans); letter-spacing: .02em; }
.map-node.origin text { fill: var(--gold-300); font-weight: 600; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.map-legend { position: absolute; left: 24px; bottom: 22px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-300); }
.map-legend i.o { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.export-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.export-points .card { padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.export-points h3 { font-size: 17px; font-family: var(--font-sans); font-weight: 600; }
.export-points p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; color: #fff;
  background: radial-gradient(60% 90% at 100% 0%, rgba(198, 167, 116, .35) 0%, transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(79, 100, 70, .6) 0%, transparent 60%), var(--olive-900);
  box-shadow: var(--shadow-lg);
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: url("/assets/img/fiber-flowers.jpg") right center / cover no-repeat; opacity: .14; mix-blend-mode: luminosity; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .72); margin-top: 14px; max-width: 52ch; }
.cta-actions { display: grid; gap: 12px; justify-items: stretch; max-width: 380px; margin-left: auto; width: 100%; }
.cta-actions .btn { height: 56px; }
.cta-note { font-size: 13px; color: rgba(255, 255, 255, .55); text-align: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 72px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 90% 10%, rgba(198, 167, 116, .22) 0%, transparent 60%), radial-gradient(40% 60% at 0% 0%, rgba(79, 100, 70, .12) 0%, transparent 60%), linear-gradient(180deg, var(--linen-50), var(--ivory)); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero h1 { margin-top: 18px; }
.page-hero .lead { margin-top: 20px; }
.page-hero-media { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-lg); position: relative; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--olive-900); }
.breadcrumb span[aria-current] { color: var(--gold-600); }

/* ---------- About ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose p + p { margin-top: 18px; }
.prose p { font-size: 17px; line-height: 1.8; }
.prose strong { color: var(--ink); font-weight: 600; }
.vmg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vmg .card { padding: 32px; display: grid; gap: 14px; align-content: start; }
.vmg h3 { font-family: var(--font-display); font-size: 24px; }
.vmg p, .vmg li { font-size: 15.5px; color: var(--muted); }
.check-list { display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.check-list li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; background: var(--olive-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B3A28' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.quote-block { font-family: var(--font-display); font-style: italic; font-size: clamp(24px, 3vw, 36px); line-height: 1.3; color: var(--olive-900); text-align: center; max-width: 900px; margin-inline: auto; }
.quote-block::before { content: "“"; display: block; font-size: 80px; line-height: .6; color: var(--gold-400); margin-bottom: 18px; }

/* ---------- Products page ---------- */
.product-nav { position: sticky; top: 92px; z-index: 20; display: flex; justify-content: center; margin-bottom: 48px; }
.product-nav-inner { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(14px); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.product-nav a { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--muted); transition: background .3s, color .3s; }
.product-nav a.active { background: var(--olive-900); color: #fff; }
.product-detail { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.product-detail:nth-of-type(even) .pd-media { order: 2; }
.pd-media { position: sticky; top: 160px; }
.pd-image { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow-lg); background: var(--linen-200); }
.pd-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pd-image:hover img { transform: scale(1.05); }
.pd-image .pill { position: absolute; left: 16px; top: 16px; }
.pd-specs-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.pd-specs-mini .card { padding: 18px 20px; display: grid; gap: 2px; }
.pd-specs-mini small { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pd-specs-mini strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--olive-900); }
.pd-body { display: grid; gap: 22px; }
.pd-body h2 { font-size: clamp(32px, 3.6vw, 46px); }
.pd-body .lead { font-size: 17px; }
.pd-label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }
.grade-list { display: grid; gap: 10px; }
.grade-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px; align-items: start; }
.grade-item .letter { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-size: 24px; background: var(--olive-900); color: var(--gold-300); }
.grade-item:nth-child(2) .letter { background: var(--olive-700); }
.grade-item:nth-child(3) .letter { background: var(--linen-200); color: var(--olive-900); }
.grade-item b { color: var(--ink); font-size: 16px; }
.grade-item b small { font-weight: 500; color: var(--gold-600); margin-left: 6px; font-size: 13px; }
.grade-item p { font-size: 14.5px; color: var(--muted); margin-top: 3px; }
.meter { display: flex; gap: 4px; margin-top: 10px; }
.meter i { height: 4px; flex: 1; border-radius: 2px; background: var(--linen-200); }
.meter i.on { background: var(--gold-500); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); font-size: 14px; color: var(--ink-2); }
.chip svg { width: 15px; height: 15px; color: var(--gold-600); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 500; color: var(--muted); }
.spec-table td { color: var(--ink); font-weight: 500; }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.compare-wrap { overflow-x: auto; border-radius: var(--radius-xl); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--linen-50); font-family: var(--font-display); font-size: 19px; font-weight: 500; color: var(--ink); }
.compare thead th:first-child { font-family: var(--font-sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.compare tbody th { font-weight: 500; color: var(--muted); width: 22%; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody tr:hover td { background: rgba(248, 243, 233, .5); }

/* ---------- Services page ---------- */
.service-rows { display: grid; gap: 16px; }
.service-row { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 32px; padding: 36px; align-items: start; }
.service-row .big-num { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--gold-400); }
.service-row h3 { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); margin-top: 14px; }
.service-row p { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.steps .card { padding: 26px; display: grid; gap: 10px; align-content: start; }
.steps .card::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 14px; color: var(--gold-600); letter-spacing: .1em; }
.steps h3 { font-size: 18px; font-weight: 600; font-family: var(--font-sans); }
.steps p { font-size: 14.5px; color: var(--muted); }

/* ---------- Factory gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--linen-200); border: 0; padding: 0; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(251, 248, 242, .86); backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 500; color: var(--ink); transform: translateY(8px); opacity: 0; transition: all .4s var(--ease); }
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { transform: none; opacity: 1; }
.gallery-item figcaption svg { width: 16px; height: 16px; color: var(--gold-600); }
.g-wide { grid-column: span 2; } .g-tall { grid-row: span 2; }
.gallery-placeholder { display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; padding: 20px; background: repeating-linear-gradient(135deg, var(--linen-50) 0 12px, var(--linen-100) 12px 24px); border: 1.5px dashed var(--linen-300); color: var(--muted); font-size: 14px; box-shadow: none; cursor: default; }
.gallery-placeholder svg { width: 28px; height: 28px; color: var(--gold-500); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(20, 27, 19, .92); backdrop-filter: blur(6px); animation: fadeIn .3s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; max-width: min(1200px, 100%); width: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox p { color: rgba(255, 255, 255, .8); margin-top: 14px; text-align: center; font-size: 14.5px; }
.lightbox .icon-btn { position: absolute; top: 20px; right: 20px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-nav.prev { left: 20px; } .lightbox-nav.prev svg { transform: rotate(180deg); }
.lightbox-nav.next { right: 20px; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { padding: 20px 22px; display: flex; align-items: center; gap: 16px; }
.contact-card small { display: block; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-card strong { display: block; color: var(--ink); font-weight: 600; font-size: 16px; word-break: break-word; }
.contact-card .link-arrow { margin-left: auto; }
.contact-form-card { padding: clamp(24px, 4vw, 40px); }
.map-embed { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 21/8; background: var(--linen-100); }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.15) contrast(1.02); }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-strong); color: var(--olive-900); transition: all .3s var(--ease); }
.social-row a:hover { background: var(--olive-900); color: var(--gold-300); transform: translateY(-3px); }
.social-row svg { width: 20px; height: 20px; }

.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; color: var(--ink); font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--gold-600); transition: transform .35s var(--ease); flex: none; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- Forms ---------- */
.quote-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-800); }
.field-label em { color: var(--gold-600); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px;
  background: var(--linen-50); border: 1px solid var(--linen-200); outline: none;
  font-size: 15.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.field textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 96px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #A39C8C; }
.field input:focus, .field textarea:focus, .field select:focus { background: #fff; border-color: var(--gold-400); box-shadow: 0 0 0 4px rgba(198, 167, 116, .18); }
.field input[aria-invalid="true"] { border-color: #C0573F; box-shadow: 0 0 0 4px rgba(192, 87, 63, .12); }
.select { position: relative; display: block; }
.select svg { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { grid-template-columns: repeat(3, 1fr); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--linen-100); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--muted); transition: all .3s var(--ease); }
.segmented svg { width: 18px; height: 18px; }
.segmented input:checked + span { background: #fff; color: var(--olive-900); box-shadow: var(--shadow); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.product-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.product-picker label { position: relative; }
.product-picker input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.product-picker span { display: grid; gap: 2px; padding: 8px 8px 12px; height: 100%; border-radius: 14px; border: 1px solid var(--linen-200); background: var(--linen-50); transition: all .25s var(--ease); cursor: pointer; }
.product-picker img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: 9px; margin-bottom: 8px; }
.product-picker b { font-size: 13.5px; line-height: 1.3; color: var(--ink); padding-inline: 4px; }
.product-picker small { font-size: 12px; color: var(--muted); padding-inline: 4px; }
.product-picker input:checked + span { background: #fff; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(198, 167, 116, .2); }
.product-picker input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.form-error { color: #A8432D; font-size: 14px; background: #FBEDE8; border: 1px solid #F0CFC4; padding: 10px 14px; border-radius: 10px; }
.form-note { text-align: center; font-size: 13.5px; color: var(--muted); }
.form-note a { color: var(--olive-800); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 27, 19, .55); backdrop-filter: blur(6px); animation: fadeIn .35s var(--ease); }
.modal-panel {
  position: relative; width: min(680px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--ivory); border-radius: var(--radius-xl); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 40px 100px -20px rgba(20, 27, 19, .5); padding: clamp(22px, 4vw, 34px);
  animation: modalIn .5s var(--ease);
}
.modal-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 160px; border-radius: inherit; background: radial-gradient(70% 100% at 100% 0%, rgba(198, 167, 116, .22), transparent 70%); pointer-events: none; }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal-head { position: relative; display: flex; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.modal-title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 32px); margin-top: 14px; }
.modal-sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; max-width: 48ch; }
body.modal-open { overflow: hidden; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 90; display: flex; align-items: center; gap: 12px; }
.wa-label { padding: 8px 14px; border-radius: 12px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; transition: opacity .3s, transform .3s var(--ease); }
.wa-label::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: #fff; border-right: 1px solid var(--line); border-top: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); }
.wa-btn { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #2BD468, #1DA851); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 0 0 7px rgba(198, 167, 116, .55), 0 14px 30px -8px rgba(29, 168, 81, .65); transition: transform .35s var(--ease); }
.wa-btn svg { width: 32px; height: 32px; }
.wa-btn::before, .wa-btn::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .55); animation: waPulse 2.4s var(--ease) infinite; }
.wa-btn::after { animation-delay: 1.2s; }
.wa-float:hover .wa-btn { transform: scale(1.08); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0;background: var(--olive-950); color: rgba(255, 255, 255, .66); padding-top: clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); opacity: .6; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin-top: 20px; font-size: 14.5px; max-width: 38ch; }
.footer-title { font-family: var(--font-sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); font-weight: 600; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; font-size: 15px; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; font-size: 15px; margin-bottom: 22px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; }
.social { display: flex; gap: 8px; margin-top: 24px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-light); color: #fff; transition: all .3s; }
.social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--olive-950); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid var(--line-light); font-size: 13.5px; }
.footer-tag { font-family: var(--font-display); font-style: italic; color: var(--gold-300); }

/* ---------- Intro (nature → industry) ---------- */
.intro { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--olive-950); transition: opacity .8s var(--ease), visibility .8s; }
.intro.done { opacity: 0; visibility: hidden; }
.intro-inner { display: grid; justify-items: center; gap: 18px; }
.intro svg.fibers { width: min(340px, 70vw); height: 80px; }
.intro svg.fibers path { fill: none; stroke: var(--gold-400); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.6s var(--ease) forwards; }
.intro svg.fibers path:nth-child(2) { animation-delay: .12s; stroke: var(--gold-300); }
.intro svg.fibers path:nth-child(3) { animation-delay: .24s; stroke: var(--linen-300); }
.intro svg.fibers path:nth-child(4) { animation-delay: .36s; }
.intro .brand { opacity: 0; animation: rise .9s var(--ease) 1.1s forwards; }
.intro .brand-mark { width: 52px; height: 52px; }
.intro .brand-name { font-size: 30px; }
.intro .brand-sub { font-size: 11px; }
.intro-line { font-family: var(--font-display); font-style: italic; color: rgba(255, 255, 255, .6); font-size: 16px; opacity: 0; animation: rise .9s var(--ease) 1.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .process-step { grid-template-columns: 1fr; }
  .process-step .bar { grid-column: 1; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-bar { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-2, .b-3 { grid-column: span 1; } .b-4, .b-6 { grid-column: span 2; }
  .b-tall { grid-row: span 1; min-height: 360px; }
  .heritage, .two-col, .page-hero-grid, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .heritage-badge { right: 16px; }
  .cta-actions { margin-left: 0; max-width: none; }
  .vmg, .export-points { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail:nth-of-type(even) .pd-media { order: 0; }
  .pd-media { position: static; }
  .service-row { grid-template-columns: 1fr; gap: 12px; padding: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .map-embed { aspect-ratio: 4/3; }
  .product-reveal { transform: none; position: relative; background: var(--olive-900); }
  .product-media { aspect-ratio: auto; display: grid; }
  .product-media img { aspect-ratio: 16/10; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header { inset: 10px 0 auto; }
  .nav-shell { height: 58px; padding: 0 8px 0 12px; border-radius: 16px; }
  .nav-actions .btn { display: none; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero-frame { border-radius: 18px; }
  .hero-bar { margin: 12px 0 0; padding: 22px 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; }
  .b-2, .b-3, .b-4, .b-6 { grid-column: span 1; }
  .services-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .product-picker { grid-template-columns: 1fr; }
  .product-picker span { grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 8px; }
  .product-picker img { grid-row: span 2; aspect-ratio: 1; margin: 0; }
  .product-picker b, .product-picker small { padding: 0; }
  .modal { padding: 0; place-items: end center; }
  .modal-panel { border-radius: 24px 24px 0 0; max-height: 94dvh; animation-name: sheetIn; }
  @keyframes sheetIn { from { transform: translateY(100%); } }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .g-wide { grid-column: span 2; }
  .wa-label { display: none; }
  .wa-btn { width: 56px; height: 56px; }
  .heritage-badge { position: relative; right: auto; bottom: auto; margin: -40px 16px 0; }
  .map-node text { font-size: 18px; }
  .lightbox-nav { top: auto; bottom: 20px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
