/* ==========================================================================
   KS Deep Clean — Design System
   Premium, glassmorphic, responsive, light/dark. Authored as production CSS;
   design tokens mirrored in /scss/_tokens.scss.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --brand-900: #0B2A6B;
  --brand-800: #0E317E;
  --brand-700: #123C99;
  --brand-600: #2456C4;
  --brand-500: #3A78E6;
  --brand-400: #4A9BFF;
  --brand-300: #7FBBFF;
  --brand-200: #B9D6FF;
  --brand-100: #EAF1FF;
  --amber-500: #FFB020;
  --amber-400: #FFC24D;

  --grad-brand: linear-gradient(135deg, #3A78E6 0%, #123C99 100%);
  --grad-brand-soft: linear-gradient(135deg, #4A9BFF 0%, #2456C4 100%);
  --grad-hero: radial-gradient(1200px 600px at 15% -10%, #dfeaff 0%, transparent 60%),
               radial-gradient(1000px 500px at 100% 0%, #eaf1ff 0%, transparent 55%);

  /* Semantic (light) — matched to prototype */
  --bg: #EEF4FF;
  --bg-alt: #E4EEFF;
  --surface: #FFFFFF;
  --surface-2: #F4F8FF;
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-brd: rgba(20, 60, 140, 0.12);
  --ink: #0F1B33;
  --ink-2: #24324C;
  --muted: #5B6B86;
  --line: #DCE7FB;
  --ring: rgba(58, 120, 230, 0.35);

  --shadow-sm: 0 2px 8px -3px rgba(20, 60, 140, 0.18);
  --shadow: 0 12px 34px -18px rgba(20, 60, 140, 0.34);
  --shadow-lg: 0 30px 70px -32px rgba(18, 60, 153, 0.45);
  --shadow-glow: 0 20px 60px -20px rgba(58, 120, 230, 0.55);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --container: 1200px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  /* Prototype fonts: Manrope (body) + Sora (display/headings) */
  --font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Sora", "Manrope", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

:root[data-theme="dark"] {
  --bg: #070C18;
  --bg-alt: #0A1122;
  --surface: #111C33;
  --surface-2: #0E1730;
  --glass-bg: rgba(17, 28, 51, 0.62);
  --glass-brd: rgba(120, 160, 230, 0.16);
  --ink: #EAF1FF;
  --ink-2: #C7D6F2;
  --muted: #93A4C6;
  --line: rgba(120, 160, 230, 0.14);
  --ring: rgba(74, 155, 255, 0.5);
  --grad-hero: radial-gradient(1200px 600px at 15% -10%, rgba(36, 86, 196, 0.35) 0%, transparent 60%),
               radial-gradient(1000px 500px at 100% 0%, rgba(18, 60, 153, 0.4) 0%, transparent 55%);
  --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, 0.6);
  --shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 34px 80px -34px rgba(0, 0, 0, 0.8);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070C18; --bg-alt: #0A1122; --surface: #111C33; --surface-2: #0E1730;
    --glass-bg: rgba(17, 28, 51, 0.62); --glass-brd: rgba(120, 160, 230, 0.16);
    --ink: #EAF1FF; --ink-2: #C7D6F2; --muted: #93A4C6; --line: rgba(120, 160, 230, 0.14);
    --ring: rgba(74, 155, 255, 0.5);
    --grad-hero: radial-gradient(1200px 600px at 15% -10%, rgba(36, 86, 196, 0.35) 0%, transparent 60%),
                 radial-gradient(1000px 500px at 100% 0%, rgba(18, 60, 153, 0.4) 0%, transparent 55%);
    --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, 0.6);
    --shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 34px 80px -34px rgba(0, 0, 0, 0.8);
  }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
