/* =========================================================================
   NanoShield Protection Winnipeg — design system
   Palette taken from the logo: navy #072848 / cyan #0DCFDB
   ========================================================================= */

:root {
  --navy-900: #041B32;
  --navy-800: #072848;
  --navy-700: #0C3A63;
  --navy-600: #14507F;
  --navy-500: #1E6BA8;

  --cyan-700: #067C87;
  --cyan-600: #08A8B4;
  --cyan-500: #0DCFDB;
  --cyan-400: #48DEE7;
  --cyan-100: #D6F7FA;

  --ice: #E8F3F8;
  --mist: #F4F9FB;
  --line: #DCE7EF;
  --white: #FFFFFF;

  --maple: #D8262F;

  --ink: #0C1B2A;
  --muted: #56697D;
  --muted-light: #9DB4C7;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;

  --shadow-sm: 0 2px 8px rgba(7, 40, 72, .06);
  --shadow: 0 14px 34px -18px rgba(7, 40, 72, .32);
  --shadow-lg: 0 34px 70px -30px rgba(7, 40, 72, .44);

  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7.5rem);

  --font-display: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, .68, .28, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  color: var(--navy-800);
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.5vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--cyan-500); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  z-index: 200; background: var(--navy-800); color: #fff; padding: .8rem 1.4rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--mist { background: var(--mist); }
.section--ice { background: linear-gradient(180deg, var(--mist), var(--ice)); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-700);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan-500), transparent);
}
.section-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); color: var(--muted); }

.on-dark { color: #E6F1F8; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .lead { color: #B9D2E4; }
.on-dark .eyebrow { color: var(--cyan-400); }
.on-dark a { color: var(--cyan-400); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--primary {
  --btn-bg: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
  --btn-fg: var(--navy-900);
  box-shadow: 0 10px 26px -12px rgba(13, 207, 219, .9);
}
.btn--primary:hover { box-shadow: 0 18px 34px -14px rgba(13, 207, 219, .95); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-800); border-color: rgba(7, 40, 72, .22); }
.btn--ghost:hover { border-color: var(--navy-800); }
.on-dark .btn--ghost, .btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .34); }
.on-dark .btn--ghost:hover, .btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { padding: .62rem 1.15rem; font-size: .92rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 650;
  color: var(--cyan-700); text-decoration: none;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding-block: .85rem;
}
.header::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: opacity .3s var(--ease);
}
.header.is-stuck { padding-block: .5rem; }
.header.is-stuck::before { opacity: 1; }
.header__inner { position: relative; display: flex; align-items: center; gap: 1.2rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; white-space: nowrap; }
.brand img { width: 44px; height: 51px; transition: width .3s var(--ease); }
.header.is-stuck .brand img { width: 38px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.12rem;
  letter-spacing: -.02em; color: #fff; transition: color .3s var(--ease);
}
.brand__sub {
  font-size: .62rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  white-space: nowrap; color: var(--cyan-400); transition: color .3s var(--ease);
}
.header.is-stuck .brand__name { color: var(--navy-800); }
.header.is-stuck .brand__sub { color: var(--cyan-700); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .55rem .7rem; border-radius: 999px; text-decoration: none; font-weight: 550;
  font-size: .93rem; white-space: nowrap; color: rgba(255, 255, 255, .88);
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a.is-active { background: rgba(255, 255, 255, .13); color: #fff; }
.nav > .btn { display: none; }
.header.is-stuck .nav a { color: var(--navy-700); }
.header.is-stuck .nav a:hover, .header.is-stuck .nav a.is-active { background: var(--ice); color: var(--navy-800); }

.header__actions { display: flex; align-items: center; gap: .6rem; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .8rem;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; text-decoration: none; font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  transition: background .2s, border-color .2s, color .2s;
}
.lang-toggle:hover { background: rgba(255, 255, 255, .14); }
.header.is-stuck .lang-toggle { border-color: var(--line); color: var(--navy-700); }
.header.is-stuck .lang-toggle:hover { background: var(--ice); }
.lang-toggle svg { width: 1em; height: 1em; opacity: .75; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: transparent; cursor: pointer; padding: 0; place-items: center; align-content: center;
}
.header.is-stuck .nav-toggle { border-color: var(--line); }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; margin: 4px auto; transition: transform .25s var(--ease), opacity .2s; }
.header.is-stuck .nav-toggle span { background: var(--navy-800); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav, .header__actions .btn { display: none; }
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; top: calc(100% + .7rem); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: .8rem; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { display: flex; opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { color: var(--navy-700); padding: .8rem 1rem; }
  .nav a:hover, .nav a.is-active { background: var(--ice); }
  .nav .btn { display: inline-flex; margin-top: .5rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: clamp(8rem, 13vw, 11rem); padding-bottom: clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(1200px 620px at 78% -8%, rgba(13, 207, 219, .24), transparent 62%),
    radial-gradient(760px 520px at 8% 106%, rgba(30, 107, 168, .38), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 62%, #03111F 100%);
}
/* Drop a real photo at assets/img/photos/hero.jpg and it layers in automatically. */
.hero__photo {
  position: absolute; inset: 0; z-index: -3;
  background-image: url('../img/photos/hero.jpg');
  background-size: cover; background-position: center 58%;
  filter: saturate(.78);
}
/* Scrim: keeps the headline readable while the photo still reads on the right. */
.hero__photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 22, 40, .95) 0%, rgba(4, 25, 45, .88) 38%, rgba(5, 32, 58, .62) 68%, rgba(6, 38, 66, .5) 100%),
    linear-gradient(to top, rgba(3, 15, 27, .9) 0%, rgba(3, 15, 27, .25) 38%, transparent 62%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 85%);
}
.hero__skyline {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1;
  color: rgba(4, 27, 50, .78); line-height: 0;
}
.hero__skyline svg { width: 100%; height: clamp(120px, 20vw, 230px); }
.hero__glow {
  position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px);
  background: radial-gradient(circle, rgba(13, 207, 219, .45), transparent 70%);
  width: 420px; height: 420px; top: 4%; right: -6%;
  animation: float 14s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-24px, 26px, 0); } }

