@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  --bg: #0c0e11;
  --bg-2: #14171c;
  --panel: #1a1e24;
  --line: #2a2f37;
  --ink: #f2f0e8;
  --ink-dim: #98a2ad;
  --ember: #ff7a1a;
  --ember-deep: #c0392b;
  --ember-light: #ffc94a;
  --heat: linear-gradient(90deg, #0c0e11 0%, #c0392b 30%, #ff7a1a 62%, #ffc94a 100%);
  --header-bg: rgba(12,14,17,.96);
  --shadow-soft: 0 20px 40px -16px rgba(0,0,0,.6);
  --quote: #2dd4bf;
  --quote-ink: #04211c;
  --mobile-menu-bg: rgba(6,7,9,.99);
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  color-scheme: dark;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

/* ==================================================== */
/* LIGHT THEME OVERRIDE                                  */
/* ==================================================== */
[data-theme="light"]{
  --bg: #f7f5f0;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --line: #e3ddd0;
  --ink: #1c1e22;
  --ink-dim: #5c6570;
  --ember: #e8590c;
  --ember-deep: #b8380a;
  --ember-light: #c96a0a;
  --header-bg: rgba(255,255,255,.96);
  --shadow-soft: 0 20px 40px -16px rgba(30,20,10,.18);
  --quote: #0f9d8a;
  --quote-ink: #ffffff;
  --mobile-menu-bg: rgba(255,255,255,.99);
  color-scheme: light;
}
[data-theme="light"] .btn-fill{ color:#fff; }
/* Light mode: the video/image was double-darkened (dark filter + white scrim), which made it
   look washed-out and blurry. Lighten the footage itself and use a lighter, tighter scrim so the
   video stays visible, and add a soft text-shadow so the copy stays readable wherever it sits. */
[data-theme="light"] .hero::before,
[data-theme="light"] .hero-video{ filter:saturate(1.1) brightness(.92); }
[data-theme="light"] .hero::after{ background:linear-gradient(0deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.5) 40%, rgba(255,255,255,.08) 100%); }
[data-theme="light"] .hero-content{ text-shadow:0 2px 20px rgba(255,255,255,.7); }
[data-theme="light"] .product-card, [data-theme="light"] .why-card, [data-theme="light"] .modal-box{ box-shadow:0 12px 30px -14px rgba(30,20,10,.15); }

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--ink);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  transition:background-color .25s ease, color .25s ease;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }
section{ padding:100px 0; position:relative; }
@media (max-width:720px){ section{ padding:64px 0; } }

/* blueprint grid texture used behind some sections */
.blueprint{
  background-image:
    linear-gradient(rgba(255,122,26,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,122,26,.05) 1px, transparent 1px);
  background-size:44px 44px;
}

.eyebrow{
  font-family:var(--font-mono);
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:.72rem;
  color:var(--ember-light);
  font-weight:500;
  display:flex; align-items:center; gap:10px;
  margin-bottom:16px;
}
.eyebrow::before{ content:'//'; color:var(--ember); }

h1,h2,h3,h4{ font-family:var(--font-display); text-transform:uppercase; letter-spacing:.01em; color:var(--ink); }
h2{ font-size:clamp(1.8rem,4vw,2.7rem); font-weight:700; }
h2 .accent{ color:transparent; background:var(--heat); -webkit-background-clip:text; background-clip:text; }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head p{ color:var(--ink-dim); margin-top:16px; font-size:1.02rem; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ==================================================== */
/* LOADER — ember ring boot animation                    */
/* ==================================================== */
#loader{
  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:center; justify-content:center;
  background:var(--bg);
  transition:opacity .6s ease, visibility .6s ease;
}
.loader-core{
  display:flex; flex-direction:column; align-items:center; gap:8px;
  padding:24px; text-align:center;
}
.loader-ring{
  position:relative; width:120px; height:120px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:8px;
}
.loader-ring svg{
  position:absolute; inset:0; width:100%; height:100%;
  transform:rotate(-90deg);
}
.ring-track{
  fill:none; stroke:var(--line); stroke-width:4;
}
.ring-fill{
  fill:none; stroke:var(--ember-light);
  stroke-width:4; stroke-linecap:round;
  stroke-dasharray:327; stroke-dashoffset:327;
  animation:loaderRing 1.6s ease-in-out infinite;
}
@keyframes loaderRing{
  0%{ stroke-dashoffset:327; transform:rotate(0deg); }
  50%{ stroke-dashoffset:80; }
  100%{ stroke-dashoffset:327; transform:rotate(360deg); }
}
.loader-logo-wrap{
  position:relative; width:64px; height:64px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--panel); overflow:hidden;
  animation:loaderPulse 1.6s ease-in-out infinite;
}
.loader-logo{ width:70%; height:70%; object-fit:contain; }
@keyframes loaderPulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.06); }
}
.loader-brand{
  font-family:var(--font-display); font-weight:700; letter-spacing:.05em;
  font-size:clamp(1.2rem,4vw,1.6rem); color:var(--ink); text-transform:uppercase;
}
.loader-sub{
  font-family:var(--font-mono); font-size:.72rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--ink-dim); margin-bottom:6px;
}
.loader-bar-row{ display:flex; align-items:center; gap:10px; width:220px; max-width:70vw; }
.loader-bar{
  flex:1; height:4px; border-radius:4px; background:var(--line); overflow:hidden;
}
.loader-bar span{
  display:block; height:100%; width:0%; border-radius:4px;
  background:var(--heat); transition:width .25s ease;
}
.loader-pct{
  font-family:var(--font-mono); font-size:.7rem; color:var(--ink-dim); min-width:34px; text-align:right;
}

