/* ============================================================
   SIMPLY SHOWERS — Design System
   Blues & whites · Montserrat · Simple, functional layouts
   ============================================================ */

:root {
  /* Brand palette */
  --navy-950: #071e38;
  --navy-900: #0a2a4a;
  --navy-800: #0d3a63;
  --blue-700: #0f6fb2;
  --blue-600: #1280c9;
  --blue-500: #1b8fd4;
  --blue-400: #38a9e6;
  --blue-300: #6cc3ef;
  --blue-200: #a9dcf7;
  --blue-100: #d8effc;
  --blue-50:  #eef7fe;
  --ice:      #f6fbfe;
  --white:    #ffffff;

  --ink:      #16324a;
  --ink-soft: #33506a;
  --muted:    #5c7286;
  --line:     #dbe9f4;

  --grad-brand: linear-gradient(135deg, #0f6fb2 0%, #1b8fd4 60%, #38a9e6 100%);
  --grad-deep:  linear-gradient(140deg, #0a2a4a 0%, #0d3a63 55%, #0f6fb2 130%);
  --grad-soft:  linear-gradient(180deg, #eef7fe 0%, #f6fbfe 100%);

  --shadow-sm: 0 4px 14px rgba(13, 58, 99, 0.08);
  --shadow-md: 0 14px 34px rgba(13, 58, 99, 0.12);
  --shadow-lg: 0 26px 60px rgba(13, 58, 99, 0.18);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --gutter: 24px;

  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }

h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  line-height: 1.18;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.28rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1em; color: var(--ink-soft); }
.lead { font-size: 1.14rem; color: var(--ink-soft); }

::selection { background: var(--blue-200); color: var(--navy-900); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tint { background: var(--grad-soft); }
.section--deep { background: var(--grad-deep); color: #fff; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p { color: #cfe4f4; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: 3px;
  background: var(--grad-brand);
}
.section--deep .eyebrow { color: var(--blue-200); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 26px rgba(27, 143, 212, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(27, 143, 212, 0.42);
  color: #fff;
}
.btn--white {
  background: #fff;
  color: var(--navy-900);
  box-shadow: 0 12px 26px rgba(7, 30, 56, 0.22);
}
.btn--white:hover { transform: translateY(-2px); color: var(--navy-900); }
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.btn--ghost {
  background: var(--blue-50);
  color: var(--blue-700);
}
.btn--ghost:hover { background: var(--blue-100); color: var(--blue-700); }
.btn--lg { padding: 19px 40px; font-size: 1.06rem; }
.btn--sm { padding: 11px 22px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.logo:hover { color: var(--navy-900); }
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(27, 143, 212, 0.35);
  flex: none;
}
.logo-mark svg { width: 24px; height: 24px; }
.logo small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-500);
  line-height: 1;
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.main-nav a.active { background: var(--blue-50); color: var(--blue-700); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.98rem;
}
.header-phone svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-deep);
  color: #fff;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.hero::before { width: 480px; height: 480px; background: #1b8fd4; top: -140px; right: -100px; }
.hero::after { width: 380px; height: 380px; background: #0f6fb2; bottom: -160px; left: -120px; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 7vw, 96px) 0 clamp(90px, 10vw, 130px);
}

.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent {
  background: linear-gradient(90deg, #7fd0f5, #bfe6fb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { color: #d5e9f8; max-width: 34rem; font-size: 1.16rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }

.hero-points {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.93rem;
  font-weight: 600;
  color: #cfe6f8;
}
.hero-points svg { width: 18px; height: 18px; flex: none; }

/* Hero art card */
.hero-art { position: relative; }
.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
  transition: transform 0.5s var(--ease);
}
.hero-card:hover { transform: rotate(0deg) scale(1.01); }
.hero-card svg.scene { border-radius: 16px; width: 100%; height: auto; }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 11px 18px 11px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-900);
  box-shadow: var(--shadow-md);
  animation: floaty 5s ease-in-out infinite;
  z-index: 3;
}
.float-chip .chip-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue-50);
  display: grid;
  place-items: center;
  flex: none;
}
.float-chip .chip-icon svg { width: 17px; height: 17px; }
.float-chip--a { top: 6%; left: -34px; }
.float-chip--b { bottom: 10%; right: -24px; animation-delay: 2.4s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 2;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: clamp(48px, 7vw, 96px); }