main { display: block; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-500);
  padding: 0.4rem 0.85rem; border-radius: 999px;
  background: color-mix(in srgb, var(--brand-500) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-500) 22%, transparent);
}
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(1.9rem, 4.4vw, 3.15rem); line-height: 1.08; font-weight: 800;
  letter-spacing: -0.02em; margin-top: 1rem; color: var(--ink);
}
.section-lead { margin-top: 1rem; font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--muted); }
.text-grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  line-height: 1; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s;
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { box-shadow: 0 26px 60px -18px rgba(58, 120, 230, 0.7); }
.btn--ghost { background: var(--glass-bg); color: var(--ink); border: 1px solid var(--glass-brd); backdrop-filter: blur(12px); }
.btn--ghost:hover { border-color: var(--brand-300); }
.btn--whatsapp { background: linear-gradient(135deg, #25D366, #128C4B); color: #fff; box-shadow: 0 18px 44px -18px rgba(18, 140, 75, 0.7); }
.btn--white { background: #fff; color: var(--brand-700); box-shadow: var(--shadow); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Glass / cards ---------- */
.glass { background: var(--glass-bg); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--glass-brd); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* ---------- Navbar ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 900; padding: 0.75rem 0; transition: padding 0.3s var(--ease); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0.7rem 0.55rem 1.1rem; border-radius: 999px;
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 6px 26px -16px rgba(20, 60, 140, 0.28);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.nav--scrolled .nav__inner { box-shadow: var(--shadow); background: color-mix(in srgb, var(--surface) 88%, transparent); }
.nav__brand { display: flex; align-items: center; gap: 0.65rem; font-weight: 800; letter-spacing: -0.02em; }
.nav__logo { width: 40px; height: 40px; border-radius: 12px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-glow); flex: none; }
.nav__logo svg { width: 22px; height: 22px; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav__brand-text b { font-size: 1.05rem; }
.nav__brand-text span { font-size: 0.68rem; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }
.nav__links { display: flex; align-items: center; gap: 0.15rem; }
.nav__link { padding: 0.55rem 0.9rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.nav__link:hover { background: color-mix(in srgb, var(--brand-500) 10%, transparent); color: var(--brand-600); }
.nav__link.is-active { color: var(--brand-600); background: color-mix(in srgb, var(--brand-500) 12%, transparent); }
.nav__actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-toggle { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--glass-brd); background: var(--surface-2); color: var(--ink-2); transition: transform 0.3s var(--ease), color 0.2s; }
.theme-toggle:hover { color: var(--brand-500); transform: rotate(18deg); }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .moon { display: none; } }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 950; display: none; padding: 6rem 1.3rem 2rem;
  background: var(--glass-bg); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
}
.mobile-menu.is-open { display: block; animation: fadeIn 0.3s var(--ease); }
.mobile-menu__links { display: flex; flex-direction: column; gap: 0.35rem; }
.mobile-menu__links a { padding: 1rem 1.1rem; border-radius: 16px; font-size: 1.15rem; font-weight: 700; background: var(--surface); border: 1px solid var(--line); }
.mobile-menu__close { position: absolute; top: 1.4rem; right: 1.4rem; width: 46px; height: 46px; border-radius: 999px; font-size: 1.5rem; background: var(--surface); border: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(7rem, 12vw, 9.5rem); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: var(--grad-hero); z-index: -2; }
.hero__grid-lines { position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(var(--glass-brd) 1px, transparent 1px), linear-gradient(90deg, var(--glass-brd) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 80%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.95rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.4rem; }
.hero__badge .stars { color: var(--amber-500); letter-spacing: 1px; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.3rem); line-height: 1.03; font-weight: 800; letter-spacing: -0.03em; }
.hero__text { margin-top: 1.35rem; font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 34ch; }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero__trust { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.hero__trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--ink-2); font-weight: 600; }
.hero__trust-item svg { width: 22px; height: 22px; color: var(--brand-500); flex: none; }