/* Exit transition: fade + scale out */
#loader.hide{ opacity:0; pointer-events:none; }
#loader.hide .loader-core{ transform:scale(.96); transition:transform .5s ease; }
#loader.gone{ visibility:hidden; }

@media (prefers-reduced-motion: reduce){
  .ring-fill, .loader-logo-wrap{ animation:none; }
}

/* ==================================================== */
/* AMBIENT ANIMATED BACKGROUND (embers)                  */
/* ==================================================== */
.ember-bg{
  position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none;
}
.ember-bg span{
  position:absolute; bottom:-8vh; border-radius:50%;
  background:radial-gradient(circle, var(--ember-light) 0%, var(--ember) 55%, transparent 75%);
  opacity:0; filter:blur(.3px);
  animation-name:emberrise; animation-timing-function:ease-in; animation-iteration-count:infinite;
}
@keyframes emberrise{
  0%{ transform:translate(0,0) scale(1); opacity:0; }
  8%{ opacity:.55; }
  55%{ opacity:.35; }
  100%{ transform:translate(var(--drift,20px), -112vh) scale(.35); opacity:0; }
}
[data-theme="light"] .ember-bg span{ opacity:.55; }
header, main, footer{ position:relative; z-index:1; }
@media (prefers-reduced-motion: reduce){ .ember-bg{ display:none; } }

/* ==================================================== */
/* THEME TOGGLE                                          */
/* ==================================================== */
.theme-toggle{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:var(--panel);
  color:var(--ink); cursor:pointer; display:flex; align-items:center; justify-content:center;
  font-size:1rem; position:relative; flex-shrink:0;
}
.theme-toggle:hover{ border-color:var(--ember); }
.theme-toggle .icon-moon{ display:none; }
[data-theme="light"] .theme-toggle .icon-sun{ display:none; }
[data-theme="light"] .theme-toggle .icon-moon{ display:inline; }
@media (max-width:1480px){ .theme-toggle{ order:-1; } }
header{
  position:sticky; top:0; z-index:100;
  background:var(--header-bg);
  border-bottom:1px solid var(--line);
  transition:box-shadow .25s ease;
}
/* Header never disappears on scroll — it just tightens up a little for more screen space */
header.scrolled{ box-shadow:var(--shadow-soft); }
header.scrolled .nav-inner{ padding:9px 0; }
header.scrolled .brand img{ height:40px; }
/* The header row needs more breathing room than the 1180px content .wrap gives everything
   else on the site — brand + 6 nav links + 3 buttons genuinely needs ~1360px+ to not
   crowd or word-wrap. This override only affects the header bar, nothing else. */
.nav-inner{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; transition:padding .25s ease; max-width:1600px; gap:16px; }
.links a.active-link{ color:var(--ember-light); }
.links a.active-link::after{ content:''; display:block; height:2px; background:var(--heat); margin-top:4px; border-radius:2px; }
.brand{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.brand img{
  height:54px; width:auto; transition:height .25s ease;
}
.brand .name{ display:flex; flex-direction:column; line-height:1.15; justify-content:center; }
.brand .name strong{ font-family:var(--font-display); font-size:1.15rem; letter-spacing:.04em; font-weight:700; white-space:nowrap; }
.brand .name span{ font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--ember-light); margin-top:2px; font-family:var(--font-mono); white-space:nowrap; }

nav.links{ display:flex; gap:26px; flex-shrink:1; }
nav.links a{
  font-family:var(--font-display); font-size:.82rem; letter-spacing:.08em;
  text-transform:uppercase; color:var(--ink-dim); font-weight:500;
  transition:color .2s; position:relative; white-space:nowrap; flex-shrink:0;
}
nav.links a:hover{ color:var(--ember-light); }