/* ---------- SVG scene animations (hero + visualizer) ---------- */
.drop {
  animation: dropFall 1.6s linear infinite;
  opacity: 0;
}
@keyframes dropFall {
  0%   { transform: translateY(0); opacity: 0; }
  18%  { opacity: 0.95; }
  80%  { opacity: 0.9; }
  100% { transform: translateY(150px); opacity: 0; }
}
.steam {
  animation: steamRise 4.5s ease-in-out infinite;
  opacity: 0;
  transform-origin: center;
}
@keyframes steamRise {
  0%   { transform: translateY(14px) scale(0.92); opacity: 0; }
  35%  { opacity: 0.5; }
  100% { transform: translateY(-46px) scale(1.06); opacity: 0; }
}
.twinkle {
  animation: twinkle 2.8s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}
.ripple {
  animation: ripple 2.6s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes ripple {
  0% { transform: scale(0.55); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.bubble {
  animation: bubbleRise 5s linear infinite;
  opacity: 0;
}
@keyframes bubbleRise {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 0.7; }
  100% { transform: translateY(-120px); opacity: 0; }
}
.shimmer {
  animation: shimmerMove 3.4s ease-in-out infinite;
}
@keyframes shimmerMove {
  0%, 100% { transform: translateX(-8px); opacity: 0.55; }
  50% { transform: translateX(8px); opacity: 0.95; }
}

/* ---------- Trust bar ---------- */
.trustbar {
  margin-top: calc(clamp(48px, 7vw, 96px) * -1);
  position: relative;
  z-index: 5;
}
.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 26px 28px;
  border: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item .t-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--blue-50);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.trust-item:hover .t-icon { transform: translateY(-3px) rotate(-4deg); background: var(--blue-100); }
.trust-item .t-icon svg { width: 26px; height: 26px; }
.trust-item strong { display: block; font-size: 0.98rem; color: var(--navy-900); }
.trust-item span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}
.card .c-icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(27, 143, 212, 0.3);
  transition: transform 0.35s var(--ease);
}
.card:hover .c-icon { transform: scale(1.06) rotate(-5deg); }
.card .c-icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; margin-bottom: 16px; }
.card .card-link {
  font-weight: 700;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.card .card-link svg { width: 16px; height: 16px; transition: transform 0.25s; }
.card .card-link:hover svg { transform: translateX(4px); }

/* Interactive service icon bits */
.svc-icon .spray line {
  opacity: 0.25;
  transition: opacity 0.3s;
}
.card:hover .svc-icon .spray line { opacity: 1; }
.card:hover .svc-icon .spray line:nth-child(2) { transition-delay: 0.06s; }
.card:hover .svc-icon .spray line:nth-child(3) { transition-delay: 0.12s; }
.svc-icon .drop-fall { transition: transform 0.5s var(--ease); }
.card:hover .svc-icon .drop-fall { transform: translateY(6px); }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.split .art {
  background: var(--blue-50);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--line);
}
.split .art svg { width: 100%; height: auto; border-radius: 14px; }

.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 13px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
  color: var(--ink-soft);
}
.checklist svg {
  width: 24px; height: 24px;
  flex: none;
  margin-top: 2px;
}

