/* ==========================================================================
   JAGSA CO. LTD., Design System
   Signature motif: the ascending chevron (from the mark) recurs as a
   structural device, section dividers, hovers, stat underlines, the way
   a roofline repeats across a row of buildings.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,500;0,600;0,700;0,800;0,900;1,600&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  /* --- Brand: pulled directly from the mark --- */
  --teal-900:#0C393D;
  --teal-800:#0F4448;
  --teal-700:#1B6E75;   /* primary */
  --teal-600:#227981;
  --teal-500:#2E8F97;
  --teal-100:#DCEBEC;
  --orange-700:#A5501F;
  --orange-600:#C9622D; /* accent */
  --orange-500:#DE7440;
  --orange-100:#F7E2D3;

  /* --- Neutrals: cool, not cream, keeps the industrial read --- */
  --paper:#F4F6F6;
  --paper-dim:#EDF0F0;
  --white:#FFFFFF;
  --surface:#FFFFFF;
  --line:#DCE3E2;
  --line-dark:#1E4C50;
  --ink:#182225;
  --ink-soft:#4C5B5D;
  --ink-faint:#7C8A8B;

  /* --- Type --- */
  --f-display:'Archivo', sans-serif;
  --f-body:'Inter', sans-serif;
  --f-mono:'IBM Plex Mono', monospace;

  /* --- Rhythm --- */
  --container:1240px;
  --radius:6px;
  --ease:cubic-bezier(.22,.9,.32,1);
  --shadow-sm:0 1px 2px rgba(12,57,61,.06), 0 1px 1px rgba(12,57,61,.04);
  --shadow-md:0 12px 28px -12px rgba(12,57,61,.22);
  --shadow-lg:0 24px 56px -20px rgba(12,57,61,.30);
}

/* ==========================================================================
   DARK THEME
   Same semantic variables, dark values. Brand teal/orange stay saturated
   and legible on dark surfaces, so they are left mostly untouched.
   ========================================================================== */
[data-theme="dark"]{
  --paper:#0B1414;
  --paper-dim:#0F1A1A;
  --white:#132322;
  --surface:#132322;
  --line:#24393A;
  --line-dark:#2E4B4C;
  --ink:#E8EFEF;
  --ink-soft:#B7C6C6;
  --ink-faint:#7E9494;
  --teal-100:#193334;
  --orange-100:#2E2015;
  --shadow-sm:0 1px 2px rgba(0,0,0,.35), 0 1px 1px rgba(0,0,0,.25);
  --shadow-md:0 12px 28px -12px rgba(0,0,0,.55);
  --shadow-lg:0 24px 56px -20px rgba(0,0,0,.65);
}
[data-theme="dark"] .site-header.is-solid{ background:rgba(11,20,20,.88); }
[data-theme="dark"] body.page-inner .site-header{ background:rgba(11,20,20,.94); }
[data-theme="dark"] .hero,
[data-theme="dark"] .page-hero{ background:#081010; }
[data-theme="dark"] .site-footer{ background:#081010; }
[data-theme="dark"] .cta-band{ box-shadow:var(--shadow-md); }
[data-theme="dark"] img[src*="logo_transparent"]{ filter:brightness(1.06); }
[data-theme="dark"] .blueprint{ opacity:.05; }

html{ transition:background-color .35s ease; }
body, .site-header, .cat-card, .prod-card, .pcard, .contact-card, .mission-card,
.credentials-band, .filter-panel, .quote-form, .testi-card, .blog-note{
  transition:background-color .35s ease, color .35s ease, border-color .35s ease;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  margin:0;
  font-family:var(--f-body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  position:relative;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; font-size:1rem; }
:focus-visible{ outline:2px solid var(--orange-600); outline-offset:3px; }

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 28px; }

/* --- Type scale --- */
h1,h2,h3,h4{ font-family:var(--f-display); color:var(--teal-900); line-height:1.08; margin:0; letter-spacing:-.01em; }
h1{ font-weight:800; font-size:clamp(2.4rem, 4.4vw, 4.2rem); }
h2{ font-weight:800; font-size:clamp(1.9rem, 3.1vw, 2.75rem); }
h3{ font-weight:700; font-size:clamp(1.25rem, 1.7vw, 1.55rem); }
h4{ font-weight:700; font-size:1.05rem; }
p{ margin:0; }
.lede{ font-size:1.15rem; color:var(--ink-soft); line-height:1.7; }

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--f-mono); font-size:.72rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--orange-600);
}
.eyebrow::before{
  content:''; width:22px; height:2px; background:var(--orange-600); display:inline-block; border-radius:1px;
}
.eyebrow.on-dark{ color:var(--orange-500); }

