/* ===== Design Tokens ===== */
:root{
  --navy: #2C5B85;         /* primary brand blue — sampled from the Alphatec logo mark */
  --navy-deep: #142F42;    /* dark navy — headings, footer, deep surfaces */
  --navy-soft: #EDF2F6;    /* very light blue-gray secondary background */
  --gold: #3D6E93;         /* muted blue accent (kept the --gold token name for compatibility) */
  --gray-50: #F7F9FB;      /* soft background */
  --gray-100: #EEF2F5;
  --gray-300: #DCE3E9;     /* light border */
  --gray-500: #526270;     /* dark charcoal/gray body text */
  --gray-800: #1E2B36;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 32px rgba(15,35,51,0.08);
  --ff-head: 'Poppins', sans-serif;
  --ff-body: 'Inter', sans-serif;

  /* ===== Glass tokens ===== */
  --glass-bg: rgba(255,255,255,.6);
  --glass-bg-strong: rgba(255,255,255,.78);
  --glass-border: rgba(255,255,255,.65);
  --glass-blur: blur(22px) saturate(160%);
  --glass-shadow: 0 8px 32px rgba(15,35,51,.12), inset 0 1px 0 rgba(255,255,255,.7);
  --glass-dark-bg: rgba(20,47,66,.55);
  --glass-dark-border: rgba(255,255,255,.14);
  --glass-dark-shadow: 0 8px 32px rgba(4,12,18,.35), inset 0 1px 0 rgba(255,255,255,.1);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
html,body{overflow-x:hidden; max-width:100%;}
body{
  margin:0;
  font-family:var(--ff-body);
  color:var(--gray-800);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  position:relative;
}
/* Fixed color blobs behind the whole page — the "light" that every glass
   surface (nav, cards, buttons, modals) blurs and refracts. Without this,
   backdrop-filter has nothing colorful to show through. */
body::before{
  content:''; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(circle at 10% 0%, rgba(44,91,133,.07), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(44,91,133,.06), transparent 28%),
    #ffffff;
  background-attachment:fixed;
}
h1,h2,h3,h4{font-family:var(--ff-head); margin:0; color:var(--navy-deep); font-weight:700;}
p{line-height:1.7; color:var(--gray-500); margin:0 0 1rem;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
section{padding:100px 8vw;}
input, select, textarea{outline:none; transition:border-color .2s ease, box-shadow .2s ease;}
input:focus, select:focus, textarea:focus{border-color:var(--navy)!important; box-shadow:0 0 0 3px rgba(44,91,133,.16);}
.center{text-align:center; margin-left:auto; margin-right:auto;}

.section-eyebrow{
  font-family:var(--ff-head);
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:.78rem;
  color:var(--gold);
  margin-bottom:.6rem;
}
h2{font-size:clamp(1.8rem,3vw,2.6rem); margin-bottom:1rem; max-width:640px;}
section.center h2{max-width:640px; margin-left:auto; margin-right:auto;}

/* ===== Buttons ===== */
.btn{
  position:relative; overflow:hidden;
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 30px; border-radius:999px; font-weight:600; font-family:var(--ff-head);
  font-size:.92rem; transition:.25s ease; border:1px solid transparent; cursor:pointer;
}
/* glossy top-highlight sheen, Apple-button style, on every button */
.btn::before{
  content:''; position:absolute; inset:0 0 50% 0;
  background:linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0));
  pointer-events:none;
}
.btn-primary{
  background:linear-gradient(180deg, #3D6E93, var(--navy));
  color:#fff; border:1px solid rgba(255,255,255,.4);
  box-shadow:0 8px 20px rgba(44,91,133,.28), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-primary:hover{background:linear-gradient(180deg, #325E82, var(--gold)); transform:translateY(-2px); box-shadow:0 14px 28px rgba(61,110,147,.32), inset 0 1px 0 rgba(255,255,255,.5);}
.btn-ghost{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.5); color:#fff;
}
.btn-ghost:hover{background:rgba(255,255,255,.22); transform:translateY(-2px);}
.btn-white{
  background:#fff;
  color:var(--navy-deep); border:1px solid var(--gray-300); box-shadow:var(--shadow);
}
.btn-white:hover{transform:translateY(-2px); box-shadow:0 14px 28px rgba(18,59,86,.2);}
.btn-ghost-light{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.5); color:#fff;
}
.btn-ghost-light:hover{background:rgba(255,255,255,.24); transform:translateY(-2px);}
/* On light sections (solution detail CTAs) this class is used with inline
   navy border/text overrides. */
.solution-cta .btn-ghost-light{background:#fff; border-color:var(--gray-300);}
.solution-cta .btn-ghost-light:hover{background:var(--navy-soft); border-color:var(--navy);}
.btn-secondary{
  background:#fff;
  color:var(--navy-deep); border-color:var(--gray-300); box-shadow:var(--shadow);
}
.btn-secondary:hover{border-color:var(--navy); color:var(--navy); transform:translateY(-2px); box-shadow:0 12px 22px rgba(44,91,133,.16);}
.btn-sm{padding:10px 22px; font-size:.85rem;}

/* ===== Nav ===== */
.site-nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  transition:.3s ease; padding:16px 8vw;
  background:var(--glass-bg);
  backdrop-filter:var(--glass-blur); -webkit-backdrop-filter:var(--glass-blur);
  box-shadow:var(--glass-shadow);
  border-bottom:1px solid var(--glass-border);
}
.site-nav.solid{padding:12px 8vw; background:var(--glass-bg-strong); box-shadow:0 10px 30px rgba(18,59,86,.14), inset 0 1px 0 rgba(255,255,255,.8);}
.nav-inner{display:flex; align-items:center; justify-content:space-between; max-width:1400px; margin:0 auto; gap:24px;}
.logo{display:flex; align-items:center; gap:10px;}
.logo-img{height:38px; width:auto; display:block;}
@media(max-width:600px){.logo-img{height:32px;}}
.logo-mark{
  width:38px; height:38px; border-radius:10px; background:var(--navy);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-family:var(--ff-head); font-weight:800;
}
.logo-text{font-family:var(--ff-head); font-weight:700; font-size:1.15rem; color:var(--navy-deep); display:flex; flex-direction:column; line-height:1;}
.logo-text small{font-size:.55rem; letter-spacing:.18em; color:var(--navy); font-weight:600;}
.nav-links{display:flex; gap:30px;}
.nav-links a{font-weight:500; font-size:.92rem; color:var(--gray-800); position:relative;}
.nav-links a.active{color:var(--navy);}
.nav-links a::after{content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px; background:var(--navy); transition:.25s;}
.nav-links a:hover::after, .nav-links a.active::after{width:100%;}
.nav-actions{display:flex; align-items:center; gap:14px;}
.nav-social{display:flex; align-items:center; gap:8px;}
.nav-social a{
  width:30px; height:30px; border-radius:50%; background:var(--navy); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:.8rem; transition:.2s;
}
.nav-social a:hover{background:var(--navy-deep); transform:translateY(-2px);}
.nav-social svg{width:15px; height:15px; fill:#fff;}
@media(max-width:1150px){.nav-social{display:none;}}
.nav-toggle{display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; color:var(--navy-deep);}
.nav-toggle span{width:24px; height:2px; background:currentColor;}

/* ===== Hero ===== */
.hero{
  position:relative; min-height:92vh; display:flex; align-items:center;
  padding:150px 8vw 80px;
  background:linear-gradient(180deg, var(--gray-50) 0%, #ffffff 70%);
  overflow:hidden;
}
.hero-shape{position:absolute; border-radius:50%; filter:blur(60px); z-index:0; opacity:.55; pointer-events:none;}
.hero-shape-1{width:520px; height:520px; top:-160px; right:-120px; background:radial-gradient(circle, rgba(44,91,133,.28), transparent 70%);}
.hero-shape-2{width:420px; height:420px; bottom:-180px; left:-100px; background:radial-gradient(circle, rgba(237,242,246,.9), transparent 70%);}
.hero-grid{position:relative; z-index:2; max-width:1400px; margin:0 auto; display:grid; grid-template-columns:1.1fr 1fr; gap:60px; align-items:center; width:100%;}
.hero-inner{max-width:600px;}
.hero .eyebrow{color:var(--navy-deep); background:var(--glass-bg); backdrop-filter:var(--glass-blur); -webkit-backdrop-filter:var(--glass-blur); border:1px solid var(--glass-border); box-shadow:var(--glass-shadow); display:inline-block; padding:6px 16px; border-radius:999px; font-family:var(--ff-head); letter-spacing:.1em; font-size:.72rem; font-weight:600; text-transform:uppercase; margin-bottom:20px;}
.hero h1{color:var(--navy-deep); font-size:clamp(2.4rem,4.6vw,3.6rem); line-height:1.1; margin-bottom:22px; font-weight:800;}
.hero-sub{color:var(--gray-500); font-size:1.05rem; max-width:540px; margin-bottom:30px;}
.hero-cta{display:flex; gap:16px; flex-wrap:wrap;}
.hero-trust{display:flex; align-items:center; gap:12px; margin-top:32px; color:var(--gray-500); font-size:.9rem; flex-wrap:wrap;}
.hero-trust strong{color:var(--navy-deep); font-family:var(--ff-head); margin-right:5px;}
.hero-trust .dot{color:var(--gold);}
.hero-visual{position:relative;}
.hero-visual img{width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:24px; box-shadow:0 30px 70px rgba(18,59,86,.18);}
.hero-visual-badge{
  position:absolute; left:-24px; bottom:28px; background:var(--glass-bg-strong); backdrop-filter:var(--glass-blur); -webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--glass-border); border-radius:16px; padding:16px 22px; box-shadow:var(--glass-shadow); text-align:center;
}
.hero-visual-badge strong{display:block; font-family:var(--ff-head); font-size:1.6rem; color:var(--navy);}
.hero-visual-badge span{font-size:.78rem; color:var(--gray-500);}
@media(max-width:1000px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-visual{order:-1; max-width:420px; margin:0 auto;}
}


/* ===== Full-bleed hero image (fades into white on the left) ===== */
.hero{background:#fff;}
.hero-pic{position:absolute; inset:0; display:block; z-index:0;}
.hero-bg{width:100%; height:100%; object-fit:cover; object-position:right bottom;}
.hero-fade{position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 24%, rgba(255,255,255,.7) 40%, rgba(255,255,255,0) 60%);}
.hero-shape{display:none;}
.hero-grid{grid-template-columns:1fr;}
.hero-visual{display:none;}

/* Phone / tablet: image on top, fading into white, text overlaps the fade */
@media(max-width:1000px){
  .hero{flex-direction:column; align-items:stretch; justify-content:flex-start; padding:64px 0 36px; min-height:0;}
  .hero-fade{display:none;}
  .hero-pic{position:relative; inset:auto; width:100%; aspect-ratio:6/5; max-height:520px;
    -webkit-mask-image:linear-gradient(180deg,#000 80%,transparent 100%); mask-image:linear-gradient(180deg,#000 80%,transparent 100%);}
  .hero-bg{object-position:center bottom;}
  .hero-grid{margin-top:-6px; padding:0 6vw; position:relative; z-index:2;}
  .hero-inner{max-width:none;}
  .hero h1{font-size:clamp(1.85rem,8.2vw,2.6rem); line-height:1.12; margin-bottom:14px;}
  .hero-sub{font-size:.98rem; margin-bottom:22px;}
}
@media(max-width:600px){
  .hero{min-height:0;}
  .hero-cta{display:grid; grid-template-columns:1fr 1fr; gap:10px;}
  .hero-cta .btn{width:100%; padding:13px 8px; font-size:.84rem; text-align:center;}
  .hero-trust{display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:24px; padding-top:18px; border-top:1px solid var(--gray-300); font-size:.74rem; line-height:1.35; text-align:center;}
  .hero-trust .dot{display:none!important;}
  .hero-trust strong{display:block; margin:0 0 2px; font-size:.95rem;}
}
@media(max-width:340px){ .hero-cta{grid-template-columns:1fr;} }

.scroll-cue{position:absolute; bottom:26px; left:50%; transform:translateX(-50%); color:var(--navy); opacity:.7; z-index:2; animation:bob 2s infinite;}
@keyframes bob{0%,100%{transform:translate(-50%,0);}50%{transform:translate(-50%,8px);}}

/* ===== Inner page hero ===== */
.page-hero{
  padding:160px 8vw 60px; background:linear-gradient(180deg,var(--navy-soft),#ffffff);
  text-align:center;
}
.page-hero h1{color:var(--navy-deep); font-size:clamp(2rem,4vw,3rem); margin:10px 0 14px;}
.page-hero p{color:var(--gray-500); max-width:560px; margin:0 auto;}
.page-hero .section-eyebrow{color:var(--gold);}
/* Inner page banners — same image-fading-to-white treatment as the home hero */
.page-hero.banner{
  --banner:url('images/site/banner-a.jpg');
  text-align:left; padding:150px 8vw 70px; min-height:380px; display:flex; flex-direction:column; justify-content:center;
  background:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 26%,rgba(255,255,255,.75) 44%,rgba(255,255,255,0) 66%),
    var(--banner) right bottom/cover no-repeat, #fff;
}
.page-hero.banner-a{--banner:url('images/site/banner-a.jpg');}
.page-hero.banner-b{--banner:url('images/site/banner-b.jpg');}
.page-hero.banner-c{--banner:url('images/site/banner-c.jpg');}
.page-hero.banner > *{max-width:560px; margin-left:0; margin-right:0;}
.page-hero.banner h1{max-width:620px;}
@media(max-width:700px){
  .page-hero.banner{padding:112px 6vw 40px; min-height:0;
    background:
      linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.94) 60%,rgba(255,255,255,.5) 100%),
      var(--banner) 88% bottom/cover no-repeat, #fff;}
}
.nav-links a.active{color:var(--navy)!important;}
.nav-links a.active::after{width:100%;}

/* ===== Clients ===== */
.clients{padding:60px 8vw; background:#fff;}
.client-wall{
  display:flex; flex-wrap:wrap; gap:40px; justify-content:center; align-items:center; margin-top:30px;
}
.client-wall span{
  font-family:var(--ff-head); font-weight:600; color:var(--gray-500);
  filter:grayscale(1); opacity:.75; transition:.25s; font-size:.95rem;
}
.client-wall span:hover{opacity:1; color:var(--navy); filter:none;}
.client-wall .client-logo{filter:grayscale(1); opacity:.7; transition:.25s;}
.client-wall .client-logo:hover{filter:none; opacity:1;}
.client-wall .client-logo img{height:42px; width:auto; max-width:140px; object-fit:contain; display:block;}

/* ===== About ===== */
/* ===== Experience stats band ===== */
.experience{padding:50px 8vw; background:var(--navy-deep);}
.experience-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; max-width:1100px; margin:0 auto; text-align:center;}
.exp-stat strong{display:block; font-family:var(--ff-head); font-size:2.2rem; color:#fff; font-weight:800;}
.exp-stat span{font-size:.85rem; color:rgba(255,255,255,.7);}
@media(max-width:700px){.experience-grid{grid-template-columns:repeat(2,1fr); gap:34px;}}

/* ===== How We Work ===== */
.how-we-work{background:var(--gray-50);}
.how-we-work h2.center{text-align:center; max-width:600px; margin:0 auto 50px;}
.steps-track{display:grid; grid-template-columns:repeat(5,1fr); gap:20px; max-width:1300px; margin:0 auto;}
.step-item{
  background:#fff; border:1px solid var(--gray-100); border-radius:16px; padding:26px 20px;
  text-align:center; box-shadow:var(--shadow); position:relative; transition:transform .3s ease, box-shadow .3s ease;
}
.step-item:hover{transform:translateY(-4px); box-shadow:0 16px 34px rgba(18,59,86,.14);}
.step-num{
  display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%;
  background:var(--navy); color:#fff; font-family:var(--ff-head); font-weight:700; font-size:.9rem; margin-bottom:14px;
}
.step-item h3{font-size:.98rem; margin-bottom:8px;}
.step-item p{font-size:.83rem; margin:0;}
@media(max-width:1000px){.steps-track{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.steps-track{grid-template-columns:1fr;}}

.about-grid{display:grid; grid-template-columns:1fr 1.1fr; gap:70px; align-items:center; max-width:1300px; margin:0 auto;}
.about-visual{position:relative;}
.about-photo{
  position:relative; aspect-ratio:4/5; border-radius:var(--radius); overflow:hidden; isolation:isolate;
  background:
    linear-gradient(180deg, rgba(20,47,66,.25) 0%, rgba(20,47,66,0) 35%, rgba(20,47,66,.75) 100%),
    linear-gradient(160deg, rgba(44,91,133,.55), rgba(20,47,66,.15) 60%),
    url('https://images.pexels.com/photos/33813438/pexels-photo-33813438.jpeg?auto=compress&cs=tinysrgb&w=1000') center/cover no-repeat;
  background-color:#142F42;
  box-shadow:var(--shadow);
  border:1px solid var(--gray-100);
}
/* subtle blueprint grid + inner frame over the photo */
.about-photo::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size:48px 48px;
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 60%, #000 100%);
  mask-image:linear-gradient(180deg, transparent 0%, #000 60%, #000 100%);
}
.about-photo::after{
  content:""; position:absolute; inset:14px; z-index:2; pointer-events:none;
  border:1px solid rgba(255,255,255,.35); border-radius:calc(var(--radius) - 6px);
}
.stat-card{
  position:absolute; bottom:-24px; right:-24px; padding:22px 28px;
  background:var(--glass-bg-strong); backdrop-filter:var(--glass-blur); -webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--glass-border);
  border-radius:14px; box-shadow:var(--glass-shadow); text-align:center;
}
.stat-card strong{display:block; font-family:var(--ff-head); font-size:1.8rem; color:var(--navy);}
.stat-card span{font-size:.8rem; color:var(--gray-500);}
.about-copy h2{margin-bottom:18px;}
.stat-row{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:30px;}
.stat{border-top:2px solid var(--gold); padding-top:12px;}
.stat strong{display:block; font-family:var(--ff-head); font-size:1.7rem; color:var(--navy);}
.stat span{font-size:.78rem; color:var(--gray-500);}
@media(max-width:900px){.about-grid{grid-template-columns:1fr;} .stat-row{grid-template-columns:repeat(2,1fr);}}

/* ===== Solutions ===== */
.solutions{background:var(--gray-50);}
.solutions-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:50px; max-width:1300px; margin-left:auto; margin-right:auto;}
.sol-card{
  background:#fff;
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; border:1px solid var(--gray-100);
  display:flex; flex-direction:column;
}
.sol-card:hover{transform:translateY(-6px); box-shadow:0 20px 44px rgba(18,59,86,.14); border-color:var(--navy);}
.sol-link{margin-top:14px; display:inline-block; font-family:var(--ff-head); font-weight:700; font-size:.85rem; color:var(--navy); transition:.2s;}
.sol-card:hover .sol-link{color:var(--navy-deep); transform:translateX(2px);}
.sol-photo{
  position:relative; aspect-ratio:16/10; background-size:cover; background-position:center;
  background-color:var(--navy-soft); transition:transform .5s ease;
}
.sol-card:hover .sol-photo{transform:scale(1.06);}
.sol-photo::after{content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(22,76,115,.45), rgba(22,76,115,0) 55%);}
.sol-card-body{padding:26px 24px 30px;}
.sol-icon{
  width:52px; height:52px; border-radius:12px; background:var(--navy-soft);
  border:1px solid var(--gray-100); color:var(--navy);
  display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:18px;
}
.sol-photo .sol-icon{
  position:absolute; left:20px; bottom:-26px; z-index:2; background:#fff; box-shadow:0 8px 20px rgba(18,59,86,.18);
}
.sol-card:not(.has-photo) .sol-card-body{padding:32px 26px;}
.sol-card.has-photo .sol-card-body{padding-top:44px;}
.sol-card h3{font-size:1.1rem; margin-bottom:8px;}
.sol-card p{font-size:.9rem; margin:0;}
@media(max-width:1000px){.solutions-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.solutions-grid{grid-template-columns:1fr;}}

/* ===== Products & Solutions (category hub) ===== */
.solutions-grid.cols-6{grid-template-columns:repeat(3,1fr);}
@media(max-width:1000px){.solutions-grid.cols-6{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.solutions-grid.cols-6{grid-template-columns:1fr;}}

.cat-section{scroll-margin-top:100px;}

/* ===== Collapsible category panels =====
   Only the category the user picks is rendered; the rest stay closed so the
   page stays short instead of stacking every category at once. */
.cat-panel{display:none;}
.cat-panel.open{display:block; animation:panelIn .45s ease both;}
@keyframes panelIn{from{opacity:0; transform:translateY(14px);} to{opacity:1; transform:translateY(0);}}

/* active category card */
.sol-card.active{border-color:var(--navy); box-shadow:0 14px 38px rgba(44,91,133,.22);}
.sol-card.active .sol-link{color:var(--navy); font-weight:700;}
.sol-card.active .sol-card-body::after{
  content:'Showing below'; display:block; margin-top:10px; font-size:.7rem; letter-spacing:.09em;
  text-transform:uppercase; color:var(--navy); font-family:var(--ff-head); font-weight:700;
}

/* active jump pill */
.jump-pill.active{background:var(--navy); border-color:var(--navy); color:#fff;}
.jump-pill.active:hover{background:var(--navy-deep); color:#fff;}

/* close control inside an open panel */
.panel-close{
  display:inline-flex; align-items:center; gap:7px; margin:26px auto 0; padding:9px 20px;
  border-radius:999px; border:1px solid var(--gray-300); background:#fff; cursor:pointer;
  font-family:var(--ff-head); font-weight:600; font-size:.8rem; color:var(--gray-500); transition:.2s ease;
}
.panel-close:hover{border-color:var(--navy); color:var(--navy);}
.panel-close-wrap{text-align:center;}

/* hint shown when nothing is open */
.cat-hint{
  text-align:center; color:var(--gray-500); font-size:.9rem; max-width:520px;
  margin:30px auto 0; padding:16px 22px; border:1px dashed var(--gray-300);
  border-radius:var(--radius); background:#fff;
}
.cat-hint.hide{display:none;}

/* item-cards that act as links into the catalogue */
a.item-card-link{text-decoration:none; cursor:pointer;}
a.item-card-link h3::after{content:' \2192'; color:var(--navy); opacity:0; margin-left:2px; transition:.25s ease;}
a.item-card-link:hover h3::after{opacity:1; margin-left:6px;}
a.item-card-link:hover{border-color:var(--navy); transform:translateY(-4px); box-shadow:var(--shadow);}
.cat-section-head{max-width:760px; margin:0 auto 10px;}
.cat-section-head .section-eyebrow{color:var(--gold);}
.cat-section-sub{font-family:var(--ff-head); font-weight:700; color:var(--navy-deep); font-size:1.05rem; margin:36px auto 0; max-width:1200px; text-align:left;}
.cat-section-sub:first-of-type{margin-top:10px;}

.jump-nav{
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center; max-width:1200px; margin:36px auto 0;
}
.jump-pill{
  padding:9px 18px; border-radius:999px; border:1px solid var(--gray-300); background:#fff;
  font-family:var(--ff-head); font-weight:600; font-size:.82rem; color:var(--navy-deep); transition:.2s ease;
}
.jump-pill:hover{border-color:var(--navy); background:var(--navy-soft); color:var(--navy); transform:translateY(-2px);}

/* ===== Industries ===== */
.industry-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-top:50px; max-width:1300px; margin-left:auto; margin-right:auto;}
.industry-card{
  border-radius:16px; overflow:hidden; background:#fff; border:1px solid var(--gray-100); box-shadow:var(--shadow);
  transition:transform .3s ease, box-shadow .3s ease;
}
.industry-card:hover{transform:translateY(-6px); box-shadow:0 18px 36px rgba(18,59,86,.16);}
.industry-photo{
  position:relative; aspect-ratio:4/3; background-size:cover; background-position:center; background-repeat:no-repeat;
  background-color:var(--navy-soft);
  transition:transform .4s ease; overflow:hidden;
}
.industry-photo::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(20,47,66,0) 45%, rgba(20,47,66,.45) 100%);
}
.industry-card:hover .industry-photo{transform:scale(1.05);}
.industry-body{padding:16px 18px;}
.industry-body h3{font-size:.98rem; margin-bottom:4px; color:var(--navy-deep);}
.industry-body p{font-size:.82rem; margin:0; color:var(--gray-500);}
@media(max-width:900px){.industry-grid{grid-template-columns:repeat(2,1fr);}}

/* ===== Catalogue ===== */
.catalogue{background:#fff;}
.cat-head{display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:24px; max-width:1300px; margin:0 auto 30px;}
.cat-note{font-size:.85rem; max-width:420px;}
.cat-filters{display:flex; gap:12px; flex-wrap:wrap;}
.cat-filters select, .cat-filters input{
  padding:12px 16px; border-radius:10px; border:1px solid var(--gray-300); font-family:var(--ff-body); font-size:.9rem;
  background:#fff;
}
.product-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:26px; max-width:1300px; margin:0 auto;}
.product-card{
  border:1px solid var(--gray-100); border-radius:var(--radius); overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow); transition:transform .3s ease, box-shadow .3s ease; display:flex; flex-direction:column;
}
.product-card:hover{transform:translateY(-6px); box-shadow:0 20px 50px rgba(18,59,86,.16);}
.product-thumb{
  position:relative; aspect-ratio:4/3; overflow:hidden;
  background:linear-gradient(150deg,var(--navy-deep),var(--navy));
  display:flex; align-items:center; justify-content:center; padding:14px;
}
.product-thumb img{
  width:100%; height:100%; object-fit:contain; display:block; transition:transform .5s ease, filter .5s ease;
}
.product-card:hover .product-thumb img{transform:scale(1.08);}
.product-thumb.img-fallback img{display:none;}
.product-thumb.img-fallback::before{
  content:'\26A1'; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size:2.2rem; color:rgba(255,255,255,.35);
}
.product-thumb::after{
  content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(22,76,115,.55) 0%, rgba(22,76,115,0) 45%);
  pointer-events:none;
}
.product-model{
  position:absolute; left:12px; bottom:10px; z-index:2; color:#fff; font-family:var(--ff-head);
  font-weight:600; font-size:.78rem; letter-spacing:.03em; text-shadow:0 1px 6px rgba(0,0,0,.4);
}
.product-body{padding:20px; display:flex; flex-direction:column; gap:6px; flex:1;}
.product-cat{font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:var(--gold); font-weight:600;}
.product-body h3{font-size:1rem; margin:0;}
.product-desc{font-size:.85rem; margin:0; flex:1;}
.specs-toggle{
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  width:100%; margin-top:8px; padding:8px 10px; border-radius:8px;
  border:1px solid var(--gray-300); background:var(--navy-soft); color:var(--navy-deep);
  font-family:var(--ff-head); font-size:.76rem; font-weight:600; cursor:pointer; transition:.2s;
}
.specs-toggle:hover{background:var(--navy); color:#fff; border-color:var(--navy);}
.specs-toggle .chevron{transition:transform .25s ease; flex-shrink:0;}
.specs-toggle.open .chevron{transform:rotate(180deg);}
.product-specs{
  font-size:.78rem; color:var(--gray-500); margin:0; list-style:none; padding:0;
  max-height:0; overflow:hidden; opacity:0;
  transition:max-height .3s ease, opacity .25s ease, margin .3s ease;
}
.product-specs.open{max-height:200px; opacity:1; margin:8px 0 0;}
.product-specs li{margin-bottom:2px;}
.product-actions{display:flex; gap:8px; margin-top:8px; flex-wrap:wrap;}
.pill-btn{
  flex:1; text-align:center; padding:9px 10px; border-radius:8px; font-size:.78rem; font-weight:600;
  font-family:var(--ff-head); cursor:pointer; border:1px solid var(--gray-300);
  background:#fff; color:var(--navy-deep);
  transition:.2s;
}
.pill-btn.solid{background:var(--navy); color:#fff; border-color:var(--navy);}
.pill-btn:hover{opacity:.85;}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.product-grid{grid-template-columns:1fr;}}

/* ===== Why ===== */
.why{background:var(--gray-50);}
.why-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; max-width:1300px; margin:50px auto 0;}
.why-card{
  background:#fff;
  border:1px solid var(--gray-100); border-radius:14px; padding:26px 20px; text-align:center; box-shadow:var(--shadow);
  font-family:var(--ff-head); font-weight:600; color:var(--navy-deep); font-size:.95rem;
  transition:transform .3s ease, box-shadow .3s ease;
}
.why-card:hover{transform:translateY(-4px); box-shadow:0 16px 34px rgba(18,59,86,.14);}
.why-card span{display:block; font-size:1.6rem; color:var(--gold); margin-bottom:10px;}
@media(max-width:900px){.why-grid{grid-template-columns:repeat(2,1fr);}}

/* ===== Timeline ===== */
.timeline-track{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0; max-width:1300px; margin:60px auto 0; position:relative;
}
.timeline-track::before{content:''; position:absolute; top:10px; left:0; right:0; height:2px; background:var(--gray-300);}
.tl-item{position:relative; padding:34px 20px 0; text-align:center;}
.tl-item::before{content:''; position:absolute; top:0; left:50%; transform:translateX(-50%); width:18px; height:18px;
  border-radius:50%; background:var(--navy); border:4px solid var(--gold);}
.tl-year{display:block; font-family:var(--ff-head); font-weight:700; color:var(--navy); margin-bottom:8px;}
.tl-item p{font-size:.85rem;}
@media(max-width:900px){.timeline-track{grid-template-columns:1fr; gap:40px;} .timeline-track::before{display:none;}}

/* ===== Projects ===== */
.project-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; max-width:1300px; margin:50px auto 0;}
.project-card{
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  background:#fff;
  transition:.3s; border:1px solid var(--gray-100);
}
.project-card:hover{transform:translateY(-6px); box-shadow:0 20px 44px rgba(18,59,86,.16); border-color:var(--navy);}
.project-img{aspect-ratio:16/10; overflow:hidden; background:linear-gradient(150deg,var(--navy-deep),var(--navy)); display:flex; align-items:center; justify-content:center;}
.project-img img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease;}
.project-card:hover .project-img img{transform:scale(1.07);}
.project-img .project-logo{
  width:auto; max-width:65%; height:auto; max-height:56%; object-fit:contain;
  background:transparent; transition:transform .35s ease;
}
.project-img{background:var(--navy-soft);}
.project-card:hover .project-img .project-logo{transform:scale(1.06);}
.project-img-icon{font-size:2.6rem; opacity:.85; filter:drop-shadow(0 4px 10px rgba(0,0,0,.25));}
.project-body{padding:22px;}
.project-industry{color:var(--gold); font-size:.75rem; font-weight:600; text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px;}
.project-body h3{font-size:1.05rem; margin-bottom:6px;}
.project-body p:last-child{font-size:.88rem; margin:0;}
@media(max-width:900px){.project-grid{grid-template-columns:1fr;}}

