/* ==========================================================================
   Logic Inventor Technologies — design system (2026)
   Brand: logo emerald #009972 + deep ink, with a cyan glow accent.
   Loaded after bootstrap.min.css (grid + utilities only).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --brand: #009972;
  --brand-700: #007a5c;
  --brand-600: #008a66;
  --brand-300: #5fe3bd;
  --mint: #34e0b0;
  --cyan: #22d3ee;
  --amber: #ffb84d;

  --ink-950: #06121a;
  --ink-900: #0a1a24;
  --ink-800: #10242f;
  --ink-700: #1a3340;

  --bg: #ffffff;
  --bg-soft: #f4f9f8;
  --bg-tint: #eaf6f2;
  --text: #0c1b24;
  --muted: #56666f;
  --line: #e1ebe8;
  --line-dark: rgba(255, 255, 255, .12);

  --grad-brand: linear-gradient(135deg, #009972 0%, #14b88f 55%, #22d3ee 130%);
  --grad-text: linear-gradient(90deg, #34e0b0, #22d3ee);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 36, .06), 0 2px 8px rgba(10, 26, 36, .04);
  --shadow: 0 10px 30px -10px rgba(10, 26, 36, .18);
  --shadow-lg: 0 30px 60px -20px rgba(10, 26, 36, .28);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--text); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; margin-top: 0; }
p { color: var(--muted); }
a { color: var(--brand-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand); text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid rgba(0, 153, 114, .55); outline-offset: 3px; border-radius: 6px; }
.container { max-width: 1200px; }
.text-justify { text-align: left !important; }
.ptb-40 { padding-top: 40px; padding-bottom: 40px; }
.ptb-80 { padding-top: 88px; padding-bottom: 88px; }
.bg-f7fafd { background: var(--bg-soft); }
main { display: block; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--ink-900); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

/* feather icons: reserve space so nothing jumps when JS swaps them in */
[data-feather] { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -.2em; }
svg.feather { width: 1.25em; height: 1.25em; stroke-width: 2; vertical-align: -.2em; }

