/* ==========================================================
   Wisdom Enterprise — "Precision Blueprint" design system
   All colors / fonts come from Admin → Site Settings → Theme & Branding
   (printed as CSS variables in the page <head>).
   ========================================================== */

:root {
  --primary: #1d5fd1;
  --secondary: #0e1a2b;
  --accent: #f59e0b;
  --topbar: #0e1a2b;
  --footer: #0b1522;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --logo-h: 52px;

  --primary-dark: color-mix(in srgb, var(--primary) 80%, #000);
  --primary-soft: color-mix(in srgb, var(--primary) 9%, #fff);
  --primary-line: color-mix(in srgb, var(--primary) 24%, #fff);
  --ink: var(--secondary);
  --text: #1e293b;
  --body: #475569;
  --muted: #64748b;
  --line: #e3e8ef;
  --paper: #f5f7fa;
  --radius: 16px;
  --radius-sm: 10px;
  --notch: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 43, .05), 0 2px 8px rgba(14, 26, 43, .04);
  --shadow: 0 12px 32px rgba(14, 26, 43, .09);
  --shadow-lg: 0 26px 60px rgba(14, 26, 43, .18);
  --header-h: 82px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grid-line: rgba(255, 255, 255, .055);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 32px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.accent { color: var(--primary); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 6px; }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -.18em; }

/* ---------- Custom cursor (blend-mode circle that inverts what it covers) ---------- */
.cursor-ball {
  --cursor-size: 160px;
  position: fixed; top: 0; left: 0; z-index: 2147483000; pointer-events: none;
  width: var(--cursor-size); height: var(--cursor-size); margin: calc(var(--cursor-size) / -2) 0 0 calc(var(--cursor-size) / -2);
  mix-blend-mode: difference; will-change: transform;
}
.cursor-ball::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff;
  transform: scale(.12); opacity: 0;
  transition: transform .45s var(--ease), opacity .3s ease;
}
.cursor-ball.is-visible::before { opacity: 1; }
.cursor-ball.is-link::before { transform: scale(.42); }
.cursor-ball.is-grow::before { transform: scale(1); }
.cursor-ball.is-down::before { transform: scale(.08); transition-duration: .15s; }
.cursor-ball.is-grow.is-down::before { transform: scale(.85); }
.cursor-ball.is-hidden::before { transform: scale(0); opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor-ball { display: none; } }
/* Per-page cursor looks (Admin > Page Content > Mouse Cursor Style) */
.cursor-ball.cursor-brand, .cursor-ball.cursor-gold, .cursor-ball.cursor-ring, .cursor-ball.cursor-dot { mix-blend-mode: normal; }
.cursor-ball.cursor-brand::before { background: var(--primary); opacity: 0; }
.cursor-ball.cursor-brand.is-visible::before { opacity: .85; }
.cursor-ball.cursor-brand.is-grow::before { opacity: .28; }
.cursor-ball.cursor-gold::before { background: radial-gradient(circle at 35% 30%, #f6dc92, #c99a3b 55%, #8a6420); }
.cursor-ball.cursor-gold.is-visible::before { opacity: .9; }
.cursor-ball.cursor-gold.is-grow::before { opacity: .35; }
.cursor-ball.cursor-ring::before { background: transparent; border: 3px solid var(--primary); }
.cursor-ball.cursor-ring.is-grow::before { transform: scale(.55); border-width: 1.5px; }
.cursor-ball.cursor-ring::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: var(--primary); opacity: 0; transition: opacity .3s ease;
}
.cursor-ball.cursor-ring.is-visible::after { opacity: 1; }
.cursor-ball.cursor-ring.is-hidden::after { opacity: 0; }
.cursor-ball.cursor-dot::before { background: var(--primary); }
.cursor-ball.cursor-dot.is-link::before, .cursor-ball.cursor-dot.is-grow::before { transform: scale(.12); }
.cursor-ball.cursor-dot.is-link::before { transform: scale(.2); }
.cursor-ball.cursor-dot.is-down::before { transform: scale(.08); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px;
  padding: 6px 8px 6px 22px; border-radius: 12px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn-ico { width: 36px; height: 36px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .18); transition: transform .25s var(--ease); }
.btn-ico .icon { width: 17px; height: 17px; }
.btn:hover .btn-ico { transform: translateX(3px) rotate(-45deg); }
.btn-plain { padding: 12px 22px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 30%, transparent); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: color-mix(in srgb, var(--ink) 85%, #fff); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn-ghost .btn-ico { background: rgba(255, 255, 255, .12); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); color: #fff; }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline .btn-ico { background: var(--primary-soft); color: var(--primary); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light .btn-ico { background: var(--primary-soft); color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }
.btn-sm { min-height: 40px; font-size: 14px; padding: 4px 6px 4px 16px; }
.btn-sm .btn-ico { width: 30px; height: 30px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--primary); }
.link-arrow .icon { transition: transform .25s; }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--topbar); color: #d7dde6; font-size: 13.5px; position: relative; z-index: 110; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; }
.topbar-info { display: flex; align-items: center; gap: 24px; }
.topbar-info a, .topbar-info > span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info .icon { color: var(--accent); width: 15px; height: 15px; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-social { display: flex; gap: 4px; }
.topbar-social a { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.topbar-social a:hover { background: rgba(255, 255, 255, .1); }
.topbar-social .icon { width: 15px; height: 15px; }
.translate-box { display: flex; align-items: center; gap: 6px; min-height: 26px; max-height: 30px; overflow: hidden; }
.translate-box > .icon { width: 16px; height: 16px; color: var(--accent); }
#google_translate_element, #google_translate_element > div { line-height: 1; }
.goog-te-gadget-simple { background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(255, 255, 255, .2) !important; border-radius: 7px !important; padding: 4px 8px !important; font-size: 12.5px !important; line-height: 1.2 !important; display: inline-flex !important; align-items: center; white-space: nowrap; }
.goog-te-gadget-simple img, .goog-te-gadget-icon { display: none !important; }
.goog-te-gadget-simple a, .goog-te-gadget-simple span, .goog-te-menu-value span { color: #fff !important; border: 0 !important; font-family: var(--font-body) !important; text-decoration: none !important; }
.goog-te-combo { background: rgba(255, 255, 255, .08) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .18) !important; border-radius: 7px !important; padding: 3px 6px !important; font-size: 12.5px !important; max-width: 150px; margin: 0 !important; }
.goog-te-combo option { color: #111; }
.goog-te-banner-frame, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; position: static !important; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(14, 26, 43, .08); }
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--primary); transition: width .6s var(--ease); }
.site-header.is-scrolled::after { width: 100%; }
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.logo-img { height: var(--logo-h); width: auto; max-width: 240px; object-fit: contain; }
.logo-mark svg { display: block; width: calc(var(--logo-h) * .9); height: calc(var(--logo-h) * .9); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--font-head); font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.logo-text em { font-style: normal; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); max-width: 200px; margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 10px; background: none; border: 0;
  font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--ink); transition: color .2s, background .2s;
}
.nav-link .icon { width: 15px; height: 15px; transition: transform .25s; }
.nav-link:hover { color: var(--primary); }
.main-nav > ul > li.active > .nav-link { color: var(--primary); }
.main-nav > ul > li.active > .nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--primary); }
.has-sub:hover > .nav-link .icon, .has-sub.open > .nav-link .icon { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 12px); left: -10px; width: 330px; padding: 10px; background: #fff; border-radius: 16px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .22s var(--ease);
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; transition: background .2s; }
.sub-menu a:hover, .sub-menu li.active a { background: var(--paper); }
.sub-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sub-ico .icon { width: 18px; height: 18px; }
.sub-menu strong { display: block; font-family: var(--font-head); font-size: 14.5px; font-weight: 700; color: var(--ink); }
.sub-menu small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.nav-cta { margin-left: 10px; }