.nav-cta{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.btn{
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.06em;
  font-size:.78rem; font-weight:600; padding:11px 20px; border-radius:2px;
  display:inline-flex; align-items:center; gap:8px; white-space:nowrap; flex-shrink:0;
  transition:transform .18s ease, box-shadow .18s ease; border:1px solid transparent; cursor:pointer;
}
.btn:hover{ transform:translateY(-2px); }
.btn-fill{ background:var(--heat); color:#0c0e11; font-weight:700; }
.btn-fill:hover{ box-shadow:0 10px 26px -8px rgba(255,122,26,.55); }
.btn-line{ border-color:var(--line); color:var(--ink); }
.btn-line:hover{ border-color:var(--ember-light); color:var(--ember-light); }
.btn-dark{ background:var(--panel); color:var(--ink); border:1px solid var(--line); }

/* "Get a Quote" — deliberately a different color from the orange heat-gradient CTA, so it stands out as its own action */
.btn-quote{ background:var(--quote); color:var(--quote-ink); font-weight:700; border-color:transparent; }
.btn-quote:hover{ box-shadow:0 10px 26px -8px rgba(45,212,191,.5); }

/* WhatsApp brand-green button, used inside the mobile menu */
.btn-whatsapp{ background:#25D366; color:#04220f; font-weight:700; border-color:transparent; }
.btn-whatsapp:hover{ box-shadow:0 10px 26px -8px rgba(37,211,102,.5); }

.menu-toggle{ display:none; background:none; border:none; color:var(--ink); font-size:1.6rem; cursor:pointer; }

@media (max-width:1480px){
  /* Desktop inline nav links are replaced by the dedicated #mobileMenu panel below */
  nav.links{ display:none; }
  .nav-cta .btn-line,
  .nav-cta .btn-quote,
  .nav-cta .btn-fill{ display:none; } /* WhatsApp/Call/Quote already live inside #mobileMenu — showing them here too overflowed the header on phones */
  .menu-toggle{ display:block; position:relative; z-index:101; }
}

/* Tighter, fully responsive header on phones/tablets so brand + toggles never crowd or clip */
@media (max-width:640px){
  .nav-inner{ padding:11px 0; gap:10px; }
  .brand{ gap:8px; }
  .brand .name span{ display:none; }
  .nav-cta{ gap:6px; }
}
@media (max-width:480px){
  .wrap{ padding:0 16px; }
  .brand .name strong{ font-size:1rem; }
}

/* ==================================================== */
/* MOBILE MENU — a standalone full-screen panel (sibling of header, not */
/* nested inside it) so header's own stacking never clips or shrinks it */
/* ==================================================== */
.mobile-menu{
  position:fixed; top:0; left:0; width:100vw; height:100dvh;
  background:var(--mobile-menu-bg);
  z-index:1000;
  display:flex; flex-direction:column;
  transform:translateX(100%);
  transition:transform .32s ease;
  overflow-y:auto;
}
.mobile-menu.open{ transform:translateX(0); }
.mobile-menu-backdrop{
  position:fixed; inset:0; z-index:999; background:rgba(0,0,0,.4);
  opacity:0; visibility:hidden; transition:opacity .28s ease, visibility .28s ease;
}
.mobile-menu-backdrop.open{ opacity:1; visibility:visible; }
@media (min-width:1481px){ .mobile-menu, .mobile-menu-backdrop{ display:none; } }

.mobile-menu-top{ display:flex; align-items:center; justify-content:space-between; padding:16px 24px; border-bottom:1px solid var(--line); flex-shrink:0; }
.mobile-menu-top .brand{ display:flex; align-items:center; gap:10px; }
.mobile-menu-top .brand img{ height:36px; width:auto; }
.mobile-menu-top .brand strong{ font-family:var(--font-display); font-size:1rem; letter-spacing:.03em; }
.menu-close{ background:none; border:none; color:var(--ink); font-size:1.7rem; line-height:1; cursor:pointer; padding:6px; }

.mobile-links{ display:flex; flex-direction:column; padding:10px 28px 0; }
.mobile-links a{
  font-family:var(--font-display); font-size:1.25rem; font-weight:600;
  text-transform:uppercase; letter-spacing:.04em; color:var(--ink);
  padding:16px 0; border-bottom:1px solid var(--line);
}
.mobile-links a.active-link{ color:var(--ember-light); }
.mobile-links a.active-link::after{ content:''; display:block; height:2px; width:44px; background:var(--heat); margin-top:6px; border-radius:2px; }

.mobile-menu-actions{
  margin-top:auto; padding:24px 28px 40px; display:flex; flex-direction:column; gap:12px;
  border-top:1px solid var(--line);
}
.mobile-menu-actions .btn{ width:100%; justify-content:center; }
.theme-toggle-wide{
  width:100%; height:auto; border-radius:8px; padding:12px; gap:8px;
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.06em; font-size:.8rem; font-weight:600;
}
body.menu-open{ overflow:hidden; }

/* ==================================================== */
/* HERO                                                  */
/* ==================================================== */
.hero{ position:relative; min-height:92vh; min-height:92dvh; display:flex; align-items:flex-end; color:var(--ink); overflow:hidden; }
@media (max-width:640px){ .hero{ min-height:80vh; min-height:80dvh; } }
.hero::before{
  content:''; position:absolute; inset:0;
  background:url('../assets/hero-wide.jpeg') center 30%/cover no-repeat;
  filter:saturate(1.05) brightness(.55);
  transform:scale(1.04);
}
/* Background video plays on top of the original hero image — the image still
   shows first (as the video's poster) and stays as the fallback if video can't load */
.hero-video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center 30%;
  filter:saturate(1.05) brightness(.55);
  transform:scale(1.04);
}
.hero::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(12,14,17,.98) 0%, rgba(12,14,17,.6) 42%, rgba(12,14,17,.35) 100%);
}
.hero-content{ position:relative; z-index:2; padding:0 0 76px; }
.hero h1{ font-size:clamp(2.3rem, 6vw, 4.3rem); font-weight:700; line-height:1.04; max-width:840px; }
.hero h1 em{ font-style:normal; color:transparent; background:var(--heat); -webkit-background-clip:text; background-clip:text; }
.hero p.lead{ max-width:560px; margin-top:22px; color:var(--ink-dim); font-size:1.08rem; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; margin-top:36px; }
.hero-stats{ display:flex; gap:40px; margin-top:64px; flex-wrap:wrap; border-top:1px solid rgba(242,240,232,.14); padding-top:28px; }
.hero-stats div strong{ font-family:var(--font-display); font-size:1.7rem; color:var(--ember-light); display:block; }
.hero-stats div span{ font-size:.76rem; color:var(--ink-dim); text-transform:uppercase; letter-spacing:.1em; }

.hero-explore{
  position:absolute; right:28px; bottom:28px; z-index:2;
  font-family:var(--font-mono); font-size:.68rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--ink); background:rgba(12,14,17,.55); border:1px solid rgba(255,255,255,.2);
  padding:9px 16px; border-radius:20px; backdrop-filter:blur(4px); transition:border-color .2s, color .2s;
}
.hero-explore:hover{ border-color:var(--ember-light); color:var(--ember-light); }
@media (max-width:720px){ .hero-explore{ display:none; } }

