/* =====================================================
   Coastline Lighting — Sam's exterior lighting site
   Cotton candy blue + hot pink coastal theme
   ===================================================== */

:root {
  /* core palette — cotton candy blue base */
  --ink: #eaf6fc;                /* page background — soft sky */
  --ink-2: #d8ecf7;              /* section base — cotton candy */
  --ink-3: #ffffff;              /* elevated card — crisp white */
  --ink-4: #f4fbff;              /* surface highlight */
  --line: rgba(255, 56, 168, 0.55);   /* hot pink frame stroke */
  --line-soft: rgba(255, 56, 168, 0.28);
  --line-faint: rgba(14, 100, 150, 0.14);
  --pink: #ff2fa6;               /* primary accent — hot pink */
  --pink-2: #ff6cc2;             /* accent light */
  --pink-3: #d61f8b;             /* accent deep */
  --pink-glow: rgba(255, 56, 168, 0.42);
  --warm: #ffc864;
  --coastal: #4dc4f7;            /* coastal sky blue */
  --coastal-deep: #0a86c4;       /* deeper ocean */
  --sand: #fff4e6;               /* warm sand tint */
  --text: #0e3148;               /* deep navy text */
  --text-dim: rgba(14, 49, 72, 0.72);
  --text-faint: rgba(14, 49, 72, 0.5);

  /* type */
  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;

  /* radii / shadows */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-pink: 0 0 28px -4px var(--pink-glow);
  --shadow-card: 0 18px 42px -22px rgba(255, 56, 168, 0.28), 0 8px 24px -16px rgba(10, 134, 196, 0.22), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  --shadow-coastal: 0 14px 36px -18px rgba(10, 134, 196, 0.35);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  /* bright coastal radial glows */
  background-image:
    radial-gradient(1200px 620px at 82% 8%, rgba(255, 108, 194, 0.22), transparent 65%),
    radial-gradient(1000px 560px at 8% 78%, rgba(77, 196, 247, 0.32), transparent 65%),
    radial-gradient(700px 400px at 50% 110%, rgba(255, 244, 230, 0.6), transparent 70%);
  background-attachment: fixed;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pink);
  margin: 0 0 14px;
}
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; color: var(--text); letter-spacing: -0.02em; }
.h-display {
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.h-section {
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.02;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.h-card {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-dim);
  max-width: 60ch;
  margin: 0 auto;
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(40px, 7vw, 96px) clamp(24px, 5vw, 64px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(216, 236, 247, 0.7));
  box-shadow: var(--shadow-pink), var(--shadow-coastal);
  overflow: hidden;
}
.frame::after {
  /* inner subtle radial glow */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(800px 380px at 85% 100%, rgba(255, 56, 168, 0.10), transparent 70%);
}
.section { padding: 56px 0; position: relative; }
.section-tight { padding: 28px 0; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(234, 246, 252, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-faint);
  box-shadow: 0 4px 24px -18px rgba(10, 134, 196, 0.35);
}
.nav-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  transition: opacity 200ms ease, transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand:hover { opacity: 0.88; transform: translateY(-1px); }
.brand:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 6px; }
.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-height: 44px;
  filter: drop-shadow(0 4px 14px rgba(255, 56, 168, 0.18));
}
.brand-logo-footer {
  height: 56px;
  max-height: 56px;
  filter: drop-shadow(0 6px 18px rgba(255, 56, 168, 0.22));
}
/* legacy text/dot/sub kept for backward-compat if any pages still use it */
.brand .dot {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--pink);
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 18px var(--pink-glow);
}
.brand-sub {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-faint);
  margin-left: 6px;
  align-self: end;
  padding-bottom: 4px;
}
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  transition: color 180ms ease;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active { color: var(--text); }
.nav-cta { display: inline-flex; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-soft);
  color: var(--text);
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 220ms ease, background-color 220ms ease, color 220ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-2) 100%);
  color: #fff;
  box-shadow: 0 12px 32px -10px var(--pink-glow), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--pink-2) 0%, var(--pink) 100%);
  box-shadow: 0 16px 38px -10px var(--pink-glow);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--pink-3);
  border-color: var(--pink);
  box-shadow: 0 4px 18px -8px var(--pink-glow);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 56, 168, 0.12); color: var(--pink-3); }