/* ---------- 3. Buttons ---------- */
.btn { font-family: var(--font); font-weight: 600; border-radius: 999px; padding: 13px 26px; font-size: 15px; line-height: 1.2; border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary, .btn-primary:focus { background: var(--grad-brand); color: #fff !important; border-color: transparent; box-shadow: 0 10px 24px -8px rgba(0, 153, 114, .55); }
.btn-primary:hover, .btn-primary:active { background: var(--grad-brand); color: #fff !important; box-shadow: 0 16px 30px -8px rgba(0, 153, 114, .6); }
.btn-light { background: #fff; color: var(--text); border-color: var(--line); }
.btn-light:hover { background: #fff; color: var(--brand-700); border-color: var(--brand); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { color: var(--brand-700); border-color: var(--brand); }
.btn-outline-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn svg, .btn [data-feather] { width: 1.1em; height: 1.1em; }

/* ---------- 4. Section headings ---------- */
.eyebrow, .sub-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700); background: var(--bg-tint); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(0, 153, 114, .18); }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2, .section-title h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.section-head p { font-size: 17px; margin: 0; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-title .bar { width: 56px; height: 4px; border-radius: 4px; background: var(--grad-brand); margin: 0 auto 18px; }
.section-title .bar::after, .section-title .bar::before { display: none; }
.section-title p { font-size: 17px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text.on-light, .on-light .grad-text { background: linear-gradient(90deg, #007a5c, #14b88f 70%, #0aa6bd); -webkit-background-clip: text; background-clip: text; }

/* ---------- 5. Scroll progress + reveal ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1600; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-brand); pointer-events: none; }
.js .reveal, .js .wow { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js .reveal.is-in, .js .wow.is-in { opacity: 1; transform: none; will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .wow { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- 6. Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 1500; border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
/* blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile drawer inside it */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); transition: background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(10, 26, 36, .25); }
.site-header.is-scrolled::before { background: rgba(255, 255, 255, .94); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .3s var(--ease); gap: 20px; }
.site-header.is-scrolled .nav-wrap { height: 64px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 60px; width: auto; display: block; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 52px; }
.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav li { position: relative; list-style: none; }
.primary-nav a, .dd-toggle { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--text); padding: 10px 14px; border-radius: 999px; background: none; border: 0; cursor: pointer; transition: color .2s, background .2s; }
.primary-nav a:hover, .dd-toggle:hover, .primary-nav li:focus-within > .dd-toggle { color: var(--brand-700); background: var(--bg-tint); }
.primary-nav a.active { color: var(--brand-700); }
.primary-nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--grad-brand); }
.dd-toggle svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.has-dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 300px; margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd-menu a { display: flex; width: 100%; padding: 10px 14px; border-radius: 10px; font-weight: 500; font-size: 14.5px; }
.dd-menu a::after { display: none !important; }
.has-dd:hover > .dd-menu, .has-dd:focus-within > .dd-menu, .has-dd.is-open > .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dd:hover > .dd-toggle svg, .has-dd.is-open > .dd-toggle svg { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-actions .btn { padding: 11px 22px; font-size: 14.5px; }
.nav-call { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--text); padding: 8px 10px; }
.nav-call svg { width: 18px; height: 18px; color: var(--brand); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.nav-backdrop { display: none; }

@media (max-width: 1199px) { .nav-call span { display: none; } }
@media (max-width: 991px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-block; }
  .nav-call, .nav-actions .btn { display: none; }
  .primary-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 380px); margin: 0; background: #fff; z-index: 1700; padding: 88px 20px 28px; overflow-y: auto; transform: translateX(105%); transition: transform .4s var(--ease); box-shadow: -30px 0 60px -20px rgba(10, 26, 36, .35); }
  .nav-open .primary-nav { transform: none; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a, .dd-toggle { width: 100%; justify-content: space-between; padding: 14px 14px; font-size: 16px; border-radius: 12px; }
  .primary-nav a.active::after { display: none; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 0 10px; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); background: transparent; }
  .dd-menu::before { display: none; }
  .has-dd:hover > .dd-menu, .has-dd:focus-within > .dd-menu { opacity: 1; visibility: visible; transform: none; max-height: 0; }
  .has-dd.is-open > .dd-menu { max-height: 600px; transform: none; }
  .has-dd:hover > .dd-toggle svg { transform: none; }
  .has-dd.is-open > .dd-toggle svg { transform: rotate(180deg); }
  .nav-drawer-cta { display: block !important; margin-top: 18px; }
  .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(6, 18, 26, .55); z-index: 1490; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-open, .nav-open body { overflow: hidden; }
  .nav-toggle { z-index: 1800; }
}
.nav-drawer-cta { display: none; }
.nav-drawer-cta .btn { width: 100%; justify-content: center; }

/* ---------- 7. Hero (home) ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--ink-950); overflow: hidden; padding: 84px 0 110px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
    radial-gradient(900px 520px at 85% 10%, rgba(34, 211, 238, .20), transparent 60%),
    radial-gradient(800px 560px at 5% 95%, rgba(0, 153, 114, .38), transparent 62%),
    radial-gradient(600px 400px at 50% 0%, rgba(52, 224, 176, .10), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 78%); }
.hero .eyebrow { background: rgba(255, 255, 255, .08); color: var(--mint); border: 1px solid rgba(255, 255, 255, .12); }
.hero .eyebrow::before { background: var(--mint); box-shadow: 0 0 0 4px rgba(52, 224, 176, .2); }
.hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; margin-bottom: 22px; }
.hero-lead { font-size: clamp(16px, 1.5vw, 19px); color: rgba(226, 238, 240, .78); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 34px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-proof div { min-width: 90px; }
.hero-proof strong { display: block; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.hero-proof span { font-size: 13px; color: rgba(226, 238, 240, .62); }
.hero-text { animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; min-height: 460px; animation: rise 1.1s .15s var(--ease) both; }
.hv-window { position: absolute; top: 30px; left: 0; right: 40px; background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .12); backdrop-filter: blur(14px); overflow: hidden; animation: float 9s ease-in-out infinite; }
.hv-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .10); }
.hv-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.hv-bar i:nth-child(1) { background: #ff6b6b; } .hv-bar i:nth-child(2) { background: #ffd166; } .hv-bar i:nth-child(3) { background: #34e0b0; }
.hv-bar span { margin-left: 12px; font: 500 12px var(--mono); color: rgba(255, 255, 255, .5); }
.hv-body { display: grid; grid-template-columns: 64px 1fr; min-height: 300px; }
.hv-side { padding: 16px 0; border-right: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hv-side b { width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 255, 255, .10); }
.hv-side b:first-child { background: var(--grad-brand); }
.hv-main { padding: 18px; }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.hv-kpis div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 10px 12px; }
.hv-kpis small { display: block; font-size: 11px; color: rgba(255, 255, 255, .5); }
.hv-kpis strong { display: block; font-size: 15px; color: #fff; font-weight: 700; }
.hv-kpis em { font-style: normal; font-size: 11px; color: var(--mint); }
.hv-chart { height: 120px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); padding: 8px 10px 0; margin-bottom: 12px; }
.hv-chart svg { width: 100%; height: 100%; display: block; }
.hv-lines { display: grid; gap: 8px; }
.hv-lines i { display: block; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .10); }
.hv-lines i:nth-child(1) { width: 86%; } .hv-lines i:nth-child(2) { width: 64%; } .hv-lines i:nth-child(3) { width: 74%; background: rgba(52, 224, 176, .30); }
.hv-phone { position: absolute; right: 0; bottom: 14px; width: 150px; padding: 8px; border-radius: 28px; background: linear-gradient(160deg, #11313d, #08171f); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); animation: float 7s -2s ease-in-out infinite; }
.hv-phone .scr { border-radius: 22px; background: linear-gradient(180deg, rgba(52, 224, 176, .22), rgba(34, 211, 238, .08)); padding: 14px 10px 14px; min-height: 230px; }
.hv-phone .notch { width: 44px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .25); margin: 0 auto 14px; }
.hv-phone .pill { height: 30px; border-radius: 10px; background: rgba(255, 255, 255, .12); margin-bottom: 9px; }
.hv-phone .pill:first-of-type { background: var(--grad-brand); height: 44px; }
.hv-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(10, 26, 36, .72); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); animation: float 8s ease-in-out infinite; }
.hv-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.hv-chip.c1 { left: -14px; top: 0; animation-delay: -1s; }
.hv-chip.c2 { left: 8%; bottom: 36px; animation-delay: -3s; }
.hv-chip.c3 { right: 28%; top: 6px; animation-delay: -5s; }
.hv-chip.c3::before { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hv-chip.c2::before { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 991px) {
  .hero { padding: 56px 0 72px; }
  .hero-visual { margin-top: 56px; min-height: 400px; }
  .hv-window { right: 20px; }
}
@media (max-width: 575px) {
  .hero-visual { min-height: 340px; }
  .hv-body { grid-template-columns: 44px 1fr; min-height: 240px; }
  .hv-main { padding: 12px; }
  .hv-kpis { grid-template-columns: repeat(2, 1fr); } .hv-kpis div:nth-child(3) { display: none; }
  .hv-chart { height: 90px; }
  .hv-phone { width: 112px; } .hv-phone .scr { min-height: 170px; }
  .hv-window { right: 36px; }
  .hv-chip.c1 { left: 0; } .hv-chip.c3 { display: none; }
  .hero-proof { gap: 14px 24px; }
}

/* ---------- 8. Marquee ---------- */
.marquee { background: var(--ink-950); border-top: 1px solid var(--line-dark); padding: 18px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 600 14px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(226, 238, 240, .55); white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.marquee-track span::after { content: "✦"; color: var(--brand); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. Services ---------- */
.services { background: var(--bg); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { position: relative; display: flex; flex-direction: column; padding: 32px 30px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--text); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; isolation: isolate; }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 153, 114, .13), transparent 60%); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0, 153, 114, .4); color: var(--text); }
.svc-card:hover::before { opacity: 1; }
.svc-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-tint); color: var(--brand); margin-bottom: 22px; transition: background .3s, color .3s, transform .35s var(--ease); }
.svc-icon svg, .svc-icon [data-feather] { width: 26px; height: 26px; }
.svc-card:hover .svc-icon { background: var(--grad-brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-card h3 { font-size: 20px; margin-bottom: 10px; }
.svc-card p { font-size: 15px; margin-bottom: 22px; flex: 1; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--brand-700); }
.svc-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-link svg { transform: translateX(5px); }
.svc-card.feature { grid-column: span 2; background: var(--ink-900); border-color: var(--ink-800); color: #fff; }
.svc-card.feature h3 { color: #fff; font-size: 26px; }
.svc-card.feature p { color: rgba(226, 238, 240, .72); max-width: 520px; font-size: 16px; }
.svc-card.feature .svc-icon { background: rgba(255, 255, 255, .08); color: var(--mint); }
.svc-card.feature .svc-link { color: var(--mint); }
.svc-card.feature::before { background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 0%), rgba(52, 224, 176, .22), transparent 60%); }
.svc-card.feature:hover { border-color: rgba(52, 224, 176, .45); color: #fff; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.svc-tags li { font: 600 12px var(--mono); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: rgba(226, 238, 240, .8); border: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 991px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } .svc-card.feature { grid-column: span 2; } }
@media (max-width: 575px) { .svc-grid { grid-template-columns: 1fr; } .svc-card.feature { grid-column: auto; } }

/* ---------- 10. Products ---------- */
.products-band { background: var(--bg-soft); }
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.prod-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-900); color: #fff; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; }
.prod-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 320px at 100% 0%, rgba(52, 224, 176, .28), transparent 65%), radial-gradient(420px 300px at 0% 100%, rgba(34, 211, 238, .16), transparent 70%); }
.prod-media { padding: 28px 28px 0; display: flex; justify-content: center; }
.prod-media img { width: 100%; max-width: 360px; height: 220px; object-fit: contain; transition: transform .6s var(--ease); }
.prod-card:hover .prod-media img { transform: scale(1.05) translateY(-4px); }
.prod-body { padding: 18px 32px 32px; }
.prod-tag { font: 600 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 10px; display: block; }
.prod-card h3 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.prod-card p { color: rgba(226, 238, 240, .72); font-size: 15.5px; margin-bottom: 22px; }
.prod-card .svc-link { color: var(--mint); }
@media (max-width: 767px) { .prod-grid { grid-template-columns: 1fr; } }