/* ==================================================== */
/* CATALOG DOWNLOAD                                      */
/* ==================================================== */
.catalog-box{
  display:flex; align-items:center; gap:28px; flex-wrap:wrap;
  background:var(--panel); border:1px solid var(--line); border-radius:12px;
  padding:36px 40px; box-shadow:var(--shadow-soft);
}
.catalog-icon{ font-size:2.6rem; flex-shrink:0; }
.catalog-copy{ flex:1; min-width:240px; }
.catalog-copy h2{ font-size:clamp(1.4rem,3vw,1.9rem); margin:6px 0 10px; }
.catalog-copy p{ color:var(--ink-dim); max-width:560px; }
.catalog-download{ flex-shrink:0; white-space:nowrap; }
@media (max-width:640px){
  .catalog-box{ padding:28px 24px; flex-direction:column; text-align:center; }
  .catalog-download{ width:100%; justify-content:center; }
}

/* ==================================================== */
/* SECTION HEAD — center variant                        */
/* ==================================================== */
.section-head.center{ max-width:640px; margin-left:auto; margin-right:auto; text-align:center; }

/* ==================================================== */
/* CAPABILITIES STRIP                                    */
/* ==================================================== */
.cap-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
.cap-card{
  background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:30px 18px;
  text-align:center; transition:transform .2s ease, border-color .2s ease;
}
.cap-card:hover{ transform:translateY(-4px); border-color:var(--ember); }
.cap-icon{
  width:56px; height:56px; margin:0 auto 16px; border-radius:50%; background:var(--bg-2);
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:1.5rem;
}
.cap-card h4{ font-size:.88rem; font-weight:600; letter-spacing:.01em; text-transform:none; }
@media (max-width:900px){ .cap-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .cap-grid{ grid-template-columns:repeat(2,1fr); } }

/* ==================================================== */
/* ABOUT                                                 */
/* ==================================================== */
.about-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:56px; align-items:center; }
.about-copy p{ color:var(--ink-dim); margin-top:18px; max-width:520px; }
.fact-list{ margin-top:34px; display:grid; gap:16px; }
.fact-list li{ display:flex; gap:14px; align-items:flex-start; color:var(--ink-dim); font-size:.95rem; border-left:2px solid var(--line); padding-left:16px; }
.fact-list b{ color:var(--ink); font-weight:600; min-width:150px; display:inline-block; font-family:var(--font-mono); letter-spacing:.02em; text-transform:uppercase; font-size:.72rem; padding-top:2px;}
.about-media{ position:relative; min-height:440px; }
.about-media-inner{ position:absolute; inset:0; border-radius:6px; overflow:hidden; z-index:1; }
.about-media-inner img{ width:100%; height:100%; object-fit:cover; }
.about-media-inner::before{ content:''; position:absolute; left:0; top:0; bottom:0; width:5px; background:var(--heat); z-index:2; }
.about-blob{
  position:absolute; width:180px; height:180px; border-radius:50%; z-index:0;
  background:radial-gradient(circle, var(--ember) 0%, transparent 70%); opacity:.45; filter:blur(6px);
  top:-40px; left:-40px;
}
.about-stats{ display:flex; gap:34px; margin-top:36px; flex-wrap:wrap; border-top:1px solid var(--line); padding-top:26px; }
.about-stats div strong{ font-family:var(--font-display); font-size:1.5rem; color:var(--ember-light); display:block; }
.about-stats div span{ font-size:.72rem; color:var(--ink-dim); text-transform:uppercase; letter-spacing:.08em; }
@media (max-width:900px){
  .about-grid{ grid-template-columns:1fr; gap:40px; }
  .about-media{ min-height:280px; }
}
@media (max-width:480px){
  .about-blob{ width:120px; height:120px; top:-24px; left:-24px; }
}

/* ==================================================== */
/* PRODUCTS                                              */
/* ==================================================== */
.note-banner{
  background:var(--panel); border-radius:4px; padding:18px 24px; display:flex; align-items:center; gap:14px;
  margin-bottom:48px; border-left:4px solid var(--ember); flex-wrap:wrap;
}
.note-banner strong{ font-family:var(--font-display); text-transform:uppercase; letter-spacing:.06em; color:var(--ember-light); font-size:.85rem; }
.note-banner span{ color:var(--ink-dim); font-size:.92rem; }