.btn-sm { padding: 10px 18px; font-size: 12px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0;
}
.hero-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #b3e3f8 0%, #d8ecf7 60%, #ffe4f3 100%);
  box-shadow: 0 24px 60px -20px var(--pink-glow), 0 16px 48px -22px rgba(10, 134, 196, 0.4);
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo svg,
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  /* Darker scrim so white text reads on the night/twilight photo,
     keeping a coastal-blue top and pink-warmth bottom for brand feel. */
  background:
    linear-gradient(180deg,
      rgba(8, 28, 56, 0.62) 0%,
      rgba(10, 48, 88, 0.45) 40%,
      rgba(60, 14, 56, 0.55) 100%),
    radial-gradient(60% 50% at 50% 35%, rgba(0,0,0,0.18), rgba(0,0,0,0) 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 9vw, 140px) clamp(24px, 6vw, 80px) clamp(40px, 7vw, 80px);
  text-align: center;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #ffb3dd;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
  margin-bottom: 22px;
}
.hero h1 {
  margin-bottom: 18px;
  max-width: 14ch;
  /* Solid light fill — gradient text was unreadable on the photo. */
  background: none;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.4);
}
.hero-sub {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 14px rgba(0,0,0,0.55);
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stats {
  margin-top: clamp(48px, 8vw, 88px);
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 32px;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffb3dd;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
  margin-bottom: 6px;
}
.hero-stat .lbl {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.82);
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

/* ---------- generic section heading ---------- */
.section-head {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head .lede { margin: 16px auto 0; }

/* ---------- 3-card grid (process / app / features) ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f0f8fd 100%);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-md);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-soft);
  box-shadow: 0 22px 48px -22px var(--pink-glow), 0 12px 32px -18px rgba(10, 134, 196, 0.35);
}
.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1.5px solid var(--pink);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 56, 168, 0.12), rgba(77, 196, 247, 0.14));
  box-shadow: 0 0 22px -4px var(--pink-glow), 0 0 22px -4px rgba(77, 196, 247, 0.4) inset;
  color: var(--pink);
}
.card-icon svg { width: 28px; height: 28px; stroke: var(--pink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 15px; margin: 0; }

/* numbered process variant */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  position: relative;
}
.process-row::before {
  content: "";
  position: absolute;
  top: 64px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-soft), transparent);
  z-index: 0;
}
.process-step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.process-step .step-num {
  display: block;
  margin-top: 22px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--pink);
}
.process-step h3 { margin: 10px 0 12px; }
.process-step p { color: var(--text-dim); font-size: 15px; max-width: 32ch; margin: 0 auto; }