/* ---------- 11. Process ---------- */
.process { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; padding-top: 0; }
.step-num { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font: 700 18px var(--mono); color: var(--brand-700); background: #fff; border: 2px solid var(--line); margin-bottom: 20px; box-shadow: 0 0 0 6px var(--bg); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.step:hover .step-num { background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-4px); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; margin: 0; }
@media (max-width: 991px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 22px; } .steps::before { display: none; } }
@media (max-width: 575px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 12. Work grid ---------- */
.work-band { background: var(--bg-soft); }
.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.work-card { position: relative; grid-column: span 2; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-900); aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); isolation: isolate; }
.work-card.wide { grid-column: span 3; aspect-ratio: 16 / 10; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
.work-card:hover img { transform: scale(1.06); }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(6, 18, 26, .92) 100%); opacity: .0; transition: opacity .4s; }
.work-card:hover::after { opacity: 1; }
.work-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; z-index: 2; color: #fff; transform: translateY(14px); opacity: 0; transition: transform .45s var(--ease), opacity .45s; }
.work-card:hover .work-info, .work-card:focus-within .work-info { transform: none; opacity: 1; }
.work-info h3 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.work-info p { color: rgba(226, 238, 240, .8); font-size: 13.5px; margin: 0; line-height: 1.5; }
@media (hover: none) { .work-card::after { opacity: 1; } .work-info { opacity: 1; transform: none; } }
@media (max-width: 991px) { .work-grid { grid-template-columns: repeat(2, 1fr); } .work-card, .work-card.wide { grid-column: span 1; aspect-ratio: 4 / 3; } }
@media (max-width: 575px) { .work-grid { grid-template-columns: 1fr; } }
.center-cta { text-align: center; margin-top: 44px; }