.products-layout{ display:grid; grid-template-columns:230px 1fr; gap:32px; align-items:start; }
.category-sidebar{
  background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:22px;
  position:sticky; top:100px;
}
.category-sidebar h4{ font-family:var(--font-display); text-transform:uppercase; letter-spacing:.06em; font-size:.85rem; margin-bottom:16px; }
.category-list{ display:flex; flex-direction:column; gap:6px; }
.cat-btn{
  text-align:left; background:none; border:none; color:var(--ink-dim); font-family:var(--font-body);
  font-size:.88rem; padding:9px 12px; border-radius:5px; cursor:pointer; transition:background .18s, color .18s;
}
.cat-btn:hover{ background:var(--bg-2); color:var(--ink); }
.cat-btn.active{ background:var(--heat); color:#0c0e11; font-weight:600; }
@media (max-width:900px){
  .products-layout{ grid-template-columns:1fr; }
  .category-sidebar{ position:static; padding:16px; }
  .category-list{ flex-direction:row; flex-wrap:wrap; gap:8px; }
  .cat-btn{ border:1px solid var(--line); }
}

.product-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
@media (max-width:1180px){ .product-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .product-grid{ grid-template-columns:1fr; } }

.product-card{
  background:var(--panel); border:1px solid var(--line); border-radius:6px; overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display:flex; flex-direction:column;
}
.product-card:hover{ transform:translateY(-6px); box-shadow:0 24px 48px -20px rgba(0,0,0,.6); border-color:var(--ember); }
.product-card .shot{ position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--bg-2); }
.product-card .shot img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.product-card:hover .shot img{ transform:scale(1.07); }
.product-card .shot::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:4px; background:var(--heat); }
.product-card .photo-count{
  position:absolute; top:10px; right:10px; z-index:2; background:rgba(12,14,17,.72); color:#fff;
  font-family:var(--font-mono); font-size:.68rem; padding:4px 9px; border-radius:20px; display:flex; align-items:center; gap:5px;
}
.product-card .body{ padding:22px 22px 26px; flex:1; display:flex; flex-direction:column; }
.product-card .tag{ font-family:var(--font-mono); font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; color:var(--ember-light); font-weight:500; margin-bottom:8px; }
.product-card h3{ font-size:1.05rem; letter-spacing:.01em; font-weight:600; }
.product-card p{ font-size:.88rem; color:var(--ink-dim); margin-top:10px; flex:1; }
.product-card .enquire{
  margin-top:16px; font-family:var(--font-display); font-size:.76rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--ember-light); font-weight:600; display:inline-flex; align-items:center; gap:6px;
}
.product-card .enquire::after{ content:'→'; transition:transform .2s; }
.product-card:hover .enquire::after{ transform:translateX(4px); }

.skeleton{ background:linear-gradient(90deg, var(--panel) 25%, var(--line) 50%, var(--panel) 75%); background-size:200% 100%; animation:shimmer 1.4s infinite; border-radius:6px; }
@keyframes shimmer{ from{ background-position:200% 0; } to{ background-position:-200% 0; } }

/* ==================================================== */
/* PHOTO GALLERY (grouped by product)                    */
/* ==================================================== */
.gallery-group{ margin-bottom:48px; }
.gallery-group:last-child{ margin-bottom:0; }
.gallery-group-head{ display:flex; align-items:baseline; gap:12px; margin-bottom:18px; flex-wrap:wrap; }
.gallery-group-head h4{ font-size:1.05rem; font-weight:600; letter-spacing:.01em; }
.gallery-group-head .count{ font-family:var(--font-mono); font-size:.72rem; color:var(--ember-light); letter-spacing:.06em; }
.gallery-thumbs{ display:grid; grid-template-columns:repeat(auto-fill, minmax(140px,1fr)); gap:12px; }
.gallery-thumb{
  aspect-ratio:1/1; border-radius:5px; overflow:hidden; cursor:pointer; border:1px solid var(--line);
  background:var(--bg-2); position:relative;
}
.gallery-thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.gallery-thumb:hover img{ transform:scale(1.08); }
@media (max-width:560px){
  .gallery-thumbs{ grid-template-columns:repeat(auto-fill, minmax(100px,1fr)); gap:8px; }
}

.tap-hint{ color:var(--ink-dim); font-size:.82rem; margin:-30px 0 26px; font-family:var(--font-mono); letter-spacing:.02em; }
.product-card{ cursor:pointer; }
.product-card .enquire{ position:relative; z-index:2; }

/* ==================================================== */
/* PRODUCT DETAIL MODAL                                  */
/* ==================================================== */
.modal-overlay{
  position:fixed; inset:0; z-index:500; background:rgba(8,9,11,.82);
  display:flex; align-items:center; justify-content:center; padding:20px;
  opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s ease;
}
.modal-overlay.open{ opacity:1; visibility:visible; }
/* Fixed, consistent size for every product — same box on laptop and phone,
   regardless of how long a given description is. Only the description text
   scrolls internally if it's long; the Enquire button is always visible. */
.modal-box{
  background:var(--panel); border:1px solid var(--line); border-radius:8px;
  max-width:820px; width:100%; height:min(80vh, 580px);
  display:grid; grid-template-columns:1fr 1fr; grid-template-rows:100%; position:relative;
  transform:translateY(20px); transition:transform .25s ease;
  overflow:hidden;
}
.modal-overlay.open .modal-box{ transform:translateY(0); }
.modal-close{
  position:absolute; top:14px; right:14px; z-index:3; width:36px; height:36px; border-radius:50%;
  background:rgba(12,14,17,.7); border:1px solid var(--line); color:var(--ink); font-size:1rem; cursor:pointer;
}
.modal-media{ background:var(--bg-2); height:100%; position:relative; overflow:hidden; }
.modal-media img{ width:100%; height:100%; object-fit:cover; }
.modal-nav{
  position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%;
  background:rgba(12,14,17,.55); border:1px solid rgba(255,255,255,.25); color:#fff; font-size:1.4rem;
  cursor:pointer; display:flex; align-items:center; justify-content:center; line-height:1; z-index:3;
  transition:background .18s;
}
.modal-nav:hover{ background:rgba(12,14,17,.85); }
.modal-nav.prev{ left:12px; }
.modal-nav.next{ right:12px; }
.modal-media.single .modal-nav,
.modal-media.single .modal-dots,
.modal-media.single .modal-count{ display:none; }
.modal-dots{
  position:absolute; left:0; right:0; bottom:14px; display:flex; justify-content:center; gap:7px; z-index:3;
}
.modal-dots span{
  width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.4); cursor:pointer; transition:background .18s, transform .18s;
}
.modal-dots span.active{ background:var(--ember-light); transform:scale(1.25); }
.modal-count{
  position:absolute; top:14px; left:14px; z-index:3; background:rgba(12,14,17,.6); color:#fff;
  font-family:var(--font-mono); font-size:.68rem; padding:4px 9px; border-radius:20px; letter-spacing:.04em;
}
.modal-body{ height:100%; padding:36px; display:flex; flex-direction:column; overflow:hidden; }
/* Only this inner region scrolls if a description happens to be long —
   the checkbox + Enquire button below it never move and never need a scroll */
