/* ==========================================================
   Motion Revive PT — Stylesheet (warm home-care edition)
   ========================================================== */

:root {
  /* Blue palette (legacy var names kept for brevity) */
  --teal-50:  #eff6ff;
  --teal-100: #dbeafe;
  --teal-200: #bfdbfe;
  --teal-300: #93c5fd;
  --teal-400: #60a5fa;
  --teal-500: #3b82f6;
  --teal-600: #2563eb;
  --teal-700: #1d4ed8;
  --teal-800: #1e40af;

  --warm-50:  #fffbeb;
  --warm-100: #fef3c7;
  --warm-200: #fde68a;
  --warm-300: #fcd34d;

  --peach-100: #ffedd5;
  --peach-300: #fdba74;

  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;
  --white:   #ffffff;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 6px rgba(29, 78, 216, 0.07);
  --shadow:    0 10px 30px rgba(29, 78, 216, 0.10);
  --shadow-lg: 0 24px 70px rgba(29, 78, 216, 0.16);

  --ff-sans: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --header-h: 160px;
  --max: 1200px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ff-sans);
  color: var(--ink-900);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.5rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p  { margin: 0 0 1em; }

a { color: var(--teal-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal-600); }

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 110px 0; position: relative; }

.section-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head p { color: var(--ink-500); font-size: 1.05rem; }
.section-head .accent { color: var(--teal-600); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: 1px solid var(--teal-100);
}

.eyebrow-pulse { background: #fff; border-color: var(--teal-200); box-shadow: var(--shadow-sm); }
.pulse-dot {
  position: relative;
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
}
.pulse-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #10b981;
  opacity: .4;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.6); opacity: .5; }
  100% { transform: scale(2); opacity: 0; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease, color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.32);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.40);
  background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
}

.btn-ghost {
  background: #fff;
  color: var(--teal-700);
  border-color: var(--teal-200);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  background: var(--teal-50);
  border-color: var(--teal-400);
  color: var(--teal-700);
  transform: translateY(-2px);
}

/* ===== Topbar ===== */
.topbar {
  background: linear-gradient(90deg, var(--teal-700), var(--teal-600));
  color: #dbeafe;
  font-size: .82rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar-phone a {
  color: #fff;
  font-weight: 600;
}
.topbar-phone a:hover { color: var(--warm-200); }

.topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .02em;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.topbar-login:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-1px);
}
.topbar-login-portal {
  background: rgba(255, 255, 255, 0.95);
  color: var(--teal-700);
  border-color: rgba(255, 255, 255, 0.95);
}
.topbar-login-portal:hover {
  background: #fff;
  color: var(--teal-800);
  border-color: #fff;
}

/* Honeypot — hidden from humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--ink-200);
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.05);
}
.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-900);
  font-family: var(--ff-sans);
}
.brand:hover { color: var(--ink-900); }
.brand-mark {
  display: inline-flex;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.36);
  transition: transform .3s ease;
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }

/* Logo image (replaces inline SVG mark + text when using a real logo) */
.brand-logo { gap: 0; }
.brand-image {
  display: block;
  height: 144px;
  width: auto;
  max-width: 520px;
  object-fit: contain;
  transition: transform .3s ease, filter .3s ease;
}
.brand-logo:hover .brand-image {
  transform: scale(1.04);
  filter: drop-shadow(0 6px 14px rgba(37, 99, 235, 0.25));
}
.brand-logo-footer .brand-image {
  height: 120px;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  opacity: .95;
}
.brand-logo-footer:hover .brand-image {
  filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(147, 197, 253, 0.4));
  opacity: 1;
}

@media (max-width: 720px) {
  .brand-image { height: 92px; }
  .brand-logo-footer .brand-image { height: 80px; }
}
.brand-text strong {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.01em;
}
.brand-text em {
  font-style: normal;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--teal-600);
  margin-left: 4px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--ink-700);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: .95rem;
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover {
  color: var(--teal-700);
  background: var(--teal-50);
}