/* ---------- 13. Stats ---------- */
.stats { position: relative; background: var(--ink-950); color: #fff; padding: 76px 0; overflow: hidden; isolation: isolate; }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 15% 0%, rgba(0, 153, 114, .35), transparent 70%), radial-gradient(600px 300px at 90% 100%, rgba(34, 211, 238, .16), transparent 70%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat strong { display: block; font-size: clamp(38px, 5vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: 14.5px; color: rgba(226, 238, 240, .68); }
@media (max-width: 767px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; } }

/* ---------- 14. Testimonials ---------- */
.testi { background: var(--bg); }
.testi-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.testi-head .section-head { margin: 0; }
.testi-nav { display: flex; gap: 10px; }
.testi-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.testi-nav button:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: scale(1.06); }
.testi-nav svg { width: 20px; height: 20px; }
.testi-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-card { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; display: flex; flex-direction: column; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.testi-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(0, 153, 114, .35); }
.stars { color: var(--amber); letter-spacing: 3px; font-size: 16px; margin-bottom: 16px; }
.testi-card blockquote { margin: 0 0 24px; flex: 1; font-size: 15.5px; line-height: 1.75; color: var(--text); }
.testi-card blockquote::before { content: "“"; display: block; font: 800 54px/0.6 Georgia, serif; color: var(--brand); opacity: .35; margin-bottom: 6px; }
.testi-who { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.testi-who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg-tint); }
.testi-who strong { display: block; font-size: 15px; line-height: 1.3; }
.testi-who span { font-size: 13px; color: var(--muted); }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.testi-dots button { width: 8px; height: 8px; border-radius: 8px; border: 0; background: var(--line); padding: 0; cursor: pointer; transition: width .3s var(--ease), background .3s; }
.testi-dots button.is-active { width: 28px; background: var(--brand); }
@media (max-width: 991px) { .testi-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 640px) { .testi-card { flex-basis: 88%; } }

