/* ================================================
   SHRI KRISHNA INDUSTRIES — Design System
   Palette derived from brand logo (gear + flute + peacock feather)
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&family=Poppins:wght@300;400;500;600;700&display=swap');

:root{
  --primary-blue:#0B3D91;
  --dark-navy:#072C67;
  --steel-grey:#6F7785;
  --silver:#BFC5CD;
  --gold:#D9A321;
  --gold-light:#F0C866;
  --bg-light:#F7F9FC;
  --white:#FFFFFF;
  --text-dark:#1A1A1A;
  --text-light:#666666;
  --border:#E5EAF2;
  --hover-blue:#144FAF;
  --success:#16A34A;

  --font-head:'Playfair Display', serif;
  --font-body:'Poppins', sans-serif;

  --radius-sm:10px;
  --radius-md:18px;
  --radius-lg:28px;

  --shadow-soft: 0 10px 40px -12px rgba(11,61,145,0.14);
  --shadow-card: 0 4px 24px rgba(7,44,103,0.07);
  --shadow-hover: 0 20px 48px -14px rgba(11,61,145,0.28);

  --container: 1240px;
  --header-h: 100px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;overflow-x:hidden;}
body{
  font-family:var(--font-body);
  color:var(--text-dark);
  background:var(--bg-light);
  line-height:1.65;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
.container{max-width:var(--container);margin:0 auto;padding:0 24px;}
::selection{background:var(--gold);color:var(--dark-navy);}

/* scrollbar */
::-webkit-scrollbar{width:10px;}
::-webkit-scrollbar-track{background:var(--bg-light);}
::-webkit-scrollbar-thumb{background:var(--silver);border-radius:10px;}
::-webkit-scrollbar-thumb:hover{background:var(--primary-blue);}

h1,h2,h3,h4{font-family:var(--font-head);font-weight:700;color:var(--dark-navy);line-height:1.15;}
p{color:var(--text-light);}

.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--gold);font-weight:600;margin-bottom:16px;
}
.eyebrow::before{
  content:'';width:26px;height:2px;background:linear-gradient(90deg,var(--gold),transparent);
}

.section{padding:110px 0;position:relative;}
.section-tight{padding:70px 0;}
.section-head{max-width:680px;margin-bottom:56px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head h2{font-size:clamp(2rem,3.6vw,2.9rem);}
.section-head p{margin-top:16px;font-size:1.05rem;}

.section-alt{background:var(--white);}
.section-navy{background:var(--dark-navy);}
.section-navy h2,.section-navy h3,.section-navy h4{color:var(--white);}
.section-navy p{color:rgba(255,255,255,.68);}

/* buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:16px 34px;border-radius:100px;font-weight:600;font-size:.94rem;
  letter-spacing:.02em;transition:all .35s var(--ease);position:relative;overflow:hidden;
  white-space:nowrap;
}
.btn-gold{background:linear-gradient(135deg,var(--gold-light),var(--gold));color:var(--dark-navy);box-shadow:0 10px 30px -8px rgba(217,163,33,.55);}
.btn-gold:hover{transform:translateY(-3px);box-shadow:0 16px 38px -8px rgba(217,163,33,.7);}
.btn-outline{border:1.5px solid rgba(255,255,255,.55);color:var(--white);}
.btn-outline:hover{background:rgba(255,255,255,.12);border-color:var(--white);transform:translateY(-3px);}
.btn-navy{background:var(--primary-blue);color:var(--white);box-shadow:0 10px 26px -8px rgba(11,61,145,.5);}
.btn-navy:hover{background:var(--hover-blue);transform:translateY(-3px);}
.btn-ghost{border:1.5px solid var(--border);color:var(--primary-blue);}
.btn-ghost:hover{border-color:var(--primary-blue);background:rgba(11,61,145,.05);}
.btn-sm{padding:11px 22px;font-size:.85rem;}
.btn svg{width:18px;height:18px;flex-shrink:0;transition:transform .35s var(--ease);}
.btn:hover svg.arrow{transform:translateX(4px);}

/* ============ HEADER ============ */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  background:var(--white);
  padding:6px 0;border-bottom:1px solid var(--border);
  box-shadow:0 2px 18px rgba(7,44,103,.05);
  transition:padding .35s var(--ease),box-shadow .35s var(--ease);
}
.site-header.scrolled{padding:9px 0;box-shadow:0 6px 26px rgba(7,44,103,.09);}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;}

.brand{display:flex;align-items:center;gap:14px;min-width:0;}
.brand img{height:100px;width:auto;flex-shrink:0;transition:height .35s var(--ease);}
.site-header.scrolled .brand img{height:75px;}
.brand-text{font-family:var(--font-head);line-height:1.15;min-width:0;}
.brand-text .name{font-weight:800;font-size:1.22rem;color:var(--dark-navy);white-space:nowrap;}
.brand-text .tag{font-family:var(--font-body);font-size:.62rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);}