.nav-cta { display: inline-flex; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--ink-200);
  width: 44px; height: 44px;
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.menu-toggle span {
  display: block;
  height: 2.5px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--ink-200);
  background: #fff;
}
.mobile-menu.open { display: block; }
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 14px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink-800);
  font-weight: 500;
}
.mobile-menu a:hover { background: var(--teal-50); color: var(--teal-700); }
.mobile-menu .btn { margin-top: 6px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 40px;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(59, 130, 246, .20), transparent 60%),
    radial-gradient(700px 500px at -10% 50%, rgba(147, 197, 253, .28), transparent 60%),
    radial-gradient(600px 400px at 50% 110%, rgba(253, 224, 71, .12), transparent 60%),
    linear-gradient(180deg, #eff6ff 0%, #ffffff 80%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(37, 99, 235, .18) 1px, transparent 0);
  background-size: 30px 30px;
  opacity: .3;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 80%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  animation: drift 16s ease-in-out infinite;
}
.blob-1 { width: 320px; height: 320px; background: var(--teal-300); top: 10%; left: -6%; }
.blob-2 { width: 280px; height: 280px; background: var(--warm-200); top: 55%; right: -4%; animation-delay: -5s; }
.blob-3 { width: 220px; height: 220px; background: var(--teal-200); bottom: -8%; left: 40%; animation-delay: -10s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.06); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-copy .lede {
  font-size: 1.2rem;
  color: var(--ink-600);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-copy .lede strong { color: var(--ink-900); font-weight: 600; }

.accent-wrap { position: relative; display: inline-block; }
.accent-wrap .accent { color: var(--teal-600); position: relative; z-index: 1; }
.accent-underline {
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  width: 100%;
  height: 12px;
  z-index: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: .92rem;
  color: var(--ink-600);
  font-weight: 500;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-trust svg {
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  box-sizing: content-box;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}
.hero-photo-stack {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1.05;
}
.hero-photo {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-200), var(--teal-400));
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s ease;
}
.hero-photo:hover img { transform: scale(1.04); }

.hero-photo-main {
  top: 0; left: 0; right: 18%;
  height: 78%;
  transform: rotate(-1.5deg);
  transition: transform .5s ease, box-shadow .4s ease;
  animation: bobbing 6s ease-in-out infinite;
  border: 6px solid #fff;
}
.hero-photo-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(59, 130, 246, 0.08) 0%, transparent 45%, rgba(253, 224, 71, 0.06) 100%);
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: 1;
}
.hero-photo-main:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 30px 90px rgba(29, 78, 216, 0.28);
}

.hero-photo-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}
.hero-photo-tag strong {
  display: block;
  font-family: var(--ff-sans);
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.2;
}
.hero-photo-tag span {
  font-size: .76rem;
  color: var(--teal-700);
  font-weight: 600;
}
.tag-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-sans);
  font-weight: 800;
  font-size: .82rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

/* Aurora ring animating behind the photo */
.aurora-ring {
  position: absolute;
  inset: -30px -30px 20% -10%;
  border-radius: 40px;
  background: conic-gradient(
    from 0deg,
    rgba(59, 130, 246, 0.4) 0%,
    rgba(147, 197, 253, 0.2) 25%,
    rgba(253, 224, 71, 0.3) 50%,
    rgba(147, 197, 253, 0.2) 75%,
    rgba(59, 130, 246, 0.4) 100%
  );
  filter: blur(40px);
  opacity: .7;
  animation: auroraSpin 14s linear infinite;
  z-index: -1;
}
@keyframes auroraSpin {
  to { transform: rotate(360deg); }
}

/* Sparkles */
.photo-sparkle {
  position: absolute;
  width: 20px;
  height: 20px;
  color: var(--teal-400);
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.6));
  animation: sparkle 3s ease-in-out infinite;
  z-index: 3;
}
.sparkle-1 { top: 10%; left: -2%; animation-delay: 0s; }
.sparkle-2 { top: 40%; right: 8%; width: 14px; height: 14px; color: var(--warm-300); animation-delay: -1s; }
.sparkle-3 { bottom: 15%; left: 10%; width: 16px; height: 16px; animation-delay: -2s; }
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.6) rotate(0deg); }
  30% { opacity: 1; transform: scale(1.1) rotate(45deg); }
  60% { opacity: .6; transform: scale(0.9) rotate(90deg); }
}
.hero-photo-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .35));
  pointer-events: none;
}