.modal-body-scroll{ flex:1; min-height:0; overflow-y:auto; padding-right:4px; }
.modal-body .tag{ font-family:var(--font-mono); font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:var(--ember-light); font-weight:500; margin-bottom:10px; }
.modal-body h3{ font-size:1.4rem; font-weight:700; }
.modal-body p{ color:var(--ink-dim); margin-top:16px; font-size:.94rem; }
.modal-actions{ margin-top:16px; flex-shrink:0; display:flex; flex-direction:column; gap:14px; }
.modal-check{ display:flex; align-items:center; gap:10px; font-size:.88rem; color:var(--ink); cursor:pointer; }
.modal-check input{ width:18px; height:18px; accent-color:var(--ember); cursor:pointer; }
.modal-btn-row{ display:flex; gap:10px; }
.modal-btn-row .btn{ flex:1; justify-content:center; }

/* ==================================================== */
/* PRODUCT QUERY / ENQUIRY FORM MODAL (small popup)      */
/* ==================================================== */
.query-box{
  background:var(--panel); border:1px solid var(--line); border-radius:10px;
  max-width:440px; width:100%; padding:34px; position:relative;
  max-height:90vh; overflow-y:auto; box-shadow:var(--shadow-soft);
  transform:translateY(20px) scale(.98); transition:transform .25s ease;
}
.modal-overlay.open .query-box{ transform:translateY(0) scale(1); }
.query-box h3{ font-size:1.2rem; font-weight:700; margin-right:30px; margin-bottom:20px; text-transform:none; letter-spacing:0; }
.query-box .field{ margin-top:14px; }
.query-box .field:first-of-type{ margin-top:0; }
.query-box textarea{ min-height:90px; }
.query-box button[type="submit"]{ margin-top:22px; width:100%; justify-content:center; }
@media (max-width:480px){ .query-box{ padding:26px 20px; } }
@media (max-width:680px){
  .modal-box{ grid-template-columns:1fr; grid-template-rows:200px 1fr; height:min(92dvh, 640px); }
  .modal-media{ height:200px; }
  .modal-body{ padding:22px 20px; }
}
@media (max-height:560px){
  .modal-box{ height:92vh; grid-template-columns:1fr; }
  .modal-media{ display:none; } /* on very short viewports (landscape phones), prioritize the text + Enquire button */
}

/* ==================================================== */
/* MULTI-PRODUCT PICKER (enquiry form)                   */
/* ==================================================== */
.hint{ text-transform:none; letter-spacing:0; color:var(--ink-dim); font-size:.7rem; }
.product-picker{ position:relative; }
.product-picker-toggle{
  width:100%; text-align:left; display:flex; justify-content:space-between; align-items:center;
  border:1px solid var(--line); background:var(--bg-2); padding:12px 14px; border-radius:3px;
  font-family:var(--font-body); font-size:.94rem; color:var(--ink); cursor:pointer;
}
.product-picker-toggle:hover{ border-color:var(--ember); }
.product-picker-toggle .chev{ color:var(--ink-dim); transition:transform .2s; }
.product-picker.open .chev{ transform:rotate(180deg); }
.product-picker-panel{
  display:none; position:absolute; z-index:20; top:calc(100% + 6px); left:0; right:0;
  max-height:260px; overflow-y:auto; background:var(--bg-2); border:1px solid var(--line);
  border-radius:4px; padding:8px; box-shadow:0 20px 40px -16px rgba(0,0,0,.6);
}
.product-picker.open .product-picker-panel{ display:block; }
.picker-item{
  display:flex; align-items:center; gap:10px; padding:9px 8px; border-radius:3px; cursor:pointer; font-size:.88rem;
}
.picker-item:hover{ background:var(--panel); }
.picker-item input{ width:16px; height:16px; accent-color:var(--ember); cursor:pointer; flex-shrink:0; }
.picker-item .p-tag{ font-family:var(--font-mono); font-size:.62rem; color:var(--ember-light); text-transform:uppercase; margin-right:2px; }
.selected-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.chip{
  display:inline-flex; align-items:center; gap:6px; background:var(--bg-2); border:1px solid var(--line);
  border-radius:20px; padding:6px 8px 6px 14px; font-size:.78rem; color:var(--ink);
}
.chip button{ background:none; border:none; color:var(--ink-dim); cursor:pointer; font-size:.9rem; line-height:1; padding:2px; }
.chip button:hover{ color:var(--ember-light); }

