/* =============================================================
   SiteWorx Facilities — Commercial Cleaning Services
   Master stylesheet / design system
   Brand: Primary #0149af · Secondary #259b58 · White #ffffff
   ============================================================= */

/* ------------------------------------------------------------
   1. Design tokens
------------------------------------------------------------ */
:root {
  /* Brand */
  --blue: #0149af;
  --blue-600: #0149af;
  --blue-700: #013a8f;
  --blue-800: #01296b;
  --blue-050: #eaf1fb;
  --green: #259b58;
  --green-600: #259b58;
  --green-700: #1c7a45;
  --green-050: #e7f6ee;
  --white: #ffffff;

  /* Neutrals */
  --ink: #0e1b2e;
  --slate-900: #16233a;
  --slate-700: #33445f;
  --slate-600: #4f627d;
  --slate-500: #6b7c96;
  --slate-300: #aebccf;
  --line: #e3ecf6;
  --line-2: #eef3f9;
  --bg: #ffffff;
  --bg-soft: #f4f8fd;
  --bg-soft-2: #eef4fb;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, #0149af 0%, #1668c9 45%, #259b58 100%);
  --grad-blue: linear-gradient(135deg, #0149af 0%, #013a8f 100%);
  --grad-green: linear-gradient(135deg, #2bab63 0%, #1c7a45 100%);
  --grad-hero: linear-gradient(120deg, #01296b 0%, #0149af 48%, #147a44 100%);

  /* Typography */
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow */
  --sh-1: 0 2px 8px rgba(9, 30, 66, .06);
  --sh-2: 0 10px 30px rgba(9, 30, 66, .08);
  --sh-3: 0 18px 50px rgba(9, 30, 66, .12);
  --sh-blue: 0 14px 30px rgba(1, 73, 175, .28);
  --sh-green: 0 14px 30px rgba(37, 155, 88, .28);

  /* Layout */
  --container: 1200px;
  --container-narrow: 900px;
  --gap: 28px;
  --sp-section: clamp(56px, 8vw, 104px);

  /* Motion */
  --ease: cubic-bezier(.4, .1, .2, 1);
  --t-fast: .18s var(--ease);
  --t: .3s var(--ease);
  --t-slow: .55s var(--ease);

  --header-h: 94px;
}

/* ------------------------------------------------------------
   2. Reset & base
------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--green-700); }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--slate-900);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.01em;
}
p { color: var(--slate-600); }
:focus-visible { outline: 3px solid rgba(1, 73, 175, .45); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(1, 73, 175, .16); }

/* ------------------------------------------------------------
   3. Layout helpers
------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--sp-section); position: relative; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.grid { display: grid; gap: var(--gap); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.text-white { color: #fff !important; }
.text-white p, .text-white h1, .text-white h2, .text-white h3, .text-white h4 { color: #fff; }
.mb-0 { margin-bottom: 0; }
.hide { display: none !important; }

/* ------------------------------------------------------------
   4. Typography helpers
------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700);
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--green-050);
  margin-bottom: 18px;
}
.eyebrow.on-dark { color: #bfe9d0; background: rgba(255,255,255,.12); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

h1, .h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2, .h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--slate-600); }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 14px; }
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ------------------------------------------------------------
   5. Buttons
------------------------------------------------------------ */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 15px 28px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t);
  will-change: transform; white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); color: var(--btn-fg); }