.hero-photo-alt {
  bottom: 0; right: 0;
  width: 55%;
  height: 40%;
  border: 5px solid #fff;
  transform: rotate(3deg);
  transition: transform .5s ease;
  animation: bobbing 7s ease-in-out infinite -2s;
}
.hero-photo-alt:hover { transform: rotate(0deg); }

.hero-photo.photo-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, var(--teal-200), transparent 60%),
    linear-gradient(135deg, var(--teal-300), var(--teal-600));
}
.hero-photo.photo-fallback::after {
  content: "♥";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.5);
}

.photo-deco {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  filter: blur(40px);
}
.photo-deco-1 {
  width: 180px; height: 180px;
  background: var(--teal-200);
  top: -30px; right: -30px;
  opacity: .6;
  animation: floaty 8s ease-in-out infinite;
}
.photo-deco-2 {
  width: 140px; height: 140px;
  background: var(--warm-200);
  bottom: -20px; left: -20px;
  opacity: .5;
  animation: floaty 9s ease-in-out infinite -3s;
}

@keyframes bobbing {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(-1.5deg) translateY(-10px); }
}
.hero-photo-alt { animation-name: bobbingAlt; }
@keyframes bobbingAlt {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-8px); }
}

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

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ink-100);
  animation: floaty 5s ease-in-out infinite;
  z-index: 2;
}
.float-card strong {
  display: block;
  font-family: var(--ff-sans);
  color: var(--ink-900);
  font-size: .95rem;
  font-weight: 700;
}
.float-card span {
  font-size: .82rem;
  color: var(--ink-500);
}
.float-card-1 {
  top: 8%;
  left: -4%;
  animation-delay: -1s;
}
.float-card-2 {
  bottom: 10%;
  right: -4%;
  animation-delay: -2.5s;
}
.float-card-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avatars { display: inline-flex; }
.avatars .av {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--ff-sans);
}
.avatars .av:not(:first-child) { margin-left: -10px; }
.avatars .av-1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.avatars .av-2 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.avatars .av-3 { background: linear-gradient(135deg, #6366f1, #4f46e5); }

/* Hero stats */
.hero-stats {
  margin-top: 60px;
  padding: 30px 36px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid var(--ink-100);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero-stat {
  text-align: center;
  position: relative;
}
.hero-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px; top: 15%;
  width: 1px;
  height: 70%;
  background: var(--ink-200);
}
.hero-stat strong {
  font-family: var(--ff-sans);
  color: var(--teal-700);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}
.hero-stat span {
  font-family: var(--ff-sans);
  color: var(--teal-700);
  font-size: 1.4rem;
  font-weight: 800;
}
.hero-stat small {
  display: block;
  margin-top: 6px;
  font-size: .85rem;
  color: var(--ink-500);
  font-weight: 500;
}

/* ===== About ===== */
.about { background: #fff; }
.about::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -100px;
  width: 280px; height: 280px;
  background: var(--warm-100);
  border-radius: 50%;
  opacity: .4;
  z-index: 0;
}
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  z-index: 1;
}
.about-photo { position: relative; }
.about-inset-photo {
  position: absolute;
  bottom: -30px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  transform: rotate(5deg);
  transition: transform .4s ease;
  z-index: 2;
  background: linear-gradient(135deg, var(--teal-300), var(--teal-600));
}
.about-inset-photo:hover { transform: rotate(0deg) scale(1.04); }
.about-inset-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-inset-photo.photo-fallback::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 300;
  opacity: .6;
}
.photo-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: visible;
  box-shadow: var(--shadow-lg);
  background: var(--teal-50);
  transform: rotate(-1.5deg);
  transition: transform .5s cubic-bezier(.2,.9,.3,1.2), box-shadow .5s ease;
}
.photo-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 40px 90px rgba(29, 78, 216, 0.25);
}
.photo-frame > svg {
  border-radius: var(--radius-xl);
}

