/* ============================================================
   PAGES — hero + section-specific layouts
   ============================================================ */

/* ---------- HOME HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vh, 2.5rem));
  padding-bottom: clamp(6rem, 13vh, 9.5rem);
  overflow: hidden;
  background: var(--grad-hero);
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .blob { width: 620px; height: 620px; opacity: .55; }
.hero-bg .b1 { top: -180px; right: -140px; }
.hero-bg .b2 { bottom: -220px; left: -160px; background: radial-gradient(circle, rgba(69,80,122,.6), transparent 70%); }
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}
.hero-waves { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1; line-height: 0; }
.hero-inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; width: 100%;
}
.hero-copy { max-width: 640px; }
.hero h1 { font-size: var(--fs-hero); color: #fff; margin-block: var(--sp-4) var(--sp-5); }
.hero h1 .accent { color: var(--orange-400); }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  font-weight: var(--fw-regular);
  color: var(--navy-100);
  max-width: 560px;
  margin-bottom: var(--sp-7);
  letter-spacing: 0;
}

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: var(--r-xl); padding: var(--sp-5);
  box-shadow: var(--sh-lg);
}
.hero-card img { border-radius: var(--r-lg); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.hero-float-card {
  position: absolute; z-index: 4;
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--r-md); padding: 14px 18px;
  box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 12px;
}
.hero-float-card .hf-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--grad-brand); color:#fff; display:grid; place-items:center; }
.hero-float-card .hf-ico svg { width: 22px; height: 22px; }
.hero-float-card strong { display:block; font-family: var(--font-display); color: var(--navy-600); font-size: 1rem; }
.hero-float-card span { font-size: .76rem; color: var(--color-muted); }
.hero-float-card.f1 { top: 8%; left: -34px; }
.hero-float-card.f2 { bottom: 12%; right: -28px; }
.scroll-cue-wrap { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 4; display:flex; flex-direction:column; align-items:center; gap:8px; }
.scroll-cue-wrap span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* Rotating badge on hero card */
.spin-badge { position: absolute; z-index: 5; width: 110px; height: 110px; top: -46px; right: -30px; }
.spin-badge .ring-text { animation: spinSlow 18s linear infinite; }
.spin-badge .center-ico {
  position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange-500); color:#fff; display:grid; place-items:center; box-shadow: var(--sh-accent);
}
.spin-badge .center-ico svg { width: 22px; height: 22px; }

/* ---------- INNER PAGE HERO ---------- */
.page-hero {
  position: relative; padding-top: calc(var(--header-h) + clamp(2.5rem,5vw,4rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: var(--grad-hero); color: #fff; overflow: hidden;
}
.page-hero .hero-grid-overlay { opacity: .45; }
.page-hero-inner { position: relative; z-index: 3; max-width: 780px; }
.page-hero h1 { color:#fff; font-size: var(--fs-h1); margin-block: var(--sp-3) var(--sp-4); }
.page-hero p { color: var(--navy-100); font-size: var(--fs-lead); max-width: 620px; }
.page-hero .breadcrumb { padding-bottom: 0; }
.page-hero .breadcrumb li, .page-hero .breadcrumb a { color: rgba(255,255,255,.7); }
.page-hero .breadcrumb li[aria-current] { color: #fff; }
.page-hero .breadcrumb a:hover { color: var(--orange-300); }
.page-hero-blob { position: absolute; width: 480px; height: 480px; top: -180px; right: -120px; z-index: 0; }

/* ---------- INDUSTRIES ---------- */
.industry-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 260px;
  display: flex; align-items: flex-end; padding: var(--sp-5); color: #fff;
  background: var(--grad-navy);
}
.industry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  transition: transform var(--t-slow) var(--ease); }
.industry-card:hover img { transform: scale(1.09); }
.industry-card::after { content:""; position:absolute; inset:0; z-index:1;
  background: linear-gradient(to top, rgba(12,18,36,.9) 8%, rgba(12,18,36,.25) 70%); }
.industry-card .ic-body { position: relative; z-index: 2; }
.industry-card .ic-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2); display:grid; place-items:center; margin-bottom: 14px; transition: all var(--t-mid) var(--ease); }
.industry-card:hover .ic-ico { background: var(--orange-500); border-color: var(--orange-500); }
.industry-card .ic-ico svg { width: 22px; height: 22px; color:#fff; }
.industry-card h3 { color:#fff; font-size: 1.2rem; margin-bottom: 6px; }
.industry-card p { color: rgba(255,255,255,.75); font-size: .86rem; }

/* ---------- TESTIMONIALS ---------- */
.testi-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--r-lg);
  padding: var(--sp-6); position: relative;
}
.testi-card .quote-mark { font-family: var(--font-display); font-size: 4rem; line-height: .6; color: var(--orange-200); }
.testi-card p { font-size: 1.02rem; color: var(--color-body); font-style: italic; margin-block: var(--sp-3) var(--sp-5); }
.testi-foot { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--grad-navy); color:#fff;
  display:grid; place-items:center; font-family: var(--font-display); font-weight: var(--fw-bold); }