.main-nav{display:flex;align-items:center;gap:6px;}
.main-nav > li{position:relative;}
.main-nav > li > a{
  display:flex;align-items:center;gap:6px;padding:12px 20px;font-weight:500;font-size:.99rem;
  color:var(--text-dark);border-radius:100px;position:relative;
  transition:color .28s var(--ease),background .28s var(--ease);
}
.main-nav > li > a::after{
  content:'';position:absolute;left:20px;right:20px;bottom:6px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,var(--gold),var(--gold-light));
  transform:scaleX(0);transform-origin:left;transition:transform .32s var(--ease);
}
.main-nav > li > a:hover{color:var(--primary-blue);background:rgba(11,61,145,.05);}
.main-nav > li > a:hover::after,
.main-nav > li.active > a::after{transform:scaleX(1);}
.main-nav > li.active > a{color:var(--primary-blue);font-weight:600;}
.main-nav > li > a:focus-visible{outline:2px solid var(--primary-blue);outline-offset:2px;}
.main-nav > li > a svg{width:13px;height:13px;transition:transform .3s;}
.main-nav > li:hover > a svg{transform:rotate(180deg);}

.mega{
  position:absolute;top:calc(100% + 16px);left:50%;transform:translateX(-50%) translateY(10px);
  width:min(620px,92vw);background:var(--white);border-radius:var(--radius-md);box-shadow:var(--shadow-hover);
  padding:28px;display:grid;grid-template-columns:1.1fr 1fr;gap:24px;
  opacity:0;visibility:hidden;transition:all .3s var(--ease);border:1px solid var(--border);
}
.main-nav > li:hover .mega,
.main-nav > li:focus-within .mega{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.mega-col h5{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:14px;}
.mega-col a{display:flex;align-items:center;gap:10px;padding:9px 0;font-size:.9rem;color:var(--text-dark);transition:.25s;}
.mega-col a:hover{color:var(--primary-blue);padding-left:6px;}
.mega-promo{background:linear-gradient(155deg,var(--dark-navy),var(--primary-blue));border-radius:var(--radius-sm);padding:22px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:14px;}
.mega-promo h6{font-family:var(--font-head);font-size:1.1rem;margin-bottom:8px;}
.mega-promo p{color:rgba(255,255,255,.7);font-size:.82rem;}

.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;}
.header-actions .btn{padding:12px 24px;}
.icon-btn{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  border:1.5px solid var(--border);color:var(--primary-blue);transition:.3s;}
.icon-btn:hover{background:var(--gold);border-color:var(--gold);color:var(--dark-navy);transform:translateY(-2px);}
.icon-btn svg{width:18px;height:18px;}

.burger{display:none;width:46px;height:46px;border-radius:50%;align-items:center;justify-content:center;border:1.5px solid var(--border);transition:.3s;}
.burger:hover{background:var(--bg-light);}
.burger span{display:block;width:20px;height:2px;background:var(--primary-blue);position:relative;}
.burger span::before,.burger span::after{content:'';position:absolute;left:0;width:20px;height:2px;background:var(--primary-blue);transition:.3s;}
.burger span::before{top:-6px;}
.burger span::after{top:6px;}

/* ============ MOBILE NAV ============ */
.mobile-nav{
  position:fixed;top:0;right:-100%;width:min(360px,86vw);height:100vh;background:var(--white);
  z-index:1200;padding:32px 26px;transition:right .45s var(--ease);box-shadow:-20px 0 50px rgba(0,0,0,.15);
  overflow-y:auto;
}
.mobile-nav.open{right:0;}
.mobile-nav-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;}
.mobile-nav-head img{height:48px;width:auto;}
.mobile-close{width:38px;height:38px;border-radius:50%;background:var(--bg-light);display:flex;align-items:center;justify-content:center;}
.mobile-nav ul li a{display:flex;justify-content:space-between;padding:16px 4px;font-weight:500;border-bottom:1px solid var(--border);color:var(--text-dark);}
.mobile-nav .btn{width:100%;margin-top:24px;}
.overlay{position:fixed;inset:0;background:rgba(7,44,103,.55);backdrop-filter:blur(3px);z-index:1100;opacity:0;visibility:hidden;transition:.4s;}
.overlay.open{opacity:1;visibility:visible;}

/* ============ HERO SLIDER ============ */
.hero-slider{
  position:relative;margin-top:var(--header-h);background:var(--dark-navy);
  overflow:hidden;isolation:isolate;
}
.hero-slides{position:relative;height:clamp(420px,62vw,620px);}
.hero-slide{
  position:absolute;inset:0;display:flex;align-items:center;
  opacity:0;visibility:hidden;transform:scale(1.04);
  transition:opacity .9s var(--ease),transform 1.2s var(--ease),visibility .9s;
}
.hero-slide.is-active{opacity:1;visibility:visible;transform:scale(1);z-index:2;}
.hero-slide-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;}
.hero-slide::before{
  content:'';position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,rgba(5,25,60,.92) 0%,rgba(7,44,103,.78) 42%,rgba(7,44,103,.25) 78%,rgba(7,44,103,.1) 100%);
}
.hero-slide-inner{position:relative;z-index:1;max-width:var(--container);width:100%;}
.hero-slide-inner .eyebrow{color:var(--gold-light);}
.hero-slide-inner .eyebrow::before{background:linear-gradient(90deg,var(--gold-light),transparent);}
.hero-slide-title{
  font-family:var(--font-head);font-weight:700;color:var(--white);
  font-size:clamp(1.9rem,4.2vw,3.5rem);max-width:16em;margin-bottom:18px;line-height:1.12;
}
.hero-slide-inner p{font-size:clamp(.95rem,1.4vw,1.1rem);color:rgba(255,255,255,.78);max-width:520px;margin-bottom:30px;}
.hero-slide-cta{display:flex;gap:14px;flex-wrap:wrap;}
.hero-slide.is-active .eyebrow,
.hero-slide.is-active .hero-slide-title,
.hero-slide.is-active p,
.hero-slide.is-active .hero-slide-cta{animation:heroUp .85s var(--ease) both;}
.hero-slide.is-active .hero-slide-title{animation-delay:.08s;}
.hero-slide.is-active p{animation-delay:.16s;}
.hero-slide.is-active .hero-slide-cta{animation-delay:.24s;}
@keyframes heroUp{from{opacity:0;transform:translateY(22px);}to{opacity:1;transform:translateY(0);}}