/* ===== Vision/Mission ===== */
.vm{background:linear-gradient(120deg,var(--navy-deep),#0C2C40); padding:90px 8vw; position:relative; overflow:hidden;}
.vm::before{content:''; position:absolute; inset:0; background:radial-gradient(circle at 20% 20%, rgba(44,91,133,.22), transparent 45%), radial-gradient(circle at 85% 80%, rgba(44,91,133,.16), transparent 45%); pointer-events:none;}
.vm-grid{display:grid; grid-template-columns:1fr 1fr; gap:40px; max-width:1200px; margin:0 auto; position:relative; z-index:1;}
.vm-card{background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); border-radius:var(--radius); padding:36px;}
.vm-card .section-eyebrow{color:var(--gold);}
.vm-card p{color:rgba(255,255,255,.85); font-size:1.05rem; margin:0;}
@media(max-width:800px){.vm-grid{grid-template-columns:1fr;}}

/* ===== Values ===== */
.values-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:18px; max-width:1300px; margin:50px auto 0;}
.value-card{
  background:linear-gradient(150deg,var(--navy-soft),#fff);
  border-radius:14px; padding:30px 16px; text-align:center;
  font-family:var(--ff-head); font-weight:600; color:var(--navy-deep); border:1px solid var(--gray-100);
  transition:transform .3s ease;
}
.value-card:hover{transform:translateY(-4px);}
@media(max-width:900px){.values-grid{grid-template-columns:repeat(2,1fr);}}

/* ===== CTA ===== */
.cta{
  text-align:left; padding:110px 8vw; position:relative; overflow:hidden;
  background:
    linear-gradient(90deg,var(--navy-deep) 0%,rgba(20,47,66,.95) 34%,rgba(20,47,66,.55) 62%,rgba(20,47,66,.12) 100%),
    url('images/site/banner-a.jpg') right center/cover no-repeat, var(--navy-deep);
}
.cta::before{content:''; position:absolute; inset:0; background:radial-gradient(circle at 12% 30%, rgba(255,255,255,.10), transparent 40%); pointer-events:none;}
.cta h2{color:#fff; max-width:620px; margin:0 0 16px; position:relative; z-index:1;}
.cta p{color:rgba(255,255,255,.85); max-width:520px; margin:0 0 34px; position:relative; z-index:1;}
.cta .hero-cta{justify-content:flex-start; position:relative; z-index:1;}
@media(max-width:700px){
  .cta{padding:70px 6vw; text-align:center;
    background:linear-gradient(180deg,rgba(20,47,66,.94),rgba(20,47,66,.82)), url('images/site/banner-a.jpg') 85% center/cover no-repeat, var(--navy-deep);}
  .cta h2, .cta p{margin-left:auto; margin-right:auto;}
  .cta .hero-cta{justify-content:center;}
}

/* ===== Contact ===== */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:50px; max-width:1300px; margin:0 auto; align-items:stretch;}
.contact-map{border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); min-height:420px; border:1px solid var(--gray-100);}
.contact-map iframe{width:100%; height:100%; min-height:420px; border:0;}
.contact-form{display:flex; flex-direction:column; gap:14px; margin-top:20px;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.contact-form input, .contact-form select, .contact-form textarea{
  padding:14px 16px; border-radius:10px; border:1px solid var(--gray-300); font-family:var(--ff-body); font-size:.92rem;
  width:100%; background:#fff;
}
.form-note{font-size:.85rem; color:var(--navy); min-height:1em;}
.contact-info{margin-top:36px; display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.contact-info div{display:flex; flex-direction:column; gap:4px;}
.contact-info strong{font-family:var(--ff-head); color:var(--navy-deep); font-size:.85rem; text-transform:uppercase; letter-spacing:.06em;}
.contact-info span{font-size:.9rem; color:var(--gray-500);}
.contact-info a{font-size:.9rem; color:var(--navy); font-weight:600; word-break:break-word;}
.contact-info a:hover{color:var(--gold); text-decoration:underline;}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr;} .form-row{grid-template-columns:1fr;} .contact-info{grid-template-columns:1fr;}}