.testi-foot strong { display:block; font-family: var(--font-display); color: var(--navy-600); }
.testi-foot span { font-size: .82rem; color: var(--color-muted); }
.stars { display: flex; gap: 3px; color: var(--orange-500); }
.stars svg { width: 16px; height: 16px; }

/* ---------- PRODUCTS MARQUEE ---------- */
.marquee-item {
  height: 46px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1.15rem;
  color: var(--navy-300); letter-spacing: .02em; white-space: nowrap; opacity: .8;
  transition: color var(--t-fast), opacity var(--t-fast);
}
.marquee-item:hover, .marquee-item:focus-visible { color: var(--orange-500); opacity: 1; }

/* ---------- CTA BAND ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--grad-navy); color: #fff; padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center; box-shadow: var(--sh-lg);
}
.cta-band::before { content:""; position:absolute; width:400px; height:400px; border-radius:50%;
  background: radial-gradient(circle, rgba(243,79,36,.28), transparent 68%); top:-160px; left:-80px; }
.cta-band::after { content:""; position:absolute; width:360px; height:360px; border-radius:50%;
  background: radial-gradient(circle, rgba(69,80,122,.5), transparent 68%); bottom:-160px; right:-60px; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color:#fff; font-size: var(--fs-h2); margin-bottom: var(--sp-4); }
.cta-band p { color: var(--navy-100); font-size: var(--fs-lead); max-width: 560px; margin: 0 auto var(--sp-6); }

/* ---------- PRODUCTS LISTING ---------- */
.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: var(--sp-7); align-items: start; }
.filter-sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.filter-box { background: #fff; border: 1px solid var(--color-border); border-radius: var(--r-lg); padding: var(--sp-5); margin-bottom: var(--sp-5); }
.filter-box h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-faint); margin-bottom: var(--sp-4); }
.filter-list { display: flex; flex-direction: column; gap: 4px; }
.filter-list button {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: var(--r-sm); font-size: .92rem; font-weight: var(--fw-medium);
  color: var(--navy-600); transition: all var(--t-fast) var(--ease); width: 100%; text-align: left;
}
.filter-list button:hover { background: var(--orange-050); color: var(--orange-600); }
.filter-list button.active { background: var(--navy-600); color: #fff; }
.filter-list button .count { font-size: .78rem; opacity: .7; }
.search-box { position: relative; margin-bottom: var(--sp-5); }
.search-box input { width: 100%; padding: 14px 16px 14px 44px; border-radius: var(--r-pill);
  border: 1.5px solid var(--color-border); background: #fff; }
.search-box input:focus { border-color: var(--orange-400); box-shadow: 0 0 0 4px rgba(243,79,36,.1); }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--color-faint); }
.products-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-5); gap: var(--sp-4); flex-wrap: wrap; }
.products-toolbar .count-label { font-size: .9rem; color: var(--color-muted); }
.no-results { text-align:center; padding: var(--sp-8); color: var(--color-muted); }

/* ---------- PRODUCT DETAIL ---------- */
.pd-hero { position: relative; padding-top: calc(var(--header-h) + clamp(2rem,4vw,3rem)); padding-bottom: clamp(2.5rem,5vw,4rem);
  background: var(--grad-hero); color: #fff; overflow: hidden; }
.pd-hero-inner { position: relative; z-index: 3; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
.pd-hero h1 { color:#fff; font-size: var(--fs-h1); margin-block: var(--sp-4) var(--sp-4); }
.pd-hero .lead { color: var(--navy-100); }
.pd-hero-meta { display: flex; gap: var(--sp-6); margin-top: var(--sp-6); flex-wrap: wrap; }
.pd-hero-meta .m { }
.pd-hero-meta .m .v { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1.5rem; color: var(--orange-400); }
.pd-hero-meta .m .k { font-size: .78rem; color: var(--navy-200); }
.pd-hero-visual img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); aspect-ratio: 4/3.2; object-fit: cover; width:100%; }

/* Sub-product rows — one product per row, alternating media side */
.subproduct-row + .subproduct-row { border-top: 1px solid var(--color-border); margin-top: var(--sp-7); padding-top: var(--sp-7); }
.subproduct-row .pd-hero-visual { margin: 0; }

/* Hero collage — multiple sub-products in one hero visual */
.pd-hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-hero-collage figure {
  position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 4/3.2; box-shadow: var(--sh-lg);
}
.pd-hero-collage figure img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero-collage figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px;
  font-family: var(--font-display); font-size: .78rem; font-weight: var(--fw-semibold);
  color: #fff; background: linear-gradient(to top, rgba(16,24,46,.85), transparent 80%);
}