.hero__media { position: relative; }
.hero__card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--glass-brd); aspect-ratio: 4 / 5;
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__float {
  position: absolute; padding: 0.9rem 1.1rem; border-radius: var(--radius);
  background: var(--glass-bg); border: 1px solid var(--glass-brd); backdrop-filter: blur(14px);
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.7rem; font-weight: 700;
  animation: floaty 5s var(--ease) infinite;
}
.hero__float--tl { top: 1.2rem; left: -1rem; }
.hero__float--br { bottom: 1.4rem; right: -0.8rem; animation-delay: 1s; }
.hero__float .dot { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.hero__float small { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 600; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.pillar { padding: 1.4rem; border-radius: var(--radius); text-align: left; }
.pillar__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--brand-600); background: color-mix(in srgb, var(--brand-500) 12%, transparent); margin-bottom: 0.9rem; }
.pillar b { display: block; font-size: 1.02rem; }
.pillar span { font-size: 0.9rem; color: var(--muted); }

/* ---------- Stats / counters ---------- */
.stats__band {
  background: var(--grad-brand); border-radius: var(--radius-xl); padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-glow); position: relative; overflow: hidden;
}
.stats__band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 100% 0%, rgba(255,255,255,0.18), transparent 60%); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.stat { text-align: center; color: #fff; padding: 0.5rem; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.stat__num { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.stat__label { margin-top: 0.5rem; font-size: 0.88rem; opacity: 0.9; font-weight: 600; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.service-card {
  padding: 1.6rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s; position: relative; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); box-shadow: var(--shadow-glow); margin-bottom: 1.1rem; }
.service-card__title { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.service-card__text { margin-top: 0.55rem; color: var(--muted); font-size: 0.96rem; }
.service-card__link { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--brand-600); font-weight: 700; font-size: 0.92rem; }
.service-card__link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { padding: 1.6rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); position: relative; }
.step__num { font-size: 2.4rem; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.step b { display: block; margin-top: 0.8rem; font-size: 1.1rem; }
.step p { margin-top: 0.5rem; color: var(--muted); font-size: 0.94rem; }
.step__line { position: absolute; top: 2.5rem; right: -0.6rem; color: var(--brand-300); display: none; }

/* ---------- Clients ---------- */
.clients { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.client { display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.75rem 1.15rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; box-shadow: var(--shadow-sm); }
.client svg { width: 22px; height: 22px; color: var(--brand-500); }
.client small { color: var(--muted); font-weight: 500; }

/* ---------- Why choose us ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.why-card { padding: 1.6rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--brand-600); background: color-mix(in srgb, var(--brand-500) 12%, transparent); margin-bottom: 1rem; }
.why-card b { font-size: 1.12rem; }
.why-card p { margin-top: 0.5rem; color: var(--muted); font-size: 0.95rem; }

/* ---------- Before / after ---------- */
.ba { max-width: 900px; margin-inline: auto; }
.ba__frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { z-index: 1; }
.ba__before-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; z-index: 2; }
.ba__before-wrap img { width: 100vw; max-width: none; height: 100%; object-fit: cover; }
.ba__tag { position: absolute; top: 1rem; z-index: 3; padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: #fff; background: rgba(14, 26, 47, 0.55); backdrop-filter: blur(6px); }
.ba__tag--before { left: 1rem; }
.ba__tag--after { right: 1rem; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; z-index: 4; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(20,60,140,0.15); }
.ba__handle::after { content: "⟺"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 999px; background: #fff; color: var(--brand-600); display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--shadow); }
.ba__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.4rem; }
.ba__tab { padding: 0.6rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); transition: all 0.25s; }
.ba__tab.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter { padding: 0.6rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); transition: all 0.25s; }
.filter:hover { border-color: var(--brand-300); }
.filter.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__cap { position: absolute; inset: auto 0 0 0; padding: 1.4rem 1rem 0.9rem; background: linear-gradient(transparent, rgba(11, 42, 107, 0.82)); color: #fff; }
.gallery-item__cap b { font-size: 1rem; }
.gallery-item__cap span { display: block; font-size: 0.78rem; opacity: 0.85; }
.gallery-item.is-hidden { display: none; }

/* ---------- Reviews ---------- */
.reviews__viewport { max-width: 760px; margin-inline: auto; }
.review-card { padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: var(--radius-xl); text-align: center; position: relative; }
.review-card__quote { font-size: 4rem; line-height: 0.5; color: var(--brand-300); font-family: Georgia, serif; }
.review__stars { color: var(--amber-500); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 1rem; }
.review-card__text { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--ink); font-weight: 500; line-height: 1.5; }
.review-card__who { margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.review-card__av { width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad-brand); }
.review-card__meta b { display: block; }
.review-card__meta span { font-size: 0.85rem; color: var(--muted); }
.review__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.review__arrow { width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); transition: all 0.2s; }
.review__arrow:hover { color: var(--brand-500); border-color: var(--brand-300); }
.review__dots { display: flex; gap: 0.4rem; }
.review__dot { width: 9px; height: 9px; border-radius: 999px; background: color-mix(in srgb, var(--brand-500) 30%, transparent); transition: width 0.3s var(--ease), background 0.3s; }
.review__dot.is-active { width: 26px; background: var(--grad-brand); }