/* Real photo variant (when Danielle's photo is loaded) */
.photo-frame.has-photo {
  background: linear-gradient(135deg, var(--teal-100), var(--teal-300));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.photo-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 8px);
  display: block;
  filter: saturate(1.05) contrast(1.02);
  transition: filter .5s ease, transform .5s ease;
}
.photo-frame.has-photo:hover .photo-real {
  filter: saturate(1.12) contrast(1.04) brightness(1.02);
}

/* Animated aurora glow around the frame */
.frame-glow {
  position: absolute;
  inset: -24px;
  border-radius: calc(var(--radius-xl) + 16px);
  background: conic-gradient(
    from 180deg,
    rgba(59, 130, 246, 0.55) 0%,
    rgba(147, 197, 253, 0.25) 20%,
    rgba(253, 224, 71, 0.35) 45%,
    rgba(96, 165, 250, 0.3) 70%,
    rgba(29, 78, 216, 0.5) 100%
  );
  filter: blur(34px);
  opacity: .55;
  z-index: -1;
  animation: auroraSpin 18s linear infinite;
}

/* Subtle film grain / texture overlay */
.frame-grain {
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-xl) - 8px);
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(29, 78, 216, 0.08), transparent 55%);
  mix-blend-mode: overlay;
  z-index: 1;
}

.frame-sparkle {
  position: absolute;
  top: -14px;
  right: 30px;
  width: 26px;
  height: 26px;
  color: var(--warm-300);
  filter: drop-shadow(0 0 8px rgba(252, 211, 77, 0.7));
  animation: sparkle 3.4s ease-in-out infinite;
  z-index: 3;
}

.photo-chip {
  position: absolute;
  right: -24px;
  top: 30%;
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px 10px 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: rotate(-4deg);
  z-index: 3;
  animation: floaty 5s ease-in-out infinite;
  border: 1px solid var(--ink-100);
}
.photo-chip-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
  position: relative;
}
.photo-chip-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #10b981;
  opacity: .35;
  animation: pulse 1.8s ease-out infinite;
}
.photo-chip strong {
  display: block;
  font-family: var(--ff-sans);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.2;
}
.photo-chip span {
  font-size: .72rem;
  color: var(--ink-500);
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 180px; height: 180px;
  background: var(--warm-200);
  border-radius: 50%;
  z-index: -1;
  filter: blur(30px);
  opacity: .8;
}
.photo-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow);
}
.photo-sticker {
  position: absolute;
  top: -20px;
  right: -24px;
  background: var(--warm-300);
  border-radius: 18px;
  padding: 14px 18px;
  transform: rotate(6deg);
  box-shadow: var(--shadow);
  font-family: var(--ff-sans);
  line-height: 1.1;
}
.photo-sticker span {
  display: block;
  font-size: .78rem;
  color: var(--ink-700);
  font-weight: 500;
}
.photo-sticker strong {
  display: block;
  color: var(--ink-900);
  font-weight: 800;
  font-size: 1.05rem;
}

.credential-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}
.credential-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-700);
  font-weight: 500;
  font-size: .95rem;
}
.credential-list svg {
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 6px;
  border-radius: 50%;
  width: 28px; height: 28px;
  flex-shrink: 0;
}

.signature {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 22px;
  font-family: var(--ff-sans);
  color: var(--ink-500);
  font-size: .9rem;
  font-style: italic;
}
.signature svg { margin-bottom: -4px; }

/* About: meet-Danielle facts row */
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 14px 0 26px;
}
.fact-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px;
  background: linear-gradient(160deg, #fff, var(--teal-50));
  border: 1px solid var(--teal-100);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fact-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-200);
  box-shadow: var(--shadow);
}
.fact-ico {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  box-shadow: 0 6px 14px rgba(37, 99, 235, .28);
}
.fact-card strong {
  display: block;
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink-900);
  line-height: 1.2;
  margin-bottom: 2px;
}
.fact-card span {
  font-size: .8rem;
  color: var(--ink-500);
  line-height: 1.35;
}

@media (max-width: 960px) {
  .about-facts { grid-template-columns: 1fr; }
}