.pd-layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--sp-7); align-items: start; }
.pd-main > section { margin-bottom: var(--sp-8); scroll-margin-top: 100px; }
.pd-main h2 { font-size: var(--fs-h3); margin-bottom: var(--sp-4); }
.pd-main p { margin-bottom: var(--sp-4); }
.pd-sticky { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: var(--sp-5); }
.pd-toc { background: #fff; border: 1px solid var(--color-border); border-radius: var(--r-lg); padding: var(--sp-5); }
.pd-toc h4 { font-size: .76rem; letter-spacing:.14em; text-transform:uppercase; color: var(--color-faint); margin-bottom: 14px; }
.pd-toc a { display: block; padding: 8px 12px; border-radius: var(--r-sm); font-size: .9rem; color: var(--color-muted);
  border-left: 2px solid transparent; transition: all var(--t-fast) var(--ease); }
.pd-toc a:hover, .pd-toc a.active { color: var(--orange-600); background: var(--orange-050); border-left-color: var(--orange-500); }
.pd-inquiry { background: var(--grad-navy); color:#fff; border-radius: var(--r-lg); padding: var(--sp-6); text-align: center; }
.pd-inquiry h4 { color:#fff; margin-bottom: 8px; }
.pd-inquiry p { color: var(--navy-100); font-size: .88rem; margin-bottom: var(--sp-5); }

.spec-table { border: 1px solid var(--color-border); border-radius: var(--r-md); overflow: hidden; }
.spec-table tr { border-bottom: 1px solid var(--color-border); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table tr:nth-child(even) { background: var(--color-surface-2); }
.spec-table td { padding: 14px 18px; font-size: .94rem; }
.spec-table td:first-child { font-weight: var(--fw-semibold); color: var(--navy-600); font-family: var(--font-display); width: 45%; }

.working-steps { display: grid; gap: var(--sp-4); counter-reset: ws; }
.working-steps .ws {
  display: flex; gap: 18px; padding: var(--sp-5); background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--r-md); align-items: flex-start; transition: all var(--t-mid) var(--ease);
}
.working-steps .ws:hover { border-color: var(--orange-200); box-shadow: var(--sh-sm); transform: translateX(4px); }
.working-steps .ws::before {
  counter-increment: ws; content: counter(ws, decimal-leading-zero);
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1.3rem; color: var(--orange-500);
  flex-shrink: 0; line-height: 1;
}
.working-steps .ws h4 { margin-bottom: 4px; font-size: 1.02rem; }
.working-steps .ws p { margin: 0; font-size: .92rem; color: var(--color-muted); }

/* ---------- CONTACT ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-7); align-items: start; }
.contact-cards { display: grid; gap: var(--sp-4); }
.contact-card { display: flex; gap: 16px; padding: var(--sp-5); background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--r-md); align-items: flex-start; transition: all var(--t-mid) var(--ease); }
.contact-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); border-color: var(--orange-200); }
.contact-card .cc-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--grad-brand); color:#fff;
  display:grid; place-items:center; flex-shrink:0; }
.contact-card .cc-ico svg { width: 23px; height: 23px; }
.contact-card h4 { font-size: 1rem; margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: .92rem; color: var(--color-muted); }
.contact-card a:hover { color: var(--orange-600); }
.contact-form-wrap { background: #fff; border: 1px solid var(--color-border); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--sh-md); }
.map-embed { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); border: 1px solid var(--color-border);
  aspect-ratio: 21/9; background: var(--navy-050); position: relative; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--color-muted); }

/* Success animation */
.form-success { text-align: center; padding: var(--sp-7) var(--sp-4); }
.success-check { width: 84px; height: 84px; margin: 0 auto var(--sp-5); }
.success-check circle { stroke: var(--color-success); stroke-width: 3; fill: none; stroke-dasharray: 166; stroke-dashoffset: 166; animation: dash .6s var(--ease-out) forwards; }
.success-check path { stroke: var(--color-success); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: dash .4s .5s var(--ease-out) forwards; }

/* ---------- BLOG ---------- */
.blog-card { display: flex; flex-direction: column; background:#fff; border: 1px solid var(--color-border);
  border-radius: var(--r-lg); overflow: hidden; transition: all var(--t-mid) var(--ease); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.blog-card .bc-media { aspect-ratio: 16/9; overflow: hidden; }
.blog-card .bc-media img { width:100%; height:100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.blog-card:hover .bc-media img { transform: scale(1.07); }
.blog-card .bc-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-meta { display: flex; gap: 14px; font-size: .78rem; color: var(--color-faint); }
.blog-card h3 { font-size: 1.14rem; }
.blog-card p { font-size: .9rem; color: var(--color-muted); }

/* ---------- 404 ---------- */
.err-page { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--grad-hero); color:#fff;
  padding: var(--header-h) var(--gutter) 0; position: relative; overflow: hidden; }
.err-code { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: clamp(6rem, 20vw, 14rem);
  line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-page h1 { color:#fff; margin-block: var(--sp-3) var(--sp-4); }
.err-page p { color: var(--navy-100); max-width: 460px; margin: 0 auto var(--sp-6); }

/* ---------- LEGAL / PROSE ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: var(--fs-h3); margin-block: var(--sp-6) var(--sp-3); }
.prose h3 { font-size: 1.2rem; margin-block: var(--sp-5) var(--sp-2); }
.prose p, .prose li { color: var(--color-body); margin-bottom: var(--sp-3); }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: var(--sp-4); }
.prose ul li { margin-bottom: 8px; }
.prose a { color: var(--orange-600); text-decoration: underline; }

/* ---------- MISC: value cards / why-us ---------- */
.why-card { display: flex; gap: 18px; align-items: flex-start; padding: var(--sp-5);
  border-radius: var(--r-lg); transition: all var(--t-mid) var(--ease); border: 1px solid transparent; }
.why-card:hover { background: #fff; border-color: var(--color-border); box-shadow: var(--sh-md); }
.why-card .wc-ico { flex-shrink:0; width: 54px; height: 54px; border-radius: 15px; background: var(--navy-050);
  color: var(--navy-600); display:grid; place-items:center; transition: all var(--t-mid) var(--ease); }
.why-card:hover .wc-ico { background: var(--grad-brand); color:#fff; }
.why-card .wc-ico svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.why-card p { font-size: .92rem; color: var(--color-muted); margin: 0; }

/* Origin / made-in callout */
.origin-badge {
  display: flex; gap: 16px; align-items: center;
  background: var(--orange-050); border: 1px solid var(--orange-200);
  border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); margin-top: var(--sp-5);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.origin-badge:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); }
.origin-badge .ob-ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center;
}
.origin-badge strong { display: block; font-family: var(--font-display); color: var(--navy-600); margin-bottom: 2px; }
.origin-badge p { margin: 0; font-size: .92rem; color: var(--color-muted); }

/* Overview split highlight boxes */
.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-4); }
.mini-stat { background:#fff; border:1px solid var(--color-border); border-radius: var(--r-md); padding: var(--sp-4); text-align:center; }
.mini-stat .v { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1.6rem; color: var(--navy-600); }
.mini-stat .k { font-size: .78rem; color: var(--color-muted); }
a.mini-stat { display: block; text-decoration: none; cursor: pointer; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
a.mini-stat:hover, a.mini-stat:focus-visible { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--orange-200); }

/* Category grid (products page top + home) */
.cat-card { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: var(--sp-6); min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between; background: #fff; border: 1px solid var(--color-border);
  transition: all var(--t-mid) var(--ease); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.cat-card .cc-ico { width: 56px; height: 56px; border-radius: 15px; background: var(--navy-050); color: var(--navy-600);
  display:grid; place-items:center; transition: all var(--t-mid) var(--ease); }
.cat-card:hover .cc-ico { background: var(--grad-brand); color:#fff; transform: rotate(-6deg); }
.cat-card .cc-ico svg { width: 28px; height: 28px; }
.cat-card h3 { font-size: 1.16rem; margin-block: var(--sp-4) 6px; }
.cat-card p { font-size: .88rem; color: var(--color-muted); }
.cat-card .cc-arrow { position: absolute; top: var(--sp-5); right: var(--sp-5); color: var(--color-faint); transition: all var(--t-mid) var(--ease); }
.cat-card:hover .cc-arrow { color: var(--orange-500); transform: translate(3px,-3px); }
.cat-card .cc-arrow svg { width: 22px; height: 22px; }