.hero-nav{
  position:absolute;bottom:22px;z-index:5;
  width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35);color:#fff;
  backdrop-filter:blur(8px);transition:all .35s var(--ease);
}
.hero-nav:hover{background:var(--gold);border-color:var(--gold);color:var(--dark-navy);transform:translateY(-3px);}
.hero-nav:focus-visible{outline:2px solid var(--gold-light);outline-offset:3px;}
.hero-nav svg{width:22px;height:22px;}
.hero-prev{right:90px;}
.hero-next{right:26px;}
.hero-dots{position:absolute;left:0;bottom:36px;z-index:5;display:flex;gap:10px;padding:0 max(24px,calc((100% - var(--container))/2 + 24px));}
.hero-dot{
  width:11px;height:11px;border-radius:50%;background:rgba(255,255,255,.4);
  transition:all .35s var(--ease);border:none;
}
.hero-dot.is-active{background:var(--gold);width:34px;border-radius:100px;}
.hero-dot:hover{background:var(--gold-light);}
.hero-dot:focus-visible{outline:2px solid var(--gold-light);outline-offset:3px;}

/* hero highlights strip */
.hero-highlights{background:var(--dark-navy);padding:0 0 6px;}
.hero-stats{
  display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
  border-top:1px solid rgba(255,255,255,.12);padding:30px 0 34px;
}
.hero-stats .stat b{font-family:var(--font-head);font-size:clamp(1.6rem,2.6vw,2.1rem);color:var(--white);display:block;}
.hero-stats .stat span{font-size:.78rem;color:rgba(255,255,255,.58);letter-spacing:.04em;}

/* ============ MARQUEE / CLIENTS ============ */
.marquee-wrap{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--white);padding:34px 0;overflow:hidden;}
.marquee-track{display:flex;gap:70px;width:max-content;animation:marquee 28s linear infinite;align-items:center;}
.marquee-track span{font-family:var(--font-head);font-size:1.3rem;color:var(--silver);font-weight:700;letter-spacing:.02em;white-space:nowrap;}
@keyframes marquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* ============ WHY CHOOSE / FEATURES ============ */
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.feature-card{
  background:var(--white);border:1px solid var(--border);border-radius:var(--radius-md);padding:32px 26px;
  transition:all .4s var(--ease);position:relative;overflow:hidden;
}
.feature-card::after{content:'';position:absolute;inset:0;border-radius:var(--radius-md);padding:1px;
  background:linear-gradient(135deg,var(--gold),transparent 40%);opacity:0;transition:.4s;
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;}
.feature-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-hover);}
.feature-card:hover::after{opacity:1;}
.feature-ico{width:58px;height:58px;border-radius:16px;background:linear-gradient(135deg,var(--primary-blue),var(--dark-navy));
  display:flex;align-items:center;justify-content:center;margin-bottom:20px;}
.feature-ico svg{width:28px;height:28px;color:var(--gold-light);}
.feature-card h4{font-size:1.15rem;margin-bottom:10px;}
.feature-card p{font-size:.92rem;}

/* ============ PRODUCT CATEGORIES ============ */
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.cat-card{
  position:relative;border-radius:var(--radius-md);overflow:hidden;aspect-ratio:4/5;
  background:linear-gradient(155deg,var(--primary-blue),var(--dark-navy));
  display:flex;flex-direction:column;justify-content:flex-end;padding:26px;isolation:isolate;
}
.cat-card::before{content:'';position:absolute;inset:0;background:
  radial-gradient(circle at 80% 10%, rgba(217,163,33,.35), transparent 55%);z-index:-1;}