/* ===== Services ===== */
.services { background: var(--ink-50); position: relative; overflow: hidden; }
.services::before {
  content: "";
  position: absolute;
  top: -150px;
  left: -100px;
  width: 300px; height: 300px;
  background: var(--teal-100);
  border-radius: 50%;
  opacity: .5;
  filter: blur(40px);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.service-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  border: 1px solid var(--ink-100);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
  isolation: isolate;
}
.service-card-bg {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px; height: 160px;
  background: var(--teal-50);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s ease, transform .4s ease;
  z-index: -1;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}
.service-card:hover .service-card-bg {
  opacity: 1;
  transform: scale(1.6);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--ink-500); margin-bottom: 0; font-size: .98rem; }

.card-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--warm-300), #f59e0b);
  color: #7c2d12;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, .3);
}

.icon-wrap {
  width: 60px; height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--teal-100), var(--teal-300));
  color: var(--teal-800);
  margin-bottom: 22px;
  transition: transform .3s ease;
}
.service-card:hover .icon-wrap {
  transform: rotate(-6deg) scale(1.05);
}
.icon-wrap.alt {
  background: var(--teal-50);
  color: var(--teal-700);
  width: 52px; height: 52px;
  border-radius: 14px;
}

.services-cta {
  margin-top: 44px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.services-cta p { margin: 0; color: var(--ink-500); font-weight: 500; }

/* ===== Process ===== */
.process {
  background:
    radial-gradient(800px 400px at 50% 0%, var(--teal-50), transparent 70%),
    #fff;
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.process-list::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal-300) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 26px 28px;
  text-align: center;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  z-index: 1;
}
.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.process-num {
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--ff-sans);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal-100);
  letter-spacing: -.04em;
  line-height: 1;
}
.process-ico {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, .30);
}
.process-step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.process-step p { margin: 0; color: var(--ink-500); font-size: .95rem; }

/* ===== Gallery ===== */
.gallery {
  background: linear-gradient(180deg, var(--ink-50) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.gallery::before {
  content: "";
  position: absolute;
  top: -80px; left: -80px;
  width: 320px; height: 320px;
  background: var(--teal-100);
  border-radius: 50%;
  opacity: .4;
  filter: blur(40px);
}
.gallery::after {
  content: "";
  position: absolute;
  bottom: -100px; right: -60px;
  width: 260px; height: 260px;
  background: var(--warm-100);
  border-radius: 50%;
  opacity: .5;
  filter: blur(40px);
}
.gallery .section-head .accent { color: var(--teal-600); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
  position: relative;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-200), var(--teal-500));
  box-shadow: var(--shadow);
  grid-column: span 2;
  grid-row: span 1;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease;
  isolation: isolate;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-item::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 65%;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, .2) 40%, rgba(15, 23, 42, .75) 100%);
  pointer-events: none;
  z-index: 1;
}

.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 22px 20px;
  color: #fff;
  z-index: 2;
}
.gallery-item figcaption strong {
  display: block;
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.gc-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-tall { grid-column: span 2; grid-row: span 2; }
.gallery-wide { grid-column: span 4; grid-row: span 1; }

.gallery-item.photo-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 60%),
    linear-gradient(135deg, var(--teal-300), var(--teal-700));
  z-index: 0;
}

/* ===== Coverage / Map ===== */
.coverage {
  background:
    radial-gradient(700px 400px at 10% 100%, var(--teal-50), transparent 70%),
    #fff;
  position: relative;
  overflow: hidden;
}
.coverage::before {
  content: "";
  position: absolute;
  top: 10%; right: -100px;
  width: 300px; height: 300px;
  background: var(--teal-100);
  border-radius: 50%;
  opacity: .4;
  filter: blur(40px);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.coverage-copy h2 .accent { color: var(--teal-600); }
.coverage-copy .lede {
  font-size: 1.05rem;
  color: var(--ink-500);
  margin-bottom: 24px;
  max-width: 520px;
}
.county-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  border-radius: 999px;
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.30);
}
.county-badge svg { color: #fff; }

.towns-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.towns-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--ink-700);
  font-size: .95rem;
}
.towns-list li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}

.coverage-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--teal-50);
  color: var(--teal-700);
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 500;
  border: 1px dashed var(--teal-200);
  margin-bottom: 20px;
}
.coverage-note svg { flex-shrink: 0; }