.section{ padding:96px 0; position:relative; }
.section--tight{ padding:64px 0; }
.section--dark{ background:var(--teal-900); color:rgba(255,255,255,.88); }
.section--dark h2, .section--dark h3, .section--dark h4{ color:#fff; }
.section--sub{ background:var(--paper-dim); }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ margin-top:14px; }
.section-head p{ margin-top:16px; }

/* --- Blueprint grid texture, used sparingly on dark sections --- */
.blueprint{
  position:absolute; inset:0; pointer-events:none; opacity:.07;
  background-image:
    linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px);
  background-size:42px 42px;
}

/* --- Buttons --- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 28px; border-radius:3px; font-family:var(--f-display); font-weight:700;
  font-size:.95rem; letter-spacing:.01em; border:1.5px solid transparent;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .25s ease, border-color .25s ease, color .25s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--orange-600); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--orange-700); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-ghost{ background:transparent; color:var(--teal-900); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--teal-700); color:var(--teal-700); transform:translateY(-2px); }
.btn-on-dark{ background:transparent; color:#fff; border-color:rgba(255,255,255,.35); }
.btn-on-dark:hover{ border-color:#fff; background:rgba(255,255,255,.08); transform:translateY(-2px); }
.btn-block{ width:100%; }
.btn svg{ width:16px; height:16px; flex:none; transition:transform .3s var(--ease); }
.btn:hover svg{ transform:translateX(3px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar{
  background:var(--teal-900); color:rgba(255,255,255,.82); font-family:var(--f-mono);
  font-size:.76rem; letter-spacing:.02em;
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; height:38px; }
.topbar-links{ display:flex; gap:22px; align-items:center; }
.topbar-links a{ display:flex; align-items:center; gap:6px; transition:color .2s ease; }
.topbar-links a:hover{ color:var(--orange-500); }
.topbar-links svg{ width:13px; height:13px; }
.topbar-note{ opacity:.75; }
.topbar-note b{ color:#fff; font-weight:600; }

.site-header{
  position:sticky; top:0; z-index:200; background:transparent;
  transition:background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
  border-bottom:1px solid transparent;
}
.site-header.is-solid{ background:rgba(244,246,246,.92); backdrop-filter:blur(10px); box-shadow:var(--shadow-sm); border-color:var(--line); }
body.page-inner .site-header{ background:rgba(244,246,246,.96); backdrop-filter:blur(10px); border-color:var(--line); }

.nav{ display:flex; align-items:center; justify-content:space-between; height:84px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:52px; width:auto; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text .name{ font-family:var(--f-display); font-weight:800; font-size:1.28rem; color:var(--teal-800); letter-spacing:-.01em; }
.brand-text .tag{ font-family:var(--f-mono); font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-faint); }

.nav-links{ display:flex; align-items:center; gap:2px; }
.nav-links a{
  padding:10px 16px; font-family:var(--f-display); font-weight:600; font-size:.92rem;
  color:var(--ink); position:relative; transition:color .2s ease;
}
.nav-links a::after{
  content:''; position:absolute; left:16px; right:16px; bottom:6px; height:2px; background:var(--orange-600);
  transform:scaleX(0); transform-origin:left; transition:transform .3s var(--ease);
}
.nav-links a:hover{ color:var(--teal-700); }
.nav-links a:hover::after{ transform:scaleX(1); }
.nav-links a.active{ color:var(--teal-700); }
.nav-links a.active::after{ transform:scaleX(1); }

.nav-cta{ display:flex; align-items:center; gap:12px; }
.hamburger{ display:none; width:44px; height:44px; border:1px solid var(--line); border-radius:3px; background:var(--surface); align-items:center; justify-content:center; }
.hamburger span, .hamburger span::before, .hamburger span::after{
  content:''; display:block; width:18px; height:2px; background:var(--teal-900); position:relative; transition:transform .3s var(--ease), opacity .3s ease;
}
.hamburger span::before{ position:absolute; top:-6px; }
.hamburger span::after{ position:absolute; top:6px; }
.hamburger.is-open span{ background:transparent; }
.hamburger.is-open span::before{ top:0; transform:rotate(45deg); background:var(--teal-900); }
.hamburger.is-open span::after{ top:0; transform:rotate(-45deg); background:var(--teal-900); }

.mobile-panel{
  position:fixed; inset:0 0 0 auto; width:min(88vw, 360px); background:var(--surface); z-index:300;
  transform:translateX(100%); transition:transform .45s var(--ease); box-shadow:var(--shadow-lg);
  padding:26px 26px 40px; overflow-y:auto;
}
.mobile-panel.is-open{ transform:translateX(0); }
.mobile-scrim{
  position:fixed; inset:0; background:rgba(12,57,61,.45); z-index:290; opacity:0; pointer-events:none; transition:opacity .35s ease;
}
.mobile-scrim.is-open{ opacity:1; pointer-events:auto; }
.mobile-panel-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:30px; }
.mobile-panel a{ display:block; padding:14px 4px; font-family:var(--f-display); font-weight:700; font-size:1.1rem; color:var(--teal-900); border-bottom:1px solid var(--line); }
.mobile-panel .btn{ margin-top:24px; }

/* ==========================================================================
   HERO, layered chevrons drawing in
   ========================================================================== */