.cat-card .num{position:absolute;top:22px;right:24px;font-family:var(--font-head);font-size:.85rem;color:rgba(255,255,255,.4);}
.cat-card svg{width:38px;height:38px;color:var(--gold-light);margin-bottom:14px;transition:transform .4s var(--ease);}
.cat-card:hover svg{transform:translateY(-6px) scale(1.08);}
.cat-card h4{color:var(--white);font-size:1.2rem;margin-bottom:6px;}
.cat-card span{color:rgba(255,255,255,.6);font-size:.8rem;}
.cat-card .arrow-chip{position:absolute;bottom:24px;right:24px;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;transition:.35s;}
.cat-card:hover .arrow-chip{background:var(--gold);transform:rotate(45deg);}
.cat-card .arrow-chip svg{width:16px;height:16px;margin:0;color:#fff;}
.cat-card:hover .arrow-chip svg{color:var(--dark-navy);}

/* ============ PROCESS / TIMELINE ============ */
.process-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative;}
.process-strip::before{content:'';position:absolute;top:34px;left:8%;right:8%;height:1px;background:repeating-linear-gradient(90deg,var(--gold) 0 8px,transparent 8px 16px);}
.process-step{text-align:center;padding:0 18px;position:relative;}
.process-step .pnum{width:68px;height:68px;border-radius:50%;background:var(--white);border:2px solid var(--gold);
  display:flex;align-items:center;justify-content:center;margin:0 auto 22px;font-family:var(--font-head);font-size:1.4rem;
  color:var(--primary-blue);position:relative;z-index:2;box-shadow:var(--shadow-card);}
.process-step h4{font-size:1.05rem;margin-bottom:8px;}
.process-step p{font-size:.86rem;}

/* ============ STATS ============ */
.stats-band{background:linear-gradient(120deg,var(--dark-navy),var(--primary-blue));border-radius:var(--radius-lg);
  padding:56px 40px;display:grid;grid-template-columns:repeat(4,1fr);gap:24px;position:relative;overflow:hidden;}
.stats-band::before{content:'';position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1px);background-size:22px 22px;}
.stat-item{text-align:center;position:relative;z-index:1;}
.stat-item b{font-family:var(--font-head);font-size:clamp(2.2rem,4vw,3.2rem);color:var(--white);display:block;}
.stat-item span{color:rgba(255,255,255,.6);font-size:.85rem;letter-spacing:.03em;}

/* ============ PRODUCT CARDS ============ */
.product-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:36px;flex-wrap:wrap;}
.search-box{display:flex;align-items:center;gap:10px;background:var(--white);border:1px solid var(--border);
  border-radius:100px;padding:12px 20px;min-width:280px;}
.search-box svg{width:18px;height:18px;color:var(--text-light);flex-shrink:0;}
.search-box input{border:none;outline:none;width:100%;font-family:inherit;font-size:.92rem;background:transparent;}
.filter-pills{display:flex;gap:10px;flex-wrap:wrap;}
.filter-pills button{padding:10px 20px;border-radius:100px;border:1px solid var(--border);font-size:.85rem;font-weight:500;background:var(--white);transition:.3s;color:var(--text-dark);}
.filter-pills button.active,.filter-pills button:hover{background:var(--primary-blue);border-color:var(--primary-blue);color:var(--white);}

.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;}
.product-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;
  transition:all .4s var(--ease);display:flex;flex-direction:column;}
.product-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-hover);border-color:transparent;}
.product-thumb{position:relative;aspect-ratio:1/1;background:var(--bg-light);overflow:hidden;}
.product-thumb img{width:100%;height:100%;object-fit:contain;padding:26px;transition:transform .55s var(--ease);}
.product-card:hover .product-thumb img{transform:scale(1.08);}
.product-badge{position:absolute;top:14px;left:14px;background:var(--gold);color:var(--dark-navy);font-size:.68rem;
  font-weight:700;padding:5px 12px;border-radius:100px;letter-spacing:.03em;}
.product-quick{position:absolute;inset:auto 14px 14px auto;display:flex;gap:8px;opacity:0;transform:translateY(8px);transition:.35s;}
.product-card:hover .product-quick{opacity:1;transform:translateY(0);}
.product-quick a{width:38px;height:38px;border-radius:50%;background:var(--white);box-shadow:var(--shadow-card);display:flex;align-items:center;justify-content:center;}
.product-quick a svg{width:16px;height:16px;color:var(--primary-blue);}
.product-body{padding:22px;flex:1;display:flex;flex-direction:column;}
.product-body .cat-label{font-size:.7rem;color:var(--gold);letter-spacing:.1em;text-transform:uppercase;font-weight:600;margin-bottom:6px;}
.product-body h4{font-size:1.05rem;font-family:var(--font-head);margin-bottom:10px;}
.product-body p{font-size:.85rem;flex:1;margin-bottom:16px;}
.product-foot{display:flex;justify-content:space-between;align-items:center;padding-top:14px;border-top:1px solid var(--border);}
.product-foot a{font-size:.85rem;font-weight:600;color:var(--primary-blue);display:flex;align-items:center;gap:6px;}
.product-foot .wa{width:36px;height:36px;border-radius:50%;background:#e9f9ef;display:flex;align-items:center;justify-content:center;}
.product-foot .wa svg{width:17px;height:17px;color:var(--success);}

/* ============ GALLERY ============ */
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:190px;gap:16px;}
.gallery-grid a{position:relative;border-radius:var(--radius-sm);overflow:hidden;grid-column:span 1;grid-row:span 1;}
.gallery-grid a.tall{grid-row:span 2;}
.gallery-grid a.wide{grid-column:span 2;}
.gallery-grid img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease);}
.gallery-grid a:hover img{transform:scale(1.1);}
.gallery-grid a::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(7,44,103,.7),transparent 55%);opacity:0;transition:.4s;}
.gallery-grid a:hover::after{opacity:1;}
.g-label{position:absolute;bottom:16px;left:16px;color:#fff;font-weight:600;font-size:.85rem;opacity:0;transform:translateY(10px);transition:.4s;z-index:2;}
.gallery-grid a:hover .g-label{opacity:1;transform:translateY(0);}

/* ============ TESTIMONIALS ============ */
.testi-track{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.testi-card{background:var(--white);border-radius:var(--radius-md);padding:32px;border:1px solid var(--border);position:relative;}
.testi-card .quote{font-family:var(--font-head);font-size:3rem;color:var(--gold);opacity:.35;line-height:1;margin-bottom:6px;}
.testi-card p{font-size:.95rem;color:var(--text-dark);margin-bottom:24px;font-style:italic;}
.testi-person{display:flex;align-items:center;gap:12px;}
.testi-avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,var(--primary-blue),var(--dark-navy));
  display:flex;align-items:center;justify-content:center;color:var(--gold-light);font-family:var(--font-head);font-weight:700;}