/* Reviews grid (testimonials page) */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.review-tile { padding: 1.6rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.review-tile__stars { color: var(--amber-500); letter-spacing: 1px; }
.review-tile p { margin: 0.8rem 0 1.2rem; color: var(--ink-2); }
.review-tile__who { display: flex; align-items: center; gap: 0.7rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field__label { font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.field__input, .field textarea, .field select {
  width: 100%; padding: 0.85rem 1rem; border-radius: 14px; background: var(--surface-2);
  border: 1px solid var(--line); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field__input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--ring); }
.field textarea { resize: vertical; min-height: 120px; }
.field.has-error .field__input, .field.has-error textarea, .field.has-error select { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.15); }
.field__error { font-size: 0.8rem; color: #E5484D; min-height: 1em; }
.rating-input { display: flex; gap: 0.3rem; }
.rating-input button { font-size: 1.9rem; color: color-mix(in srgb, var(--brand-500) 22%, transparent); transition: transform 0.15s, color 0.15s; line-height: 1; }
.rating-input button.is-on { color: var(--amber-500); }
.rating-input button:hover { transform: scale(1.15); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.info-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row__icon { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff; background: var(--grad-brand); }
.info-row b { display: block; }
.info-row span { color: var(--muted); font-size: 0.94rem; }

/* ---------- CTA band ---------- */
.cta__band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(2.5rem, 6vw, 5rem); text-align: center; background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.cta__band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 350px at 20% 0%, rgba(255,255,255,0.16), transparent 60%); }
.cta__inner { position: relative; }
.cta__band h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
.cta__band p { margin-top: 1rem; opacity: 0.92; max-width: 52ch; margin-inline: auto; font-size: 1.1rem; }
.cta__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 0.8rem; }
.faq__item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq__q { width: 100%; text-align: left; padding: 1.2rem 1.4rem; font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq__q .plus { flex: none; width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand-500) 12%, transparent); color: var(--brand-600); transition: transform 0.3s var(--ease); font-size: 1.1rem; }
.faq__item.is-open .plus { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq__a-inner { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand p { margin-top: 1rem; color: var(--muted); max-width: 34ch; font-size: 0.95rem; }
.footer__col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 1rem; }
.footer__col a { display: block; padding: 0.35rem 0; color: var(--ink-2); font-size: 0.95rem; transition: color 0.2s, transform 0.2s; }
.footer__col a:hover { color: var(--brand-600); transform: translateX(3px); }
.footer__bottom { margin-top: clamp(2.5rem, 5vw, 4rem); padding: 1.5rem 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.9rem; }
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--brand-600); }