/* ---------- 15. CTA ---------- */
.cta { padding: 0 0 96px; background: var(--bg); }
.cta-box { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: clamp(36px, 6vw, 72px); background: var(--ink-950); color: #fff; text-align: center; }
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 320px at 15% 0%, rgba(0, 153, 114, .55), transparent 70%), radial-gradient(520px 300px at 90% 100%, rgba(34, 211, 238, .30), transparent 70%); }
.cta-box::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.cta-box h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); max-width: 720px; margin: 0 auto 16px; }
.cta-box p { color: rgba(226, 238, 240, .78); max-width: 560px; margin: 0 auto 32px; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--ink-950); color: rgba(226, 238, 240, .72); padding: 76px 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brand), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 66px; margin-bottom: 20px; display: block; width: auto; }
.footer-brand p { color: rgba(226, 238, 240, .6); font-size: 14.5px; max-width: 320px; }
.site-footer h3 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .02em; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 11px; list-style: none; }
.site-footer a { color: rgba(226, 238, 240, .68); font-size: 14.5px; }
.site-footer a:hover { color: var(--mint); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: rgba(226, 238, 240, .68); line-height: 1.55; }
.footer-contact svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--mint); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-dark); color: #fff; transition: background .25s, transform .25s var(--ease), border-color .25s; }
.social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 13.5px; }
.footer-bottom p { margin: 0; color: rgba(226, 238, 240, .5); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { font-size: 13.5px; }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 575px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .footer-brand { grid-column: auto; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

.go-top { position: fixed; right: 22px; bottom: 96px; z-index: 1400; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-900); color: #fff; border: 1px solid var(--line-dark); box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .25s; }
.go-top.show { opacity: 1; visibility: visible; transform: none; }
.go-top:hover { background: var(--brand); }
.go-top svg { width: 20px; height: 20px; }

/* consent note */
.consent { position: fixed; left: 18px; bottom: 18px; z-index: 1450; max-width: 420px; background: var(--ink-900); color: rgba(226, 238, 240, .85); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-lg); font-size: 13.5px; line-height: 1.6; transform: translateY(30px); opacity: 0; visibility: hidden; transition: opacity .4s, transform .4s var(--ease), visibility .4s; }
.consent.show { opacity: 1; transform: none; visibility: visible; }
.consent a { color: var(--mint); text-decoration: underline; }
.consent button { margin-top: 12px; background: var(--grad-brand); color: #fff; border: 0; border-radius: 999px; padding: 9px 22px; font: 600 13.5px var(--font); cursor: pointer; }
@media (max-width: 575px) { .consent { right: 12px; left: 12px; bottom: 78px; max-width: none; } }

/* ==========================================================================
   INNER PAGES — restyled legacy template classes
   ========================================================================== */

/* page title band */
.page-title-area { position: relative; isolation: isolate; background: var(--ink-950); color: #fff; padding: 64px 0 60px; overflow: hidden; height: auto; }
.page-title-area::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(700px 320px at 90% 0%, rgba(34, 211, 238, .18), transparent 65%), radial-gradient(700px 360px at 0% 100%, rgba(0, 153, 114, .40), transparent 65%); }
.page-title-area::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 75%); }
.page-title-area .d-table, .page-title-area .d-table-cell { display: block; width: auto; height: auto; }
.page-title-area .container { text-align: left; }
.page-title-area h1, .page-title-area h2 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.03em; margin: 0; animation: rise .8s var(--ease) both; }
.page-title-area [class^="shape"] { display: none; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; font: 500 13px var(--mono); letter-spacing: .04em; color: rgba(226, 238, 240, .6); }
.crumbs a { color: var(--mint); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-style: normal; opacity: .5; }

/* decorative template shapes are no longer used */
.shape1, .shape2, .shape3, .shape4, .shape5, .shape6, .shape7, .shape8, .rotateme { display: none !important; }

/* service detail pages */
.features-details-area { padding: 72px 0; }
.features-details-area .container > .row { margin-bottom: 8px; }
.features-details-image { margin-bottom: 28px; }
.features-details-image img { width: 100%; border-radius: var(--radius-lg); background: var(--bg-soft); padding: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.features-details-image img:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.features-details-desc { padding: 0 0 0 28px; }
.features-details-desc p { font-size: 16px; }
.features-details-desc h3, .features-details-desc h2 { margin-bottom: 14px; }
.features-details-desc .graphics-features p { position: relative; margin: 0 0 20px; padding: 18px 22px 18px 24px; background: var(--bg-tint); border-radius: var(--radius); color: var(--text); font-weight: 500; border-left: 4px solid var(--brand); }
.features-details-desc p img.img { height: 20px; width: auto; vertical-align: -4px; margin-right: 4px; }
.features-details-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.features-details-list li { position: relative; padding-left: 30px; color: var(--text); list-style: none; }
.features-details-list li::before, .features-details-list li i { position: absolute; left: 0; top: 4px; }
.separate { height: 1px; margin: 56px 0; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; }
.features-details-area .row.align-items-center + .separate + .row, .features-details-area .row { align-items: center; }
@media (max-width: 991px) { .features-details-desc { padding: 0; } .features-details-area { padding: 48px 0; } }
.collapse:not(.show) { display: none; }
[data-toggle="collapse"] { font-weight: 600; color: var(--brand-700); cursor: pointer; }
.flaticon-plus::before { content: "+"; font: 700 20px/1 var(--font); color: var(--brand); }

/* about */
.about-area { padding: 72px 0 24px; }
.about-area .container-fluid { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.ml-about-img img { width: 100%; border-radius: var(--radius-lg); }
.ml-about-content { padding: 0 0 0 30px; }
.ml-about-content h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; }
.ml-about-content .bar { width: 56px; height: 4px; border-radius: 4px; background: var(--grad-brand); margin-bottom: 20px; }
.ml-about-content em { display: block; margin-top: 14px; color: var(--muted); font-style: normal; }
.about-inner-area { margin: 40px 0 0; }
.about-inner-area blockquote { width: 100%; margin: 0 15px; padding: 32px 36px; background: var(--ink-900); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.about-inner-area blockquote p { color: rgba(226, 238, 240, .85); font-size: 17px; margin: 0; line-height: 1.8; }
.about-inner-area blockquote::before { content: "“"; position: absolute; right: 24px; top: -6px; font: 800 120px/1 Georgia, serif; color: rgba(52, 224, 176, .18); }
@media (max-width: 991px) { .ml-about-content { padding: 24px 0 0; } }
.ml-partner-area .partner-slides { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.ml-partner-area .partner-slides > [class*="col-"] { flex: none; max-width: none; width: auto; padding: 0; }
.single-ml-partner a { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; height: 90px; transition: box-shadow .3s, transform .3s var(--ease); }
.single-ml-partner a:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.single-ml-partner img { max-height: 54px; width: auto; max-width: 100%; }
.single-ml-partner img + img { display: none; }

/* portfolio */
.ml-projects-area { padding: 72px 0; }
.ml-projects-area .container-fluid { max-width: 1320px; padding: 0 20px; }
.single-ml-projects-box { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 24px; aspect-ratio: 4 / 3; transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s; }
.single-ml-projects-box img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.single-ml-projects-box:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: rgba(0, 153, 114, .4); }
.single-ml-projects-box:hover img { transform: scale(1.05); }
.single-ml-projects-box .plus-icon { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 18, 26, .78)); opacity: 0; transition: opacity .35s; display: flex; align-items: flex-end; justify-content: flex-end; padding: 18px; }
.single-ml-projects-box:hover .plus-icon { opacity: 1; }
.single-ml-projects-box .plus-icon a { display: block; width: 42px; height: 42px; border-radius: 50%; background: var(--grad-brand); position: relative; }
.single-ml-projects-box .plus-icon a span { position: absolute; inset: 0; }
.single-ml-projects-box .plus-icon a span::before, .single-ml-projects-box .plus-icon a span::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 2px; transform: translate(-50%, -50%); }
.single-ml-projects-box .plus-icon a span::before { width: 16px; height: 2px; }
.single-ml-projects-box .plus-icon a span::after { width: 2px; height: 16px; }