.testi-person b{font-size:.9rem;display:block;color:var(--dark-navy);}
.testi-person span{font-size:.76rem;color:var(--text-light);}
.stars{color:var(--gold);font-size:.8rem;margin-bottom:10px;letter-spacing:2px;}

/* ============ CERTIFICATES ============ */
.cert-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;}
.cert-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-sm);padding:26px 16px;text-align:center;transition:.3s;}
.cert-card:hover{border-color:var(--gold);transform:translateY(-4px);}
.cert-card svg{width:36px;height:36px;color:var(--primary-blue);margin:0 auto 12px;}
.cert-card span{font-size:.82rem;font-weight:600;color:var(--dark-navy);}

/* ============ FAQ ============ */
.faq-list{max-width:800px;margin:0 auto;}
.faq-item{border-bottom:1px solid var(--border);}
.faq-q{display:flex;justify-content:space-between;align-items:center;padding:24px 4px;cursor:pointer;gap:20px;}
.faq-q h4{font-size:1.02rem;font-family:var(--font-body);font-weight:600;color:var(--text-dark);}
.faq-q .plus{width:32px;height:32px;border-radius:50%;border:1.5px solid var(--border);flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:.35s;position:relative;}
.faq-q .plus::before,.faq-q .plus::after{content:'';position:absolute;background:var(--primary-blue);transition:.35s;}
.faq-q .plus::before{width:12px;height:2px;}
.faq-q .plus::after{width:2px;height:12px;}
.faq-item.open .plus{background:var(--gold);border-color:var(--gold);transform:rotate(180deg);}
.faq-item.open .plus::after{opacity:0;}
.faq-item.open .plus::before,.faq-item.open .plus::after{background:#fff;}
.faq-a{max-height:0;overflow:hidden;transition:max-height .4s var(--ease);}
.faq-a p{padding:0 4px 24px;font-size:.92rem;}
.faq-item.open .faq-a{max-height:220px;}

/* ============ CTA ============ */
.cta-band{background:linear-gradient(120deg,var(--dark-navy) 0%,var(--primary-blue) 100%);border-radius:var(--radius-lg);
  padding:64px;display:flex;justify-content:space-between;align-items:center;gap:40px;position:relative;overflow:hidden;}
.cta-band::before{content:'';position:absolute;width:340px;height:340px;background:var(--gold);opacity:.15;border-radius:50%;filter:blur(60px);top:-100px;right:-60px;}
.cta-band h2{color:var(--white);font-size:clamp(1.7rem,3vw,2.4rem);max-width:520px;position:relative;z-index:1;}
.cta-actions{display:flex;gap:16px;position:relative;z-index:1;flex-shrink:0;}

/* ============ FOOTER ============ */
.site-footer{background:var(--dark-navy);color:rgba(255,255,255,.7);padding-top:84px;}
.footer-grid{
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1.25fr;gap:48px 40px;
  padding-bottom:56px;border-bottom:1px solid rgba(255,255,255,.12);align-items:start;
  justify-items:start;
}
.footer-brand img{height:114px;width:auto;margin-bottom:22px;border-radius:14px;background:#fff;padding:8px;image-rendering:-webkit-optimize-contrast;}
.footer-brand p{color:rgba(255,255,255,.6);font-size:.92rem;line-height:1.75;margin-bottom:24px;max-width:340px;}
.social-row{display:flex;gap:10px;}
.social-row a{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center;transition:.3s;}
.social-row a:hover{background:var(--gold);border-color:var(--gold);color:var(--dark-navy);transform:translateY(-3px);}
.social-row svg{width:16px;height:16px;}
.footer-col h5{color:var(--white);font-family:var(--font-body);font-size:.82rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;margin-bottom:20px;position:relative;padding-bottom:12px;}
.footer-col h5::after{content:'';position:absolute;left:0;bottom:0;width:28px;height:2px;background:var(--gold);border-radius:2px;}
.footer-col ul li{margin-bottom:12px;}
.footer-col ul li a{font-size:.92rem;color:rgba(255,255,255,.62);transition:.25s;display:inline-block;}
.footer-col ul li a:hover{color:var(--gold);transform:translateX(4px);}
.footer-contact li{display:flex;gap:12px;margin-bottom:16px;font-size:.9rem;align-items:flex-start;line-height:1.6;}
.footer-contact svg{width:17px;height:17px;color:var(--gold);flex-shrink:0;margin-top:4px;}
.footer-contact a{color:rgba(255,255,255,.72);transition:.25s;word-break:break-word;}
.footer-contact a:hover{color:var(--gold);}
.newsletter-row{display:flex;margin-top:18px;border:1px solid rgba(255,255,255,.22);border-radius:100px;padding:5px;max-width:330px;}
.newsletter-row input{flex:1;min-width:0;background:transparent;border:none;outline:none;padding:10px 16px;color:#fff;font-family:inherit;font-size:.85rem;}
.newsletter-row input::placeholder{color:rgba(255,255,255,.45);}
.newsletter-row button{background:var(--gold);color:var(--dark-navy);width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:.3s;}
.newsletter-row button:hover{background:var(--gold-light);}
.newsletter-row button svg{width:16px;height:16px;}
.footer-bottom{padding:24px 0 28px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;font-size:.83rem;color:rgba(255,255,255,.5);}
.footer-bottom .links{display:flex;gap:22px;flex-wrap:wrap;}
.footer-bottom .links a{transition:.25s;}
.footer-bottom .links a:hover{color:var(--gold);}

/* ============ FLOATING UI ============ */
.floating-bar{position:fixed;right:26px;bottom:26px;z-index:900;display:flex;flex-direction:column;gap:14px;align-items:flex-end;}
.fab{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 14px 30px -8px rgba(0,0,0,.35);transition:.35s;}
.fab-wa{background:#25D366;}
.fab-wa svg{width:28px;height:28px;color:#fff;}
.fab-wa{animation:pulse 2.4s infinite;}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.5);}70%{box-shadow:0 0 0 16px rgba(37,211,102,0);}100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}}
.fab-top{background:var(--white);border:1px solid var(--border);width:46px;height:46px;opacity:0;visibility:hidden;transform:translateY(10px);}
.fab-top.show{opacity:1;visibility:visible;transform:translateY(0);}
.fab-top svg{width:18px;height:18px;color:var(--primary-blue);}
.fab:hover{transform:translateY(-4px) scale(1.05);}

/* breadcrumb / page header */
.page-hero{background:linear-gradient(155deg,var(--dark-navy),var(--primary-blue));margin-top:var(--header-h);padding:80px 0 84px;position:relative;overflow:hidden;}
.page-hero::before{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(217,163,33,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(217,163,33,.07) 1px,transparent 1px);background-size:48px 48px;mask-image:radial-gradient(ellipse at 70% 20%, black, transparent 70%);}
.page-hero .eyebrow{color:var(--gold-light);}
.page-hero h1{color:var(--white);font-size:clamp(2.1rem,4vw,3.2rem);position:relative;z-index:1;}
.breadcrumb{display:flex;gap:8px;font-size:.85rem;color:rgba(255,255,255,.55);margin-top:16px;position:relative;z-index:1;}
.breadcrumb a{color:rgba(255,255,255,.8);}
.breadcrumb a:hover{color:var(--gold);}

/* Loader */
.loader{position:fixed;inset:0;background:var(--dark-navy);z-index:9999;display:flex;align-items:center;justify-content:center;transition:opacity .6s var(--ease),visibility .6s;}
.loader.hide{opacity:0;visibility:hidden;}
.loader-mark{width:64px;height:64px;border:3px solid rgba(217,163,33,.25);border-top-color:var(--gold);border-radius:50%;animation:spin 1s linear infinite;}
@keyframes spin{to{transform:rotate(360deg);}}

/* cookie */
.cookie-bar{position:fixed;left:24px;right:24px;bottom:24px;max-width:520px;background:var(--white);border-radius:var(--radius-md);
  box-shadow:var(--shadow-hover);padding:22px 24px;z-index:1500;display:flex;flex-direction:column;gap:14px;
  transform:translateY(140%);transition:transform .5s var(--ease);border:1px solid var(--border);}
.cookie-bar.show{transform:translateY(0);}
.cookie-bar p{font-size:.85rem;}
.cookie-actions{display:flex;gap:10px;}

/* reveal */
[data-reveal]{opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease),transform .8s var(--ease);}
[data-reveal].in{opacity:1;transform:translateY(0);}
[data-reveal="fade"]{transform:none;}