.nav-head, .nav-mobile-contact { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-overlay { position: fixed; inset: 0; background: rgba(8, 14, 24, .6); z-index: 140; opacity: 0; visibility: hidden; transition: .3s; }
body.nav-open { overflow: hidden; }
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
body.nav-open .site-header { z-index: 160; }

/* ---------- Section scaffolding ---------- */
.section { padding: 104px 0; position: relative; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: #c8d1dd; isolation: isolate; }
.section-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 44px 44px; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { margin-bottom: 52px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split-head { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section-head.split-head > div { max-width: 700px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-head.center .kicker::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-dark .kicker { color: color-mix(in srgb, var(--primary) 45%, #fff); }
.section-title { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; }
.section-title .accent { color: var(--primary); }
.section-dark .section-title .accent { color: color-mix(in srgb, var(--primary) 50%, #fff); }
.section-text { color: var(--muted); font-size: 17.5px; margin: 0; }
.section-dark .section-text { color: #aab6c6; }
.rich-text { color: var(--body); font-size: 16.5px; line-height: 1.75; }
.rich-text p:last-child { margin-bottom: 0; }
.section-dark .rich-text { color: #b9c4d2; }
.check-list { display: grid; gap: 12px; margin-top: 18px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-weight: 500; }
.section-dark .check-list li { color: #e2e8f0; }
.check-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: var(--primary); color: #fff; margin-top: 2px; stroke-width: 3; }
.mt-lg { margin-top: 34px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.frame { position: relative; z-index: 0; }
.frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--primary-line); border-radius: var(--radius); z-index: -1; }
.frame-media { position: relative; aspect-ratio: 4 / 3.1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); }
.frame-media .media, .frame-media .img-placeholder { position: absolute; inset: 0; }
.frame-media.frame-icon { display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--primary-soft), #fff); border: 1px solid var(--primary-line); box-shadow: var(--shadow-lg); }
.frame-icon-circle { width: 46%; max-width: 220px; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; box-shadow: 0 0 0 18px color-mix(in srgb, var(--primary) 10%, transparent), 0 0 0 40px color-mix(in srgb, var(--primary) 5%, transparent), 0 20px 40px color-mix(in srgb, var(--primary) 30%, transparent); }
.frame-icon-circle .icon { width: 50%; height: 50%; stroke-width: 1.6; }
.frame-badge {
  position: absolute; left: -26px; bottom: 34px; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px; border-left: 4px solid var(--primary); max-width: 280px; z-index: 2;
}
.frame-badge .icon-box { width: 46px; height: 46px; }
.frame-badge strong { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1; color: var(--ink); }
.frame-badge span { font-size: 13px; color: var(--muted); }
.frame-badge.dark { background: var(--ink); }
.frame-badge.dark strong { color: #fff; font-size: 18px; }

/* ---------- Media ---------- */
.media { display: block; width: 100%; height: 100%; object-fit: cover; background: #0b1320; }
.media-embed { position: relative; overflow: hidden; container-type: size; }
.media-embed iframe { position: absolute; top: 50%; left: 50%; border: 0; width: 100%; height: 100%; transform: translate(-50%, -50%); }
.media-cover.media-embed iframe { width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); pointer-events: none; }
.media-embed .embed-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-player.media-embed { aspect-ratio: 16 / 9; height: auto; }
.img-placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e7ecf3, #f7f9fc); color: #9aa8b9; width: 100%; height: 100%; min-height: 160px; }
.img-placeholder .icon { width: 44px; height: 44px; }
.play-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 66px; height: 66px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); z-index: 2; pointer-events: none; }
.play-badge::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); animation: ring 2s infinite; }
.play-badge .icon { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero-track { display: grid; min-height: clamp(580px, 84vh, 800px); }
.hero-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; isolation: isolate; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media .media { width: 100%; height: 100%; transform: scale(1.05); transition: transform 8s ease; }
.hero-slide.is-active .hero-media .media { transform: scale(1); }
.hero-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, color-mix(in srgb, var(--secondary) 94%, transparent) 0%, color-mix(in srgb, var(--secondary) 72%, transparent) 42%, color-mix(in srgb, var(--secondary) 8%, transparent) 100%); }
.hero-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 75%); mask-image: linear-gradient(90deg, #000 30%, transparent 75%); }
.hero-content { max-width: 720px; padding: 60px 0 190px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--primary) 40%, #fff); margin-bottom: 22px; }
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.hero-title { color: #fff; font-size: clamp(34px, 5.2vw, 66px); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; margin-bottom: 22px; }
.hero-title span { display: block; color: color-mix(in srgb, var(--primary) 55%, #fff); }
.hero-content p { font-size: 18px; color: #cfd8e4; max-width: 600px; margin-bottom: 34px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-slide.is-active .hero-content > * { animation: rise .9s var(--ease) both; }
.hero-slide.is-active .hero-content > *:nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-content > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 100px; z-index: 3; }
.hero-nav .container { display: flex; align-items: flex-end; gap: 18px; }
.hero-tabs { display: flex; gap: 14px; flex: 1; max-width: 760px; }
.hero-tab { flex: 1; min-width: 0; text-align: left; background: none; border: 0; color: rgba(255, 255, 255, .55); padding: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; }
.hero-tab .bar { display: block; height: 3px; background: rgba(255, 255, 255, .22); border-radius: 3px; overflow: hidden; margin-bottom: 10px; }
.hero-tab .bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.hero-tab.is-active { color: #fff; }
.hero-tab.is-active .bar i { animation: fill var(--hero-speed, 7s) linear forwards; }
.hero.is-paused .hero-tab.is-active .bar i { animation-play-state: paused; }
.hero-tab .t { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes fill { to { width: 100%; } }
.hero-ctrl { display: flex; gap: 8px; margin-left: auto; }
.hero-ctrl button { width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); transition: .2s; }
.hero-ctrl button:hover { background: var(--primary); border-color: var(--primary); }
.hero-ctrl .i-play { display: none; }
.hero.is-paused .i-pause { display: none; }
.hero.is-paused .i-play { display: block; }

/* Stats card overlapping the hero */
.stats-wrap { position: relative; z-index: 5; margin-top: -60px; }
.stats-card { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 30px 28px; position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.stat strong .u { color: var(--primary); }
.stat > span { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat::after { content: ""; position: absolute; left: 28px; top: 0; width: 36px; height: 3px; background: var(--primary); }
.stats-plain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-plain .stat { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; }
.stats-plain .stat + .stat { border-left: 1px solid rgba(255, 255, 255, .1); }
.stats-plain .stat strong { color: #fff; }
.stats-plain .stat > span { color: #aab6c6; }

/* ---------- Cards ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.notch { clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .3s, color .3s; }
.icon-box .icon { width: 24px; height: 24px; }
.card:hover .icon-box { background: var(--primary); color: #fff; }
.feature { padding: 30px 28px; }
.feature h3 { font-size: 19px; font-weight: 700; margin: 20px 0 8px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }
.feature .num { position: absolute; top: 24px; right: 30px; font-family: var(--font-mono); font-size: 13px; color: #a0acbb; }

/* Photo / video cards with caption overlay */
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; display: flex; align-items: flex-end; background: var(--ink); isolation: isolate; box-shadow: var(--shadow); }
.photo-card .media, .photo-card .img-placeholder, .photo-card .pc-icon { position: absolute; inset: 0; z-index: -2; transition: transform .7s var(--ease); }
.photo-card .pc-icon { display: flex; align-items: flex-start; justify-content: flex-end; padding: 26px; color: color-mix(in srgb, var(--primary) 45%, #fff); background: linear-gradient(145deg, color-mix(in srgb, var(--secondary) 80%, var(--primary)), var(--secondary)); }
.photo-card .pc-icon .icon { width: 56px; height: 56px; opacity: .8; }
.photo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 28%, color-mix(in srgb, var(--secondary) 94%, transparent) 100%); }
.photo-card:hover .media { transform: scale(1.06); }
.photo-card .pc-body { padding: 28px; color: #fff; width: 100%; }
.photo-card .pc-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: color-mix(in srgb, var(--primary) 40%, #fff); }
.photo-card h3 { color: #fff; font-size: 22px; font-weight: 700; margin: 8px 0 0; }
.photo-card p { color: #cfd8e4; font-size: 14.5px; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s, margin .35s; }
.photo-card:hover p, .photo-card:focus-within p { max-height: 120px; opacity: 1; margin-top: 8px; }
/* Icon card (content block in "Icon" display mode) */
.icon-card { position: relative; isolation: isolate; overflow: hidden; min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 30px 28px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: background .45s var(--ease), border-color .45s, transform .45s var(--ease), box-shadow .45s; }
.icon-card .ic-grid { position: absolute; z-index: -1; top: 0; right: 0; width: 70%; height: 62%; opacity: .55; transition: opacity .45s;
  background-image: linear-gradient(var(--primary-line) 1px, transparent 1px), linear-gradient(90deg, var(--primary-line) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 100% 0, #000 0, transparent 72%); mask-image: radial-gradient(circle at 100% 0, #000 0, transparent 72%); }
.icon-card .ic-big-num { position: absolute; z-index: -1; right: 24px; top: 18px; font-family: var(--font-mono); font-size: 76px; font-weight: 700; line-height: 1; letter-spacing: -6px; color: var(--primary-line); opacity: .7; transition: color .45s, transform .6s var(--ease); }
.icon-card .ic-icon { width: 76px; height: 76px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 8px color-mix(in srgb, var(--primary) 5%, transparent); transition: background .45s, color .45s, box-shadow .45s, transform .45s var(--ease); }
.icon-card .ic-icon .icon { width: 36px; height: 36px; }
.icon-card .pc-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--primary); transition: color .45s; }
.icon-card h3 { font-size: 22px; font-weight: 700; margin: 8px 0 0; transition: color .45s; }
.icon-card p { font-size: 14.5px; color: var(--muted); margin: 10px 0 0; transition: color .45s; }
.icon-card .ic-line { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--primary); transition: width .6s var(--ease); }
.icon-card:hover, .icon-card:focus-within { background: var(--ink); border-color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow); }
.icon-card:hover .ic-grid, .icon-card:focus-within .ic-grid { opacity: .18; }
.icon-card:hover .ic-big-num, .icon-card:focus-within .ic-big-num { color: rgba(255, 255, 255, .05); transform: translateY(-8px); }
.icon-card:hover .ic-icon, .icon-card:focus-within .ic-icon { background: var(--primary); color: #fff; box-shadow: 0 0 0 8px color-mix(in srgb, var(--primary) 28%, transparent); transform: rotate(-6deg) scale(1.04); }
.icon-card:hover .pc-num, .icon-card:focus-within .pc-num { color: color-mix(in srgb, var(--primary) 40%, #fff); }
.icon-card:hover h3, .icon-card:focus-within h3 { color: #fff; }
.icon-card:hover p, .icon-card:focus-within p { color: #cfd8e4; }
.icon-card:hover .ic-line, .icon-card:focus-within .ic-line { width: 100%; }
@media (prefers-reduced-motion: reduce) { .icon-card, .icon-card * { transition: none !important; } .icon-card:hover { transform: none; } }

/* Showcase (image / video split on dark) */
.showcase-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.showcase-center { max-width: 820px; margin: 0 auto; text-align: center; }
.showcase-center .kicker::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.showcase-center .hero-btns { justify-content: center; }
.showcase-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .1); background: #000; }
.showcase-media .media, .showcase-media .img-placeholder { position: absolute; inset: 0; }
.showcase-media .corner { position: absolute; width: 60px; height: 60px; border: 3px solid var(--accent); z-index: 2; pointer-events: none; }
.showcase-media .corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.showcase-media .corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.showcase-media .play-open { position: absolute; inset: 0; z-index: 3; background: none; border: 0; cursor: pointer; }

/* Chips / tags */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-row.center { justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); transition: .2s; }
.chip .icon { width: 16px; height: 16px; color: var(--primary); }
.chip span { font-size: 12px; background: var(--paper); color: var(--muted); border-radius: 999px; padding: 1px 8px; }
a.chip:hover, button.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip.active span { background: rgba(255, 255, 255, .22); color: #fff; }
.chip.active .icon { color: #fff; }
.section-dark .chip { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #e2e8f0; }
.tag { display: inline-block; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }

/* Material grade board */
.grade-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.grade { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .25s, background .25s, transform .25s; }
.grade:hover { border-color: var(--primary); transform: translateY(-3px); }
.grade .icon-box { width: 42px; height: 42px; background: rgba(255, 255, 255, .08); color: color-mix(in srgb, var(--primary) 45%, #fff); }
.grade .icon-box .icon { width: 20px; height: 20px; }
.grade h3 { font-size: 16px; margin: 0 0 3px; color: #fff; }
.grade p { font-size: 13.5px; margin: 0; color: #9eabbc; }
.grade small { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.section:not(.section-dark) .grade { background: #fff; border-color: var(--line); }
.section:not(.section-dark) .grade h3 { color: var(--ink); }
.section:not(.section-dark) .grade p { color: var(--muted); }
.section:not(.section-dark) .grade .icon-box { background: var(--primary-soft); color: var(--primary); }

/* Category cards */
.range-card { overflow: hidden; display: flex; flex-direction: column; }
.range-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eef2f6; position: relative; }
.range-thumb img, .range-thumb .img-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.range-card:hover .range-thumb img { transform: scale(1.07); }
.range-count { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .95); color: var(--ink); font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 8px; }
.range-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.range-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.range-body p { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.range-body .link-arrow { margin-top: auto; }

/* Product tiles */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.p-tile { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.p-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.p-tile-img { position: relative; display: block; aspect-ratio: 1 / .85; overflow: hidden; background: #eef1f5; }
.p-tile-img img, .p-tile-img .img-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.p-tile:hover .p-tile-img img { transform: scale(1.07); }
.p-tile-view { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 12px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; transform: translateY(12px); opacity: 0; transition: .35s var(--ease); }
.p-tile-view .icon { transform: rotate(-45deg); }
.p-tile:hover .p-tile-view, .p-tile:focus-visible .p-tile-view { opacity: 1; transform: none; }
.p-tile-name { display: block; padding: 16px 18px 18px; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.35; }
.p-tile-name small { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.p-tile-video { position: absolute; left: 12px; top: 12px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 7px; display: inline-flex; gap: 5px; align-items: center; }
.p-tile-video .icon { width: 11px; height: 11px; fill: currentColor; }

/* Icon list (quality) */
.icon-list { display: grid; gap: 22px; margin: 8px 0 34px; }
.icon-list li { display: flex; gap: 16px; align-items: flex-start; }
.icon-list .icon-box { width: 46px; height: 46px; }
.icon-list h3 { font-size: 17px; font-weight: 700; margin: 2px 0 4px; }
.icon-list p { font-size: 15px; color: var(--muted); margin: 0; }

/* Certificates */
.cert-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cert-pill { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .25s; text-align: left; }
.cert-pill:hover { border-color: var(--primary); transform: translateY(-3px); }
.cert-pill img { width: 44px; height: 44px; object-fit: contain; }
.cert-pill .icon-box { width: 44px; height: 44px; }
.cert-pill strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--ink); }
.cert-pill small { color: var(--muted); font-size: 12.5px; }
.cert-card { padding: 26px; display: flex; flex-direction: column; text-align: left; width: 100%; cursor: pointer; font: inherit; }
.cert-logo { height: 72px; display: flex; align-items: center; margin-bottom: 18px; }
.cert-logo img { max-height: 72px; width: auto; }
.cert-card .kicker { margin-bottom: 8px; font-size: 11px; }
.cert-card h3 { font-size: 19px; margin-bottom: 8px; }
.cert-card p { font-size: 14.5px; color: var(--muted); flex: 1; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.industry { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 28px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--ink); transition: .3s var(--ease); }
.industry:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }

/* FAQ accordion */
.faq-list { display: grid; gap: 12px; max-width: 920px; margin: 0 auto; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq[open] { border-color: var(--primary-line); box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { width: 32px; height: 32px; border-radius: 9px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s, background .3s, color .3s; }
.faq[open] .pm { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq .faq-a { padding: 0 24px 22px; color: var(--body); }

/* Steps / timeline */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); position: relative; }
.step { position: relative; padding: 0 16px; text-align: center; z-index: 0; }
.step::before { content: ""; position: absolute; top: 31px; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--primary-line) 0 8px, transparent 8px 14px); z-index: -1; }
.step:first-child::before { left: 50%; }
.step:last-child::before { right: 50%; }
.step-num { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: #fff; border: 2px solid var(--primary); color: var(--primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--step-ring, #fff); }
.section-paper .step-num { --step-ring: var(--paper); }
.step-num .icon { width: 26px; height: 26px; }
.step small { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--muted); margin-bottom: 4px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

.process-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 44px 0; border-bottom: 1px dashed var(--line); }
.process-row:last-child { border-bottom: 0; }
.process-row:nth-child(even) .process-media { order: 2; }
.process-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); background: var(--ink); }
.process-media .media, .process-media .img-placeholder { position: absolute; inset: 0; }
.process-no { font-family: var(--font-mono); font-size: 60px; font-weight: 600; line-height: 1; color: var(--primary-line); margin-bottom: 10px; }
.process-row h3 { font-size: clamp(22px, 2.4vw, 30px); }
.process-row p { color: var(--body); font-size: 16.5px; }

/* Service groups */
.service-group + .service-group { margin-top: 64px; }
.service-group-title { display: flex; align-items: center; gap: 14px; font-size: 24px; margin-bottom: 26px; }
.service-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.service-card { overflow: hidden; display: flex; flex-direction: column; }
.service-card .sc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.service-card .sc-media .media, .service-card .sc-media .img-placeholder { position: absolute; inset: 0; }
.service-card .sc-body { padding: 24px 24px 26px; }
.service-card .sc-body .icon-box { margin-bottom: 14px; }
.service-card h3 { font-size: 19px; margin-bottom: 8px; }
.service-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* Team */
.team-card { overflow: hidden; }
.team-photo { aspect-ratio: 5 / 5.6; overflow: hidden; background: #e8edf3; }
.team-photo img, .team-photo .img-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-body { padding: 20px 22px 22px; }
.team-body h3 { font-size: 18px; margin-bottom: 4px; }
.team-body .role { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.team-body p { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.team-body .li { display: inline-flex; margin-top: 12px; width: 34px; height: 34px; border-radius: 9px; background: var(--paper); align-items: center; justify-content: center; }
.team-body .li:hover { background: var(--primary); color: #fff; }

/* Locations */
.loc-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.loc-card h3 { font-size: 19px; margin: 0; display: flex; align-items: center; gap: 10px; }
.loc-card ul { display: grid; gap: 10px; font-size: 15px; color: var(--body); }
.loc-card li { display: flex; gap: 10px; align-items: flex-start; }
.loc-card li .icon { color: var(--primary); margin-top: 4px; }
.loc-card li a:hover { color: var(--primary); }
.loc-card iframe { width: 100%; height: 210px; border: 0; border-radius: 12px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--primary); color: #fff; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); z-index: -1; }
.cta-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.cta-icon { width: 84px; height: 84px; border-radius: 22px; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; }
.cta-icon .icon { width: 40px; height: 40px; }
.cta-inner h2 { color: #fff; font-size: clamp(24px, 2.8vw, 36px); margin-bottom: 8px; }
.cta-inner p { color: rgba(255, 255, 255, .86); margin: 0; font-size: 16.5px; max-width: 640px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; color: #fff; padding: 110px 0 96px; background: var(--ink) var(--hero-bg, none) center / cover no-repeat; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--secondary) 94%, transparent) 20%, color-mix(in srgb, var(--secondary) 58%, transparent)); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 44px 44px; }
.page-hero .ph-stripe { position: absolute; right: 0; bottom: 0; width: 36%; height: 8px; background: repeating-linear-gradient(-45deg, var(--accent) 0 12px, transparent 12px 24px); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; color: #aab6c6; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .icon { width: 14px; height: 14px; color: var(--accent); }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 62px); font-weight: 800; letter-spacing: -.03em; max-width: 900px; margin-bottom: 14px; }
.page-hero p { color: #cfd8e4; max-width: 700px; font-size: 18px; margin: 0; }

/* ---------- Products listing ---------- */
.filter-bar { display: flex; gap: 12px; max-width: 760px; margin: 0 auto 26px; }
.search-box { flex: 1; display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 16px; min-width: 0; }
.search-box .icon { color: var(--muted); }
.search-box input { flex: 1; border: 0; outline: none; padding: 14px 0; font-size: 15.5px; background: none; min-width: 0; }
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.chip-row.cats { justify-content: center; margin-bottom: 46px; }
.result-info { text-align: center; color: var(--muted); margin: -26px 0 32px; font-size: 14.5px; }
.result-info a { color: var(--primary); font-weight: 600; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; font-family: var(--font-mono); background: #fff; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }
.empty-state { text-align: center; padding: 64px 20px; background: var(--paper); border-radius: var(--radius); color: var(--muted); }
.empty-state .icon { width: 50px; height: 50px; color: var(--primary); margin-bottom: 12px; }
.empty-state a { color: var(--primary); font-weight: 600; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pd-main { position: relative; border-radius: 20px; overflow: hidden; background: #eef1f5; aspect-ratio: 1; border: 1px solid var(--line); }
.pd-main > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.pd-main video { background: #000; object-fit: contain; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.pd-thumbs button { position: relative; padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--ink); transition: border-color .2s; }
.pd-thumbs button.is-active, .pd-thumbs button:hover { border-color: var(--primary); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs .thumb-video { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .35); color: #fff; }
.pd-thumbs .thumb-video .icon { width: 22px; height: 22px; fill: currentColor; }
.pd-title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
.pd-lead { font-size: 17.5px; color: var(--body); margin-bottom: 22px; }
.pd-material { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); padding: 14px 18px; border-radius: 12px; margin-bottom: 26px; }
.pd-material .icon { color: var(--primary); width: 22px; height: 22px; }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.spec-table caption { text-align: left; font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 40%; background: var(--paper); font-weight: 600; color: var(--ink); }
.spec-table td { color: var(--body); }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-note { margin-top: 18px; color: var(--muted); font-size: 14.5px; display: flex; gap: 8px; align-items: center; }
.pd-note .icon { color: var(--primary); }
.pd-description { margin-top: 70px; padding: 44px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.pd-description h3 { font-size: 24px; }

/* ---------- Tabs ---------- */
.tabs-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.tab-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); transition: .2s; }
.tab-btn .icon { width: 17px; height: 17px; color: var(--primary); }
.tab-btn:hover { border-color: var(--primary); }
.tab-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-btn.is-active .icon { color: var(--accent); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: rise .5s var(--ease); }
.group-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 32px 0 14px; }
.group-label:first-child { margin-top: 0; }

/* ---------- Media gallery ---------- */
.gallery-grid { columns: 3 300px; column-gap: 20px; }
.gallery-item { display: block; position: relative; border-radius: var(--radius); overflow: hidden; margin: 0 0 20px; break-inside: avoid; background: var(--ink); box-shadow: var(--shadow-sm); cursor: zoom-in; width: 100%; padding: 0; border: 0; text-align: left; }
.gallery-item img { width: 100%; transition: transform .7s var(--ease); }
.gallery-item.is-video { cursor: pointer; }
.gallery-item .ph { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; color: #62748a; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); opacity: 0; transform: translateY(8px); transition: .3s; }
.gallery-item:hover .gallery-caption, .gallery-item.is-video .gallery-caption { opacity: 1; transform: none; }
.gallery-item[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(6, 10, 18, .95); display: flex; align-items: center; justify-content: center; padding: 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; width: 100%; max-width: 1100px; }
.lb-stage img, .lb-stage video { max-height: 78vh; max-width: 100%; margin: 0 auto; border-radius: 12px; }
.lb-stage iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.lb-stage iframe.doc { aspect-ratio: auto; height: 78vh; background: #fff; }
.lightbox figcaption { color: #e2e8f0; margin-top: 14px; font-weight: 500; }
.lightbox figcaption a { color: var(--accent); margin-left: 10px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: var(--primary); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }

/* ---------- Forms (contact / quote / career) ---------- */
.way-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 70px; }
.way { display: flex; gap: 18px; align-items: center; padding: 26px; }
.way h3 { font-size: 18px; margin: 0 0 3px; }
.way p { margin: 0; color: var(--muted); font-size: 15px; word-break: break-word; }
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: var(--shadow); }
.form-card > .section-title { font-size: clamp(24px, 2.6vw, 32px); }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--paper); border-radius: 14px; margin-bottom: 28px; }
.form-tab { padding: 13px; border: 0; border-radius: 10px; background: none; font-family: var(--font-head); font-weight: 700; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-tab.is-active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group label, .form-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px; background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s; }
.form-group select { -webkit-appearance: none; appearance: none; padding-right: 40px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); background-color: #fff; box-shadow: 0 0 0 4px var(--primary-soft); }
.form-group textarea { resize: vertical; }
.check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.check-group label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; margin: 0; }
.check-group input { accent-color: var(--primary); width: 16px; height: 16px; }
.check-group label:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.drop-zone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 26px; border: 2px dashed var(--primary-line); border-radius: 14px; background: var(--primary-soft); text-align: center; color: var(--body); font-size: 14.5px; transition: .2s; }
.drop-zone .icon { width: 30px; height: 30px; color: var(--primary); }
.drop-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-zone.is-over { border-color: var(--primary); background: #fff; }
.drop-zone .files { font-size: 13px; color: var(--primary); font-weight: 600; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
[hidden] { display: none !important; }
.hp-field { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.alert ul { margin: 0; padding-left: 18px; list-style: disc; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.contact-side { display: grid; gap: 20px; }
.map-box { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.map-box iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Jobs */
.job { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.job + .job { margin-top: 14px; }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 22px 26px; }
.job summary::-webkit-details-marker { display: none; }
.job h3 { font-size: 19px; margin: 0 0 8px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job-body { padding: 0 26px 26px; }
.job[open] { border-color: var(--primary-line); box-shadow: var(--shadow); }
.job .pm { width: 36px; height: 36px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: transform .3s; }
.job[open] .pm { transform: rotate(45deg); }

/* CMS page */
.cms-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.cms-side { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.cms-side h3 { font-size: 16px; margin-bottom: 14px; }
.cms-side a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 500; font-size: 14.5px; }
.cms-side a:hover, .cms-side a.active { background: #fff; color: var(--primary); }
.cms-side a .icon { color: var(--primary); width: 16px; height: 16px; }
.cms-media { position: relative; margin-bottom: 30px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--ink); }
.cms-media .media { position: absolute; inset: 0; }

/* 404 */
.error-page { padding: 130px 0; }
.error-code { font-family: var(--font-mono); font-size: clamp(90px, 16vw, 170px); font-weight: 600; line-height: 1; color: var(--primary); display: block; letter-spacing: -4px; }
.center-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--footer); color: #aab6c6; font-size: 15px; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; }
.footer-top { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 44px; padding-top: 80px; padding-bottom: 56px; }
.footer-about p { margin: 22px 0; line-height: 1.75; }
.logo-light .logo-text strong { color: #fff; }
.logo-light .logo-text em { color: color-mix(in srgb, var(--primary) 45%, #fff); }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.footer-col h4::before { content: ""; width: 14px; height: 2px; background: var(--accent); }
.footer-col li { margin-bottom: 11px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: 4px; }
.footer-contact a { word-break: break-word; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: .2s; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); }
.footer-about .tag { background: rgba(255, 255, 255, .08); color: #fff; }
.footer-policies { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 13.5px; }
.footer-policies strong { color: #fff; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; margin-right: 4px; }
.footer-policies a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; padding-bottom: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom p { margin: 0; }
.footer-bottom .mono { font-family: var(--font-mono); letter-spacing: .08em; color: #d7dde6; }

.float-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 18px; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(37, 211, 102, .45); transition: transform .25s; }
.float-whatsapp:hover { color: #fff; transform: translateY(-3px); }
.float-whatsapp .icon { width: 30px; height: 30px; }
.back-to-top { position: fixed; right: 29px; bottom: 94px; z-index: 90; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; box-shadow: var(--shadow); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .icon-card.reveal { transition: opacity .8s var(--ease), transform .6s var(--ease), background .45s var(--ease), border-color .45s, box-shadow .45s; }
.js .icon-card.reveal.in:hover, .js .icon-card.reveal.in:focus-within { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1240px) {
  .nav-link { padding: 10px 10px; font-size: 14.5px; }
  .grid-4, .tile-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
  .container { padding: 0 24px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 150; margin: 0;
    transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; display: flex; flex-direction: column; overflow-y: auto;
  }
  body.nav-open .main-nav { transform: none; visibility: visible; box-shadow: -10px 0 40px rgba(0, 0, 0, .25); }
  .nav-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .nav-head .logo-text em { display: none; }
  .nav-close { background: var(--paper); border: 0; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px; font-size: 16px; }
  .main-nav > ul > li.active > .nav-link { background: var(--primary-soft); }
  .main-nav > ul > li.active > .nav-link::after { display: none; }
  .sub-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; display: none; }
  .has-sub.open > .sub-menu { display: block; }
  .has-sub:hover > .nav-link .icon { transform: none; }
  .has-sub.open > .nav-link .icon { transform: rotate(180deg); }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; }
  .nav-mobile-contact { display: grid; gap: 12px; padding: 20px 22px; margin-top: auto; background: var(--paper); border-top: 1px solid var(--line); }
  .nav-mobile-contact a { display: flex; gap: 10px; align-items: center; font-size: 14.5px; word-break: break-all; }
  .nav-mobile-contact .icon { color: var(--primary); }
  .tb-hours { display: none !important; }

  .split, .showcase-grid, .product-detail, .contact-layout, .cms-layout, .process-row { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse > :first-child, .process-row:nth-child(even) .process-media { order: 0; }
  .frame::before { inset: 16px -12px -12px 16px; }
  .frame-badge { left: 14px; }
  .pd-gallery, .cms-side { position: static; }
  .grid-3, .way-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stats-card .stat:nth-child(3) { border-left: 0; }
  .stats-card .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats-plain { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-icon { display: none; }
}

@media (max-width: 767px) {
  :root { --header-h: 70px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .topbar-info { gap: 14px; }
  .tb-mail, .tb-hours { display: none !important; }
  .topbar-social { display: none; }
  .logo-text strong { font-size: 16.5px; }
  .logo-text em { font-size: 9px; max-width: 170px; }
  .logo-img { max-width: 180px; }
  .hero-track { min-height: 640px; }
  .hero-slide { align-items: flex-end; }
  .hero-slide::before { background: linear-gradient(180deg, color-mix(in srgb, var(--secondary) 35%, transparent) 0%, color-mix(in srgb, var(--secondary) 95%, transparent) 60%); }
  .hero-content { padding: 40px 0 180px; }
  .hero-content p { font-size: 16px; }
  .hero-nav { bottom: 82px; }
  .hero-tab .t { display: none; }
  .hero-ctrl button { width: 40px; height: 40px; }
  .hero-btns .btn { flex: 1 1 auto; }
  .stats-wrap { margin-top: -50px; }
  .stat { padding: 20px 16px; }
  .stat::after { left: 16px; }
  .grid-2, .grid-3, .grid-4, .way-grid { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .p-tile-name { font-size: 14.5px; padding: 12px 12px 14px; }
  .p-tile-view { display: none; }
  .photo-card { min-height: 280px; }
  .icon-card { min-height: 0; gap: 34px; padding: 26px 24px 28px; }
  .icon-card .ic-icon { width: 64px; height: 64px; border-radius: 17px; }
  .icon-card .ic-big-num { font-size: 64px; }
  .photo-card p { max-height: none; opacity: 1; margin-top: 8px; }
  .form-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { text-align: left; display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; padding: 0; }
  .step-num { margin: 0; grid-row: span 3; }
  .step::before { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .page-hero { padding: 76px 0 70px; }
  .filter-bar .btn { padding: 6px 16px; }
  .chip-row.cats { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px 34px; padding: 0 16px 6px; scrollbar-width: none; }
  .chip-row.cats .chip { flex-shrink: 0; }
  .pd-description { padding: 24px; }
  .lightbox { padding: 70px 12px; }
  .job summary { grid-template-columns: 1fr; }
  .job summary .pm { display: none; }
  .frame-badge { position: relative; left: auto; bottom: auto; margin: -30px 16px 0; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 2 140px; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
  .cta-actions .btn { width: 100%; }
  .stats-card .stat strong { font-size: 28px; }
}