/* ===== Specifications Modal ===== */
.spec-modal{position:fixed; inset:0; z-index:200; display:none; align-items:center; justify-content:center; padding:20px;}
.spec-modal.open{display:flex;}
.spec-modal-overlay{position:absolute; inset:0; background:rgba(18,59,86,.55);}
.spec-modal-panel{
  position:relative; background:#fff;
  border:1px solid var(--gray-100); border-radius:var(--radius); box-shadow:0 30px 80px rgba(18,59,86,.28);
  max-width:480px; width:100%; max-height:86vh; overflow-y:auto; padding:34px 30px;
  animation:modalPop .25s ease;
}
@keyframes modalPop{from{opacity:0; transform:translateY(14px) scale(.98);} to{opacity:1; transform:translateY(0) scale(1);}}
.spec-modal-close{
  position:absolute; top:14px; right:14px; width:34px; height:34px; border-radius:50%; border:none;
  background:var(--gray-100); color:var(--navy-deep); font-size:1.3rem; line-height:1; cursor:pointer;
}
.spec-modal-close:hover{background:var(--gray-300);}
.spec-modal-panel h3{font-size:1.2rem; margin:6px 0 10px;}
.spec-model-line{font-size:.85rem; color:var(--gray-500); margin-bottom:12px;}
.modal-specs{margin-top:10px; margin-bottom:20px;}
@media(max-width:600px){.spec-modal-panel{padding:28px 22px;}}