/* counters handled in JS */

/* ============ RESPONSIVE ============ */
@media (max-width:1180px){
  .main-nav > li > a{padding:11px 14px;font-size:.9rem;}
  .brand img{height:72px;}
  .brand-text .name{font-size:1.08rem;}
}
@media (max-width:1100px){
  .home-product-grid{grid-template-columns:repeat(3,1fr);}
  .footer-grid{gap:40px 32px;}
  .hero-inner{grid-template-columns:1fr;}
  .hero-visual{max-width:460px;}
  .feature-grid{grid-template-columns:repeat(2,1fr);}
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .stats-band{grid-template-columns:repeat(2,1fr);}
  .product-grid{grid-template-columns:repeat(3,1fr);}
  .gallery-grid{grid-template-columns:repeat(3,1fr);}
  .testi-track{grid-template-columns:repeat(1,1fr);}
    .cert-grid{grid-template-columns:repeat(3,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .process-strip{grid-template-columns:repeat(2,1fr);row-gap:40px;}
  .process-strip::before{display:none;}
}
@media (max-width:860px){
  .main-nav,.header-actions .btn{display:none;}
  .burger{display:flex;}
  :root{--header-h:86px;}
  .brand img{height:76px;}
  .brand-text .tag{display:none;}
  .hero-slides{height:clamp(400px,78vw,520px);}
  .hero-slide::before{background:linear-gradient(90deg,rgba(5,25,60,.94) 0%,rgba(7,44,103,.82) 60%,rgba(7,44,103,.55) 100%);}
  .hero-nav{width:44px;height:44px;bottom:18px;}
  .hero-prev{right:74px;}
  .hero-next{right:18px;}
  .hero-stats{grid-template-columns:repeat(2,1fr);row-gap:22px;}
  .home-product-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .cta-band{flex-direction:column;text-align:center;padding:44px 28px;}
  .product-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  .section{padding:70px 0;}
  :root{--header-h:80px;}
  .brand-text .name{font-size:.98rem;white-space:normal;}
  .brand img{height:75px;}
  .hero-slide-inner p{margin-bottom:22px;}
  .hero-slide-cta .btn{padding:13px 24px;font-size:.86rem;}
  .hero-dots{bottom:28px;}
  .footer-brand img{height:96px;margin-bottom:18px;}
  .footer-bottom{justify-content:center;text-align:center;}
  .footer-bottom .links{justify-content:center;gap:16px;}
  .site-footer{padding-top:60px;}
  .footer-grid{gap:36px;}
  .footer-brand p{max-width:none;}
  .feature-grid,.cat-grid,.product-grid,.gallery-grid{grid-template-columns:1fr 1fr;}
  .gallery-grid{grid-auto-rows:140px;}
  .cert-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr;}
  .hero-stats{flex-wrap:wrap;row-gap:20px;}
  .hero-stats .stat{flex:0 0 50%;}
  .cta-band{border-radius:var(--radius-md);}
  .stats-band{padding:40px 24px;gap:26px 18px;}
}
@media (max-width:480px){
  .product-grid,.gallery-grid,.feature-grid,.cat-grid,.cert-grid{grid-template-columns:1fr;}
  .home-product-grid{grid-template-columns:1fr;}
  .hero-nav{display:none;}
  .home-product-card .product-body h3{min-height:auto;}
  .stats-band{grid-template-columns:1fr 1fr;padding:32px 20px;}
  .cta-band{padding:36px 22px;}
}

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

/* ============ ABOUT PAGE SPLIT SECTIONS ============ */
.about-split{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;}
.about-split-rev{grid-template-columns:.9fr 1.1fr;}
.feature-grid-3{grid-template-columns:repeat(3,1fr);}
@media (max-width:900px){
  .about-split,.about-split-rev{grid-template-columns:1fr;gap:32px;}
  .about-split-rev > div:first-child{order:2;}
  .feature-grid-3{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:480px){
  .feature-grid-3{grid-template-columns:1fr;}
}

/* ============ HOME FEATURED PRODUCTS ============ */
.home-product-grid{grid-template-columns:repeat(4,1fr);grid-auto-rows:1fr;align-items:stretch;gap:28px;}
.home-product-card{height:100%;}
.home-product-card .product-thumb{aspect-ratio:1/1;width:100%;}
.home-product-card .product-thumb img{width:100%;height:100%;object-fit:contain;padding:24px;}
.home-product-card .product-body{padding:24px;display:flex;flex-direction:column;gap:2px;}
.home-product-card .product-body h3{font-family:var(--font-head);font-size:1.05rem;color:var(--dark-navy);margin-bottom:8px;min-height:2.4em;}
.home-product-card .product-body p{font-size:.86rem;flex:1;margin-bottom:16px;}
.home-product-card .product-foot a svg{width:14px;height:14px;}
.home-product-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-hover);}
.section-cta{text-align:center;margin-top:44px;}