/* ---------- Visualizer ---------- */
.visualizer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(22px, 3vw, 40px);
  overflow: hidden;
}
.viz-stage {
  background: var(--grad-soft);
  border-radius: var(--r-md);
  padding: clamp(14px, 2vw, 26px);
  border: 1px solid var(--line);
  position: relative;
}
.viz-stage svg { width: 100%; height: auto; }
.viz-summary {
  margin-top: 14px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-700);
  background: #fff;
  border: 1px dashed var(--blue-200);
  border-radius: var(--r-pill);
  padding: 10px 18px;
}
.viz-controls h3 { margin-bottom: 6px; font-size: 1.05rem; }
.viz-group { margin-bottom: 24px; }
.viz-group > span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 2px solid var(--line);
  background: #fff;
  border-radius: var(--r-pill);
  padding: 7px 16px 7px 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.swatch:hover { transform: translateY(-2px); border-color: var(--blue-300); }
.swatch.active { border-color: var(--blue-600); box-shadow: 0 6px 16px rgba(27,143,212,0.22); color: var(--navy-900); }
.swatch .dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(10, 42, 74, 0.15);
  flex: none;
}
.swatch--square .dot { border-radius: 9px; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 44px; left: 6%; right: 6%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--blue-200) 0 12px, transparent 12px 22px);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 34px 22px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  width: 88px; height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(27, 143, 212, 0.35);
  border: 6px solid #fff;
  outline: 2px solid var(--blue-100);
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; margin: 0; }

/* ---------- Before / After ---------- */
.ba-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  user-select: none;
}
.ba-panel {
  height: clamp(300px, 42vw, 460px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}
.ba-before {
  background:
    repeating-linear-gradient(45deg, #dfe7ee 0 18px, #d3dde6 18px 36px);
  color: var(--navy-800);
}
.ba-after {
  background: linear-gradient(135deg, #cde9fa 0%, #a9dcf7 45%, #7fc8f0 100%);
  color: var(--navy-900);
}
.ba-after-layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%);
}
.ba-panel .ba-icon { width: 74px; height: 74px; margin: 0 auto 16px; opacity: 0.85; }
.ba-panel strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.ba-panel span { font-size: 0.95rem; font-weight: 600; opacity: 0.75; }
.ba-tag {
  position: absolute;
  top: 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.92);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}