.map-wrap {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
}
.map-wrap::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: calc(var(--radius-xl) + 14px);
  background: linear-gradient(135deg, rgba(59, 130, 246, .12), rgba(147, 197, 253, .08));
  z-index: -1;
  filter: blur(16px);
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6px 12px;
  border-bottom: 1px dashed var(--ink-200);
  margin-bottom: 14px;
}
.map-header strong {
  font-family: var(--ff-sans);
  color: var(--ink-900);
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.map-header small {
  color: var(--ink-500);
  font-size: .8rem;
}

.mchenry-map {
  width: 100%;
  height: auto;
  display: block;
}

.mchenry-map .county-shape {
  fill: url(#countyFill);
  stroke: var(--teal-600);
  stroke-width: 2.5;
  filter: drop-shadow(0 8px 14px rgba(37, 99, 235, .18));
}
.mchenry-map .road {
  stroke: rgba(37, 99, 235, .22);
  stroke-width: 1.2;
  fill: none;
  stroke-dasharray: 3 4;
}
.mchenry-map .river {
  stroke: #93c5fd;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  opacity: .7;
}
.mchenry-map .town-dot {
  fill: var(--teal-600);
  stroke: #fff;
  stroke-width: 2;
  transition: transform .2s ease, fill .2s ease;
  transform-box: fill-box;
  transform-origin: center;
  cursor: pointer;
}
.mchenry-map .town-dot:hover { fill: var(--teal-800); transform: scale(1.3); }
.mchenry-map .town-label {
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 600;
  fill: var(--ink-800);
  pointer-events: none;
}
.mchenry-map .town-label.small { font-size: 11px; fill: var(--ink-600); font-weight: 500; }

.mchenry-map .pulse-ring {
  fill: none;
  stroke: var(--teal-500);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: mapPulse 2.4s ease-out infinite;
}
@keyframes mapPulse {
  0% { opacity: .8; transform: scale(.5); }
  100% { opacity: 0; transform: scale(2.5); }
}

.map-legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--ink-200);
  font-size: .82rem;
  color: var(--ink-500);
  gap: 14px;
  flex-wrap: wrap;
}
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot {
  width: 10px; height: 10px;
  background: var(--teal-600);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--teal-200);
}

/* ===== Why ===== */
.why { background: #fff; position: relative; overflow: hidden; }
.why::before {
  content: "";
  position: absolute;
  bottom: -100px; right: -80px;
  width: 300px; height: 300px;
  background: var(--peach-100);
  border-radius: 50%;
  opacity: .4;
  filter: blur(30px);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
.why-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.why-card:hover {
  border-color: var(--teal-200);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.why-card h3 { margin-bottom: 8px; font-size: 1.12rem; }
.why-card p { color: var(--ink-500); font-size: .95rem; margin-bottom: 0; }

.why-card.highlight {
  position: relative;
  background: linear-gradient(160deg, var(--teal-600), var(--teal-800));
  border-color: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.highlight-decor {
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
}
.highlight-decor::before {
  content: "";
  position: absolute;
  bottom: -60px; left: -60px;
  width: 140px; height: 140px;
  background: rgba(255, 255, 255, .06);
  border-radius: 50%;
}
.why-card.highlight h3, .why-card.highlight p { color: #fff; }
.why-card.highlight p { opacity: .92; margin-bottom: 18px; }
.why-card.highlight .icon-wrap.alt {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.why-card.highlight .btn-primary {
  background: #fff;
  color: var(--teal-700);
  align-self: flex-start;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.why-card.highlight .btn-primary:hover { background: var(--teal-50); color: var(--teal-800); }

/* ===== Testimonials ===== */
.testimonials {
  background:
    radial-gradient(900px 500px at 50% 0%, var(--teal-50), transparent 70%),
    linear-gradient(180deg, #fff, var(--ink-50));
  position: relative;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 36px 30px 30px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.quote-mark {
  position: absolute;
  top: 22px; right: 26px;
  width: 34px; height: 28px;
  color: var(--teal-100);
}
.testimonial-card .stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 1.05rem;
}
.testimonial-card p {
  margin: 0;
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.7;
  flex-grow: 1;
}
.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-100);
}
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-700));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--ff-sans);
  font-size: .92rem;
  flex-shrink: 0;
}
.avatar-2 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.avatar-3 { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.testimonial-card footer strong {
  display: block;
  color: var(--ink-900);
  font-weight: 700;
}
.testimonial-card footer span {
  font-size: .85rem;
  color: var(--ink-500);
}

.trust-row {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 22px 34px;
  background: #fff;
  border-radius: 999px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100);
}
.trust-item { text-align: center; }
.trust-item strong {
  display: block;
  font-family: var(--ff-sans);
  font-weight: 800;
  color: var(--teal-700);
  font-size: 1.3rem;
  line-height: 1;
}
.trust-item span {
  font-size: .82rem;
  color: var(--ink-500);
}
.trust-sep { color: var(--ink-300); font-size: 1.2rem; }

/* ===== Contact ===== */
.contact {
  background: var(--ink-50);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -80px; left: -80px;
  width: 280px; height: 280px;
  background: var(--teal-100);
  border-radius: 50%;
  opacity: .5;
  filter: blur(30px);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
  position: relative;
}
.contact-info .accent { color: var(--teal-600); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 18px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: center;
}
.contact-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: #fff;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100);
  flex-shrink: 0;
}
.contact-list small {
  display: block;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-500);
  font-weight: 600;
}
.contact-list a, .contact-list span {
  font-weight: 600;
  color: var(--ink-900);
  font-size: 1.02rem;
}
.contact-list a:hover { color: var(--teal-700); }