.hero{
  position:relative; overflow:hidden; background:var(--teal-900);
  padding:64px 0 0;
  min-height:min(94vh, 860px);
  display:flex; align-items:center;
}
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center; width:100%; position:relative; z-index:2; }
.hero-copy .eyebrow{ margin-bottom:22px; }
.hero h1{ color:#fff; }
.hero h1 em{ font-style:normal; color:var(--orange-500); }
.hero .lede{ color:rgba(255,255,255,.72); margin-top:24px; max-width:520px; }
.hero-actions{ display:flex; gap:16px; margin-top:36px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:38px; margin-top:56px; padding-top:32px; border-top:1px solid rgba(255,255,255,.14); }
.hero-stat .num{ font-family:var(--f-display); font-weight:800; font-size:2.1rem; color:#fff; display:flex; align-items:baseline; gap:2px; }
.hero-stat .num .chevron-mark{ width:14px; height:14px; margin-left:4px; opacity:.9; }
.hero-stat .label{ font-family:var(--f-mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.55); margin-top:4px; }

.hero-art{ position:relative; height:100%; min-height:460px; }
.chev{ position:absolute; left:50%; transform:translateX(-50%); opacity:0; }
.chev svg{ display:block; filter:drop-shadow(0 18px 30px rgba(0,0,0,.28)); }
.hero-art .chev-1{ bottom:6%; width:88%; z-index:3; }
.hero-art .chev-2{ bottom:26%; width:70%; z-index:2; }
.hero-art .chev-3{ bottom:44%; width:52%; z-index:1; }
.hero-art .chev-glow{
  position:absolute; left:50%; top:38%; transform:translate(-50%,-50%);
  width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle, rgba(46,143,151,.35), transparent 70%);
}

.hero-bottom-fade{ position:absolute; left:0; right:0; bottom:0; height:120px; background:linear-gradient(180deg, transparent, var(--teal-900)); z-index:1; }
.hero .blueprint{ z-index:1; }

/* ==========================================================================
   CATEGORY / PRODUCT CARDS
   ========================================================================== */
.cat-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:24px; }
.cat-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:30px 26px 26px;
  position:relative; overflow:hidden; transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s ease;
}
.cat-card:hover{ box-shadow:var(--shadow-md); border-color:transparent; }
.cat-icon{ width:52px; height:52px; display:flex; align-items:center; justify-content:center; background:var(--teal-100); border-radius:10px; margin-bottom:20px; transition:background .3s ease; }
.cat-icon svg{ width:26px; height:26px; color:var(--teal-700); }
.cat-card:hover .cat-icon{ background:var(--teal-700); }
.cat-card:hover .cat-icon svg{ color:#fff; }
.cat-card h3{ margin-bottom:8px; }
.cat-card p{ color:var(--ink-soft); font-size:.94rem; }
.cat-card .count{ font-family:var(--f-mono); font-size:.72rem; color:var(--ink-faint); margin-top:16px; display:block; }
.cat-underline{ position:absolute; left:26px; right:26px; bottom:0; height:3px; background:var(--orange-600); transform:scaleX(0); transform-origin:left; transition:transform .4s var(--ease); }
.cat-card:hover .cat-underline{ transform:scaleX(1); }

/* --- Why JAGSA --- */
.why-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; align-items:center; }
.why-list{ display:flex; flex-direction:column; gap:0; }
.why-item{ display:flex; gap:20px; padding:24px 0; border-top:1px solid var(--line); }
.why-item:last-child{ border-bottom:1px solid var(--line); }
.why-num{ font-family:var(--f-mono); font-size:.8rem; color:var(--orange-600); font-weight:600; padding-top:3px; flex:none; width:28px; }
.why-item h4{ margin-bottom:6px; }
.why-item p{ color:var(--ink-soft); font-size:.95rem; }
.why-visual{ position:relative; border-radius:var(--radius); overflow:hidden; background:var(--teal-800); aspect-ratio:4/5; }