/* ---------- gallery photo grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-faint);
  transition: transform 320ms ease, border-color 320ms ease;
}
.gallery-tile:hover { transform: translateY(-2px); border-color: var(--line-soft); }
.gallery-tile img,
.gallery-tile svg { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.gallery-tile:hover img,
.gallery-tile:hover svg { transform: scale(1.06); }
.gallery-tile .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(214, 31, 139, 0.92));
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
}

/* ---------- reviews ---------- */
.reviews-head .stars { color: var(--pink); letter-spacing: 0.18em; margin: 8px 0 0; }
.reviews-head .stars span { color: var(--text-dim); font-size: 14px; margin-left: 8px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review-card {
  background: linear-gradient(180deg, #ffffff 0%, #f0f8fd 100%);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}
.review-stars { color: var(--pink); letter-spacing: 0.18em; margin: 0 0 14px; }
.review-card p { color: var(--text); font-size: 15px; line-height: 1.7; margin: 0 0 14px; }
.review-card cite { font-style: normal; color: var(--coastal-deep); font-size: 14px; font-weight: 600; }

/* ---------- service rows (alternating) ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-row .media {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-faint);
  aspect-ratio: 4 / 3;
}
.service-row .media svg, .service-row .media img { width: 100%; height: 100%; object-fit: cover; }
.service-row h3 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 14px; text-transform: uppercase; letter-spacing: -0.02em; }
.service-row p { color: var(--text-dim); font-size: 16px; line-height: 1.7; }
.service-row ul { padding: 0; margin: 18px 0 0; list-style: none; }
.service-row ul li { padding: 8px 0 8px 26px; position: relative; color: var(--text-dim); font-size: 15px; }
.service-row ul li::before {
  content: "";
  position: absolute; left: 0; top: 16px;
  width: 8px; height: 8px;
  background: var(--pink);
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--pink-glow);
}

/* ---------- pricing tiers ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tier {
  background: linear-gradient(180deg, #ffffff 0%, #f0f8fd 100%);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-md);
  padding: 36px 28px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}
.tier:hover { transform: translateY(-3px); border-color: var(--line-soft); box-shadow: 0 22px 48px -22px var(--pink-glow), 0 12px 32px -18px rgba(10, 134, 196, 0.3); }
.tier.featured {
  border-color: var(--pink);
  background: linear-gradient(180deg, #ffffff 0%, #fff0f8 100%);
  box-shadow: 0 0 0 1px var(--pink) inset, 0 24px 48px -18px var(--pink-glow);
}
.tier .ribbon {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
.tier h3 { font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; color: var(--coastal-deep); }
.tier .price {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.02em;
  margin: 16px 0 6px;
  color: var(--pink-3);
}
.tier .price span { font-size: 14px; color: var(--text-faint); font-weight: 500; letter-spacing: 0.04em; }
.tier ul { list-style: none; padding: 0; margin: 18px 0 28px; }
.tier ul li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--text-dim);
  font-size: 14px;
  border-bottom: 1px dashed var(--line-faint);
}
.tier ul li:last-child { border-bottom: none; }
.tier ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 8px;
  color: var(--pink);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq {
  border: 1px solid var(--line-faint);
  border-radius: var(--r-md);
  background: #ffffff;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px -14px rgba(10, 134, 196, 0.4);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
  transition: background-color 200ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--pink);
  font-weight: 400;
  font-size: 24px;
  width: 24px;
  text-align: center;
  transition: transform 220ms ease;
}
.faq[open] summary { background: rgba(255, 56, 168, 0.04); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--text-dim); font-size: 15px; line-height: 1.7; }
.faq-category { margin: 40px 0 16px; font-size: 14px; color: var(--pink); text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; }
.faq-category:first-child { margin-top: 0; }

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 6vw, 80px);
  text-align: center;
  border-bottom: 1px solid var(--line-faint);
  background:
    radial-gradient(700px 320px at 50% 100%, rgba(255, 56, 168, 0.22), transparent 70%),
    radial-gradient(800px 360px at 20% 0%, rgba(77, 196, 247, 0.28), transparent 70%);
}
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); text-transform: uppercase; letter-spacing: -0.02em; }
.page-hero .lede { margin-top: 18px; }

/* ---------- forms ---------- */
.form {
  display: grid;
  gap: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f8fd 100%);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--coastal-deep); margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(14, 100, 150, 0.22);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-faint); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 56, 168, 0.22);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .full { grid-column: 1 / -1; }
.form-success {
  background: linear-gradient(180deg, #ffffff 0%, #fff0f8 100%);
  border: 1px solid var(--pink);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: 0 0 30px -10px var(--pink-glow);
}

/* ---------- embedded form (LeadConnector iframe) ---------- */
.form-embed-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px -22px rgba(11, 47, 84, 0.28),
              0 0 0 1px rgba(11, 47, 84, 0.06);
  line-height: 0;
}
.form-embed-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
}