/* ===== Hidden Solution Detail Pages ===== */
.subpage-bar{padding:130px 8vw 0; background:linear-gradient(180deg,var(--navy-soft),#ffffff);}
.subpage-bar-inner{max-width:1300px; margin:0 auto; text-align:left;}
.page-hero.subpage-hero{padding-top:18px; background:transparent;}
.back-link{
  display:inline-flex; align-items:center; gap:8px; color:var(--navy-deep);
  background:#fff;
  border:1px solid var(--gray-300); box-shadow:var(--shadow);
  font-family:var(--ff-head); font-weight:600; font-size:.82rem; text-transform:uppercase; letter-spacing:.06em;
  padding:10px 20px; border-radius:999px; cursor:pointer; transition:.2s ease;
}
.back-link:hover{background:var(--navy-soft); border-color:var(--navy); color:var(--navy); transform:translateX(-3px);}
@media(max-width:600px){.subpage-bar{padding:110px 6vw 0;}}
.item-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; max-width:1200px; margin:50px auto 0;}
.item-card{
  background:#fff;
  border:1px solid var(--gray-100); border-radius:14px; box-shadow:var(--shadow);
  padding:24px 22px; display:flex; gap:14px; align-items:flex-start; transition:box-shadow .3s ease;
}
.item-icon{
  width:44px; height:44px; border-radius:10px; background:var(--navy-soft); color:var(--navy);
  border:1px solid var(--gray-100);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0;
}
.item-card h3{font-size:1rem; margin-bottom:6px;}
.item-card p{font-size:.85rem; margin:0;}
.item-card-link{cursor:pointer; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;}
.item-card-link:hover{transform:translateY(-4px); box-shadow:0 20px 44px rgba(18,59,86,.16); border-color:var(--gold);}
.solution-cta{text-align:center; margin-top:50px;}
@media(max-width:1000px){.item-grid{grid-template-columns:repeat(2,1fr);}}

/* ===== Feature Strip (below hero, JAF-style) ===== */
.feature-strip{padding:40px 8vw; display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.feature-tile{display:flex; flex-direction:column; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--gray-100);}
.feature-tile-img{
  aspect-ratio:16/10; position:relative; overflow:hidden;
  background:linear-gradient(150deg,var(--navy-deep),var(--navy));
  display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.feature-tile-img span{font-size:2.6rem; color:rgba(255,255,255,.5);}
.feature-tile-caption{
  background:#fff; padding:16px 20px; display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
}
.feature-tile-caption strong{font-family:var(--ff-head); font-size:1rem; color:var(--navy-deep);}
.feature-tile-caption a{color:var(--navy); font-weight:700; font-size:.88rem; white-space:nowrap;}
.feature-tile-caption a:hover{text-decoration:underline;}
@media(max-width:800px){
  .feature-strip{grid-template-columns:1fr;}
  .feature-tile{border-right:none; border-bottom:1px solid var(--gray-100);}
  .feature-tile:last-child{border-bottom:none;}
}

/* ===== WhatsApp floating button ===== */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:150;
  width:56px; height:56px; border-radius:50%; background:#25D366;
  border:1px solid rgba(255,255,255,.4);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 28px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.5); transition:.25s ease;
}
.wa-float:hover{transform:translateY(-4px) scale(1.05); box-shadow:0 16px 34px rgba(0,0,0,.3);}
.wa-float svg{width:28px; height:28px; fill:#fff;}
@media(max-width:600px){.wa-float{right:16px; bottom:16px; width:50px; height:50px;}}

/* ===== Footer ===== */
.site-footer{
  background:var(--navy-deep);
  color:rgba(255,255,255,.75); padding:70px 8vw 30px;
}
.footer-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; max-width:1300px; margin:0 auto 40px;}
.footer-logo{margin-bottom:16px;}
.footer-logo .logo-img{height:34px;}
.site-footer h4{color:#fff; font-size:.95rem; margin-bottom:16px;}
.site-footer a{display:block; margin-bottom:10px; font-size:.9rem; color:rgba(255,255,255,.7);}
.site-footer a:hover{color:var(--gold);}
.footer-cta-col p{font-size:.88rem; color:rgba(255,255,255,.7); margin-bottom:16px;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12); padding-top:24px; max-width:1300px; margin:0 auto; font-size:.82rem; text-align:center;}