.ba-tag--before { left: 18px; color: var(--muted); }
.ba-tag--after { right: 18px; color: var(--blue-700); }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  box-shadow: 0 0 20px rgba(7,30,56,0.35);
  z-index: 2;
  transform: translateX(-50%);
}
.ba-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  color: var(--blue-700);
}
.ba-knob svg { width: 26px; height: 26px; }
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  margin: 0;
}
.ba-hint {
  text-align: center;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Testimonials ---------- */
.testi-shell { position: relative; max-width: 860px; margin: 0 auto; }
.testi-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
}
.testi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 52px);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.testi[hidden] { display: none; }
.testi .stars { display: flex; justify-content: center; gap: 5px; margin-bottom: 18px; }
.testi .stars svg { width: 20px; height: 20px; }
.testi blockquote {
  margin: 0 0 22px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.6;
}
.testi .who strong { display: block; color: var(--navy-900); }
.testi .who span { font-size: 0.88rem; color: var(--muted); }
.testi .sample-note {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
  background: var(--blue-50);
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
.testi-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 24px; }
.testi-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  transition: background 0.25s, transform 0.25s;
  box-shadow: var(--shadow-sm);
}
.testi-btn:hover { background: var(--blue-50); transform: scale(1.06); }
.testi-btn svg { width: 20px; height: 20px; }
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue-100);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.testi-dot.active { background: var(--blue-600); transform: scale(1.25); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item.open { border-color: var(--blue-300); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--navy-900);
  text-align: left;
  cursor: pointer;
}
.faq-q .faq-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue-50);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 0.35s var(--ease), background 0.3s;
}
.faq-q .faq-icon svg { width: 17px; height: 17px; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--grad-brand); color: #fff; }
.faq-item.open .faq-icon svg { stroke: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a-inner { padding: 0 26px 26px; color: var(--ink-soft); }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--grad-brand);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 72px);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.cta-band::before { width: 340px; height: 340px; top: -140px; left: -100px; }
.cta-band::after { width: 260px; height: 260px; bottom: -120px; right: -70px; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #e3f2fc; max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-band .hero-points { justify-content: center; margin-top: 26px; }
.cta-band .hero-points li { color: #e3f2fc; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 48px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 700; color: var(--navy-900); }
.field label .req { color: var(--blue-600); }
.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 14px 17px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--ice);
  color: var(--ink);
  width: 100%;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 143, 212, 0.14);
}
.hidden-field { position: absolute; left: -9999px; visibility: hidden; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 16px; text-align: center; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: var(--grad-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: #1b8fd4;
  filter: blur(110px);
  opacity: 0.45;
  top: -180px; right: -140px;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(64px, 8vw, 104px) 0 clamp(80px, 10vw, 120px);
  max-width: 780px;
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #d5e9f8; }
.page-hero .crumbs { margin-bottom: 18px; font-size: 0.86rem; font-weight: 600; color: #a9cdf0; }
.page-hero .crumbs a { color: #d5e9f8; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .hero-wave svg { height: clamp(40px, 5vw, 72px); }

/* ---------- Service detail blocks ---------- */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}
.svc-detail:last-child { border-bottom: none; }
.svc-detail.flip > .svc-art { order: 2; }
.svc-art {
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
}
.svc-art svg { width: 100%; height: auto; }
.price-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-700);
  background: var(--blue-50);
  border-radius: var(--r-pill);
  padding: 9px 18px;
}

/* ---------- Estimator ---------- */
.est-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.est-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.est-group { margin-bottom: 30px; }
.est-group:last-child { margin-bottom: 0; }
.est-group > legend, .est-group > .est-label {
  font-weight: 800;
  color: var(--navy-900);
  font-size: 1.02rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.est-group > legend .n, .est-group > .est-label .n {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  flex: none;
}
.est-options { display: grid; gap: 10px; }
.est-options.cols-2 { grid-template-columns: 1fr 1fr; }
.est-option { position: relative; }
.est-option input { position: absolute; opacity: 0; pointer-events: none; }
.est-option label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 15px 18px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.est-option label small { display: block; font-weight: 500; color: var(--muted); font-size: 0.82rem; }
.est-option input:checked + label {
  border-color: var(--blue-600);
  background: var(--blue-50);
  color: var(--navy-900);
  box-shadow: 0 8px 20px rgba(27, 143, 212, 0.16);
}
.est-option input:focus-visible + label { outline: 3px solid var(--blue-300); }
.est-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.est-result {
  position: sticky;
  top: 100px;
  background: var(--grad-deep);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.est-result::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: #1b8fd4;
  filter: blur(90px);
  opacity: 0.5;
  top: -100px; right: -100px;
}
.est-result > * { position: relative; z-index: 1; }
.est-result .eyebrow { color: var(--blue-200); }
.est-range {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 8px 0 6px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.est-result p { color: #c9e2f5; font-size: 0.94rem; }
.est-lines { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,0.18); display: grid; gap: 9px; font-size: 0.9rem; }
.est-lines li { display: flex; justify-content: space-between; gap: 12px; color: #d5e9f8; }
.est-lines li strong { color: #fff; font-variant-numeric: tabular-nums; }
.est-disclaimer { font-size: 0.8rem !important; color: #9fc3e2 !important; margin-top: 16px; }
.est-result .btn { width: 100%; margin-top: 20px; }

/* ---------- Gallery ---------- */
.gal-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.gal-filter {
  border: 2px solid var(--line);
  background: #fff;
  border-radius: var(--r-pill);
  padding: 10px 22px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s;
}
.gal-filter:hover { border-color: var(--blue-300); }
.gal-filter.active { background: var(--grad-brand); color: #fff; border-color: transparent; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gal-item {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.gal-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gal-item[hidden] { display: none; }
.gal-ph {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.gal-ph svg { width: 56px; height: 56px; margin: 0 auto 12px; opacity: 0.9; }
.gal-ph strong { display: block; font-size: 1.02rem; }
.gal-ph span { font-size: 0.82rem; opacity: 0.85; font-weight: 600; }
.gal-ph--1 { background: linear-gradient(135deg, #0f6fb2, #38a9e6); }
.gal-ph--2 { background: linear-gradient(135deg, #0d3a63, #1b8fd4); }
.gal-ph--3 { background: linear-gradient(135deg, #38a9e6, #0f6fb2); }
.gal-ph--4 { background: linear-gradient(135deg, #1280c9, #6cc3ef); }
.gal-meta { padding: 18px 22px; }
.gal-meta strong { color: var(--navy-900); font-size: 0.98rem; display: block; }
.gal-meta span { font-size: 0.85rem; color: var(--muted); }

/* ---------- About / team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 26px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(27, 143, 212, 0.3);
}
.team-card h3 { margin-bottom: 4px; }
.team-card .role { font-size: 0.88rem; font-weight: 700; color: var(--blue-600); margin-bottom: 10px; }
.team-card p { font-size: 0.92rem; margin: 0; }

.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.area-chip svg { width: 15px; height: 15px; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.contact-cards { display: grid; gap: 16px; margin-bottom: 28px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.contact-card .c-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-card .c-icon svg { width: 24px; height: 24px; }
.contact-card strong { display: block; color: var(--navy-900); margin-bottom: 2px; }
.contact-card p { margin: 0; font-size: 0.95rem; }
.contact-card a { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #b9d2e8;
  padding: clamp(56px, 7vw, 84px) 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 600px; height: 300px;
  border-radius: 50%;
  background: #0f6fb2;
  filter: blur(130px);
  opacity: 0.35;
  top: -120px; left: 50%;
  transform: translateX(-50%);
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo:hover { color: #fff; }
.footer-brand p { font-size: 0.94rem; color: #9db9d4; max-width: 300px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: #b9d2e8; font-size: 0.94rem; transition: color 0.2s, padding-left 0.25s; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; }
.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #7d9cbb;
}
.footer-bottom a { color: #a9cdf0; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta .btn { flex: 1; padding: 15px 10px; font-size: 0.92rem; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.todo-note {
  background: #fff8e6;
  border: 1px dashed #d9a821;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #7a5b12;
  margin: 18px 0;
}

/* ---------- 404 / thank you ---------- */
.center-page {
  text-align: center;
  padding: clamp(70px, 10vw, 130px) 0;
  max-width: 640px;
  margin: 0 auto;
}
.center-page .big-emoji-svg { width: 120px; height: 120px; margin: 0 auto 26px; }
.center-page h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.check-ring {
  width: 110px; height: 110px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(27, 143, 212, 0.4);
  animation: popIn 0.6s var(--ease);
}
.check-ring svg { width: 52px; height: 52px; }
@keyframes popIn {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; }
  .float-chip--a { left: 8px; }
  .float-chip--b { right: 8px; }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .split, .svc-detail, .visualizer, .est-layout, .contact-layout { grid-template-columns: 1fr; }
  .svc-detail.flip > .svc-art { order: 0; }
  .est-result { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 22px;
    gap: 2px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease);
    z-index: 99;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 13px 16px; font-size: 1.02rem; }
  .nav-toggle { display: grid; }
  .header-phone span { display: none; }
  .header-cta .btn { display: none; }
  .grid-3, .grid-4, .est-checks { grid-template-columns: 1fr; }
  .est-options.cols-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
  .trustbar { margin-top: -64px; }
  .trustbar-grid { grid-template-columns: 1fr; padding: 22px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

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