/* ---------- contact sidebar ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.info-card {
  background: linear-gradient(180deg, #ffffff 0%, #f0f8fd 100%);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}
.info-card h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--pink-3); margin-bottom: 12px; }
.info-card p { color: var(--text-dim); font-size: 15px; margin: 0; }
.info-card strong { color: var(--text); }

/* ---------- footer ---------- */
.footer {
  margin-top: clamp(60px, 8vw, 100px);
  padding: clamp(40px, 5vw, 56px) 0 24px;
  border-top: 1px solid var(--line-faint);
  background: linear-gradient(180deg, #d8ecf7 0%, #c8e3f2 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand p { color: var(--text-dim); margin: 14px 0 22px; font-size: 14px; max-width: 36ch; }
.footer h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--coastal-deep); font-weight: 700; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; color: var(--text-dim); font-size: 14px; font-weight: 400; line-height: 1.5; }
.footer ul a { color: var(--text-dim); font-size: 14px; font-weight: 400; transition: color 180ms ease; }
.footer ul a:hover { color: var(--pink-3); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-faint);
  text-align: center;
  color: var(--text-faint);
  font-size: 13px;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  text-align: center;
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 56px);
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(255, 56, 168, 0.28), transparent 70%),
    radial-gradient(700px 320px at 50% 100%, rgba(77, 196, 247, 0.28), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f0f8fd 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -22px var(--pink-glow), 0 16px 48px -22px rgba(10, 134, 196, 0.32);
}
.cta-strip h2 { margin-bottom: 12px; color: var(--text); }
.cta-strip p { color: var(--text-dim); margin: 0 auto 28px; max-width: 56ch; font-size: 16px; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- helpers ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 18px; }
.mt-4 { margin-top: 32px; }
.hide-md { }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- services bar (pipe-separated horizontal list, home) ---------- */
.services-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  padding: 20px clamp(20px, 4vw, 40px);
  margin: clamp(24px, 4vw, 40px) 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(216, 236, 247, 0.7));
  box-shadow: var(--shadow-coastal);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(13px, 1.2vw, 15px);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text);
}
.services-bar span { color: var(--text); }
.services-bar span[aria-hidden="true"] {
  color: var(--pink);
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.7;
}

/* ---------- 4-card grid (about page values) ---------- */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

/* ---------- prose block (legal pages, about) ---------- */
.prose { max-width: 76ch; margin: 0 auto; color: var(--text); line-height: 1.75; }
.prose p { margin: 0 0 18px; color: var(--text-dim); font-size: 16px; }
.prose h2,
.prose h3 {
  margin: 32px 0 12px;
  color: var(--coastal-deep);
}
.prose h2:first-child,
.prose h3:first-child,
.prose p:first-child { margin-top: 0; }
.prose a { color: var(--pink-3); text-decoration: underline; }
.prose strong { color: var(--text); }

/* ---------- footer CTA tagline ---------- */
.footer-cta-line {
  font-size: 14px;
  color: var(--text);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer-cta-line strong { color: var(--pink-3); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 12px; display: block; margin-bottom: 4px; }

/* ---------- checklist (pricing page "What's Included") ---------- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  max-width: 880px;
  margin: 0 auto;
}
.checklist li {
  position: relative;
  padding: 10px 0 10px 36px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  border-bottom: 1px dashed var(--line-faint);
}
.checklist li:last-child,
.checklist li:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 8px;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-2) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 12px -2px var(--pink-glow);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cards-3, .cards-4, .process-row, .reviews-grid, .gallery-grid, .tiers { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; gap: 24px; }
  .service-row.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .process-row::before { display: none; }
  .checklist { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 20px 24px; gap: 14px; background: var(--ink-2); border-bottom: 1px solid var(--line-faint); }
  .nav-links.is-open { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-row { grid-template-columns: 1fr auto; }
  .cards-3, .cards-4, .process-row, .reviews-grid, .tiers { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-content { min-height: 480px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .form .row-2 { grid-template-columns: 1fr; }
  .services-bar { font-size: 12px; letter-spacing: 0.12em; gap: 10px 14px; padding: 16px 18px; }
  .brand-logo { height: 36px; max-height: 36px; }
  .brand-logo-footer { height: 48px; max-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- scroll snap + viewport-fit sections ---------- */
html {
  scroll-snap-type: y proximity;
  scroll-padding-top: 80px; /* offset for sticky nav */
}
/* Sections explicitly marked as full-screen fit the viewport — strict cap. */
.snap-screen {
  height: 100svh;
  height: 100dvh;
  max-height: 100svh;
  max-height: 100dvh;
  overflow: hidden;              /* clip — content never exceeds the viewport */
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  padding-top: clamp(16px, 2.5vw, 36px);
  padding-bottom: clamp(16px, 2.5vw, 36px);
}
.snap-screen > .container {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;              /* internal scroll if content is taller than viewport */
  overflow-x: hidden;
  scrollbar-width: none;          /* Firefox: hide scrollbar */
  -ms-overflow-style: none;       /* IE/Edge */
}
.snap-screen > .container::-webkit-scrollbar { width: 0; height: 0; display: none; }
/* Hero is always a full-screen snap target. */
.hero {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
.hero-frame { min-height: calc(100svh - 64px); min-height: calc(100dvh - 64px); display: flex; }
.hero-content {
  min-height: 0;                 /* let the flex parent size it */
  flex: 1;
  width: 100%;
}
/* page-hero (interior pages) snaps but doesn't force full screen — content varies. */
.page-hero {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
.footer { scroll-snap-align: end; scroll-snap-stop: normal; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
}

/* ---------- viewport frame (subtle pink border around the visible viewport) ---------- */
.viewport-frame {
  position: fixed;
  inset: 8px;
  border: 1px solid rgba(255, 56, 168, 0.42);
  border-radius: 18px;
  pointer-events: none;
  z-index: 60;
  box-shadow:
    0 0 32px -8px rgba(255, 56, 168, 0.28),
    inset 0 0 24px -10px rgba(255, 56, 168, 0.18);
}
@media (max-width: 720px) {
  .viewport-frame { inset: 4px; border-radius: 14px; }
}

/* ---------- side scroll-rail (section progress indicator, mid-right) ---------- */
.scroll-rail {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 55;
  pointer-events: auto;
  padding: 14px 6px;
}
.scroll-rail::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  right: 14px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 56, 168, 0.38) 18%, rgba(255, 56, 168, 0.38) 82%, transparent 100%);
}
.scroll-rail a {
  position: relative;
  display: block;
  width: 18px;
  height: 1px;
  background: rgba(255, 56, 168, 0.55);
  transition: width 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
  cursor: pointer;
}
.scroll-rail a:hover { width: 26px; background: var(--pink); }
.scroll-rail a.is-active {
  width: 30px;
  height: 2px;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink-glow);
}
.scroll-rail a .rail-label {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line-soft);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  box-shadow: 0 6px 18px -10px rgba(10, 134, 196, 0.4);
}
.scroll-rail a:hover .rail-label,
.scroll-rail a.is-active .rail-label { opacity: 1; transform: translateY(-50%) translateX(-2px); }
@media (max-width: 720px) {
  .scroll-rail { display: none; }
}