.hero__inner { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
@media (max-width: 960px) { .hero__inner { grid-template-columns: minmax(0, 1fr); } }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem;
  padding: .45rem 1rem .45rem .5rem; border-radius: 999px;
  background: rgba(13, 207, 219, .12); border: 1px solid rgba(13, 207, 219, .34);
  color: #CFF6F9; font-size: .82rem; font-weight: 600;
}
.hero__eyebrow b {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--cyan-500); color: var(--navy-900); font-size: .7rem;
}
.hero h1 { color: #fff; margin-bottom: .55em; }
.hero h1 .accent {
  background: linear-gradient(105deg, var(--cyan-400), var(--cyan-500) 55%, #9BF0F6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.hero__lead { color: #C3DAEA; font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__note { margin-top: 1.1rem; font-size: .88rem; color: #8FB0C8; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .48rem .95rem;
  border-radius: 999px; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14); color: #DCEBF5;
  font-size: .82rem; font-weight: 550;
}
.chip svg { width: .95em; height: .95em; color: var(--cyan-400); flex: none; }

/* hero droplet card */
.beads { position: relative; display: grid; place-items: center; }
.beads__card {
  position: relative; width: min(100%, 440px); aspect-ratio: 1 / 1.02;
  border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(150deg, rgba(232, 243, 248, .16), rgba(13, 207, 219, .1));
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(4px);
}
.beads__surface {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 3px, transparent 3px 9px),
    linear-gradient(160deg, #0E3E67, #061E39);
}
.beads__drop {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95), rgba(150, 236, 244, .55) 42%, rgba(13, 207, 219, .32) 70%, rgba(6, 40, 70, .1));
  box-shadow: inset 0 -6px 12px rgba(255, 255, 255, .28), 0 8px 18px rgba(3, 18, 33, .45);
  animation: bead 9s var(--ease) infinite;
}
@keyframes bead {
  0% { transform: translate3d(0, -12%, 0) scale(.9); opacity: 0; }
  12% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate3d(14%, 118%, 0) scale(1.04); opacity: 0; }
}
.beads__label {
  position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; z-index: 2;
  padding: .95rem 1.15rem; border-radius: var(--radius);
  background: rgba(4, 22, 40, .72); border: 1px solid rgba(255, 255, 255, .14);
  color: #DCEEF6; font-size: .88rem; backdrop-filter: blur(8px);
}
.beads__label strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.05rem; }