/* --- Featured products --- */
.prod-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.prod-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.prod-card:hover{ box-shadow:var(--shadow-md); }
.prod-thumb{ aspect-ratio:1/1; background:var(--paper-dim); display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.prod-thumb svg{ width:62%; height:62%; transition:transform .45s var(--ease); }
.prod-card:hover .prod-thumb svg{ transform:scale(1.1) rotate(-2deg); }
.prod-tag{ position:absolute; top:12px; left:12px; background:var(--orange-600); color:#fff; font-family:var(--f-mono); font-size:.62rem; letter-spacing:.06em; text-transform:uppercase; padding:4px 9px; border-radius:2px; }
.prod-body{ padding:18px 20px 22px; }
.prod-cat{ font-family:var(--f-mono); font-size:.66rem; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-faint); }
.prod-body h4{ margin-top:6px; }
.prod-meta{ display:flex; align-items:center; justify-content:space-between; margin-top:14px; }
.prod-meta .stock{ display:flex; align-items:center; gap:6px; font-size:.78rem; color:var(--teal-700); font-weight:600; }
.prod-meta .stock::before{ content:''; width:7px; height:7px; border-radius:50%; background:var(--teal-700); }
.prod-link{ font-family:var(--f-display); font-weight:700; font-size:.82rem; color:var(--orange-600); }

/* --- Testimonials --- */
.testi-track{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.testi-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:32px; position:relative; }
.testi-card .quote-mark{ font-family:var(--f-display); font-size:3rem; color:var(--orange-100); line-height:1; position:absolute; top:18px; right:24px; }
.testi-stars{ display:flex; gap:3px; margin-bottom:18px; }
.testi-stars svg{ width:15px; height:15px; color:var(--orange-600); }
.testi-card p{ color:var(--ink-soft); font-size:.98rem; }
.testi-person{ display:flex; align-items:center; gap:12px; margin-top:24px; }
.testi-avatar{ width:42px; height:42px; border-radius:50%; background:var(--teal-700); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--f-display); font-weight:700; font-size:.9rem; }
.testi-person .who b{ display:block; font-family:var(--f-display); font-size:.92rem; color:var(--teal-900); }
.testi-person .who span{ font-size:.78rem; color:var(--ink-faint); }