/* ---------- tighten hero so it fits the viewport ---------- */
.hero { padding: clamp(8px, 1.5vw, 16px) 0; }
.hero-frame { min-height: auto; height: 100%; }
.hero-content {
  min-height: auto;
  padding: clamp(20px, 4vw, 56px) clamp(18px, 4vw, 56px);
  justify-content: center;
}
.hero-stats { margin-top: clamp(18px, 3vw, 40px); padding-top: clamp(14px, 2vw, 22px); gap: clamp(10px, 1.4vw, 18px); }
.hero-stat .num { font-size: clamp(20px, 2.2vw, 32px); margin-bottom: 4px; }
.hero-stat .lbl { font-size: 10px; }
.hero h1 { margin-bottom: clamp(8px, 1.2vw, 14px); }
.hero-sub { margin: 0 0 clamp(14px, 2.4vw, 26px); }
.hero-tag { margin-bottom: clamp(10px, 1.4vw, 18px); }

/* Snap-screen body sections — let the frame inside align centered. */
.snap-screen > .container > .frame,
.snap-screen > .container > .cta-strip {
  margin: 0 auto;
  width: 100%;
}
/* Reduce inner frame padding so content has room to fit one viewport. */
.snap-screen .frame { padding: clamp(20px, 3.2vw, 56px) clamp(16px, 3vw, 44px); }
.snap-screen .cta-strip { padding: clamp(24px, 4vw, 56px) clamp(20px, 4vw, 48px); }

/* Compress section heads inside snap-screen so headings + content both fit. */
.snap-screen .section-head { margin-bottom: clamp(18px, 2.6vw, 36px); }

/* Shrink the home gallery strip tiles so 4 fit within a single viewport. */
.snap-screen .gallery-grid .gallery-tile { aspect-ratio: 1 / 1; }

/* Make the nav a touch slimmer so 100svh hero shows more of the photo. */
.nav { padding: 12px 0; }