/* ============ HOME PRODUCT SLIDER (Mobile only) ============ */
.home-product-slider{position:relative;}
.ps-nav,.ps-dots{display:none;}

@media (max-width:767px){
  .home-product-slider{margin:0 -4px;padding:0 4px;}
  .home-product-grid{
    display:flex;
    grid-template-columns:none;
    grid-auto-rows:unset;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    gap:16px;
    padding:6px 6px 10px;
    margin:0 -6px;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  .home-product-grid::-webkit-scrollbar{display:none;}
  .home-product-card{
    flex:0 0 100%;
    max-width:100%;
    width:100%;
    scroll-snap-align:center;
    scroll-snap-stop:always;
  }
  .home-product-card:hover{transform:none;}
  .home-product-card .product-thumb{aspect-ratio:1.15/1;}

  .ps-nav{
    display:flex;position:absolute;top:32%;transform:translateY(-50%);
    width:40px;height:40px;border-radius:50%;align-items:center;justify-content:center;
    background:var(--white);border:1px solid var(--border);box-shadow:var(--shadow-card);
    color:var(--primary-blue);z-index:5;transition:all .3s var(--ease);
  }
  .ps-nav:active{transform:translateY(-50%) scale(.92);}
  .ps-nav[disabled]{opacity:.3;pointer-events:none;}
  .ps-nav svg{width:17px;height:17px;}
  .ps-prev{left:-2px;}
  .ps-next{right:-2px;}

  .ps-dots{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:16px;}
  .ps-dot{width:7px;height:7px;border-radius:50%;background:var(--border);transition:all .3s var(--ease);flex-shrink:0;border:none;padding:0;}
  .ps-dot.is-active{background:var(--gold);width:22px;border-radius:100px;}
}

/* ================================================
   REFINEMENTS — modern buttons, alignment & responsive fixes
   ================================================ */

/* --- Global overflow / responsive safety --- */
html,body{max-width:100%;overflow-x:hidden;}
img,video,svg{max-width:100%;}
img{height:auto;}
.container{width:100%;}

/* --- Modern button system (consistent height, padding, radius, hover) --- */
.btn{
  min-height:50px;
  padding:14px 30px;
  border-radius:100px;
  font-weight:600;
  font-size:.94rem;
  line-height:1.2;
  cursor:pointer;
  border:1.5px solid transparent;
  text-align:center;
  max-width:100%;
  transition:transform .28s var(--ease),box-shadow .28s var(--ease),background-color .28s var(--ease),color .28s var(--ease),border-color .28s var(--ease);
}
.btn:focus-visible{outline:3px solid rgba(217,163,33,.55);outline-offset:2px;}
.btn:active{transform:translateY(0) scale(.98);}
.btn[disabled],.btn:disabled{opacity:.6;pointer-events:none;}
.btn-ghost{background:var(--white);}
.btn-sm{min-height:42px;padding:10px 22px;font-size:.85rem;}
button{font-family:inherit;}

/* Touch-friendly controls on mobile */
@media (max-width:640px){
  .btn{min-height:48px;padding:13px 24px;font-size:.9rem;width:auto;}
  .btn-block-sm{width:100%;}
  .icon-btn,.fab,.ps-nav,.hero-nav{min-width:44px;min-height:44px;}
  .detail-tabs button{padding:12px 16px;font-size:.85rem;}
}

/* --- Card / grid alignment (no cropped or misaligned cards) --- */
.product-grid,.home-product-grid{align-items:stretch;}
.product-card{display:flex;flex-direction:column;height:100%;overflow:hidden;}
.product-card .product-body{display:flex;flex-direction:column;flex:1;}
.product-card .product-foot{margin-top:auto;}
.product-card .link-arrow{color:var(--primary-blue);font-weight:600;font-size:.86rem;}

/* --- Related products spacing --- */
[data-d-related]{margin-top:8px;}

/* --- Forms --- */
input,textarea,select{max-width:100%;font-family:inherit;}
@media (max-width:640px){
  input,textarea,select{font-size:16px;} /* prevents iOS zoom */
}

/* --- Tablet / small-screen spacing polish --- */
@media (max-width:900px){
  .section{padding:72px 0;}
}
@media (max-width:480px){
  .section{padding:56px 0;}
  .page-hero{padding-top:130px !important;padding-bottom:48px !important;}
  .breadcrumb{flex-wrap:wrap;row-gap:6px;font-size:.8rem;}
  .section-head h2{font-size:1.5rem;}
}

/* --- Very small screens (<=360px) --- */
@media (max-width:360px){
  .btn{padding:12px 18px;font-size:.86rem;}
  .brand img{height:44px;}
}

/* --- Grid/flex shrink safety (prevents hidden horizontal overflow) --- */
.detail-wrap > *,
.about-split > *,
.footer-grid > *,
.hero-inner > *{min-width:0;}
.detail-tabs,
.detail-gallery,
.spec-list,
.feat-list{max-width:100%;}
.spec-list li{flex-wrap:wrap;}
.spec-list li b{text-align:right;word-break:break-word;}
table{max-width:100%;display:block;overflow-x:auto;}
pre,code{white-space:pre-wrap;word-break:break-word;}
h1,h2,h3,h4,p,li,a,span{overflow-wrap:anywhere;}

/* --- CTA button stacking on small screens --- */
.cta-actions{flex-wrap:wrap;justify-content:center;max-width:100%;}
@media (max-width:640px){
  .cta-actions{width:100%;flex-direction:column;align-items:stretch;gap:12px;}
  .cta-actions .btn{width:100%;}
}

/* --- Gallery: no spanning items on small screens --- */
@media (max-width:640px){
  .gallery-grid a.wide{grid-column:span 1;}
}
@media (max-width:480px){
  .gallery-grid a.tall,.gallery-grid a.wide{grid-row:span 1;grid-column:span 1;}
  .gallery-grid{grid-auto-rows:200px;}
}