.contact-form {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
  position: relative;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: -30px; right: 30px;
  width: 80px; height: 80px;
  background: var(--warm-200);
  border-radius: 50%;
  opacity: .6;
  filter: blur(20px);
  z-index: -1;
}
.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.form-header h3 { margin: 0; font-size: 1.4rem; }
.form-badge {
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.field { margin-bottom: 18px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-800);
  font-family: var(--ff-sans);
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--ink-50);
  border: 1.5px solid var(--ink-200);
  border-radius: 12px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .18);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }

.form-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: .92rem;
  min-height: 1.2em;
}
.form-note.success { color: var(--teal-700); }
.form-note.error   { color: #dc2626; }

/* ===== Form: loading spinner, field errors, success state ===== */
.contact-form .btn-spinner {
  display: none;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.contact-form button[disabled] {
  opacity: .9;
  cursor: wait;
  transform: none !important;
}
.contact-form.is-sending .btn-spinner { display: inline-block; }
.contact-form.is-sending .btn-label::after { content: "…"; }
.contact-form.is-sending .btn-arrow { display: none; }

.field.has-error .input,
.field.has-error input,
.field.has-error textarea {
  border-color: #ef4444;
  background: #fef2f2;
  animation: inputShake .4s ease;
}
.field-error {
  font-size: .82rem;
  color: #b91c1c;
  font-weight: 500;
  min-height: 1em;
  display: none;
}
.field.has-error .field-error { display: block; }
.field-hint {
  font-size: .76rem;
  color: var(--ink-400);
  text-align: right;
  margin-top: -2px;
}
@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
}

/* Success card that replaces the form body */
.form-success {
  display: none;
  text-align: center;
  padding: 18px 10px 6px;
  animation: successFade .5s ease;
}
@keyframes successFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.contact-form.is-sent {
  border-color: #10b981;
  box-shadow: 0 24px 70px rgba(16, 185, 129, .22), 0 0 0 6px rgba(16, 185, 129, .08);
  transition: border-color .4s ease, box-shadow .4s ease;
}
.contact-form.is-sent .form-body { display: none; }
.contact-form.is-sent .form-success { display: block; }

.success-check {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d1fae5, #a7f3d0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(16, 185, 129, .28);
  animation: popIn .5s cubic-bezier(.18,.89,.32,1.28);
}
.success-check svg { width: 68px; height: 68px; display: block; }
.success-check .sc-circle {
  stroke: #10b981;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: drawCircle .55s ease-out .15s forwards;
}
.success-check .sc-check {
  stroke: #065f46;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: drawCheck .35s ease-out .55s forwards;
}
@keyframes popIn {
  0%   { transform: scale(.4); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck  { to { stroke-dashoffset: 0; } }

.form-success h3 {
  color: #065f46;
  font-size: 1.4rem;
  margin: 0 0 8px;
}
.form-success > p {
  color: var(--ink-600);
  font-size: 1rem;
  max-width: 360px;
  margin: 0 auto 18px;
}
.success-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #ecfdf5;
  border: 1px dashed #86efac;
  border-radius: 10px;
  color: #065f46;
  font-size: .88rem;
  margin-bottom: 18px;
}
.success-meta a { color: #065f46; font-weight: 700; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .success-check, .success-check .sc-circle, .success-check .sc-check, .form-success, .field.has-error input {
    animation: none !important;
  }
  .success-check .sc-circle, .success-check .sc-check { stroke-dashoffset: 0 !important; }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: 90px 0 28px;
  position: relative;
}
.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  color: var(--ink-50);
  line-height: 0;
  transform: rotate(180deg);
}
.contact + .site-footer .footer-wave { color: var(--ink-50); }
.footer-wave svg { width: 100%; height: 100%; display: block; }