/* ---------- Floating UI ---------- */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad-brand); z-index: 999; transition: width 0.1s linear; }
.wa-float { position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 800; width: 58px; height: 58px; border-radius: 999px; background: linear-gradient(135deg, #25D366, #128C4B); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px -12px rgba(18, 140, 75, 0.6); animation: pulse 2.6s infinite; }
.wa-float svg { width: 30px; height: 30px; }
.to-top { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 800; width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: all 0.3s var(--ease); }
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 0.6rem; width: min(92vw, 420px); }
.toast { padding: 1rem 1.2rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.7rem; font-weight: 600; animation: slideUp 0.35s var(--ease); }
.toast--ok { border-left: 4px solid #2BB673; }
.toast--err { border-left: 4px solid #E5484D; }
.toast--info { border-left: 4px solid var(--brand-500); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-top: clamp(8rem, 14vw, 11rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--grad-hero); }
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--brand-600); }

/* ---------- Prose (privacy/terms) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2rem; margin-bottom: 0.8rem; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; margin-bottom: 0.5rem; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 0.9rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; }
.prose a { color: var(--brand-600); font-weight: 600; }

/* ---------- Animations ---------- */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0% { box-shadow: 0 16px 40px -12px rgba(18,140,75,.6), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 16px 40px -12px rgba(18,140,75,.6), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 16px 40px -12px rgba(18,140,75,.6), 0 0 0 0 rgba(37,211,102,0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__float, .wa-float { animation: none; } }

/* ---------- Responsive ---------- */
@media (min-width: 861px) { .step__line { display: block; } }
@media (max-width: 1024px) {
  .services__grid, .why__grid, .gallery__grid, .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta-desktop { display: none; }
  .nav__toggle { display: block; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; margin-inline: auto; }
  .hero__text { max-width: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.18); }
}
@media (max-width: 560px) {
  .services__grid, .why__grid, .gallery__grid, .reviews__grid, .steps, .pillars, .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 1.2rem; }
  .stat:nth-child(odd) { border-right: 0; }
  .hero__float--tl { left: 0; }
  .hero__float--br { right: 0; }
}

/* ==========================================================================
   Prototype fidelity: Sora display font + floating sparkles (light default)
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.section-title, .hero__title, .stat__num, .step__num, .cta__band h2,
.nav__brand-text b, .hero__float b { font-family: var(--font-head); }

/* Sparkle field — the prototype's signature animated blue stars */
.sparkles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sparkle { position: absolute; color: var(--brand-400); opacity: .5; will-change: transform, opacity;
  animation: ksSparkle 4.2s ease-in-out infinite; }