/* products listing + shared product cards */
.ml-services-area { padding: 72px 0; }
.single-ml-services-box { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 28px 24px; margin-bottom: 24px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; display: flex; flex-direction: column; }
.single-ml-services-box:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0, 153, 114, .4); }
.single-ml-services-box .image { background: var(--bg-soft); border-radius: var(--radius); padding: 18px; margin-bottom: 22px; text-align: center; }
.single-ml-services-box .image img { height: 200px; width: auto; max-width: 100%; object-fit: contain; }
.single-ml-services-box h3 { font-size: 22px; }
.single-ml-services-box h3 a { color: var(--text); }
.single-ml-services-box p { flex: 1; font-size: 15px; }

/* gallery */
.works-area { padding: 72px 0; }
.single-works { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; background: #fff; border: 1px solid var(--line); }
.single-works img { width: 100%; display: block; }
.single-works .works-content { padding: 16px 18px; }
.single-works .works-content h3 { font-size: 16px; margin: 0; }

/* working process tabs + legacy bits */
.tabs-style-iconbox nav ul li a, .tabs-style-iconbox nav a { font-family: var(--font) !important; }
.tabs-style-iconbox nav ul li.tab-current a::after { background: var(--brand) !important; }
.tabs-style-iconbox nav ul li.tab-current a { color: var(--brand-700) !important; }
.content-wrap { background: transparent !important; }

/* legal pages */
.legal-section { padding: 64px 0 88px; }
.legal-content { max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow-sm); }
.legal-content h2 { font-size: 24px; margin: 38px 0 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
.legal-content h3 { font-size: 18px; margin: 26px 0 10px; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 15.5px; line-height: 1.85; }
.legal-content ul, .legal-content ol { padding-left: 22px; margin-bottom: 18px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }

/* contact */
.contact-info-area { padding: 72px 0 40px; }
.contact-info-box { height: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; margin-bottom: 22px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.contact-info-box:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(0, 153, 114, .4); }
.contact-info-box .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-tint); color: var(--brand); margin-bottom: 18px; }
.contact-info-box .icon svg { width: 24px; height: 24px; }
.contact-info-box h3 { font-size: 19px; margin-bottom: 10px; }
.contact-info-box p { margin: 0 0 4px; font-size: 15px; }
.contact-info-box p a { color: var(--text); font-weight: 600; }
.contact-info-box p a:hover { color: var(--brand); }