.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text em { color: var(--teal-300); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p {
  margin-top: 18px;
  color: var(--ink-400);
  max-width: 360px;
  font-size: .95rem;
}

.footer-intro { margin-bottom: 4px; }
.footer-therapist {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-portrait {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
  transition: transform .35s ease, border-color .35s ease;
}
.footer-portrait:hover {
  transform: scale(1.04) rotate(-2deg);
  border-color: var(--teal-400);
}
.footer-therapist-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-therapist-text strong {
  color: #fff;
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.footer-therapist-text > span {
  color: var(--teal-300);
  font-size: .85rem;
  font-weight: 500;
}
.footer-therapist-text .footer-dot {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-400);
  font-size: .78rem;
  font-weight: 500;
}
.footer-therapist-text .dot-live {
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
}
.footer-therapist-text .dot-live::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #10b981;
  opacity: .4;
  animation: pulse 1.8s ease-out infinite;
}
.footer-col h4 {
  color: #fff;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.footer-col a, .footer-col span {
  color: var(--ink-400);
  font-size: .95rem;
}
.footer-col a:hover { color: var(--teal-300); }

.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-500);
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .home-illustration, .float-badge, .float-card, .blob, .pulse-dot::before {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list::before { display: none; }
}

@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .hero { padding: 50px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { min-height: 400px; }
  .home-illustration { max-width: 420px; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; padding: 26px; }
  .hero-stat:nth-child(2)::after { display: none; }
  .hero-stat::after { display: none !important; }

  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .photo-frame { max-width: 360px; margin: 0 auto; }

  .coverage-grid { grid-template-columns: 1fr; gap: 40px; }

  .gallery-grid { grid-auto-rows: 180px; gap: 14px; }
  .gallery-tall { grid-row: span 2; }

  .hero-photo-stack { max-width: 440px; }
  .photo-chip { right: -10px; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .topbar-item:first-child { display: none; }
  .topbar-inner { justify-content: center; }

  .main-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  h1 { font-size: 2.15rem; }
  .section-head { margin-bottom: 44px; }

  .card-grid, .process-list { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .credential-list { grid-template-columns: 1fr; }
  .towns-list { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
  }
  .gallery-item, .gallery-tall, .gallery-wide { grid-column: span 2; grid-row: span 1; }
  .gallery-tall { grid-row: span 1; }
  .gallery-item figcaption { padding: 16px 16px 14px; }

  .photo-chip { display: none; }
  .hero-photo-tag { left: 10px; right: 10px; padding: 8px 10px; }
  .hero-photo-tag strong { font-size: .82rem; }
  .hero-photo-tag span { font-size: .68rem; }

  .field-row { grid-template-columns: 1fr; }

  .contact-form { padding: 28px 22px; }

  .hero-stats { grid-template-columns: 1fr 1fr; }

  .float-card-1 { left: 0; }
  .float-card-2 { right: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .service-card { padding: 26px 22px; }
  .float-card { padding: 10px 14px; font-size: .85rem; }
  .photo-sticker { right: -10px; top: -15px; padding: 10px 14px; }
}