.sparkle svg { display: block; filter: drop-shadow(0 0 6px rgba(74,155,255,.5)); }
.stats__band .sparkle, .cta__band .sparkle { color: rgba(255,255,255,.85); }
.stats__band .sparkle svg, .cta__band .sparkle svg { filter: drop-shadow(0 0 6px rgba(255,255,255,.5)); }
@keyframes ksSparkle { 0%,100% { opacity: .12; transform: scale(.6) rotate(0deg); }
  50% { opacity: .95; transform: scale(1.15) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .sparkle { animation: none; opacity: .3; } }

/* Keep section content above the sparkle layer */
.section > .container, .hero > .container, .page-hero > .container,
.stats__band > .stats__grid, .cta__band > .cta__inner { position: relative; z-index: 1; }

/* ==========================================================================
   Prototype port: keyframes + hover utilities (inline base styles win, so
   hover overrides that change an inline-set property use !important)
   ========================================================================== */
@keyframes ksFloatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(10px,-22px); } }
@keyframes ksFloatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(18px); } }
@keyframes ksBlob   { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6%,-5%) scale(1.12); } }
@keyframes ksShimmer{ 0% { background-position: -220% 0; } 100% { background-position: 220% 0; } }
@keyframes ksRise   { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes ksPulse  { 0%,100% { box-shadow: 0 14px 30px -8px rgba(15,155,78,.6), 0 0 0 0 rgba(58,201,122,.4); }
  50% { box-shadow: 0 14px 30px -8px rgba(15,155,78,.6), 0 0 0 12px rgba(58,201,122,0); } }

/* Hover lifts (match the prototype's spring feel) */
.pt-card { transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.pt-card:hover { transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 40px 64px -30px rgba(18,54,132,.62), 0 0 0 1.5px rgba(58,120,230,.45) !important; }
.pt-btn { transition: transform .28s var(--ease), box-shadow .28s; }
.pt-btn:hover { transform: translateY(-2px); }
.pt-btn-lg:hover { transform: translateY(-3px); }
.pt-scale:hover { transform: scale(1.07) !important; }
.pt-nav { transition: background .25s, color .25s; }
.pt-nav:hover { background: rgba(58,120,230,.1) !important; color: #123C99 !important; }
.pt-in { transition: border-color .2s, box-shadow .2s; }
.pt-in:focus { border-color: #3A78E6 !important; box-shadow: 0 0 0 4px rgba(58,120,230,.14) !important; outline: none; }
.pt-img { transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.pt-card:hover .pt-img { transform: scale(1.08); }
.pt-fade { transition: color .2s, background .25s; }
.pt-fade:hover { color: #fff !important; }
@media (prefers-reduced-motion: reduce) {
  [style*="ksFloat"], [style*="ksBlob"], [style*="ksShimmer"], [style*="ksPulse"] { animation: none !important; }
}

/* ==========================================================================
   Prototype port: responsive nav + feedback rating stars
   ========================================================================== */
@media (max-width: 920px) {
  .nav__links-proto, .nav__cta-proto { display: none !important; }
  #nav-toggle { display: flex !important; }
}
/* SVG star rating (fill:currentColor) — dim until selected */
.rating-input button { color: rgba(20,60,140,.20); transition: transform .18s, color .18s; padding: 2px; }
.rating-input button.is-on { color: #FFB020; }
.rating-input button:hover { transform: scale(1.16); }

/* ==========================================================================
   Compact / professional scale — the site is scaled down a touch and the
   section rhythm is tight & consistent (padding lives on the sections inline).
   ========================================================================== */
/* Desktop & tablet render at 90% for a slightly tighter view; phones (<768px)
   stay at natural size and use the mobile layer below. Hero is only as tall as
   its content (no forced 100vh). */
#home { min-height: auto !important; }
@media (min-width: 768px) { body { zoom: 0.9; } }

/* ==========================================================================
   Dark theme layer — overrides the ported inline-styled surfaces/text when
   :root[data-theme="dark"] is set. Additive & !important-scoped so light mode
   is never affected. Accent bands (blue gradients) intentionally stay blue.
   ========================================================================== */
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="dark"] body { background: #070C18; color: #E7EEFB; }

/* Light section / strip backgrounds → deep navy */
:root[data-theme="dark"] section[id],
:root[data-theme="dark"] [style*="#F6FAFF"],
:root[data-theme="dark"] [style*="#EAF2FF"],
:root[data-theme="dark"] [style*="linear-gradient(180deg,#EAF1FF"] { background: #0A1122 !important; }

/* Glass cards / panels / forms / info-rows → dark surface */
:root[data-theme="dark"] .pt-card,
:root[data-theme="dark"] form[data-ajax],
:root[data-theme="dark"] [style*="rgba(255,255,255,.6)"],
:root[data-theme="dark"] [style*="rgba(255,255,255,.65)"],
:root[data-theme="dark"] [style*="rgba(255,255,255,.66)"],
:root[data-theme="dark"] [style*="rgba(255,255,255,.7)"],
:root[data-theme="dark"] [style*="rgba(255,255,255,.72)"],
:root[data-theme="dark"] [style*="rgba(255,255,255,.75)"],
:root[data-theme="dark"] [style*="rgba(255,255,255,.78)"],
:root[data-theme="dark"] [style*="rgba(255,255,255,.8)"],
:root[data-theme="dark"] [style*="rgba(255,255,255,.85)"],
:root[data-theme="dark"] [style*="rgba(255,255,255,.9)"] {
  background: #111C33 !important;
  border-color: rgba(120,160,230,.16) !important;
}

/* Inputs / selects / textareas */
:root[data-theme="dark"] .pt-in { background: #0E1730 !important; border-color: rgba(120,160,230,.22) !important; color: #E7EEFB !important; }
:root[data-theme="dark"] .pt-in::placeholder { color: #7286a8 !important; }

/* Headings + strong text → light */
:root[data-theme="dark"] [style*="color:#0B1730"],
:root[data-theme="dark"] [style*="color:#0F1B33"],
:root[data-theme="dark"] [style*="color:#17233D"],
:root[data-theme="dark"] [style*="color:#1B2942"] { color: #EAF1FF !important; }

/* Secondary text → muted light */
:root[data-theme="dark"] [style*="color:#54617C"],
:root[data-theme="dark"] [style*="color:#65728C"],
:root[data-theme="dark"] [style*="color:#7A8AA8"],
:root[data-theme="dark"] [style*="color:#3A465E"] { color: #93A4C6 !important; }

/* Deep-blue accent text → lighter blue for contrast on dark */
:root[data-theme="dark"] [style*="color:#123C99"],
:root[data-theme="dark"] [style*="color:#1E5FD6"],
:root[data-theme="dark"] [style*="color:#3A78E6"] { color: #7FBBFF !important; }

/* Success (feedback) green → brighter for contrast on dark surfaces */
:root[data-theme="dark"] [style*="color:#0E7A45"] { color: #34D399 !important; }
:root[data-theme="dark"] [style*="rgba(58,201,122,.14)"] { background: rgba(52,211,153,.12) !important; border-color: rgba(52,211,153,.30) !important; }

/* Image frames + eyebrow chips */
:root[data-theme="dark"] [style*="background:#DCEAFF"] { background: #16233f !important; }
:root[data-theme="dark"] [style*="background:rgba(58,120,230,.1)"] { background: rgba(58,120,230,.20) !important; }

/* Nav + mobile menu */
:root[data-theme="dark"] #nav { background: rgba(12,20,36,.82) !important; border-bottom-color: rgba(120,160,230,.14) !important; box-shadow: 0 8px 30px -14px rgba(0,0,0,.6) !important; }
:root[data-theme="dark"] #mobile-menu { background: rgba(10,17,34,.97) !important; border-bottom-color: rgba(120,160,230,.14) !important; }

/* Scroll-to-top glass button */
:root[data-theme="dark"] #to-top { background: rgba(17,28,51,.85) !important; border-color: rgba(120,160,230,.2) !important; color: #7FBBFF !important; }

/* ---- Senior-level dark polish ---- */
/* Hero: a subtle dark radial instead of a flat fill */
:root[data-theme="dark"] #home { background: radial-gradient(130% 90% at 78% 8%, #0E1A33 0%, #070C18 58%) !important; }
/* Soft blue image / map tiles → deep slate */
:root[data-theme="dark"] [style*="#DCE9FF"] { background: #16233f !important; }
/* Keep the embedded Google map comfortable on a dark page */
:root[data-theme="dark"] iframe[title*="location"] { filter: brightness(.9) contrast(1.03); }

/* Theme toggle button */
.theme-toggle { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(20,60,140,.18); background: rgba(255,255,255,.6); color: #123C99; cursor: pointer; transition: transform .3s var(--ease), color .2s, background .2s; }
.theme-toggle:hover { transform: rotate(18deg); color: #3A78E6; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle { background: rgba(17,28,51,.7); border-color: rgba(120,160,230,.2); color: #FFC24D; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ==========================================================================
   Mobile / responsive polish — premium single-column layout (≤767px).
   Desktop design untouched. Inline styles win over classes, so inline-set
   properties are overridden with !important where needed.
   ========================================================================== */
@media (max-width: 900px) {
  #nav img[alt="KS Deep Clean logo"] { width: 46px !important; height: 46px !important; }
  #nav [style*="font-size:26px"] { font-size: 19px !important; }
}

@media (max-width: 767px) {
  /* ---- Section rhythm: tighter, consistent padding ---- */
  section[style*="24px"] { padding-top: 48px !important; padding-bottom: 48px !important;
    padding-left: 16px !important; padding-right: 16px !important; }
  #home { padding: 88px 16px 40px !important; }
  .section { padding-block: 48px !important; }
  .page-hero { padding-top: 100px !important; padding-bottom: 26px !important; }

  /* ---- Typography — on-spec & readable ---- */
  #home h1 { font-size: 33px !important; line-height: 1.16 !important; }
  section h2, .section-title, .cta__band h2 { font-size: 26px !important; line-height: 1.22 !important; }
  h3 { font-size: 19px !important; }
  .section-lead { font-size: 15px !important; }
  h1, h2, h3, p { overflow-wrap: break-word; word-break: break-word; }

  /* ---- Single column: collapse every multi-column grid ---- */
  [style*="minmax(200px"], [style*="minmax(232px"], [style*="minmax(238px"],
  [style*="minmax(250px"], [style*="minmax(262px"], [style*="minmax(280px"],
  .services__grid, .why__grid, .gallery__grid, .reviews__grid, .steps, .pillars,
  .footer__grid, .contact__grid, .form__row, .stats__grid,
  .hero__inner { grid-template-columns: 1fr !important; }

  /* ---- Cards: equal width, consistent radius + padding ---- */
  .pt-card { padding: 20px !important; border-radius: 18px !important; }

  /* ---- Buttons: ≥44px touch targets (premium pill/rounded radii preserved) ---- */
  .pt-btn, .pt-btn-lg, .btn, button[type="submit"], button[type="reset"] { min-height: 48px; }
  .pt-btn-lg, .btn--block { width: 100% !important; justify-content: center; }

  /* ---- Keep negatively-offset floating badge cards on-screen ---- */
  #home [style*="left:-26px"] { left: 6px !important; top: 10px !important; }
  #home [style*="right:-22px"] { right: 6px !important; }
  #about [style*="right:-18px"] { right: 6px !important; bottom: -14px !important; }

  /* ---- Images: responsive, no clipping ---- */
  #home [style*="aspect-ratio:5/4.2"] { max-height: 300px !important; }
  #about [style*="aspect-ratio:1/1"] { max-height: 320px !important; }
  img, svg, video { max-width: 100% !important; }

  /* ---- Hero stat dividers hidden so the row wraps cleanly ---- */
  #home [style*="width:1px;background:rgba(20,60,140,.12)"] { display: none !important; }

  /* ---- Softer decorative blobs (avoid off-canvas glow) ---- */
  #home > div[style*="border-radius:50%"][style*="filter:blur"] { opacity: .55; }

  /* ---- Floating WhatsApp button — comfortable tap size + inset ---- */
  .wa-float { width: 54px; height: 54px; bottom: 1rem; left: 1rem; }
  .wa-float svg { width: 27px; height: 27px; }
}

@media (max-width: 460px) {
  #home { padding-top: 82px !important; }
  #home h1 { font-size: 30px !important; }
  section h2, .section-title, .cta__band h2 { font-size: 24px !important; }
  #home [style*="font-size:30px"] { font-size: 24px !important; }
  section[style*="24px"] { padding-left: 15px !important; padding-right: 15px !important; }
}

/* ==========================================================================
   Mobile app-style pass — on phones, drop purely-decorative layers for a
   cleaner, faster, native-app feel (content and CTAs are untouched).
   ========================================================================== */
@media (max-width: 767px) {
  /* Animated sparkle field + large decorative glow blobs — pure decoration */
  .sparkles, .sparkle { display: none !important; }
  #home > div[style*="border-radius:50%"][style*="filter:blur"],
  section > div[style*="border-radius:50%"][style*="filter:blur"] { display: none !important; }
  /* Oversized decorative quote glyph in the reviews card */
  #reviews [style*="font-size:110px"] { display: none !important; }
  /* Client marquee/logos row is secondary on phones — keep it compact */
  #clients [style*="grid-template-columns"] { gap: 10px !important; }
  /* Comfortable, thumb-friendly tap targets for nav + card links */
  a, button { -webkit-tap-highlight-color: rgba(58,120,230,.18); }
}