/* ---------- stats strip ---------- */
.stats { background: var(--navy-900); color: #fff; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255, 255, 255, .1); border-radius: var(--radius-lg); overflow: hidden;
}
.stats__item { background: var(--navy-900); padding: clamp(1.4rem, 3vw, 2.2rem); text-align: center; }
.stats__value {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); color: var(--cyan-400); line-height: 1;
}
.stats__label { margin-top: .5rem; font-size: .88rem; color: #9FBDD4; }
@media (max-width: 760px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- science ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step {
  position: relative; padding: clamp(1.5rem, 3vw, 2.1rem); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step__n {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--cyan-500); display: block; margin-bottom: .6rem;
}
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .97rem; }

/* The cross-section figure used to sit between these two grids. */
.steps + .pillars { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.pillar {
  padding: clamp(1.4rem, 2.5vw, 1.9rem); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--cyan-500); }
.pillar__icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--cyan-100), #fff); border: 1px solid var(--cyan-100);
  color: var(--cyan-700); margin-bottom: 1.1rem;
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.12rem; }
.pillar p { color: var(--muted); font-size: .95rem; margin: 0; }

.myths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: clamp(1rem, 2vw, 1.4rem); }
.myth {
  padding: 1.5rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
}
.myth__q { color: #9FBDD4; font-style: italic; margin-bottom: .7rem; font-size: .97rem; }
.myth__a { display: flex; gap: .7rem; color: #E3F0F8; font-size: .98rem; margin: 0; }
.myth__a svg { width: 20px; height: 20px; flex: none; color: var(--cyan-400); margin-top: .18rem; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .96rem; }
table.compare th, table.compare td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
table.compare thead th { background: var(--navy-800); color: #fff; font-family: var(--font-display); font-weight: 700; }
table.compare thead th:last-child { background: linear-gradient(135deg, var(--cyan-600), var(--cyan-500)); color: var(--navy-900); }
table.compare tbody th { font-weight: 650; color: var(--navy-800); background: var(--mist); width: 26%; }
table.compare td { color: var(--muted); }
table.compare td:last-child { color: var(--navy-800); font-weight: 550; background: rgba(13, 207, 219, .06); }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- climate ---------- */
.climate { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.climate__item { padding-top: 1.2rem; border-top: 3px solid var(--cyan-500); }
.climate__item h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.climate__item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- services ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan-500), var(--navy-600));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(13, 207, 219, .55); }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--navy-800); color: var(--cyan-400); margin-bottom: 1.2rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); font-size: .96rem; }
.card__points { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.1rem 0 1.4rem; }
.card__points li {
  padding: .3rem .7rem; border-radius: 999px; background: var(--ice);
  color: var(--navy-700); font-size: .8rem; font-weight: 550;
}
.card .link-arrow { margin-top: auto; }

.callout {
  margin-top: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.4rem; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: #DCEBF5;
}
.callout h3 { color: #fff; margin-bottom: .3rem; }
.callout div { flex: 1 1 340px; }
.callout p { margin: 0; color: #B9D2E4; font-size: .97rem; }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); counter-reset: step; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: minmax(0, 1fr); } }
.process__item { position: relative; padding-top: 3.6rem; }
.process__item::before {
  content: attr(data-n); position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cyan-500); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
}
.process__item::after {
  content: ''; position: absolute; top: 23px; left: 58px; right: -14px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--cyan-500) 0 6px, transparent 6px 12px);
  opacity: .5;
}
.process__item:last-child::after { display: none; }
@media (max-width: 900px) { .process__item::after { display: none; } }
.process__item h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.process__item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .about { grid-template-columns: minmax(0, 1fr); } }
.values { display: grid; gap: 1.1rem; margin-top: 2rem; }
.value { display: flex; gap: 1rem; }
.value__icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cyan-100); color: var(--cyan-700);
}
.value__icon svg { width: 20px; height: 20px; }
.value h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .2rem; }
.value p { color: var(--muted); font-size: .94rem; margin: 0; }