/* ==================================================== */
/* PROCESS GALLERY                                       */
/* ==================================================== */
.process-grid{ display:grid; grid-template-columns:1.4fr 1fr; gap:16px; }
.process-grid .big{ grid-row:span 2; }
.process-grid figure{ position:relative; overflow:hidden; border-radius:6px; border:1px solid var(--line); }
.process-grid img{ width:100%; height:100%; object-fit:cover; min-height:200px; transition:transform .6s ease; }
.process-grid figure:hover img{ transform:scale(1.05); }
.process-grid figcaption{
  position:absolute; left:0; right:0; bottom:0; padding:18px 20px;
  background:linear-gradient(0deg, rgba(12,14,17,.94), transparent);
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.07em; font-size:.8rem; color:var(--ember-light);
}
@media (max-width:800px){ .process-grid{ grid-template-columns:1fr; } .process-grid .big{ grid-row:auto; } }

/* ==================================================== */
/* WHY US                                                */
/* ==================================================== */
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:900px){ .why-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .why-grid{ grid-template-columns:1fr; } }
.why-card{ background:var(--panel); padding:34px 26px; border-radius:10px; text-align:center; border:1px solid var(--line); transition:transform .2s ease, border-color .2s ease; }
.why-card:hover{ transform:translateY(-4px); border-color:var(--ember); }
.why-icon{
  width:60px; height:60px; margin:0 auto 18px; border-radius:50%; background:var(--bg-2);
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:1.6rem;
}
.why-card h4{ font-size:1rem; font-weight:600; letter-spacing:0; text-transform:none; }
.why-card p{ margin-top:10px; font-size:.87rem; color:var(--ink-dim); }

/* ==================================================== */
/* CONTACT                                               */
/* ==================================================== */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:44px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

.contact-info{ background:var(--panel); border:1px solid var(--line); padding:44px 38px; border-radius:6px; position:relative; overflow:hidden; }
.contact-info::before{ content:''; position:absolute; top:0; left:0; right:0; height:5px; background:var(--heat); }
.contact-info h3{ font-size:1.25rem; }
.contact-info p.small{ color:var(--ink-dim); margin-top:12px; font-size:.9rem; }
.contact-list{ margin-top:32px; display:grid; gap:22px; }
.contact-list li{ display:flex; gap:16px; align-items:flex-start; }
.contact-list .ic{ width:40px; height:40px; border-radius:50%; background:var(--bg-2); display:flex; align-items:center; justify-content:center; flex-shrink:0; border:1px solid var(--line); }
.contact-list b{ display:block; font-family:var(--font-mono); font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ember-light); }
.contact-list span, .contact-list a{ font-size:.92rem; color:var(--ink-dim); }
.contact-list a:hover{ color:var(--ember-light); }
.quick-actions{ margin-top:34px; display:flex; gap:12px; flex-wrap:wrap; }

/* Location map (full-width, below the contact grid) */
.map-embed{
  margin-top:48px; border:1px solid var(--line); border-radius:8px; overflow:hidden;
  position:relative; background:var(--bg-2);
}
.map-embed iframe{
  width:100%; height:380px; border:0; display:block; filter:saturate(.9);
}
[data-theme="light"] .map-embed iframe{ filter:none; }
.map-directions{
  display:block; padding:14px 20px; font-family:var(--font-mono);
  font-size:.76rem; letter-spacing:.03em; text-transform:none; color:var(--ember-light);
  border-top:1px solid var(--line); background:var(--panel);
}
.map-directions:hover{ color:var(--ember); }
@media (max-width:720px){ .map-embed iframe{ height:280px; } }
@media (max-width:560px){ .map-embed iframe{ height:220px; } .map-directions{ font-size:.7rem; padding:12px 16px; } }

.contact-form{ background:var(--panel); border:1px solid var(--line); padding:40px; border-radius:6px; }
.contact-form h3{ font-size:1.15rem; }
.contact-form p.small{ color:var(--ink-dim); margin-top:10px; font-size:.88rem; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:24px; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:8px; margin-top:16px; }
.form-row .field{ margin-top:0; }
.field label{ font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-dim); font-weight:600; font-family:var(--font-mono); }
.field input, .field select, .field textarea{
  border:1px solid var(--line); background:var(--bg-2); padding:12px 14px; border-radius:3px;
  font-family:var(--font-body); font-size:.94rem; color:var(--ink); outline:none; transition:border-color .18s;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--ember); }
.field textarea{ resize:vertical; min-height:110px; }
.contact-form .btn-fill{ width:100%; justify-content:center; margin-top:24px; padding:14px; font-size:.85rem; }

/* ==================================================== */
/* FOOTER                                                */
/* ==================================================== */
footer{ background:var(--bg-2); border-top:1px solid var(--line); padding:56px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr .8fr 1.1fr .9fr; gap:36px; }
@media (max-width:960px){ .footer-grid{ grid-template-columns:1fr 1fr; gap:30px; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; gap:30px; } }
.footer-brand{ display:flex; gap:12px; align-items:center; }
.footer-brand img{ height:36px; }
.footer-brand strong{ font-family:var(--font-display); font-size:1.08rem; letter-spacing:.03em; }
footer p.tag{ margin-top:14px; font-size:.86rem; max-width:320px; color:var(--ink-dim); }
footer h5{ font-family:var(--font-display); text-transform:uppercase; letter-spacing:.1em; font-size:.8rem; margin-bottom:16px; color:var(--ink); }
footer ul li{ margin-bottom:18px; font-size:.88rem; color:var(--ink-dim); line-height:1.6; }
footer ul li:last-child{ margin-bottom:0; }
footer ul li b{ display:block; color:var(--ink); font-family:var(--font-mono); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:6px; }
footer ul li span{ display:block; }
footer ul li a:hover{ color:var(--ember-light); }
.footer-bottom{ margin-top:48px; padding-top:24px; border-top:1px solid var(--line); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.78rem; color:var(--ink-dim); }
.footer-bottom a{ color:var(--ink-dim); }
.footer-bottom a:hover{ color:var(--ember-light); }

