/* =============================================================
   Pureair Building Solutions — Design System & Styles
   Palette: royal blue + white (matched to the Pureair flyer)
   Fonts: Plus Jakarta Sans (display) + Inter (body)
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #0c1a40;
  --navy-800: #14296b;
  --navy-700: #1f3a78;
  --primary: #1e4fc4;
  --primary-600: #18408f;
  --primary-2: #3568de;
  --accent: #6c93f2;
  --sky: #eaf0fc;
  --mist: #f4f7fd;
  --ink: #14224a;
  --text: #44506b;
  --muted: #6b7691;
  --line: #e2e8f4;
  --line-2: #d3ddee;
  --white: #ffffff;

  --grad: linear-gradient(120deg, #3568de 0%, #1e4fc4 55%, #163a82 100%);
  --grad-soft: linear-gradient(120deg, #eaf0fc 0%, #eef3fc 100%);
  --grad-navy: radial-gradient(1200px 600px at 80% -10%, #2a55c0 0%, rgba(42,85,192,0) 55%),
               radial-gradient(900px 500px at 0% 110%, #1d3f9a 0%, rgba(29,63,154,0) 50%),
               linear-gradient(160deg, #1a347f 0%, #0c1a45 100%);

  --shadow-sm: 0 1px 2px rgba(12, 26, 64, .06), 0 2px 6px rgba(12, 26, 64, .05);
  --shadow: 0 10px 30px -12px rgba(12, 26, 64, .18);
  --shadow-lg: 0 30px 60px -20px rgba(12, 26, 64, .28);
  --shadow-brand: 0 18px 40px -16px rgba(30, 79, 196, .55);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --container: 1200px;
  --gut: clamp(20px, 5vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --ff-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(30, 79, 196, .25); }

h1, h2, h3, h4 { font-family: var(--ff-display); color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { color: var(--text); }
strong { color: var(--ink); font-weight: 700; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--grad-navy); color: #cdd9f2; }
.grid { display: grid; gap: 28px; }
.center { text-align: center; }

/* ---------- Eyebrow + headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary-600);
  background: var(--sky); padding: 7px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
}
.section--navy .eyebrow { color: #c0cef0; background: rgba(30, 79, 196, .12); border-color: rgba(174, 191, 230, .25); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.head { max-width: 720px; }
.head--center { margin-inline: auto; text-align: center; }
.head .lead { margin-top: 16px; font-size: 1.12rem; color: var(--muted); }
.section--navy .head h2 { color: #fff; }
.section--navy .lead { color: #a8b7df; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-display); font-weight: 700; font-size: .98rem;
  padding: 15px 26px; border-radius: var(--r-pill);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap; will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--b); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -16px rgba(30, 79, 196, .65); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1.5px solid rgba(255, 255, 255, .25); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--navy-800); box-shadow: var(--shadow); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--outline { background: #fff; color: var(--navy-800); border: 1.5px solid var(--line-2); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary-600); transform: translateY(-3px); }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-display);
  font-weight: 700; color: var(--primary-600); font-size: .95rem;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 16px 0;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.site-header.scrolled {
  box-shadow: 0 1px 0 var(--line), var(--shadow);
  padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__logo { height: clamp(38px, 4.5vw, 48px); width: auto; display: block; flex: none; }
.footer__brand .brand__logo { height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--ff-display); font-weight: 800; font-size: 1.18rem; color: var(--ink); letter-spacing: -.02em; }
.brand__name b { color: var(--primary-600); }
.brand__sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 4px; }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--ff-display); font-weight: 600; font-size: .96rem; color: var(--navy-800);
  padding: 9px 15px; border-radius: var(--r-pill); transition: color .25s, background .25s;
}
.nav__link:hover, .nav__link.active { color: var(--primary-600); background: var(--sky); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-display); font-weight: 700; color: var(--navy-800); font-size: .96rem; }
.nav__phone svg { width: 18px; height: 18px; color: var(--primary); }

.nav__cta { display: none; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 12px; position: relative; background: var(--sky); flex: none; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2.5px; background: var(--navy-800); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(130px, 20vw, 180px) 0 clamp(70px, 10vw, 120px); background: var(--grad-navy); color: #d2dcf4; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg svg { position: absolute; width: 100%; height: 100%; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob--1 { width: 460px; height: 460px; background: #3568de; top: -120px; right: -80px; animation: float1 14s var(--ease) infinite; }
.blob--2 { width: 380px; height: 380px; background: #1e4fc4; bottom: -140px; left: -90px; animation: float2 16s var(--ease) infinite; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; color: #e4ebf9; backdrop-filter: blur(6px);
}
.hero__badge i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); font-style: normal; }
.hero__badge i svg { width: 15px; height: 15px; color: #fff; }
.hero h1 { color: #fff; margin-top: 22px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 20px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #aebbe0; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero__trust-item { display: flex; align-items: center; gap: 12px; }
.hero__trust-item svg { width: 22px; height: 22px; color: #aebfe6; flex: none; }
.hero__trust-item span { font-size: .92rem; color: #c4d0ee; }
.hero__trust-item b { color: #fff; display: block; font-family: var(--ff-display); font-size: 1rem; }

/* Hero visual card */
.hero__visual { position: relative; }
.hero__panel {
  position: relative; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-xl); padding: 28px; backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
}
.hero__panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hero__panel-head h3 { color: #fff; font-size: 1.05rem; }
.aqi-dot { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: #cdd8f2; font-weight: 600; }
.aqi-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #6c93f2; box-shadow: 0 0 0 0 rgba(30, 79, 196, .6); animation: pulse 2s infinite; }
.hero__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); padding: 16px; }
.metric span { font-size: .76rem; color: #98a8d4; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.metric b { display: block; font-family: var(--ff-display); font-size: 1.7rem; color: #fff; margin-top: 6px; line-height: 1; }
.metric b em { font-size: .9rem; font-style: normal; color: #aebfe6; }
.metric .bar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .12); margin-top: 12px; overflow: hidden; }
.metric .bar i { display: block; height: 100%; border-radius: 4px; background: var(--grad); }
.hero__panel-foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; color: #c4d0ee; }
.hero__panel-foot svg { width: 20px; height: 20px; color: #aebfe6; }
.hero__float {
  position: absolute; background: #fff; color: var(--ink); border-radius: var(--r); padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-weight: 700;
  font-family: var(--ff-display); font-size: .92rem;
}
.hero__float svg { width: 30px; height: 30px; }
.hero__float--1 { top: -22px; left: -26px; animation: float1 9s var(--ease) infinite; }
.hero__float--2 { bottom: -24px; right: -18px; animation: float2 11s var(--ease) infinite; }
.hero__float small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }

/* Hero wave divider */
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero__wave svg { width: 100%; height: auto; }

/* ---------- Logo marquee / trust ---------- */
.trust-strip { padding: 34px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 26px; }
.trust-strip p { font-family: var(--ff-display); font-weight: 700; color: var(--muted); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-tag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-display); font-weight: 700; color: var(--navy-800); font-size: .95rem; background: var(--mist); border: 1px solid var(--line); padding: 10px 18px; border-radius: var(--r-pill); }
.trust-tag svg { width: 18px; height: 18px; color: var(--primary); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat b { display: block; font-family: var(--ff-display); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-weight: 600; font-size: .96rem; }
.section--navy .stat span { color: #a8b7df; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  overflow: hidden;
}
.svc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); margin-bottom: 22px; transition: transform .4s var(--ease); }
.svc:hover .svc__icon { transform: scale(1.08) rotate(-4deg); }
.svc__icon svg { width: 32px; height: 32px; color: var(--primary-600); }
.svc h3 { margin-bottom: 10px; }
.svc p { font-size: .98rem; color: var(--muted); }
.svc__list { margin: 16px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__list li { font-size: .82rem; font-weight: 600; color: var(--primary-600); background: var(--sky); padding: 5px 12px; border-radius: var(--r-pill); }
.svc .link-arrow { margin-top: auto; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 72px); align-items: center; }
.split--rev .split__media { order: 2; }
.about-media { position: relative; }
.about-card {
  background: var(--grad-navy); border-radius: var(--r-xl); padding: 40px; color: #fff; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.about-card h3 { color: #fff; font-size: 1.5rem; }
.about-card p { color: #aebbe0; margin-top: 14px; }
.about-values { display: grid; gap: 14px; margin-top: 28px; }
.about-value { display: flex; gap: 16px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); padding: 16px 18px; }
.about-value i { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--grad); }
.about-value i svg { width: 22px; height: 22px; color: #fff; }
.about-value b { font-family: var(--ff-display); color: #fff; font-size: 1.02rem; }
.about-value span { font-size: .88rem; color: #98a8d4; }
.about-badge {
  position: absolute; bottom: 28px; right: 28px; background: #fff; color: var(--ink);
  border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow-lg); text-align: center;
}
.about-badge b { display: block; font-family: var(--ff-display); font-size: 1.8rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.about-badge span { font-size: .76rem; color: var(--muted); font-weight: 600; }

.ticks { display: grid; gap: 14px; margin-top: 26px; }
.tick { display: flex; gap: 13px; align-items: flex-start; }
.tick i { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--sky); display: grid; place-items: center; margin-top: 2px; }
.tick i svg { width: 15px; height: 15px; color: var(--primary-600); }
.tick b { font-family: var(--ff-display); color: var(--ink); }
.tick p { font-size: .96rem; color: var(--muted); margin-top: 2px; }

/* ---------- Feature grid (why choose) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feat__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; margin-bottom: 20px; box-shadow: var(--shadow-brand); }
.feat__icon svg { width: 27px; height: 27px; color: #fff; }
.feat h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feat p { font-size: .96rem; color: var(--muted); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step__num { font-family: var(--ff-display); font-weight: 800; font-size: 2.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.step h3 { font-size: 1.18rem; margin: 14px 0 8px; }
.step p { font-size: .95rem; color: var(--muted); }
.section--navy .step p { color: #a8b7df; }
.section--navy .step h3 { color: #fff; }
.step::after { content: ""; position: absolute; top: 26px; left: 64px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); }
.section--navy .step::after { background: repeating-linear-gradient(90deg, rgba(174,191,230,.35) 0 8px, transparent 8px 16px); }
.step:last-child::after { display: none; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ind {
  position: relative; border-radius: var(--r-lg); padding: 36px 32px; color: #fff; overflow: hidden;
  min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow); transition: transform .4s var(--ease); isolation: isolate;
}
.ind:hover { transform: translateY(-6px); }
.ind::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--grad-navy); }
.ind::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,22,54,.1) 0%, rgba(10,22,54,.78) 100%); }
.ind__icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; margin-bottom: auto; backdrop-filter: blur(6px); }
.ind__icon svg { width: 28px; height: 28px; color: #fff; }
.ind h3 { color: #fff; margin: 22px 0 8px; }
.ind p { color: #c4d0ee; font-size: .95rem; }

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tst { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tst:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tst__stars { display: flex; gap: 3px; margin-bottom: 16px; }
.tst__stars svg { width: 18px; height: 18px; color: #ffb020; }
.tst__quote { font-size: 1.02rem; color: var(--navy-800); font-weight: 500; line-height: 1.6; flex: 1; }
.tst__who { display: flex; align-items: center; gap: 13px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.tst__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; color: #fff; background: var(--grad); flex: none; }
.tst__who b { font-family: var(--ff-display); color: var(--ink); display: block; font-size: .98rem; }
.tst__who span { font-size: .85rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--grad-navy); padding: clamp(40px, 6vw, 68px); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.cta .blob { opacity: .4; }
.cta h2 { color: #fff; max-width: 640px; margin-inline: auto; }
.cta p { color: #aebbe0; max-width: 540px; margin: 16px auto 0; font-size: 1.1rem; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.contact-info { display: grid; gap: 16px; }
.ci-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; transition: border-color .3s, transform .3s; }
.ci-card:hover { border-color: var(--line-2); transform: translateX(4px); }
.ci-card i { width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--grad-soft); border: 1px solid var(--line-2); display: grid; place-items: center; }
.ci-card i svg { width: 23px; height: 23px; color: var(--primary-600); }
.ci-card span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.ci-card b, .ci-card a { font-family: var(--ff-display); color: var(--ink); font-size: 1.05rem; font-weight: 700; display: block; margin-top: 3px; }
.ci-card a:hover { color: var(--primary-600); }
.ci-card p { font-size: .96rem; margin-top: 3px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--ff-display); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.field label .req { color: #e5484d; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink); background: var(--mist);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 13px 15px; transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(30, 79, 196, .12); }
.field input::placeholder, .field textarea::placeholder { color: #9aa3b8; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.form-note svg { width: 16px; height: 16px; color: var(--primary); flex: none; }
.form-success { display: none; align-items: center; gap: 14px; background: #ecfdf3; border: 1px solid #abefc6; color: #067647; border-radius: var(--r); padding: 16px 18px; font-weight: 600; margin-bottom: 18px; }
.form-success.show { display: flex; }
.form-success svg { width: 24px; height: 24px; flex: none; }

.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); margin-top: 8px; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; cursor: pointer; font-family: var(--ff-display); font-weight: 700; color: var(--ink); font-size: 1.06rem; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q i { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--sky); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.faq__q i svg { width: 16px; height: 16px; color: var(--primary-600); }
.faq__item[open] .faq__q i { transform: rotate(45deg); background: var(--grad); }
.faq__item[open] .faq__q i svg { color: #fff; }
.faq__a { padding: 0 24px 24px; color: var(--muted); }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: var(--grad-navy); color: #d2dcf4; padding: clamp(130px, 18vw, 180px) 0 clamp(60px, 8vw, 96px); position: relative; overflow: hidden; }
.page-hero .blob { opacity: .4; }
.page-hero__crumb { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: #98a8d4; margin-bottom: 18px; font-weight: 500; }
.page-hero__crumb a:hover { color: #fff; }
.page-hero__crumb svg { width: 15px; height: 15px; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: #aebbe0; max-width: 620px; margin-top: 18px; font-size: 1.12rem; }

/* ---------- Detailed service blocks ---------- */
.svc-detail { display: grid; gap: clamp(40px, 6vw, 64px); }
.svc-block { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.svc-block--rev .svc-block__visual { order: 2; }
.svc-block__visual { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 320px; background: var(--grad-soft); border: 1px solid var(--line-2); display: grid; place-items: center; padding: 30px; }
.svc-block__art { width: 100%; max-width: 360px; }
.svc-num { font-family: var(--ff-display); font-weight: 800; color: var(--sky); font-size: 5rem; line-height: .8; position: absolute; top: 18px; left: 22px; z-index: 0; }
.svc-block__body .eyebrow { margin-bottom: 16px; }
.svc-block__body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.svc-block__body > p { margin-top: 14px; color: var(--muted); }
.svc-items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 24px; }
.svc-item { display: flex; gap: 11px; align-items: flex-start; }
.svc-item svg { width: 21px; height: 21px; color: var(--primary); flex: none; margin-top: 2px; }
.svc-item b { font-family: var(--ff-display); color: var(--ink); font-size: .98rem; font-weight: 700; }
.svc-item span { font-size: .86rem; color: var(--muted); display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #a3b0cf; padding: clamp(56px, 7vw, 84px) 0 30px; position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name b { color: #aebfe6; }
.footer__brand .brand__sub { color: #76849c; }
.footer__about { margin-top: 20px; font-size: .96rem; color: #98a6c6; max-width: 320px; }
.footer__social { display: flex; gap: 12px; margin-top: 24px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); display: grid; place-items: center; transition: background .3s, transform .3s, border-color .3s; }
.footer__social a:hover { background: var(--grad); transform: translateY(-3px); border-color: transparent; }
.footer__social svg { width: 19px; height: 19px; color: #cdd9f2; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { font-size: .96rem; color: #a3b0cf; transition: color .25s, padding .25s; }
.footer__links a:hover { color: #fff; padding-left: 5px; }
.footer__contact { display: grid; gap: 16px; }
.footer__ci { display: flex; gap: 13px; align-items: flex-start; font-size: .95rem; }
.footer__ci svg { width: 20px; height: 20px; color: #aebfe6; flex: none; margin-top: 2px; }
.footer__ci a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; font-size: .88rem; color: #76849c; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ---------- Animations ---------- */
@keyframes float1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-16px, 18px); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(16px, -16px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30, 79, 196, .55); } 70% { box-shadow: 0 0 0 10px rgba(30, 79, 196, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 79, 196, 0); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-brand); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .3s, visibility .3s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
  .svc-grid, .feat-grid, .tst-grid, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav__phone { display: none; }
  .nav__actions .btn--primary { display: none; }
  .nav__toggle { display: block; }
  .nav__menu {
    display: flex;
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); background: #fff;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 100px 24px 32px; gap: 6px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .4s var(--ease); z-index: 95;
  }
  body.nav-open .nav__menu { transform: none; }
  .nav__menu .nav__link { color: var(--navy-800) !important; background: transparent !important; font-size: 1.1rem; padding: 14px 16px; border-radius: var(--r-sm); }
  .nav__menu .nav__link:hover, .nav__menu .nav__link.active { background: var(--sky) !important; color: var(--primary-600) !important; }
  .nav__cta { display: inline-flex; margin-top: 16px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(10, 22, 54, .5); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 94; }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .svc-grid, .feat-grid, .tst-grid, .ind-grid, .steps { grid-template-columns: 1fr; }
  .split, .contact-grid, .svc-block, .svc-block--rev .svc-block__visual { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .svc-block__visual { order: 0 !important; min-height: 240px; }
  .svc-items, .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__float--1 { left: 0; }
  .hero__float--2 { right: 0; }
  .trust-strip__inner { justify-content: center; text-align: center; }
  .about-badge { position: static; margin-top: 20px; display: inline-block; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   Services dropdown + category-page components (added)
   ============================================================= */

/* ---------- Services dropdown ---------- */
.nav__dd { position: relative; display: inline-flex; align-items: center; }
.nav__dd > .nav__link { display: inline-flex; align-items: center; gap: 5px; }
.nav__chev { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav__dd:hover > .nav__link .nav__chev { transform: rotate(180deg); }
.nav__dd::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.nav__dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 12px; min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; z-index: 60;
}
.nav__dd:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dd-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: var(--r-sm);
  font-family: var(--ff-display); font-weight: 600; font-size: .94rem; color: var(--navy-800);
  transition: background .2s, color .2s; white-space: nowrap;
}
.nav__dd-link i { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--grad-soft); border: 1px solid var(--line-2); display: grid; place-items: center; }
.nav__dd-link i svg { width: 18px; height: 18px; color: var(--primary-600); }
.nav__dd-link:hover { background: var(--sky); color: var(--primary-600); }
.nav__dd-all { justify-content: center; margin-top: 6px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--primary-600); font-weight: 700; }

/* ---------- Category page hero meta ---------- */
.page-hero__cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.page-hero__cats a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #d2dcf4; font-family: var(--ff-display); font-weight: 600; font-size: .88rem; transition: background .25s, color .25s, border-color .25s; }
.page-hero__cats a:hover, .page-hero__cats a.is-current { background: var(--grad); border-color: transparent; color: #fff; }

/* ---------- Detail blocks (category sub-services) ---------- */
.detail { max-width: 940px; scroll-margin-top: 110px; }
.detail + .detail { margin-top: 50px; padding-top: 50px; border-top: 1px solid var(--line); }
.detail__tag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-display); font-weight: 700; font-size: .8rem; letter-spacing: .04em; color: var(--primary-600); }
.detail__tag i { width: 40px; height: 40px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; box-shadow: var(--shadow-brand); }
.detail__tag i svg { width: 21px; height: 21px; color: #fff; }
.detail h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); margin: 16px 0 0; }
.detail h3 { font-size: 1.18rem; margin: 26px 0 0; }
.detail > p { margin-top: 14px; color: var(--muted); }
.detail > p + p { margin-top: 12px; }

/* numbered process list */
.proc { display: grid; gap: 16px; margin-top: 26px; }
.proc__item { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start; }
.proc__num { width: 50px; height: 50px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; font-size: 1.15rem; box-shadow: var(--shadow-brand); }
.proc__item b { font-family: var(--ff-display); color: var(--ink); font-size: 1.05rem; display: block; margin-bottom: 4px; }
.proc__item p { color: var(--muted); font-size: .96rem; }

/* numbered spec list */
.spec { display: grid; gap: 13px; margin-top: 22px; }
.spec__item { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; font-size: .96rem; color: var(--muted); }
.spec__item b { color: var(--ink); font-family: var(--ff-display); }
.spec__n { width: 30px; height: 30px; border-radius: 9px; background: var(--sky); color: var(--primary-600); display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; font-size: .85rem; }

/* price badge */
.price-badge { display: inline-flex; align-items: baseline; gap: 9px; background: var(--grad-soft); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 11px 22px; margin-top: 20px; }
.price-badge b { font-family: var(--ff-display); font-size: 1.45rem; color: var(--primary-600); }
.price-badge span { font-size: .9rem; color: var(--muted); }

/* mini chip row (variants / applications) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-display); font-weight: 600; font-size: .9rem; color: var(--navy-800); background: #fff; border: 1px solid var(--line); padding: 9px 16px; border-radius: var(--r-pill); }
.chips span svg { width: 16px; height: 16px; color: var(--primary); }

@media (max-width: 860px) {
  .nav__dd { display: block; }
  .nav__dd::after { display: none; }
  .nav__dd > .nav__link .nav__chev { display: none; }
  .nav__dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 2px 0 6px 12px; margin: 0; min-width: 0; background: transparent; }
  .nav__dd-link { color: var(--navy-800) !important; padding: 10px 14px; font-size: 1rem; }
  .nav__dd-link:hover { background: var(--sky) !important; }
  .nav__dd-link i { width: 28px; height: 28px; }
  .nav__dd-all { display: none; }
}

/* Gradient text that sits ON the dark blue hero/sections -> use a light gradient
   so it stays legible (blue-on-blue would disappear). */
.hero h1 .grad,
.page-hero .grad,
.section--navy .stat b {
  background: linear-gradient(115deg, #ffffff 0%, #aecbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Real photos (from pureairbs.com) ---------- */
.hero__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .16); aspect-ratio: 4 / 3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 42, 0) 45%, rgba(8, 18, 42, .5) 100%); pointer-events: none; }