.btn-primary { background: var(--blue); box-shadow: var(--sh-blue); }
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 18px 38px rgba(1,73,175,.34); }
.btn-green { background: var(--green); box-shadow: var(--sh-green); }
.btn-green:hover { background: var(--green-700); box-shadow: 0 18px 38px rgba(37,155,88,.34); }
.btn-grad { background: var(--grad-brand); box-shadow: var(--sh-blue); background-size: 160% 160%; }
.btn-grad:hover { background-position: 100% 0; box-shadow: 0 18px 38px rgba(1,73,175,.32); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-050); }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 12px 26px rgba(0,0,0,.16); }
.btn-white:hover { color: var(--blue-700); }
.btn-ghost-white { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-white:hover { background: rgba(255,255,255,.18); color:#fff; }
.btn-sm { padding: 11px 20px; font-size: .9rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; color: var(--blue); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------
   6. Header + top bar
------------------------------------------------------------ */
.topbar {
  background: var(--blue-800); color: #dbe6f6;
  font-size: .86rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.topbar a { color: #dbe6f6; }
.topbar a:hover { color: #fff; }
.topbar .tb-list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar .tb-item a { display: inline-flex; align-items: center; gap: 8px; }
.topbar .tb-item svg { width: 15px; height: 15px; color: #7fd3a0; flex-shrink: 0; }
.topbar .tb-right { display: flex; align-items: center; gap: 14px; }
.topbar .tb-socials { display: flex; gap: 10px; }
.topbar .tb-socials a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.1); }
.topbar .tb-socials a:hover { background: var(--green); }
.topbar .tb-socials svg { width: 14px; height: 14px; }

/* Mount is transparent to layout so the sticky header can stick to the whole
   page (not just within this short wrapper). */
#site-header { display: contents; }
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow var(--t), background var(--t);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(9,30,66,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { height: 62px; width: 62px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; color: var(--blue); letter-spacing: .3px; }
.brand-name span { font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--green-700); letter-spacing: 5px; margin-top: 4px; }
.brand-name small { font-family: var(--font-body); font-weight: 500; font-size: .66rem; color: var(--slate-500); letter-spacing: .2px; margin-top: 5px; white-space: nowrap; }

.nav-menu { display: flex; align-items: center; gap: 1px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--slate-900); padding: 10px 7px; border-radius: 10px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-actions .btn { padding: 12px 17px; font-size: .9rem; }
.nav-menu > li > a .chev { width: 16px; height: 16px; flex-shrink: 0; stroke-width: 2.4; transition: transform var(--t); color: var(--green); opacity: .95; }
.nav-menu > li:hover > a, .nav-menu > li > a.active { color: var(--blue); background: var(--blue-050); }
.nav-menu > li:hover > a .chev { transform: rotate(180deg); color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Dropdown / mega-menu */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 0;
  min-width: 310px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 12px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.dropdown-wide { width: 600px; }
.nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 14px; }
.dd-grid { display: grid; gap: 2px; }
.dropdown-wide .dd-grid { grid-template-columns: 1fr 1fr; gap: 2px 6px; }
.dd-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; color: var(--slate-700);
  font-size: .93rem; transition: background var(--t-fast), color var(--t-fast);
}
.dd-item .di {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; background: var(--blue-050); color: var(--blue);
  transition: background var(--t), color var(--t), transform var(--t);
}
.dd-item .di svg { width: 21px; height: 21px; }
.dd-item .dd-tt { font-family: var(--font-head); font-weight: 600; line-height: 1.25; }
.dd-item:hover { background: var(--bg-soft); color: var(--blue); }
.dd-item:hover .di { background: var(--grad-brand); color: #fff; transform: rotate(-6deg); }
.dd-all {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 10px; padding: 13px 18px; border-radius: 12px; white-space: nowrap;
  background: var(--blue-050); color: var(--blue);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  transition: background var(--t), color var(--t);
}
.dd-all .dd-arrow { display: grid; place-items: center; }
.dd-all svg { width: 18px; height: 18px; transition: transform var(--t); }
.dd-all:hover { background: var(--blue); color: #fff; }
.dd-all:hover svg { transform: translateX(4px); }

/* Burger */
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-050); color: var(--blue); }
.burger svg { width: 24px; height: 24px; margin-inline: auto; }

/* ------------------------------------------------------------
   7. Mobile drawer
------------------------------------------------------------ */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(6,17,34,.5); z-index: 1000;
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
  backdrop-filter: blur(2px);
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(380px, 88vw);
  background: #fff; z-index: 1001; box-shadow: -20px 0 60px rgba(9,30,66,.2);
  transform: translateX(100%); transition: transform var(--t-slow);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head .brand-mark { height: 48px; width: 48px; }
.drawer-head .brand-name b { font-size: 1.18rem; }
.drawer-head .brand-name span { font-size: .64rem; letter-spacing: 3.6px; }
.drawer-head .brand-name small { font-size: .58rem; }
.drawer-close { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); color: var(--slate-700); }
.drawer-close svg { width: 22px; height: 22px; margin-inline: auto; }
.drawer-body { overflow-y: auto; padding: 14px 16px 24px; flex: 1; }
.drawer-nav > li { border-bottom: 1px solid var(--line-2); }
.drawer-nav > li > a, .m-acc-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--slate-900);
  padding: 15px 6px; text-align: left;
}
.m-acc-btn .chev { width: 20px; height: 20px; color: var(--slate-500); transition: transform var(--t); }
.m-acc-btn.open .chev { transform: rotate(180deg); color: var(--blue); }
.m-sub { max-height: 0; overflow: hidden; transition: max-height var(--t-slow); }
.m-sub ul { padding: 2px 4px 12px; }
.m-sub a { display: flex; align-items: center; gap: 10px; padding: 11px 10px; color: var(--slate-600); font-size: .95rem; border-radius: 10px; }
.m-sub a:hover { background: var(--bg-soft); color: var(--blue); }
.m-sub a svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; }
.drawer-cta { padding: 20px 20px 26px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.drawer-contact { margin-top: 16px; display: grid; gap: 10px; font-size: .92rem; }
.drawer-contact a { display: flex; align-items: center; gap: 10px; color: var(--slate-700); }
.drawer-contact svg { width: 17px; height: 17px; color: var(--blue); }

/* ------------------------------------------------------------
   8. Hero
------------------------------------------------------------ */
.hero { position: relative; background: var(--grad-hero); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 15%, rgba(37,155,88,.5), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(1,73,175,.55), transparent 60%);
}
.hero .blob { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5; z-index: -1; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: clamp(58px, 8vw, 96px); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .hl { position: relative; color: #7ff0ab; }
.hero .lead { color: rgba(255,255,255,.9); max-width: 560px; }
.hero .eyebrow { color: #cdeedb; background: rgba(255,255,255,.12); }
.hero-cta { margin-top: 32px; }
.hero-trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-trust .ht { display: inline-flex; align-items: center; gap: 9px; font-size: .93rem; color: rgba(255,255,255,.92); }
.hero-trust .ht svg { width: 20px; height: 20px; color: #7ff0ab; flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-xl); padding: 30px 30px 44px; backdrop-filter: blur(6px);
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.hero-card h3 { color: #fff; margin-bottom: 6px; }
.hero-quick-list { display: grid; gap: 12px; margin-top: 20px; }
.hero-quick-list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.95); font-weight: 500; }
.hero-quick-list li .qi { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex-shrink: 0; }
.hero-quick-list li svg { width: 17px; height: 17px; color: #8ff2b3; }
.hero-badge {
  position: absolute; background: #fff; color: var(--slate-900);
  border-radius: var(--r); padding: 14px 18px; box-shadow: var(--sh-3);
  display: flex; align-items: center; gap: 12px; font-weight: 600;
}
.hero-badge .hb-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.hero-badge .hb-ic.blue { background: var(--grad-blue); }
.hero-badge .hb-ic.green { background: var(--grad-green); }
.hero-badge svg { width: 22px; height: 22px; }
.hero-badge small { display: block; color: var(--slate-500); font-weight: 500; font-size: .8rem; }
.hero-badge b { font-size: 1.1rem; color: var(--slate-900); }
.hero-badge.b1 { top: -22px; right: -14px; }
.hero-badge.b2 { bottom: -24px; left: -20px; }

/* trust strip under hero */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line-2); }
.trust-strip .container { max-width: 1280px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px 20px; padding-block: 24px; align-items: center; }
.trust-strip .ts { display: flex; align-items: center; gap: 11px; justify-content: center; }
.trust-strip .ts .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.trust-strip .ts .ic svg { width: 21px; height: 21px; }
.trust-strip .ts > div { min-width: 0; }
.trust-strip .ts b { display: block; color: var(--slate-900); font-family: var(--font-head); font-size: .9rem; line-height: 1.25; white-space: nowrap; }
.trust-strip .ts span { display: block; font-size: .82rem; color: var(--slate-500); white-space: nowrap; }

/* ------------------------------------------------------------
   8b. Hero image slider (home)
------------------------------------------------------------ */
.hero-slider { position: relative; height: clamp(580px, 90vh, 860px); overflow: hidden; isolation: isolate; background: #0a1a30; }
.hero-track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s var(--ease);
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(1,33,86,.94) 0%, rgba(1,55,138,.8) 38%, rgba(1,41,107,.5) 66%, rgba(20,122,68,.32) 100%);
}
.hero-slide .container { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 660px; color: #fff; padding-block: 40px; }
.hero-content .eyebrow { color: #cdeedb; background: rgba(255,255,255,.14); }
.hero-content h1 { color: #fff; margin-bottom: 20px; }
.hero-content h1 .hl { color: #7ff0ab; }
.hero-content .lead { color: rgba(255,255,255,.92); margin-bottom: 32px; max-width: 580px; }
/* staged entrance — only when JS is active (no-JS shows content immediately) */
.js .hero-content > * { opacity: 0; transform: translateY(26px); }
.js .hero-slide.active .hero-content > * { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .hero-slide.active .hero-content > *:nth-child(1) { transition-delay: .25s; }
.js .hero-slide.active .hero-content > *:nth-child(2) { transition-delay: .38s; }
.js .hero-slide.active .hero-content > *:nth-child(3) { transition-delay: .51s; }
.js .hero-slide.active .hero-content > *:nth-child(4) { transition-delay: .64s; }

.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(4px);
  transition: background var(--t), transform var(--t);
}
.hero-nav:hover { background: rgba(255,255,255,.3); }
.hero-nav svg { width: 22px; height: 22px; }
.hero-prev { left: 26px; }
.hero-prev svg { transform: rotate(180deg); }
.hero-next { right: 26px; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.45); border: none; cursor: pointer; padding: 0; transition: all var(--t); }
.hero-dots button.active { background: #fff; width: 32px; border-radius: 6px; }

/* ------------------------------------------------------------
   9. Cards
------------------------------------------------------------ */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }

/* Service card */
.svc-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column; height: 100%;
}
.svc-card::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--sh-3); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-ic {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue); margin-bottom: 20px;
  transition: background var(--t), color var(--t), transform var(--t);
}
.svc-ic svg { width: 32px; height: 32px; }
.svc-card:hover .svc-ic { background: var(--grad-brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.svc-card p { font-size: .96rem; margin-bottom: 18px; flex: 1; }
.svc-card .link-arrow { margin-top: auto; }

/* Service card photo thumbnail (added from SITE_DATA by main.js) */
.svc-thumb { position: relative; z-index: 1; display: block; height: 200px; margin: -30px -28px 22px; overflow: hidden; background: var(--bg-soft-2); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.svc-card:hover .svc-thumb img { transform: scale(1.07); }
.svc-badge { position: absolute; left: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.94); backdrop-filter: blur(4px); color: var(--blue); display: grid; place-items: center; box-shadow: var(--sh-2); transition: background var(--t), color var(--t); }
.svc-badge svg { width: 27px; height: 27px; }
.svc-card.has-thumb:hover .svc-badge { background: var(--grad-brand); color: #fff; }
.svc-card.has-thumb .svc-ic { display: none; }

/* Service detail intro photo (replaces the gradient panel) */
.svc-media { min-height: 440px; height: 100%; }
.svc-media img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; display: block; }
.svc-media-cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 46px 24px 22px; display: flex; align-items: center; gap: 14px; color: #fff; background: linear-gradient(transparent, rgba(6,17,34,.86)); }
.svc-media-cap .svc-media-ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 13px; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); display: grid; place-items: center; color: #fff; }
.svc-media-cap .svc-media-ic svg { width: 25px; height: 25px; }
.svc-media-cap b { display: block; color: #fff; font-family: var(--font-head); }
.svc-media-cap small { display: block; color: rgba(255,255,255,.85); }
/* Landscape variant — shows a wide photo in full (no side cropping) */
.svc-media.media-wide { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
.svc-media.media-wide img { min-height: 0; height: 100%; }

/* ------------------------------------------------------------
   Service page: main content + sticky "Get a Free Quote" form
------------------------------------------------------------ */
.svc-layout { padding-block: clamp(48px, 6vw, 78px); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 46px; align-items: start; }
.svc-main { min-width: 0; }
.svc-block + .svc-block { margin-top: clamp(44px, 5vw, 64px); }
.svc-block.soft { background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 34px 30px; }
/* the main column is narrower than a full section — relax the inner grids */
.svc-main .split, .svc-main .split.wide-left { grid-template-columns: 1fr; gap: 30px; }
.svc-main .grid.g-3, .svc-main .grid.g-4 { grid-template-columns: 1fr 1fr; }
.svc-main .steps { grid-template-columns: 1fr 1fr; gap: 48px 20px; }
.svc-main .check-grid { grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.svc-main .section-head { margin-bottom: 26px; max-width: none; }
.svc-main .svc-media, .svc-main .svc-media img { min-height: 300px; }
/* denser cards in the narrow column */
.svc-main .feature { padding: 20px; gap: 14px; }
.svc-main .feature .f-ic { width: 46px; height: 46px; border-radius: 12px; }
.svc-main .feature .f-ic svg { width: 23px; height: 23px; }
.svc-main .feature h3 { font-size: 1.02rem; margin-bottom: 5px; }
.svc-main .feature p { font-size: .88rem; }
@media (max-width: 760px) { .svc-main .grid.g-3, .svc-main .grid.g-4 { grid-template-columns: 1fr; } }

/* sticky quote card */
.svc-aside { position: sticky; top: calc(var(--header-h) + 14px); }
.svc-quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-2); overflow: hidden; }
.svc-quote-head { background: var(--grad-brand); color: #fff; padding: 20px 24px; }
.svc-quote-head h3 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.svc-quote-head p { color: rgba(255,255,255,.92); font-size: .84rem; margin: 0; }
.svc-quote-body { padding: 22px 24px 24px; }
.svc-quote .field { margin-bottom: 13px; }
.svc-quote .field label { font-size: .84rem; margin-bottom: 6px; }
.svc-quote input, .svc-quote textarea { padding: 11px 14px; font-size: .93rem; }
.svc-quote textarea { min-height: 92px; }
.svc-quote .btn { margin-top: 4px; }
.svc-quote .form-note { font-size: .76rem; margin-top: 10px; line-height: 1.5; }
.svc-quote-foot { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; background: var(--bg-soft); border-top: 1px solid var(--line-2); font-size: .85rem; color: var(--slate-600); }
.svc-quote-foot svg { width: 16px; height: 16px; color: var(--green); }
.svc-quote-foot a { font-family: var(--font-head); font-weight: 700; }

@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-aside { position: static; width: 100%; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .svc-main .steps, .svc-main .check-grid { grid-template-columns: 1fr; }
  .svc-block.soft { padding: 26px 20px; }
}

/* Feature (why choose us) */
.feature {
  display: flex; gap: 18px; padding: 26px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--t), box-shadow var(--t);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.feature .f-ic { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.feature .f-ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 7px; }
.feature p { font-size: .93rem; margin: 0; }

/* Industry pill card */
.ind-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--green); }
.ind-card .ii { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-050); color: var(--green-700); flex-shrink: 0; }
.ind-card .ii svg { width: 24px; height: 24px; }
.ind-card b { font-family: var(--font-head); color: var(--slate-900); font-size: 1rem; }

/* ------------------------------------------------------------
   10. Stats / counters
------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat .lbl { margin-top: 8px; color: var(--slate-600); font-weight: 500; font-size: .94rem; }
.stats.on-dark .stat { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.stats.on-dark .num { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.stats.on-dark .lbl { color: rgba(255,255,255,.82); }

/* ------------------------------------------------------------
   11. Process steps
------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 34px 22px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform var(--t), box-shadow var(--t); }
.step:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.step .step-num { counter-increment: step; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; box-shadow: var(--sh-blue); }
.step .step-num::before { content: counter(step, decimal-leading-zero); }
.step .s-ic { width: 54px; height: 54px; margin: 8px auto 16px; border-radius: 14px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; }
.step .s-ic svg { width: 27px; height: 27px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .9rem; margin: 0; }

/* ------------------------------------------------------------
   12. Testimonials
------------------------------------------------------------ */
.tm-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-1); transition: transform var(--t), box-shadow var(--t); }
.tm-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.tm-stars { display: flex; gap: 3px; color: #f5a623; margin-bottom: 16px; }
.tm-stars svg { width: 20px; height: 20px; }
.tm-quote { position: relative; color: var(--slate-700); font-size: 1.02rem; flex: 1; }
.tm-quote::before { content: "\201C"; font-family: Georgia, serif; font-size: 4rem; line-height: 0; color: var(--blue-050); position: absolute; top: 18px; left: -6px; z-index: -1; }
.tm-foot { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.tm-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.tm-foot b { display: block; font-family: var(--font-head); color: var(--slate-900); font-size: 1rem; }
.tm-foot > div span { font-size: .86rem; color: var(--slate-500); }

/* ------------------------------------------------------------
   13. FAQ accordion
------------------------------------------------------------ */
.faq { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow var(--t), border-color var(--t); }
.faq-item.open { box-shadow: var(--sh-2); border-color: rgba(1,73,175,.28); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 22px 24px; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--slate-900); }
.faq-q .fq-ic { flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; transition: background var(--t), color var(--t), transform var(--t); }
.faq-q .fq-ic svg { width: 18px; height: 18px; }
.faq-item.open .fq-ic { background: var(--blue); color: #fff; transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t-slow); }
.faq-a-inner { padding: 0 24px 24px; color: var(--slate-600); }

/* ------------------------------------------------------------
   14. CTA banner
------------------------------------------------------------ */
.cta-band { position: relative; background: var(--grad-hero); color: #fff; border-radius: var(--r-xl); overflow: hidden; padding: clamp(38px, 6vw, 64px); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 85% 20%, rgba(37,155,88,.5), transparent 60%); }
.cta-band .cta-grid { display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 10px; }
.cta-phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; color: #fff; font-family: var(--font-head); }
.cta-phone svg { width: 22px; height: 22px; color: #8ff2b3; }
.cta-phone b { font-size: 1.35rem; }

/* full-bleed CTA section */
.cta-section { background: var(--grad-hero); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 70% at 90% 10%, rgba(37,155,88,.45), transparent 60%), radial-gradient(45% 70% at 5% 100%, rgba(1,73,175,.5), transparent 60%); }

/* ------------------------------------------------------------
   15. Page hero (inner pages)
------------------------------------------------------------ */
.page-hero { position: relative; background: var(--grad-hero); color: #fff; overflow: hidden; isolation: isolate; padding-block: clamp(52px, 7vw, 88px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 85% 20%, rgba(37,155,88,.45), transparent 60%), radial-gradient(45% 70% at 5% 90%, rgba(1,73,175,.5), transparent 60%); }
/* Banner with a background photo (overlay + image set inline by main.js) */
.page-hero.has-image { background-size: cover; background-position: center 32%; background-repeat: no-repeat; }
.page-hero.has-image::before { display: none; }
.page-hero h1 { color: #fff; max-width: 800px; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 640px; margin-top: 14px; font-size: 1.1rem; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .7; }
.breadcrumb .cur { color: #8ff2b3; }

/* ------------------------------------------------------------
   16. Content blocks
------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split.wide-left { grid-template-columns: 1.1fr .9fr; }
.prose p { margin-bottom: 16px; }
.prose h2, .prose h3 { margin: 28px 0 14px; }
.prose ul.ticks { display: grid; gap: 12px; margin: 18px 0; }
.prose ul.ticks li { display: flex; align-items: flex-start; gap: 12px; color: var(--slate-700); }
.prose ul.ticks li svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.check-grid li { display: flex; align-items: flex-start; gap: 12px; color: var(--slate-700); font-weight: 500; }
.check-grid li svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

.media-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Decorative gradient panel (used where photos would go) */
.gpanel { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 380px; background: var(--grad-hero); box-shadow: var(--sh-3); isolation: isolate; display: grid; place-items: center; padding: 30px; }
.gpanel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 80% 15%, rgba(37,155,88,.55), transparent 60%), radial-gradient(50% 60% at 15% 90%, rgba(255,255,255,.14), transparent 60%); }
.gpanel .gp-mark { width: 130px; height: 130px; opacity: .95; }
.gpanel .gp-badge { position: absolute; bottom: 20px; left: 20px; right: 20px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); border-radius: var(--r); padding: 16px 20px; backdrop-filter: blur(6px); color: #fff; display: flex; align-items: center; gap: 14px; }
.gpanel .gp-badge svg { width: 30px; height: 30px; color: #8ff2b3; flex-shrink: 0; }
.gpanel .gp-badge b { color: #fff; font-family: var(--font-head); }
.gpanel .gp-badge small { color: rgba(255,255,255,.85); display: block; }
.gpanel.soft { background: var(--grad-brand); }

/* ------------------------------------------------------------
   17. Forms
------------------------------------------------------------ */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-2); padding: clamp(26px, 4vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--slate-900); margin-bottom: 8px; }
.field label .req { color: var(--green-700); }
.field .control, .field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.6px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-soft); color: var(--slate-900); font-size: .98rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(1,73,175,.12); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-500); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-note { font-size: .84rem; color: var(--slate-500); margin-top: 6px; }
.form-alert { padding: 14px 18px; border-radius: var(--r-sm); font-size: .95rem; margin-bottom: 18px; display: none; }
.form-alert.ok { display: block; background: var(--green-050); color: var(--green-700); border: 1px solid rgba(37,155,88,.3); }
.form-alert.err { display: block; background: #fdecec; color: #b3261e; border: 1px solid #f3c2bf; }

/* Contact info cards */
.ci-list { display: grid; gap: 16px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform var(--t), box-shadow var(--t); }
.ci-item:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.ci-item .ci-ic { width: 50px; height: 50px; flex-shrink: 0; border-radius: 13px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; }
.ci-item .ci-ic svg { width: 24px; height: 24px; }
.ci-item b { display: block; font-family: var(--font-head); color: var(--slate-900); margin-bottom: 3px; }
.ci-item > div a, .ci-item > div span { display: block; color: var(--slate-600); }
.ci-item > div a:hover { color: var(--blue); }

.map-frame { border: 0; width: 100%; height: 380px; border-radius: var(--r-lg); box-shadow: var(--sh-1); }

/* ------------------------------------------------------------
   18. Footer
------------------------------------------------------------ */
.site-footer { background: #0a1a30; color: #b9c6d8; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-brand); }
.footer-cta { background: var(--grad-brand); }
.footer-cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-block: 34px; }
.footer-cta h3 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.footer-cta p { color: rgba(255,255,255,.85); margin-top: 4px; }
.footer-main { padding-block: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .f-logo { background: #fff; border-radius: var(--r); padding: 14px 18px; display: inline-block; margin-bottom: 18px; }
.footer-brand .f-logo img { height: 84px; width: auto; }
.footer-legal-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #fff; letter-spacing: .4px; margin-bottom: 12px; }
.footer-brand p { color: #9fb0c6; font-size: .95rem; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); color: #cdd9e8; display: grid; place-items: center; transition: background var(--t), transform var(--t); }
.footer-socials a:hover { background: var(--green); color: #fff; transform: translateY(-3px); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; left: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--green); }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: #a9b9cd; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); opacity: .6; transition: transform var(--t), opacity var(--t); }
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { transform: scale(1.5); opacity: 1; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact .fc { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: #a9b9cd; }
.footer-contact .fc svg { width: 19px; height: 19px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.footer-contact .fc a { color: #a9b9cd; }
.footer-contact .fc a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding-block: 22px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: 12px; font-size: .86rem; color: #8ea1ba; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom .fb-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ------------------------------------------------------------
   19. Floating buttons
------------------------------------------------------------ */
.fab { position: fixed; z-index: 800; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--sh-3); transition: transform var(--t), opacity var(--t), visibility var(--t); }
.fab svg { width: 26px; height: 26px; }
.wa-fab { left: 24px; bottom: 26px; background: #25d366; color: #fff; animation: wa-pulse 2.4s infinite; }
.wa-fab:hover { transform: scale(1.08); color: #fff; }
.wa-fab svg { width: 30px; height: 30px; }
.totop-fab { right: 24px; bottom: 26px; background: var(--blue); color: #fff; opacity: 0; visibility: hidden; transform: translateY(16px); }
.totop-fab.show { opacity: 1; visibility: visible; transform: translateY(0); }
.totop-fab:hover { background: var(--blue-700); color: #fff; transform: translateY(-3px); }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), var(--sh-3); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), var(--sh-3); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), var(--sh-3); } }

.wa-fab::after {
  content: attr(data-tip); position: absolute; left: 68px; white-space: nowrap;
  background: #0a1a30; color: #fff; padding: 8px 14px; border-radius: 8px; font-size: .85rem;
  opacity: 0; transform: translateX(-6px); transition: opacity var(--t), transform var(--t); pointer-events: none;
}
.wa-fab:hover::after { opacity: 1; transform: translateX(0); }

/* ------------------------------------------------------------
   20. Scroll reveal & motion
------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
/* No-JS / crawler / script-failure safety: if the <html> never gets the .js
   class (set by an inline head script), show all content unconditionally. */
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.from-left { transform: translateX(-34px); }
.reveal.from-right { transform: translateX(34px); }
.reveal.from-left.in-view, .reveal.from-right.in-view { transform: none; }
.reveal.zoom { transform: scale(.94); }
.reveal.zoom.in-view { transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.float-y { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ------------------------------------------------------------
   21. Misc
------------------------------------------------------------ */
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: var(--r-pill); background: var(--blue-050); color: var(--blue); font-weight: 600; font-size: .88rem; }
.badge svg { width: 15px; height: 15px; }
.divider { height: 1px; background: var(--line); border: 0; }
.tag-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--green-050); color: var(--green-700); padding: 7px 14px; border-radius: var(--r-pill); font-weight: 600; font-size: .85rem; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* rating inline */
.rating-inline { display: inline-flex; align-items: center; gap: 10px; }
.rating-inline .stars { display: flex; gap: 2px; color: #f5a623; }
.rating-inline .stars svg { width: 18px; height: 18px; }
.rating-inline b { color: var(--slate-900); font-family: var(--font-head); }

/* ------------------------------------------------------------
   22. Responsive
------------------------------------------------------------ */
@media (max-width: 1080px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Trust strip: 5 across only when there's room, else 3 (avoids cramped/overflow) */
@media (max-width: 1250px) {
  .trust-strip .container { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
}
/* Collapse the full menu to a burger before it gets cramped */
@media (max-width: 1200px) {
  .nav-menu, .nav-actions .btn { display: none; }
  .burger { display: grid; place-items: center; }
}
@media (max-width: 960px) {
  :root { --header-h: 86px; }
  .brand-mark { height: 52px; width: 52px; }
  .brand-name b { font-size: 1.28rem; }
  .brand-name span { font-size: .68rem; letter-spacing: 3.6px; }
  .brand-name small { font-size: .6rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
  .split, .split.wide-left { grid-template-columns: 1fr; }
  .cta-band .cta-grid { grid-template-columns: 1fr; }
  .topbar .tb-item.hide-md { display: none; }
}
@media (max-width: 760px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .check-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .hero-badge { display: none; }
  .hero-nav { display: none; }
  .hero-slider { height: clamp(640px, 96vh, 860px); }
  .hero-content { padding-block: 80px 66px; }
  .hero-content h1 { font-size: clamp(1.85rem, 6.2vw, 2.4rem); margin-bottom: 16px; }
  .hero-content .lead { font-size: 1rem; margin-bottom: 24px; }
  .hero-dots { bottom: 20px; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .footer-cta .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr; }
  .trust-strip .container { grid-template-columns: 1fr; }
  .trust-strip .ts { justify-content: flex-start; }
  .btn-row .btn { width: 100%; }
  .fab { width: 52px; height: 52px; }
}