/* ---------- compress short-viewport behavior ---------- */
@media (max-height: 800px) {
  .h-display { font-size: clamp(30px, 4.6vw, 56px); }
  .h-section { font-size: clamp(26px, 3.6vw, 44px); }
  .hero-content { padding: clamp(16px, 3vw, 36px) clamp(14px, 3vw, 32px); }
  .hero-stats { margin-top: 14px; padding-top: 12px; gap: 10px; }
  .hero-stat .num { font-size: clamp(18px, 2vw, 26px); }
  .snap-screen .frame { padding: clamp(16px, 2.4vw, 40px) clamp(14px, 2.6vw, 32px); }
  .snap-screen .section-head { margin-bottom: clamp(14px, 2vw, 28px); }
  .card { padding: 22px 20px; }
  .card-icon { width: 52px; height: 52px; margin-bottom: 14px; }
  .h-card { font-size: 19px; }
  .card p { font-size: 14px; }
  .review-card { padding: 20px 18px; }
  .review-card p { font-size: 14px; line-height: 1.6; margin-bottom: 10px; }
}
@media (max-height: 640px) {
  .h-display { font-size: clamp(26px, 4vw, 44px); line-height: 1.0; }
  .h-section { font-size: clamp(22px, 3.2vw, 36px); }
  .hero-content { padding: 14px 16px; }
  .hero-stats { display: none; }            /* hide stats on very short screens */
  .snap-screen .frame { padding: 16px 18px; }
}

/* ---------- gallery category bar (decorative header above grid) ---------- */
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  padding: 18px 26px;
  margin: 0 0 28px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #ffffff 0%, var(--ink-4) 100%);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}
.category-bar > span {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--coastal-deep);
}
.category-bar > span[aria-hidden="true"] {
  color: var(--pink);
  font-weight: 800;
  opacity: 0.75;
}
@media (max-width: 980px) {
  .category-bar { border-radius: 22px; padding: 16px 20px; gap: 10px 14px; }
  .category-bar > span { font-size: 12px; letter-spacing: 0.12em; }
}
@media (max-width: 600px) {
  .category-bar > span { font-size: 11px; letter-spacing: 0.1em; }
  .category-bar > span[aria-hidden="true"] { display: none; }
}

/* ---------- gallery clean grid (no captions) ---------- */
.gallery-grid-clean .gallery-tile { aspect-ratio: 4 / 3; }
.gallery-grid-clean .gallery-tile .cap { display: none; }

/* ---------- hidden tiles + load-more reveal ---------- */
.gallery-tile-hidden { display: none; }
.gallery-tile-hidden.is-shown {
  display: block;
  animation: tileFadeIn 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes tileFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.load-more-wrap { margin-top: 28px; }
.load-more-wrap.is-done { display: none; }

/* ============================================================
   MOBILE FRIENDLY — natural scrolling
   On phones/tablets, turn OFF the full-screen scroll-snap system.
   Sections size to their own content and the page scrolls like a
   normal website: nothing gets clipped, nothing overflows sideways,
   and there are no nested scroll areas fighting the user's thumb.
   ============================================================ */
@media (max-width: 820px) {
  /* Stop CSS scroll-snapping — it hijacks the scroll on touch devices */
  html {
    scroll-snap-type: none;
    scroll-padding-top: 72px;
  }

  /* Sections grow to fit their content instead of being capped to one screen */
  .snap-screen {
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
    display: block;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    padding-top: 0;
    padding-bottom: 0;
  }
  .snap-screen > .container {
    max-height: none;
    overflow: visible;          /* no more inner scroll boxes */
  }

  /* Hero grows with its content; no forced 100dvh height */
  .hero,
  .page-hero,
  .footer { scroll-snap-align: none; }
  .hero-frame { min-height: 0; height: auto; }
  .hero-content { min-height: 0; }

  /* Comfortable vertical spacing now that sections aren't clipped */
  .section { padding: 44px 0; }

  /* Always show the hero stats on phones (the short-screen rule hid them) */
  .hero-stats { display: grid; }

  /* Hard guarantee: nothing can push the page wider than the screen,
     so there's no sideways panning or "zoomed-out" feel */
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  img, svg, iframe, .frame, .cta-strip, .hero-frame { max-width: 100%; }

  /* Keep long words/links (emails, phone) from forcing horizontal overflow */
  body { overflow-wrap: break-word; word-break: break-word; }
}