.shot { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--mist); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery__item { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--mist); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 18px 14px; color: #fff; font-family: var(--ff-display); font-weight: 700; font-size: .98rem; background: linear-gradient(180deg, transparent, rgba(8, 18, 42, .82) 100%); }

/* feature image + text (category / about pages) */
.feature { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature__media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.feature__media img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .gallery { grid-template-columns: 1fr; }
  .feature, .feature--rev .feature__media { grid-template-columns: 1fr; order: 0; }
  .hero__photo { aspect-ratio: 16 / 11; }
}

/* =============================================================
   Block-rendered pages (Gutenberg). These rules only affect pages
   whose content is built from blocks (they add .wp-block-* wrappers);
   the hand-built fallback templates are unaffected.
   ============================================================= */
.muted { color: var(--muted); }
.container.pa-w860  { max-width: 860px; }
.container.pa-w920  { max-width: 920px; }
.container.pa-w940  { max-width: 940px; }
.container.pa-w1000 { max-width: 1000px; }

/* vertical rhythm: space only the friendly LEAF blocks, never the layout
   wrappers — grids/flex rows rely on their own gap, so adding margins to
   groups would misalign them. */
.wp-block-group > .wp-block-heading,
.wp-block-group > p,
.wp-block-group > figure.wp-block-image,
.wp-block-group > .wp-block-list { margin-top: clamp(12px, 1.5vw, 18px); }
.wp-block-group > :first-child { margin-top: 0; }
.wp-block-group.cta > .wp-block-heading,
.wp-block-group.cta > p { margin-top: 14px; }
.wp-block-group p.eyebrow + .wp-block-heading { margin-top: 10px; }

/* feature media: drop the image block's figure margins, fill the slot */
.feature__media .wp-block-image,
.feature__media figure { margin: 0; }
.feature__media .wp-block-image img { display: block; width: 100%; height: auto; }

/* core/details FAQ marker (recreated; replaces the inline +/- SVG icon) */
.faq__item.wp-block-details > summary { position: relative; cursor: pointer; list-style: none; }
.faq__item.wp-block-details > summary::-webkit-details-marker { display: none; }
.faq__item.wp-block-details > summary::after {
  content: ""; position: absolute; right: 4px; top: .9em; width: 16px; height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center / 16px 2.4px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2.4px 16px no-repeat;
  transition: transform .25s ease; opacity: .65;
}
.faq__item.wp-block-details[open] > summary::after { transform: rotate(45deg); }