/* --- Quick quote CTA band --- */
.cta-band{
  background:var(--teal-800); border-radius:10px; padding:56px 60px; position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:space-between; gap:40px; color:#fff;
}
.cta-band .chevron-deco{ position:absolute; right:-40px; top:50%; transform:translateY(-50%); opacity:.15; width:280px; }
.cta-band h2{ color:#fff; max-width:480px; }
.cta-band p{ color:rgba(255,255,255,.7); margin-top:12px; max-width:440px; }
.cta-band-actions{ flex:none; display:flex; gap:14px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background:var(--teal-900); color:rgba(255,255,255,.72); padding-top:76px; position:relative; overflow:hidden; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,.12); position:relative; z-index:2; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer-brand img{ height:44px; }
.footer-brand .name{ font-family:var(--f-display); font-weight:800; color:#fff; font-size:1.15rem; }
.footer-tagline{ font-family:var(--f-mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--orange-500); margin-bottom:18px; display:block; }
.site-footer p{ font-size:.9rem; line-height:1.7; }
.footer-col h4{ color:#fff; font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; font-family:var(--f-mono); font-weight:600; margin-bottom:18px; }
.footer-col ul li{ margin-bottom:12px; }
.footer-col ul a{ font-size:.9rem; transition:color .2s ease, padding-left .2s ease; display:inline-block; }
.footer-col ul a:hover{ color:var(--orange-500); padding-left:4px; }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; font-size:.9rem; }
.footer-contact svg{ width:16px; height:16px; flex:none; margin-top:3px; color:var(--orange-500); }
.footer-social{ display:flex; gap:10px; margin-top:20px; }
.footer-social a{ width:36px; height:36px; border:1px solid rgba(255,255,255,.2); border-radius:50%; display:flex; align-items:center; justify-content:center; transition:all .25s ease; }
.footer-social a:hover{ background:var(--orange-600); border-color:var(--orange-600); transform:translateY(-3px); }
.footer-social svg{ width:16px; height:16px; }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; padding:24px 0; font-size:.8rem; color:rgba(255,255,255,.5); position:relative; z-index:2; flex-wrap:wrap; gap:12px; }
.footer-bottom-links{ display:flex; gap:20px; }
.site-footer .blueprint{ opacity:.04; }

/* --- Floating WhatsApp --- */
.wa-float{
  position:fixed; right:24px; bottom:24px; z-index:250;
  width:60px; height:60px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center; box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.wa-float svg{ width:30px; height:30px; color:#fff; }
.wa-float::before{
  content:''; position:absolute; inset:0; border-radius:50%; background:#25D366; animation:pulse 2.4s ease-out infinite; z-index:-1;
}
@keyframes pulse{
  0%{ transform:scale(1); opacity:.55; }
  100%{ transform:scale(1.9); opacity:0; }
}

/* ==========================================================================
   PAGE HEADER (inner pages)
   ========================================================================== */
.page-hero{ background:var(--teal-900); padding:170px 0 70px; position:relative; overflow:hidden; color:#fff; }
.page-hero .container{ position:relative; z-index:2; }
.crumb{ font-family:var(--f-mono); font-size:.76rem; color:rgba(255,255,255,.55); margin-bottom:18px; display:flex; gap:8px; align-items:center; }
.crumb a:hover{ color:var(--orange-500); }
.page-hero h1{ color:#fff; }
.page-hero p{ color:rgba(255,255,255,.65); margin-top:16px; max-width:560px; font-size:1.05rem; }
.page-hero-chevrons{ position:absolute; right:-60px; bottom:-40px; width:340px; opacity:.13; z-index:1; }

/* ==========================================================================
   REVEAL (scroll animation hook)
   ========================================================================== */
.reveal{ opacity:0; transform:translateY(26px); }
.reveal.stagger > *{ opacity:0; transform:translateY(22px); }

/* ==========================================================================
   MARQUEE TICKER
   ========================================================================== */
.marquee{ background:var(--teal-800); overflow:hidden; padding:16px 0; position:relative; }
.marquee-track{ display:flex; width:max-content; animation:marquee-scroll 32s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state:paused; }
.marquee-item{ display:flex; align-items:center; gap:12px; padding:0 32px; font-family:var(--f-display); font-weight:700; font-size:.92rem; letter-spacing:.04em; text-transform:uppercase; color:rgba(255,255,255,.85); white-space:nowrap; }
.marquee-item svg{ width:16px; height:16px; color:var(--orange-500); flex:none; }
.marquee-dot{ width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,.3); }
@keyframes marquee-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* ==========================================================================
   CONTINUOUS FLOAT (post entrance-animation ambient motion)
   ========================================================================== */
@keyframes float-bob{
  0%, 100%{ transform:translate(-50%, 0); }
  50%{ transform:translate(-50%, -10px); }
}
.hero-art .chev.is-floating{ animation:float-bob 5s ease-in-out infinite; }
.hero-art .chev-2.is-floating{ animation-delay:.3s; animation-duration:5.6s; }
.hero-art .chev-3.is-floating{ animation-delay:.6s; animation-duration:6.2s; }

@keyframes glow-pulse{
  0%, 100%{ opacity:.35; transform:translate(-50%,-50%) scale(1); }
  50%{ opacity:.55; transform:translate(-50%,-50%) scale(1.08); }
}
.hero-art .chev-glow{ animation:glow-pulse 4.5s ease-in-out infinite; }

/* ==========================================================================
   ANIMATED GRADIENT (cta-band ambient shimmer)
   ========================================================================== */
.cta-band{ background:linear-gradient(120deg, var(--teal-800), var(--teal-900), var(--teal-700), var(--teal-900)); background-size:300% 300%; animation:gradient-shift 12s ease infinite; }
@keyframes gradient-shift{
  0%{ background-position:0% 50%; }
  50%{ background-position:100% 50%; }
  100%{ background-position:0% 50%; }
}

/* ==========================================================================
   TILT-ON-HOVER
   Applied via JS as inline transforms on card elements, so it composes
   with each card's own hover lift instead of fighting it in the cascade.
   ========================================================================== */

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%; z-index:400;
  background:linear-gradient(90deg, var(--orange-600), var(--teal-500));
  transition:width .12s linear;
}

/* ==========================================================================
   BUTTON SHINE SWEEP
   ========================================================================== */
.btn-primary{ position:relative; overflow:hidden; }
.btn-primary::before{
  content:''; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform:skewX(-20deg); transition:left .6s var(--ease);
}
.btn-primary:hover::before{ left:130%; }

/* ==========================================================================
   UTILITY TOGGLES: theme switch + language switch
   ========================================================================== */
.utility-toggles{ display:flex; align-items:center; gap:8px; margin-right:6px; }

.theme-toggle{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:var(--surface);
  display:flex; align-items:center; justify-content:center; position:relative; flex:none;
  transition:border-color .2s ease, background .3s ease;
}
.theme-toggle:hover{ border-color:var(--teal-600); }
.theme-toggle svg{ width:18px; height:18px; position:absolute; color:var(--teal-700); transition:opacity .3s ease, transform .4s var(--ease); }
.theme-toggle .icon-sun{ opacity:1; transform:rotate(0deg) scale(1); }
.theme-toggle .icon-moon{ opacity:0; transform:rotate(-90deg) scale(.5); }
[data-theme="dark"] .theme-toggle .icon-sun{ opacity:0; transform:rotate(90deg) scale(.5); }
[data-theme="dark"] .theme-toggle .icon-moon{ opacity:1; transform:rotate(0deg) scale(1); color:var(--orange-500); }

.lang-switch{ position:relative; flex:none; }
.lang-current{
  height:40px; padding:0 12px; border-radius:20px; border:1px solid var(--line); background:var(--surface);
  display:flex; align-items:center; gap:6px; font-family:var(--f-display); font-weight:700; font-size:.8rem; color:var(--ink);
  transition:border-color .2s ease;
}
.lang-current:hover{ border-color:var(--teal-600); }
.lang-current svg{ width:14px; height:14px; color:var(--teal-700); }
.lang-current .chev{ width:9px; height:9px; margin-left:1px; transition:transform .25s ease; }
.lang-switch.is-open .lang-current .chev{ transform:rotate(180deg); }
.lang-menu{
  position:absolute; top:calc(100% + 8px); right:0; background:var(--surface); border:1px solid var(--line);
  border-radius:10px; box-shadow:var(--shadow-md); overflow:hidden; min-width:150px; z-index:120;
  opacity:0; transform:translateY(-6px); pointer-events:none; transition:opacity .2s ease, transform .2s var(--ease);
}
.lang-switch.is-open .lang-menu{ opacity:1; transform:translateY(0); pointer-events:auto; }
.lang-menu button{
  display:flex; align-items:center; justify-content:space-between; width:100%; padding:10px 14px;
  font-family:var(--f-body); font-size:.88rem; color:var(--ink); background:transparent; text-align:left;
  transition:background .15s ease;
}
.lang-menu button:hover{ background:var(--paper-dim); }
.lang-menu button.active{ color:var(--teal-700); font-weight:700; }
.lang-menu button .code{ font-family:var(--f-mono); font-size:.7rem; color:var(--ink-faint); }

@media (max-width: 1080px){
  .utility-toggles{ margin-right:0; }
  .lang-current span.label{ display:none; }
  .lang-current{ padding:0 10px; border-radius:50%; width:40px; justify-content:center; }
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top{
  position:fixed; right:92px; bottom:31px; z-index:249; width:46px; height:46px; border-radius:50%;
  background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-md);
  display:flex; align-items:center; justify-content:center; opacity:0; transform:translateY(12px) scale(.8);
  pointer-events:none; transition:opacity .3s ease, transform .3s var(--ease);
}
.back-to-top.is-visible{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.back-to-top svg{ width:18px; height:18px; color:var(--teal-700); }
.back-to-top:hover{ border-color:var(--teal-600); }

/* ==========================================================================
   CURSOR GLOW (hero ambient light following pointer)
   ========================================================================== */
.cursor-glow{
  position:absolute; width:420px; height:420px; border-radius:50%; pointer-events:none; z-index:1;
  background:radial-gradient(circle, rgba(222,116,64,.16), transparent 70%);
  transform:translate(-50%,-50%); opacity:0; transition:opacity .4s ease; left:0; top:0;
}
.hero:hover .cursor-glow{ opacity:1; }

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-launcher{
  position:fixed; right:24px; bottom:24px; z-index:250; width:60px; height:60px; border-radius:50%;
  background:var(--teal-700); display:flex; align-items:center; justify-content:center; box-shadow:0 10px 30px rgba(0,0,0,.25);
  border:none; transition:transform .3s var(--ease);
}
.chat-launcher:hover{ transform:scale(1.06); }
.chat-launcher svg{ width:26px; height:26px; color:#fff; transition:opacity .2s ease, transform .3s var(--ease); }
.chat-launcher .icon-close{ position:absolute; opacity:0; transform:rotate(-45deg) scale(.6); }
.chat-launcher.is-open .icon-chat{ opacity:0; transform:rotate(45deg) scale(.6); }
.chat-launcher.is-open .icon-close{ opacity:1; transform:rotate(0) scale(1); }
.chat-launcher .chat-dot{
  position:absolute; top:2px; right:2px; width:14px; height:14px; border-radius:50%; background:var(--orange-600);
  border:2px solid var(--paper); animation:pulse 2.4s ease-out infinite;
}
.chat-launcher.is-open .chat-dot{ display:none; }

.chat-panel{
  position:fixed; right:24px; bottom:96px; z-index:250; width:340px; max-height:70vh; max-width:calc(100vw - 48px);
  background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-lg);
  display:flex; flex-direction:column; overflow:hidden; transform:translateY(16px) scale(.96); opacity:0;
  pointer-events:none; transition:opacity .28s var(--ease), transform .28s var(--ease);
}
.chat-panel.is-open{ transform:translateY(0) scale(1); opacity:1; pointer-events:auto; }
.chat-head{ background:var(--teal-900); color:#fff; padding:16px 18px; display:flex; align-items:center; gap:12px; flex:none; }
.chat-head .avatar{ width:38px; height:38px; border-radius:50%; background:var(--orange-600); display:flex; align-items:center; justify-content:center; flex:none; }
.chat-head .avatar svg{ width:18px; height:18px; color:#fff; }
.chat-head b{ display:block; font-family:var(--f-display); font-size:.92rem; }
.chat-head .status{ display:flex; align-items:center; gap:6px; font-size:.74rem; color:rgba(255,255,255,.72); margin-top:2px; }
.chat-head .status::before{ content:''; width:7px; height:7px; border-radius:50%; background:#4ADE80; display:inline-block; }
.chat-body{ flex:1; overflow-y:auto; padding:16px 18px; display:flex; flex-direction:column; gap:12px; background:var(--paper-dim); }
.chat-msg{ max-width:85%; padding:10px 13px; border-radius:12px; font-size:.86rem; line-height:1.5; animation:chatIn .25s var(--ease); }
.chat-msg.bot{ background:var(--surface); border:1px solid var(--line); color:var(--ink); align-self:flex-start; border-bottom-left-radius:3px; }
.chat-msg.user{ background:var(--teal-700); color:#fff; align-self:flex-end; border-bottom-right-radius:3px; }
@keyframes chatIn{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:translateY(0); } }
.chat-quick{ display:flex; flex-direction:column; gap:8px; padding:4px 18px 16px; flex:none; background:var(--paper-dim); }
.chat-quick button{
  text-align:left; padding:10px 12px; border-radius:10px; border:1px solid var(--line); background:var(--surface);
  font-size:.83rem; color:var(--ink); transition:border-color .2s ease, background .2s ease;
}
.chat-quick button:hover{ border-color:var(--teal-600); background:var(--teal-100); }
.chat-foot{ padding:12px 14px; border-top:1px solid var(--line); flex:none; background:var(--surface); }
.chat-foot a{
  display:flex; align-items:center; justify-content:center; gap:8px; padding:10px; border-radius:10px;
  background:#25D366; color:#fff; font-family:var(--f-display); font-weight:700; font-size:.85rem;
}
.chat-foot a svg{ width:16px; height:16px; }
.chat-typing{ display:flex; gap:4px; padding:10px 13px; background:var(--surface); border:1px solid var(--line); border-radius:12px; align-self:flex-start; width:fit-content; }
.chat-typing span{ width:6px; height:6px; border-radius:50%; background:var(--ink-faint); animation:typingDot 1.2s infinite; }
.chat-typing span:nth-child(2){ animation-delay:.2s; }
.chat-typing span:nth-child(3){ animation-delay:.4s; }
@keyframes typingDot{ 0%,60%,100%{ transform:translateY(0); opacity:.4; } 30%{ transform:translateY(-4px); opacity:1; } }

@media (max-width: 640px){
  .chat-panel{ right:12px; bottom:88px; width:calc(100vw - 24px); }
  .chat-launcher{ right:16px; bottom:16px; }
  .back-to-top{ right:78px; bottom:23px; }
}

@media (prefers-reduced-motion: reduce){
  .marquee-track, .hero-art .chev.is-floating, .hero-art .chev-glow, .cta-band{ animation:none !important; }
  .scroll-progress{ display:none; }
  .btn-primary::before{ display:none; }
}
@media (max-width: 1080px){
  .nav-links{ display:none; }
  .nav-cta .btn-ghost{ display:none; }
  .hamburger{ display:flex; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-art{ min-height:340px; order:-1; }
  .cat-grid{ grid-template-columns:repeat(2,1fr); }
  .prod-grid{ grid-template-columns:repeat(2,1fr); }
  .why-grid{ grid-template-columns:1fr; gap:40px; }
  .testi-track{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .cta-band{ flex-direction:column; align-items:flex-start; text-align:left; padding:44px 32px; }
}
@media (max-width: 640px){
  .section{ padding:64px 0; }
  .topbar-note{ display:none; }
  .topbar .container{ justify-content:center; }
  .cat-grid{ grid-template-columns:1fr; }
  .prod-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:36px; }
  .hero-stats{ gap:22px; flex-wrap:wrap; }
  .page-hero{ padding:150px 0 56px; }
  .nav{ height:70px; }
  .brand img{ height:38px; }
  .nav-cta{ gap:8px; }
  .nav-cta .btn-primary{ padding:10px 14px; font-size:.82rem; }
  .container{ padding:0 18px; }
  .cta-band{ padding:32px 22px; }
  .cta-band .chevron-deco{ display:none; }
  .marquee-item{ font-size:.8rem; padding:0 20px; }
}
@media (max-width: 380px){
  .nav-cta .btn-primary{ padding:9px 12px; }
}