@media (min-width: 901px) { .about > div:last-child { position: sticky; top: 100px; } }
.panel {
  padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #D6E7F2; box-shadow: var(--shadow-lg);
}
.panel__badge {
  display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .85rem; border-radius: 999px;
  background: rgba(13, 207, 219, .16); border: 1px solid rgba(13, 207, 219, .4);
  color: var(--cyan-400); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.panel__badge svg { width: 1.05em; height: 1.05em; flex: none; }
.panel h3 { color: #fff; }
.panel p { color: #B9D2E4; font-size: .97rem; }
.panel__list { display: grid; gap: .6rem; margin-top: 1.3rem; }
.panel__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; }
.panel__list svg { width: 18px; height: 18px; flex: none; color: var(--cyan-400); margin-top: .22rem; }

.maple {
  margin-top: 1.4rem; display: flex; gap: 1rem; align-items: center;
  padding: 1.1rem 1.3rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.maple svg { width: 40px; height: 40px; flex: none; color: var(--maple); }
.maple strong { display: block; color: #fff; font-family: var(--font-display); }
.maple span { font-size: .9rem; color: #B9D2E4; }

.note-photo {
  margin-top: 1.2rem; font-size: .86rem; color: var(--muted-light);
  display: flex; align-items: center; gap: .5rem;
}
.note-photo svg { width: 1.1em; height: 1.1em; }

/* ---------- quote / calculator ---------- */
.quote { background: linear-gradient(180deg, var(--ice), var(--mist)); }
.quote__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.quote__bar {
  display: flex; align-items: center; gap: .55rem; padding: .8rem 1.2rem;
  background: var(--navy-800); color: #B9D2E4; font-size: .84rem;
}
.quote__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.quote__bar i:first-child { background: var(--cyan-500); }
.quote__bar span { margin-left: auto; }
.quote__bar a { color: var(--cyan-400); text-decoration: none; font-weight: 600; }
.quote__stage { position: relative; min-height: min(1080px, 150vh); background: #fff; }
.quote__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.quote__placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  gap: 1rem; text-align: center; padding: 2rem;
  background: radial-gradient(600px 300px at 50% 30%, var(--cyan-100), #fff 70%);
}
.quote__placeholder p { color: var(--muted); max-width: 42ch; }
.spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--cyan-100); border-top-color: var(--cyan-500);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.quote__alt {
  margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  justify-content: space-between; padding: 1.4rem 1.6rem;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
}
.quote__alt h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.quote__alt p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  padding: 1.25rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 650; font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem);
  color: var(--navy-800);
}
.faq__q:hover { color: var(--cyan-700); }
.faq__icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ice); color: var(--navy-700); transition: transform .3s var(--ease), background .3s;
}
.faq__icon svg { width: 15px; height: 15px; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--cyan-500); color: var(--navy-900); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 1.3rem; margin: 0; max-width: 72ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 650; color: var(--navy-800); }
.field label .req { color: var(--maple); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-family: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--cyan-500); box-shadow: 0 0 0 4px rgba(13, 207, 219, .18);
}
.field--check { display: flex; align-items: flex-start; gap: .65rem; }
.field--check input { width: 20px; height: 20px; flex: none; margin-top: .15rem; accent-color: var(--cyan-600); }
.field--check label { font-weight: 450; color: var(--muted); font-size: .9rem; }
.form__status { padding: .95rem 1.1rem; border-radius: var(--radius-sm); font-size: .94rem; display: none; }
.form__status.is-ok { display: block; background: rgba(13, 207, 219, .12); border: 1px solid var(--cyan-500); color: var(--navy-800); }
.form__status.is-error { display: block; background: rgba(216, 38, 47, .08); border: 1px solid rgba(216, 38, 47, .4); color: #8E1B21; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.info-card {
  padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--radius-lg);
  background: var(--mist); border: 1px solid var(--line);
}
.info-list { display: grid; gap: 1.15rem; }
.info-list__item { display: flex; gap: .9rem; }
.info-list__icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-800); color: var(--cyan-400);
}
.info-list__icon svg { width: 19px; height: 19px; }
.info-list dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-list dd { margin: .15rem 0 0; font-weight: 600; color: var(--navy-800); }
.info-list dd a { color: var(--navy-800); text-decoration: none; }
.info-list dd a:hover { color: var(--cyan-700); text-decoration: underline; }