.contact-area { padding: 40px 0 88px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.contact-card h2 { font-size: 28px; margin-bottom: 8px; }
.contact-card > p { margin-bottom: 26px; }
.form-group { margin-bottom: 18px; }
.form-label, .field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-control, .field input, .field select, .field textarea { width: 100%; font-family: var(--font); font-size: 15.5px; color: var(--text); background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px; height: auto; transition: border-color .2s, background .2s, box-shadow .2s; }
.form-control:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 153, 114, .14); }
.form-control::placeholder, .field input::placeholder, .field textarea::placeholder { color: #8a9aa3; }
.field textarea { resize: vertical; min-height: 140px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 575px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 14px; font-size: 14.5px; background: var(--bg-tint); color: var(--brand-700); border: 1px solid rgba(0, 153, 114, .25); }
.form-status.show { display: block; animation: rise .4s var(--ease) both; }
.form-status.err { background: #fff1f1; color: #b42318; border-color: #f7c9c9; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 100%; min-height: 420px; box-shadow: var(--shadow-sm); }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-side { display: flex; flex-direction: column; gap: 22px; height: 100%; }
.hours-card { background: var(--ink-900); color: #fff; border-radius: var(--radius-lg); padding: 26px 28px; }
.hours-card h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.hours-card p { color: rgba(226, 238, 240, .72); margin: 0; font-size: 15px; }

/* product detail pages (lib/product_page.php) */
.product-section { padding: 72px 0; }
.product-section h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.product-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.product-features li { position: relative; padding-left: 32px; color: var(--text); line-height: 1.6; }
.product-features li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009972' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.product-note { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--brand); padding: 22px 26px; border-radius: var(--radius); margin-top: 24px; }
.product-note h3 { font-size: 17px; margin-bottom: 10px; }
.product-note ul { margin: 0 0 10px 18px; padding: 0; }
.product-note ul li { list-style: disc; margin-bottom: 6px; color: var(--muted); }
.product-cta .btn { margin: 6px 10px 6px 0; }
.other-products a { font-weight: 600; }

/* misc legacy helpers */
.hidden { display: none; }
.clearfix::after { content: ""; display: table; clear: both; }
.margin-bottom-30 { margin-bottom: 30px; }
.go-top.legacy { display: none; }
iframe { max-width: 100%; }
@media print { .site-header, .go-top, .consent, .scroll-progress, .cta, .site-footer { display: none !important; } }

.page-title-area p { color: rgba(226, 238, 240, .75); max-width: 640px; margin: 14px 0 0; font-size: 17px; }
.dd-toggle.active { color: var(--brand-700); }

.primary-nav a, .dd-toggle { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199px) {
  .primary-nav a, .dd-toggle { padding: 10px 10px; font-size: 14.5px; }
  .nav-call { display: none; }
  .brand img { height: 52px; }
}

/* about: timeline (replaces the old CodyHouse stylesheet) */
.cd-timeline__container { position: relative; max-width: 1040px; padding-top: 12px; }
.cd-timeline__container::before { content: ""; position: absolute; top: 0; bottom: 0; left: 24px; width: 3px; border-radius: 3px; background: linear-gradient(var(--brand), var(--cyan)); opacity: .35; }
.cd-timeline__block { position: relative; margin-bottom: 36px; padding-left: 70px; }
.cd-timeline__block:last-child { margin-bottom: 0; }
.cd-timeline__img { position: absolute; left: 0; top: 6px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); box-shadow: 0 0 0 6px var(--bg-soft); }
.cd-timeline__img img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.cd-timeline__content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.cd-timeline__content:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cd-timeline__content > img { width: 100%; height: 190px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.cd-timeline__content h2 { font-size: 20px; margin-bottom: 8px; }
.cd-timeline__content p { font-size: 15px; margin-bottom: 14px; }
.cd-timeline__date { display: inline-block; font: 600 12.5px var(--mono); letter-spacing: .08em; color: var(--brand-700); background: var(--bg-tint); padding: 6px 12px; border-radius: 999px; }
@media (min-width: 992px) {
  .cd-timeline__container { padding-bottom: 40px; }
  .cd-timeline__container::before { left: 50%; margin-left: -1.5px; }
  .cd-timeline__block { width: 50%; padding: 0 56px 0 0; margin-bottom: -40px; }
  .cd-timeline__block:nth-child(even) { margin-left: 50%; padding: 0 0 0 56px; }
  .cd-timeline__block:nth-child(odd) .cd-timeline__img { left: auto; right: -25px; }
  .cd-timeline__block:nth-child(even) .cd-timeline__img { left: -25px; }
  .cd-timeline__block:last-child { margin-bottom: 0; }
}

@media (max-width: 575px) {
  .hero-proof { flex-wrap: nowrap; gap: 12px 18px; }
  .hero-proof div { min-width: 0; }
  .hero-proof strong { font-size: 22px; }
  .hero-proof span { font-size: 12px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* keep third-party floating widgets out of the way of the open mobile menu */
.nav-open [class^="elfsight-app"], .nav-open [id^="tawk"], .nav-open iframe[title*="chat" i] { visibility: hidden !important; }
@media (max-width: 767px) { .site-footer { padding-bottom: 72px; } }

@media (max-width: 991px) { .brand img { height: 54px; } .site-header.is-scrolled .brand img { height: 48px; } }

/* ===================== Get a Quote ===================== */
.quote-area { padding: 56px 0 96px; background: var(--bg-soft); }
.q-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); margin-bottom: 24px; box-shadow: var(--shadow-sm); scroll-margin-top: 96px; }
.q-step[hidden] { display: none; }
.q-step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.q-step-head h2 { font-size: 22px; margin: 0; }
.q-num { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font: 700 15px var(--mono); color: #fff; background: var(--grad-brand); }
.q-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.q-type { text-align: left; background: var(--bg-soft); border: 1.5px solid transparent; border-radius: var(--radius); padding: 20px 18px; cursor: pointer; font-family: var(--font); color: var(--text); display: flex; flex-direction: column; gap: 4px; transition: transform .3s var(--ease), border-color .25s, background .25s, box-shadow .3s; }
.q-type:hover { transform: translateY(-3px); background: #fff; border-color: rgba(0, 153, 114, .4); box-shadow: var(--shadow); }
.q-type.is-active { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 153, 114, .14); }
.q-type-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-tint); color: var(--brand); margin-bottom: 10px; transition: background .25s, color .25s; }
.q-type-icon svg { width: 22px; height: 22px; }
.q-type.is-active .q-type-icon { background: var(--grad-brand); color: #fff; }
.q-type strong { font-size: 15.5px; line-height: 1.35; }
.q-type small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.q-group { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.q-group legend { font-size: 15px; font-weight: 700; margin-bottom: 12px; padding: 0; width: auto; float: none; }
.q-opts { display: grid; gap: 10px; }
.q-opt { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; margin: 0; }
.q-opt:hover { border-color: rgba(0, 153, 114, .5); }
.q-opt input { position: absolute; opacity: 0; pointer-events: none; }
.q-opt::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b9c8c4; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.q-opt:has(input[type=checkbox])::before { border-radius: 6px; }
.q-opt:has(input:checked) { border-color: var(--brand); background: var(--bg-tint); }
.q-opt:has(input:checked)::before { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.q-opt:has(input:focus-visible) { outline: 3px solid rgba(0, 153, 114, .45); outline-offset: 2px; }
.q-opt-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.q-opt-body strong { font-size: 15px; font-weight: 600; line-height: 1.4; }
.q-opt-body small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.q-price { flex: none; font: 600 13.5px var(--mono); color: var(--brand-700); white-space: nowrap; }

.q-summary { position: sticky; top: 96px; background: var(--ink-900); color: #fff; border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate; }
.q-summary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 260px at 100% 0%, rgba(52, 224, 176, .25), transparent 70%), radial-gradient(360px 240px at 0% 100%, rgba(34, 211, 238, .14), transparent 70%); }
.q-sum-empty { text-align: center; padding: 18px 0; }
.q-sum-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 14px; background: rgba(255, 255, 255, .08); color: var(--mint); }
.q-sum-icon svg { width: 26px; height: 26px; }
.q-summary h3 { color: #fff; font-size: 19px; }
.q-summary p { color: rgba(226, 238, 240, .7); font-size: 14.5px; margin: 0; }
.q-summary .eyebrow { background: rgba(255, 255, 255, .08); color: var(--mint); margin-bottom: 16px; }
.q-lines { list-style: none; margin: 0 0 18px; padding: 0; max-height: 300px; overflow-y: auto; }
.q-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); font-size: 13.5px; color: rgba(226, 238, 240, .86); line-height: 1.45; }
.q-lines li b { flex: none; font: 600 12.5px var(--mono); color: var(--mint); white-space: nowrap; }
.q-total { padding: 6px 0 14px; }
.q-total small { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(226, 238, 240, .6); margin-bottom: 4px; }
.q-total strong { display: block; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.02em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.q-total strong em { font-style: normal; font-size: 15px; font-weight: 600; -webkit-text-fill-color: rgba(226, 238, 240, .7); }
.q-total s { display: block; color: rgba(226, 238, 240, .5); font-size: 14px; }
.q-offer { display: inline-block; margin: 4px 0 6px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 184, 77, .16); color: var(--amber); font: 600 12px var(--mono); }
.q-sub { display: block; font-size: 14px; color: rgba(226, 238, 240, .78); margin-top: 4px; }
.q-msg { font-size: 14.5px; line-height: 1.65; }
.q-notes { list-style: none; margin: 0 0 18px; padding: 0; }
.q-notes li { position: relative; padding-left: 16px; font-size: 12.8px; line-height: 1.55; color: rgba(226, 238, 240, .62); margin-bottom: 6px; }
.q-notes li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.q-sum-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.q-sum-actions .btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .2); }
.q-sum-actions .btn-light:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.q-sum-actions .btn-ghost { color: rgba(226, 238, 240, .8); border-color: rgba(255, 255, 255, .18); }
.q-bar { display: none; }
@media (max-width: 991px) {
  .q-summary { position: static; margin-top: 4px; }
  .q-bar { position: fixed; left: 12px; right: 12px; bottom: 70px; z-index: 1420; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink-900); color: #fff; border: 1px solid var(--line-dark); border-radius: 16px; padding: 10px 12px 10px 16px; box-shadow: var(--shadow-lg); }
  .q-bar[hidden] { display: none; }
  .q-bar small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(226, 238, 240, .6); }
  .q-bar strong { font-size: 16px; color: var(--mint); }
  .quote-area { padding-bottom: 120px; }
}
@media (max-width: 767px) { .q-types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .q-types { grid-template-columns: 1fr; } .q-opt { padding: 12px 12px; gap: 10px; } .q-price { font-size: 12.5px; } }