/* ===== Talk to our team (contact page) ===== */
.talk-to-us{margin-top:36px;}
.talk-to-us h3{font-size:1rem; margin-bottom:14px; color:var(--navy-deep);}
.talk-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
.talk-item{
  display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:12px;
  border:1px solid var(--gray-100); background:var(--gray-50); transition:.2s ease;
}
.talk-item:hover{border-color:var(--navy); background:var(--navy-soft); transform:translateY(-2px);}
.talk-icon{font-size:1.3rem; flex-shrink:0;}
.talk-item strong{display:block; font-family:var(--ff-head); font-size:.88rem; color:var(--navy-deep);}
.talk-item small{font-size:.78rem; color:var(--gray-500);}
@media(max-width:600px){.talk-grid{grid-template-columns:1fr;}}

/* ===== Scroll reveal ===== */
.reveal{opacity:0; transform:translateY(18px); animation:fadeUp .8s ease forwards;}
.reveal:nth-child(2){animation-delay:.1s;}
.reveal:nth-child(3){animation-delay:.2s;}
.reveal:nth-child(4){animation-delay:.3s;}
@keyframes fadeUp{to{opacity:1; transform:translateY(0);}}

[data-observe]{opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease;}
[data-observe].in-view{opacity:1; transform:translateY(0);}