.hours { margin-top: 1.6rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.hours__title { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--navy-800); margin-bottom: .9rem; }
.hours__title > svg { width: 1.15em; height: 1.15em; flex: none; color: var(--cyan-700); }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: .38rem 0; font-size: .93rem; border-bottom: 1px dashed rgba(220, 231, 239, .9); }
.hours__row:last-child { border-bottom: 0; }
.hours__row.is-today { font-weight: 700; color: var(--navy-800); }
.hours__row span:last-child { color: var(--muted); }
.hours__row.is-today span:last-child { color: var(--cyan-700); }
.badge-open {
  display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .7rem; border-radius: 999px;
  font-size: .76rem; font-weight: 700; background: rgba(13, 207, 219, .16); color: var(--cyan-700);
}
.badge-open.is-closed { background: rgba(86, 105, 125, .12); color: var(--muted); }
.badge-open i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hours__note { margin-top: .9rem; font-size: .86rem; color: var(--muted); }

.map {
  margin-top: 1.6rem; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--ice); line-height: 0;
}
.map iframe { width: 100%; height: 300px; border: 0; }
.map__link { display: block; padding: .8rem 1.1rem; background: #fff; font-size: .88rem; line-height: 1.5; text-align: center; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 380px at 82% 0%, rgba(13, 207, 219, .26), transparent 62%),
    linear-gradient(140deg, var(--navy-800), var(--navy-900));
  color: #fff; text-align: center;
}
.cta-band__inner { position: relative; z-index: 1; max-width: 700px; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #B9D2E4; }
.cta-band .hero__actions { justify-content: center; }
.cta-band__skyline { position: absolute; inset: auto 0 -1px 0; color: rgba(255, 255, 255, .05); line-height: 0; }
.cta-band__skyline svg { width: 100%; height: 160px; }

/* ---------- footer ---------- */
.footer { background: var(--navy-900); color: #9FBDD4; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 2.6rem); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }
.footer .brand__name { color: #fff; }
.footer p { font-size: .93rem; max-width: 38ch; }
.footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer li { margin-bottom: .55rem; font-size: .93rem; }
.footer a { color: #9FBDD4; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--cyan-400); }
.footer__bottom {
  margin-top: clamp(2.2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; justify-content: space-between;
  font-size: .85rem;
}
.footer__social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s;
}
.footer__social a:hover { background: var(--cyan-500); color: var(--navy-900); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }

/* ---------- sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: .7rem; right: .7rem; bottom: .7rem; z-index: 90;
  display: none; gap: .6rem; padding: .6rem; border-radius: var(--radius-lg);
  background: rgba(7, 40, 72, .96); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px);
  transform: translateY(150%); transition: transform .35s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { flex: 1; padding: .8rem 1rem; font-size: .92rem; }
@media (max-width: 760px) { .mobile-cta { display: flex; } body { padding-bottom: 4.5rem; } }

/* ---------- legal page ---------- */
.legal { max-width: 760px; margin-inline: auto; padding-top: clamp(7rem, 12vw, 9rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal p { color: var(--muted); }

/* ---------- reveal animation ---------- */
/* Only hide when JavaScript is available to bring it back. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-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: .4s; }

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

/* ---------- when to treat ---------- */
.timing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 900px) { .timing__grid { grid-template-columns: minmax(0, 1fr); } }
.timing__item {
  padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--line);
}
.timing__item:nth-child(1) { border-top-color: var(--cyan-500); }
.timing__item:nth-child(2) { border-top-color: var(--navy-500); }
.timing__item:nth-child(3) { border-top-color: var(--muted-light); }
.timing__tag {
  display: inline-block; margin-bottom: .9rem; padding: .28rem .8rem; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.timing__item:nth-child(1) .timing__tag { background: var(--cyan-100); color: var(--cyan-700); }
.timing__item:nth-child(2) .timing__tag { background: var(--ice); color: var(--navy-600); }
.timing__item:nth-child(3) .timing__tag { background: #EEF2F6; color: var(--muted); }
.timing__item h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.timing__item p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- property managers & commercial ---------- */
.commercial {
  background:
    radial-gradient(900px 460px at 88% 6%, rgba(13, 207, 219, .2), transparent 62%),
    linear-gradient(145deg, var(--navy-800), var(--navy-900));
}
.commercial__inner {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
@media (max-width: 900px) { .commercial__inner { grid-template-columns: minmax(0, 1fr); } }
.commercial .btn { margin-top: 1.6rem; }
.commercial__list { display: grid; gap: .85rem; }
.commercial__list li {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1rem 1.15rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .96rem;
}
.commercial__list svg { width: 20px; height: 20px; flex: none; color: var(--cyan-400); margin-top: .15rem; }
.commercial__note {
  display: flex; gap: .6rem; align-items: flex-start;
  margin-top: 1.2rem; font-size: .87rem; color: #8FB0C8;
}
.commercial__note svg { width: 1.1em; height: 1.1em; flex: none; margin-top: .18rem; }

/* ---------- certified-installer claim ---------- */
.panel__claim {
  display: flex; gap: .65rem; align-items: flex-start;
  margin-bottom: 1rem; padding: .85rem 1rem; border-radius: var(--radius-sm);
  background: rgba(13, 207, 219, .12); border: 1px solid rgba(13, 207, 219, .34);
  color: #fff; font-weight: 650; font-size: .98rem;
}
.panel__claim svg { width: 20px; height: 20px; flex: none; color: var(--cyan-400); margin-top: .12rem; }

/* ---------- crew photo in the about section ---------- */
.about__photo {
  margin: 1.8rem 0 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
}
.about__photo img { width: 100%; height: auto; display: block; }
.about__photo figcaption {
  display: flex; gap: .55rem; align-items: flex-start;
  padding: .85rem 1.1rem; font-size: .86rem; color: var(--muted); background: #fff;
}
.about__photo figcaption svg { width: 1.05em; height: 1.05em; flex: none; margin-top: .18rem; color: var(--cyan-700); }

/* ---------- hydrophobic demo video ---------- */
.beads__card--video { background: #0B1A28; }
.beads__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: contrast(1.08) saturate(1.06) brightness(1.03);
}
.beads__card--video .beads__label {
  padding: .85rem 1.05rem;
  background: linear-gradient(to top, rgba(3, 16, 29, .96), rgba(3, 16, 29, .84));
  border-color: rgba(255, 255, 255, .16);
  line-height: 1.5;
}
.beads__credit {
  display: block; margin-top: .45rem; font-size: .74rem;
  letter-spacing: .06em; text-transform: uppercase; color: #7FA6C0;
}

/* ---------- very small phones (iPhone SE and friends) ---------- */
@media (max-width: 400px) {
  .brand img { width: 36px; height: 42px; }
  .brand__name { font-size: 1rem; }
  .brand__sub { font-size: .55rem; letter-spacing: .1em; }
  .lang-toggle { padding: .45rem .65rem; font-size: .78rem; }
  .lang-toggle svg { display: none; }
  .nav-toggle { width: 42px; height: 42px; }
  .header__inner { gap: .6rem; }
}

/* Long CTA labels must wrap rather than widen their grid track on small phones. */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
}

/* ---------- room for the chat widget bubble ---------- */
/* The LeadConnector bubble is fixed in the bottom-right corner, so the sticky
   CTA bar stops short of it instead of sitting underneath. */
@media (max-width: 760px) {
  .has-chat .mobile-cta { right: 5.25rem; }
}
@media (max-width: 480px) {
  .mobile-cta .btn { padding-inline: 1rem; }
}
/* Below 360px the icons cost more than they add: dropping them keeps both
   labels on a single line. */
@media (max-width: 360px) {
  .mobile-cta .btn { padding-inline: .7rem; font-size: .88rem; }
  .mobile-cta .btn > svg { display: none; }
}
@media (max-width: 480px) {
  .has-chat .mobile-cta .btn--ghost-light { flex: 0 0 auto; }
  .has-chat .mobile-cta .btn--ghost-light span { display: none; }
}

.info-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 1.2rem; }