/* ==================================================== */
/* FIRST-VISIT COOKIE / NOTICE BANNER                     */
/* ==================================================== */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:2000;
  background:rgba(10,11,14,.97); color:#f2f0e8; border-top:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  padding:18px 28px; box-shadow:0 -12px 30px -10px rgba(0,0,0,.5);
  transform:translateY(120%); transition:transform .55s cubic-bezier(.22,1,.36,1);
}
.cookie-banner.show{ transform:translateY(0); }
.cookie-banner p{ font-size:.86rem; margin:0; flex:1; min-width:240px; color:#dcdcdc; }
.cookie-banner a{ color:var(--ember-light); text-decoration:underline; }
.cookie-actions{ display:flex; gap:10px; flex-shrink:0; }
.cookie-actions .btn{ padding:10px 22px; border-radius:3px; }
.cookie-decline{ background:#c0392b; color:#fff; border-color:transparent; }
.cookie-decline:hover{ background:#a5301f; }
.cookie-accept{ background:#fff; color:#111; border-color:transparent; }
.cookie-accept:hover{ background:#e9e9e9; }
@media (max-width:560px){
  .cookie-banner{ flex-direction:column; align-items:flex-start; padding:18px 20px; }
  .cookie-actions{ width:100%; }
  .cookie-actions .btn{ flex:1; justify-content:center; }
}

/* WhatsApp floating button */
.whatsapp-float{
  position:fixed; bottom:24px; right:24px; z-index:200; width:56px; height:56px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px -8px rgba(0,0,0,.6); transition:transform .2s;
}
.whatsapp-float:hover{ transform:scale(1.08); }

/* Extra polish: very small phones */
@media (max-width:400px){
  .wrap{ padding:0 18px; }
  .hero-stats{ gap:22px; margin-top:44px; }
  .nav-cta{ gap:8px; }
  .nav-cta .btn{ padding:9px 14px; font-size:.7rem; }
  .brand .name span{ display:none; }
  .contact-form, .contact-info{ padding:26px 20px; }
  .cap-grid{ grid-template-columns:1fr 1fr; gap:12px; }
  .cap-card{ padding:20px 12px; }
  .about-stats{ gap:22px; }
  .category-sidebar{ padding:14px; }
}

/* Tablet portrait tightening (iPad-class devices) */
@media (min-width:721px) and (max-width:900px){
  .hero-stats{ gap:28px; }
  .why-grid{ grid-template-columns:repeat(2,1fr); }
}

/* Short-viewport / landscape phones: hero was overflowing viewport height */
@media (max-height:480px) and (orientation:landscape){
  .hero{ min-height:auto; padding-top:120px; padding-bottom:60px; }
  .hero-stats{ margin-top:32px; padding-top:18px; }
}

/* Global overflow safety: long addresses/emails/URLs must wrap, never force horizontal scroll */
h1, h2, h3, h4, p, a, span, li{ overflow-wrap:anywhere; }
html, body{ max-width:100%; overflow-x:hidden; }
.wrap{ width:100%; }

/* Ultra-narrow phones (<=360px) */
@media (max-width:360px){
  h1{ font-size:1.9rem; }
  h2{ font-size:1.5rem; }
  .btn{ padding:10px 16px; font-size:.72rem; }
  .hero-actions{ gap:10px; }
  .why-card, .contact-info, .contact-form{ padding:22px 18px; }
}

/* ==================================================== */
/* LEGAL PAGES (Privacy Policy / Terms & Conditions)      */
/* ==================================================== */
.legal-page{ padding:70px 0 100px; }
.legal-card{
  max-width:860px; margin:0 auto; background:var(--panel); border:1px solid var(--line);
  border-radius:10px; padding:48px; box-shadow:var(--shadow-soft); position:relative; overflow:hidden;
}
.legal-card::before{ content:''; position:absolute; top:0; left:0; right:0; height:5px; background:var(--heat); }
.legal-card h1{ font-size:clamp(1.6rem,4vw,2.2rem); margin-bottom:10px; }
.legal-card .updated{ font-family:var(--font-mono); font-size:.74rem; letter-spacing:.05em; color:var(--ink-dim); text-transform:uppercase; margin-bottom:30px; }
.legal-card > p.intro{ color:var(--ink-dim); margin-bottom:8px; }
.legal-card h2{ font-size:1.15rem; margin-top:32px; margin-bottom:10px; color:var(--ember-light); text-transform:none; letter-spacing:0; }
.legal-card p{ color:var(--ink-dim); font-size:.95rem; margin-top:8px; }
.legal-card ul{ margin-top:10px; padding-left:0; }
.legal-card ul li{ color:var(--ink-dim); font-size:.95rem; padding-left:20px; position:relative; margin-top:8px; }
.legal-card ul li::before{ content:'—'; position:absolute; left:0; color:var(--ember); }
.legal-card a{ color:var(--ember-light); text-decoration:underline; }
@media (max-width:640px){ .legal-card{ padding:30px 22px; } }

.visually-hidden{ position:absolute; width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0); }
a:focus-visible, button:focus-visible{ outline:2px solid var(--ember); outline-offset:2px; }
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important; scroll-behavior:auto !important; }
  .hero-video{ display:none; } /* falls back to the still hero image (::before) */
}