/* ===== Responsive nav ===== */
@media(max-width:900px){
  .nav-links{
    position:fixed; top:70px; left:0; right:0; background:rgba(255,255,255,.97); backdrop-filter:var(--glass-blur); -webkit-backdrop-filter:var(--glass-blur); flex-direction:column; padding:24px 8vw;
    box-shadow:var(--glass-shadow); border-top:1px solid var(--glass-border); transform:translateY(-140%); transition:.3s; z-index:99;
    max-height:calc(100vh - 70px); overflow-y:auto;
  }
  .nav-links.open{transform:translateY(0);}
  .nav-links a{color:var(--gray-800)!important; padding:10px 0;}
  .nav-toggle{display:flex;}
  .nav-actions .btn-sm{display:none;}
  .nav-links .nav-quote-mobile{
    display:inline-block; margin-top:16px; text-align:center;
    color:#fff!important; padding:12px 22px;
  }
  section{padding:70px 6vw;}
}
.nav-quote-mobile{display:none;}

/* ===== Small-screen refinements (phones) ===== */
@media(max-width:700px){
  .footer-grid{grid-template-columns:1fr; gap:34px; text-align:left;}
  .item-grid{grid-template-columns:1fr;}
}
@media(max-width:600px){
  .page-hero{padding:130px 6vw 50px;}
  .cta .hero-cta{flex-direction:column; align-items:stretch;}
  .cta .hero-cta .btn{width:100%;}
  .why-grid, .values-grid{grid-template-columns:1fr;}
  .cat-head{flex-direction:column; align-items:stretch;}
  .cat-filters{flex-direction:column;}
  .cat-filters select, .cat-filters input{width:100%;}
  .form-row{grid-template-columns:1fr;}
  .site-footer{padding:50px 6vw 24px;}
  section{padding:56px 6vw;}
}
@supports (height:100dvh){
  @media(min-width:1001px){.hero{min-height:100dvh;}}
}
/* ===== Accessibility utility ===== */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ===== Focus visibility ===== */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold, #c9a24b);
  outline-offset: 2px;
}

/* ===== Sub-category tabs (used inside long category panels, e.g. Other Engineering Products) ===== */
.sub-tabs{
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center;
  margin:28px 0 8px;
}
.sub-tab{
  font-family:inherit; font-size:.85rem; font-weight:600; letter-spacing:.02em;
  padding:9px 20px; border-radius:999px; border:1px solid var(--gray-200,#dfe4e9);
  background:#fff; color:var(--navy); cursor:pointer; transition:.2s;
}
.sub-tab:hover{border-color:var(--navy); background:var(--navy-soft,#EDF2F6);}
.sub-tab.active{background:var(--navy); border-color:var(--navy); color:#fff;}
.sub-tab-panel{display:none;}
.sub-tab-panel.active{display:block; animation:panelIn .35s ease both;}
@media(max-width:600px){
  .sub-tabs{gap:8px;}
  .sub-tab{padding:8px 14px; font-size:.8rem;}
}
