/* Hydro Flow — Connie original design system */
:root {
  --bg: #FFFFFF;
  --bg-secondary: #E8F4FB;
  --accent: #7FC805;
  --action: #2993D2;
  --action-hover: #1371A9;
  --ink: #000000;
  --text: #000000;
  --text-muted: #2A2A2A;
  --surface: #ffffff;
  --border: rgba(19, 113, 169, 0.16);
  --shadow-soft: 0 8px 28px rgba(19, 113, 169, 0.10);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --space: clamp(1rem, 2.5vw, 1.5rem);
  --container: 1120px;
  --header-h: 4.25rem;
  --ease: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--accent);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--action);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--action-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 550;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.4rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--action);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 100;
  padding: 0 1rem;
  pointer-events: none;
}

.site-header__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.55rem 0.85rem 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  max-width: calc(var(--container) + 2rem);
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
}

.nav-toggle-label svg {
  width: 22px;
  height: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--action-hover);
  background: rgba(127, 200, 5, 0.35);
}

/* Nav link rules must never restyle buttons: keep white-on-deep-sky */
.site-nav a.btn,
.site-nav a.btn--primary {
  background: var(--action-hover);
  border-color: var(--action-hover);
  color: #fff;
}

.site-nav a.btn:hover,
.site-nav a.btn--primary:hover {
  background: #0E5A87;
  border-color: #0E5A87;
  color: #fff;
}

.site-nav .btn {
  margin-left: 0.35rem;
}

@media (max-width: 900px) {
  .site-header__inner {
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
  }

  .nav-toggle-label {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0.25rem 0.75rem;
    border-top: 1px solid var(--border);
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .site-nav a {
    width: 100%;
  }

  .site-nav .btn {
    margin: 0.5rem 0 0;
    justify-content: center;
    width: 100%;
  }

  .nav-toggle:checked ~ .nav-toggle-label .icon-open {
    display: none;
  }

  .nav-toggle:checked ~ .nav-toggle-label .icon-close {
    display: block;
  }

  .nav-toggle-label .icon-close {
    display: none;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}

.btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Deep sky, not --action: white on #2993D2 fails AA at body sizes (3.39:1) */
  background: var(--action-hover);
  color: #fff;
  border-color: var(--action-hover);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  opacity: 0;
  pointer-events: none;
}

.btn--primary:hover {
  background: #0E5A87;
  border-color: #0E5A87;
  color: #fff;
}

.btn--primary:hover::before {
  opacity: 1;
  animation: btn-shimmer 600ms ease-out 1;
}

@keyframes btn-shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary:hover::before {
    animation: none;
    opacity: 0;
  }
}

@media (pointer: coarse) {
  .btn--primary:hover::before {
    animation: none;
    opacity: 0;
  }
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--action);
  color: var(--action-hover);
  background: rgba(127, 200, 5, 0.25);
}

/* Underline via text-decoration, not border-bottom: with a 44px tap box a
   border would sit ~10px below the number instead of under it */
.phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.phone-link:hover {
  color: var(--action-hover);
  text-decoration-color: var(--action);
}

.text-link {
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  color: var(--action-hover);
  border-bottom-color: var(--action);
}

/* —— Hero (home asymmetrical) —— */
.hero {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0;
    align-items: stretch;
    min-height: min(72vh, 640px);
  }
}

.hero__media {
  position: relative;
  z-index: 1;
  margin: 0 -1rem;
}

@media (min-width: 860px) {
  .hero__media {
    margin: 0;
  }
}

.hero__media img,
.hero__media video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 88% 100%, 0 96%);
}

.hero__media video {
  display: block;
}

@media (min-width: 860px) {
  .hero__media img,
  .hero__media video {
    height: 100%;
    min-height: 520px;
    aspect-ratio: auto;
    border-radius: 0 28px 28px 0;
    clip-path: polygon(0 0, 100% 0, 96% 100%, 0 94%);
  }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(to top, var(--accent), transparent);
  pointer-events: none;
}

@media (min-width: 860px) {
  .hero__media::after {
    inset: 0 0 0 auto;
    width: 22%;
    height: auto;
    background: linear-gradient(to left, var(--accent), transparent);
  }
}

.hero__content {
  padding: 0.5rem 0 1rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 860px) {
  .hero__content {
    padding: 2.5rem 0 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--text);
  line-height: 1.05;
}

.hero__lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 34ch;
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

/* Page heroes (service/contact) — solid lime field, parity with home film */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 2.75rem);
  background: var(--accent);
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 760px) {
  .page-hero__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
  }
}

.page-hero__media {
  position: relative;
  z-index: 1;
}

.page-hero__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

.page-hero__intro {
  max-width: 40ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Aurora hero background */
.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--accent);
}

.hero__aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero__aurora-blob--1 {
  width: clamp(280px, 55vw, 480px);
  height: clamp(280px, 55vw, 480px);
  top: -12%;
  left: -8%;
  background: rgba(127, 200, 5, 0.28);
  animation: aurora-drift-1 18s ease-in-out infinite;
}

/* Pale-sky blob turned the solid lime milky — removed, same as home film */
.hero__aurora-blob--2 {
  display: none;
}

.hero__aurora-blob--3 {
  width: clamp(260px, 45vw, 420px);
  height: clamp(260px, 45vw, 420px);
  top: 35%;
  right: 8%;
  background: rgba(255, 255, 255, 0.14);
  animation: aurora-drift-3 25s ease-in-out infinite;
}

.hero__aurora-blob--4 {
  width: clamp(240px, 40vw, 380px);
  height: clamp(240px, 40vw, 380px);
  bottom: 10%;
  left: 22%;
  background: rgba(127, 200, 5, 0.22);
  animation: aurora-drift-4 20s ease-in-out infinite;
}

@keyframes aurora-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, 6%) scale(1.08); }
}

@keyframes aurora-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1.05); }
  50% { transform: translate(-5%, -4%) scale(1); }
}

@keyframes aurora-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-3%, 5%) scale(1.06); }
  66% { transform: translate(4%, -3%) scale(0.96); }
}

@keyframes aurora-drift-4 {
  0%, 100% { transform: translate(0, 0) scale(1.02); }
  50% { transform: translate(6%, -5%) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__aurora-blob--1,
  .hero__aurora-blob--2,
  .hero__aurora-blob--3,
  .hero__aurora-blob--4 {
    animation: none;
  }
}

/* —— Sections —— */
.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  position: relative;
}

.section--mint {
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"),
    var(--accent);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section__header {
  max-width: 40rem;
  margin-bottom: 2rem;
}

/* Lime as decorative accent below the fold — a field/rule, never type color */
.section__header h2 {
  border-left: 4px solid var(--accent);
  padding-left: 0.85rem;
}

.section__header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Wave divider */
.flow-divider {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 88px);
  color: var(--bg-secondary);
  margin-top: -1px;
  overflow: hidden;
  position: relative;
}

.flow-divider--flip {
  transform: scaleY(-1);
  color: var(--bg);
}

.flow-divider__svg,
.flow-divider svg {
  display: block;
  width: 200%;
  max-width: none;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.flow-divider__wave {
  transform-box: view-box;
  transform-origin: 0 0;
}

.flow-divider__wave--bottom {
  fill: currentColor;
  animation: flow-wave-drift 28s ease-in-out infinite;
}

.flow-divider__wave--top {
  fill: rgba(255, 255, 255, 0.55);
  animation: flow-wave-drift-alt 22s ease-in-out infinite;
}

@keyframes flow-wave-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-18%); }
}

@keyframes flow-wave-drift-alt {
  0%, 100% { transform: translateX(-4%); }
  50% { transform: translateX(-22%); }
}

@media (prefers-reduced-motion: reduce) {
  .flow-divider__wave--bottom,
  .flow-divider__wave--top {
    animation: none;
  }

  .flow-divider__svg,
  .flow-divider svg {
    width: 100%;
  }

  .flow-divider__wave--top {
    transform: none;
  }
}

/* Value prop */
.value-prop {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .value-prop {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
  }
}

.value-prop__panel {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  position: relative;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(19, 113, 169, 0.08);
  overflow: hidden;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .value-prop__panel {
    background: rgba(255, 255, 255, 0.85);
  }
}

.value-prop__panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 147, 210, 0.18), transparent 70%);
  top: -40px;
  right: -30px;
  pointer-events: none;
}

/* Service marquee (index — between stats and services) */
.marquee-section {
  overflow: hidden;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(19, 113, 169, 0.1);
  border-bottom: 1px solid rgba(19, 113, 169, 0.1);
  background: rgba(232, 244, 251, 0.25);
}

.marquee__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  align-items: center;
  animation: marquee-scroll 35s linear infinite;
  will-change: transform;
}

.marquee__item {
  flex: 0 0 auto;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  position: relative;
  /* Equal unit width (label + trailing space) so -50% loops with no jump */
  margin-right: 2.5rem;
}

.marquee__item::before {
  content: "·";
  color: var(--action, #2993D2);
  margin-right: 0.75rem;
  font-weight: 700;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    transform: none;
  }
}

/* Service cards */
.service-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid rgba(19, 113, 169, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 300ms ease;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.service-card:hover {
  border-color: rgba(41, 147, 210, 0.4);
}

.service-card__spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
  background: radial-gradient(
    240px circle at var(--mouse-x) var(--mouse-y),
    rgba(41, 147, 210, 0.12),
    transparent 70%
  );
}

.service-card:hover .service-card__spotlight {
  opacity: 1;
}

@media (pointer: coarse) {
  .service-card__spotlight {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card__spotlight {
    transition: none;
  }
}

.service-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.35rem 1.5rem;
  gap: 0.5rem;
}

.service-card__body h3 {
  margin: 0;
}

.service-card__body p {
  color: var(--text-muted);
  font-size: 0.975rem;
  flex: 1;
  margin: 0;
}

.service-card__cta {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--action);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card:hover .service-card__cta {
  color: var(--action-hover);
}

/* How it works */
.steps {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  padding: 0.25rem 0;
}

.step__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.85rem;
  color: var(--action);
}

.step__icon svg {
  width: 100%;
  height: 100%;
}

.step h3 {
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin: 0;
}

/* Trust / service area strip */
.trust-strip {
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

@media (min-width: 700px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 2.25rem;
  }
}

.trust-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.trust-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"),
    var(--accent);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(36, 36, 36, 0.08);
}

.cta-band h2 {
  margin-bottom: 0.5rem;
}

.cta-band p {
  max-width: 36ch;
  margin: 0 auto 1.5rem;
  color: var(--text);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.5rem;
}

/* Content blocks */
.prose {
  max-width: 42rem;
}

.prose + .prose {
  margin-top: 2rem;
}

.source-links { font-size: 0.75rem; line-height: 1.4; color: var(--text-muted); margin-top: 0.75rem; }
.source-links a { color: inherit; }

.draft-banner {
  margin: 0;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--accent);
}

.content-split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 760px) {
  .content-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.additives {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.additives li {
  margin: 0;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--action);
}

.additives strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* —— Service detail (What's included) —— */
.service-detail__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
  max-width: 640px;
  display: grid;
  gap: 0.75rem;
}

.service-detail__list li {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.service-detail__list svg {
  width: 22px;
  height: 22px;
  color: var(--action);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.treatment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.treatment-list li {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.treatment-list h3 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.treatment-list p {
  margin: 0;
  color: var(--text-muted);
}

.target-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.target-list li {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.target-list li:last-child {
  border-bottom: none;
}

.target-list svg {
  width: 22px;
  height: 22px;
  color: var(--action);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}

.back-link:hover {
  color: var(--action-hover);
}

.back-link svg {
  width: 18px;
  height: 18px;
}

/* Contact layout */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    align-items: start;
  }
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

.detail-block h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.detail-block p,
.detail-block ul {
  margin: 0;
  color: var(--text-muted);
}

.detail-block ul {
  padding-left: 1.1rem;
}

.detail-block a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.detail-block a:hover {
  color: var(--action-hover);
}

/* Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem 1.75rem;
}

@media (min-width: 500px) {
  .contact-form {
    padding: 1.75rem 1.75rem 2rem;
  }
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--ease);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--accent);
}

.form-group input:invalid:not(:placeholder-shown):not(:focus),
.form-group textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #c45c4a;
}

.form-actions {
  margin-top: 1.25rem;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-status[data-state="error"] {
  color: #a94438;
}

.form-status[data-state="ok"] {
  color: var(--action-hover);
}

/* Footer — Connie palette: black field, white text */
.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 2rem;
  color: #FFFFFF;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"),
    var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-brand .logo img {
  height: 48px;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  max-width: 32ch;
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li + li {
  margin-top: 0.35rem;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.social-label {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.social-links a:hover {
  border-color: var(--action);
  color: var(--action-hover);
  background: rgba(255, 255, 255, 0.9);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-cta {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-cta p {
  margin: 0;
  font-weight: 600;
}

.footer-meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Inverted on the black footer: white fill + #1371A9 text stays AA (5.30:1) */
.site-footer .btn--primary {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--action-hover);
}

.site-footer .btn--primary:hover {
  background: var(--bg-secondary);
  border-color: var(--bg-secondary);
  color: var(--action-hover);
}

/* Floating CTA — sits above chat FAB when widget is present */
.float-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, bottom 0.3s ease;
  box-shadow: var(--shadow-soft);
}

html.hf-chat-ready .float-cta {
  bottom: calc(1rem + 3.5rem + 0.75rem);
}

.float-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .float-cta {
    transition: none;
    transform: none;
  }

  .float-cta.is-visible {
    transform: none;
  }
}

/* Chat widget */
.hf-chat {
  --hf-chat-fab-size: 3.5rem;
  --hf-chat-z: 110;
}

.hf-chat__fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: var(--hf-chat-z);
  width: var(--hf-chat-fab-size);
  height: var(--hf-chat-fab-size);
  border: none;
  border-radius: 50%;
  background: var(--action);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: background var(--ease);
}

.hf-chat__fab:hover {
  background: var(--action-hover);
}

.hf-chat__fab svg {
  width: 1.5rem;
  height: 1.5rem;
}

.hf-chat__backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--hf-chat-z) + 1);
  background: rgba(36, 36, 36, 0.28);
}

.hf-chat__panel {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + var(--hf-chat-fab-size) + 0.75rem);
  z-index: calc(var(--hf-chat-z) + 2);
  width: min(100vw - 2rem, 22.5rem);
  max-height: min(70vh, 32rem);
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(232, 244, 251, 0.65), transparent 40%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* display:flex above would otherwise override the hidden attribute */
.hf-chat__panel[hidden],
.hf-chat__backdrop[hidden] {
  display: none !important;
}

.hf-chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
}

.hf-chat__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.hf-chat__heading {
  min-width: 0;
}

.hf-chat__subtitle {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hf-chat__close {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hf-chat__close:hover {
  background: var(--bg-secondary);
}

.hf-chat__close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.hf-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 12rem;
}

.hf-chat__row {
  display: flex;
}

.hf-chat__row--user {
  justify-content: flex-end;
}

.hf-chat__row--assistant {
  justify-content: flex-start;
}

.hf-chat__bubble {
  max-width: 92%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.hf-chat__bubble--user {
  background: var(--action);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.hf-chat__bubble--assistant {
  background: var(--bg-secondary);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.hf-chat__bubble--loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.hf-chat__spinner {
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid var(--accent);
  border-top-color: var(--action);
  border-radius: 50%;
  animation: hf-chat-spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes hf-chat-spin {
  to {
    transform: rotate(360deg);
  }
}

.hf-chat__status {
  margin: 0;
  padding: 0 1rem 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hf-chat__form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.hf-chat__input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}

.hf-chat__input::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

.hf-chat__send {
  flex-shrink: 0;
  padding-inline: 1rem;
}

.hf-chat__send:disabled,
.hf-chat__input:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .hf-chat__panel {
    right: 0.5rem;
    left: 0.5rem;
    width: auto;
    bottom: calc(0.75rem + var(--hf-chat-fab-size) + 0.65rem);
    max-height: min(78vh, 34rem);
  }

  .hf-chat__fab {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  html.hf-chat-ready .float-cta {
    right: 0.75rem;
    bottom: calc(0.75rem + 3.5rem + 0.65rem);
  }
}

body.hf-chat-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .hf-chat__spinner {
    animation: none;
    border-top-color: var(--accent);
  }
}

/* —— Scroll reveal —— */
.reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(20px);
  transition:
    opacity 600ms ease-out,
    filter 600ms ease-out,
    transform 600ms ease-out;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.service-card.reveal:nth-child(1) { --reveal-delay: 0ms; }
.service-card.reveal:nth-child(2) { --reveal-delay: 100ms; }
.service-card.reveal:nth-child(3) { --reveal-delay: 200ms; }
.service-card.reveal:nth-child(4) { --reveal-delay: 300ms; }
.service-card.reveal:nth-child(5) { --reveal-delay: 400ms; }
.service-card.reveal:nth-child(6) { --reveal-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* Progressive enhancement: keep content visible when JS is disabled */
@media (scripting: none) {
  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* —— Stats strip (animated counters) —— */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  text-align: center;
}

@media (min-width: 720px) {
  .stats-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--action);
  letter-spacing: -0.02em;
}

.stat__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }

/* —— Team section —— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease), box-shadow var(--ease);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(19, 113, 169, 0.12);
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--bg-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__avatar svg {
  width: 36px;
  height: 36px;
  color: var(--action);
}

.team-card__photo {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  background: var(--bg-secondary);
}

/* Provider photo placeholder — real photos swap in as <img> inside .provider__photo */
.provider__photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-secondary), var(--accent));
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.provider__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.provider__initial {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.team-card h3 {
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--action);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.team-card__specialties {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.team-card__specialties li {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(127, 200, 5, 0.35);
  border: 1px solid rgba(41, 147, 210, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

/* —— Testimonials —— */
.review-stage {
  max-width: 560px;
  margin: 1.5rem auto 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-top: 3px solid var(--action);
}

.testimonial-card__stars {
  display: flex;
  gap: 0.2rem;
  color: #C5A572;
}

.testimonial-card__stars svg {
  width: 1rem;
  height: 1rem;
}

.testimonial-card__quote {
  margin: 0;
  flex: 1;
}

.testimonial-card__quote p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.55;
}

.testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.testimonial-card__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--action);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card__meta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.testimonial-card__name {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
}

.testimonial-card__service {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(127, 200, 5, 0.35);
  border: 1px solid rgba(41, 147, 210, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

/* —— Connect strip: Google review badge + follow links —— */
.connect-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 1.75rem;
}

.connect-strip--start {
  justify-content: flex-start;
  margin-top: 2rem;
}

.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.5rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color var(--ease), color var(--ease);
}

.google-review-badge:hover {
  border-color: var(--action);
  color: var(--action-hover);
}

.google-review-badge__g {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.google-review-badge__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.google-review-badge__stars {
  display: flex;
  gap: 0.15rem;
  color: #C5A572;
}

.google-review-badge__stars svg {
  width: 0.8rem;
  height: 0.8rem;
}

.connect-strip__follow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.connect-strip__label {
  font-weight: 600;
  color: var(--text);
}

.connect-strip__follow a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--ease), color var(--ease);
}

.connect-strip__follow a:hover {
  border-color: var(--action);
  color: var(--action-hover);
}

.connect-strip__follow svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 480px) {
  .connect-strip {
    flex-direction: column;
  }

  .connect-strip--start {
    align-items: flex-start;
  }
}

/* —— Reviews section (legacy CTA) —— */
.reviews-cta {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  max-width: 520px;
  margin: 0 auto;
}

.reviews-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.reviews-note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* —— FAQ section —— */
.faq-container {
  max-width: 760px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.faq-item[open] {
  border-color: var(--action);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--action);
  flex-shrink: 0;
  transition: transform var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* —— Contact form status —— */
.form-status {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: 0.75rem;
  min-height: 1.25rem;
}

.form-status--success {
  color: var(--action);
}

.form-status--error {
  color: #c0392b;
}

/* —— Chatbot quick-reply chips —— */
.hf-chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0 0.25rem;
}

.hf-chat__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--action);
  background: rgba(127, 200, 5, 0.3);
  border: 1px solid rgba(41, 147, 210, 0.3);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.hf-chat__chip:hover {
  background: rgba(127, 200, 5, 0.5);
  border-color: var(--action);
  transform: translateY(-1px);
}

.hf-chat__chip:active {
  transform: translateY(0);
}

/* —— Gallery page —— */
.page-hero--compact {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.page-hero--compact .page-hero__intro {
  max-width: 40rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  margin: 0;
  background: var(--surface);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-3px);
  border-color: var(--action);
  box-shadow: 0 12px 36px rgba(19, 113, 169, 0.14);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 36, 36, 0.72);
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 960px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.gallery-lightbox__img {
  max-width: 100%;
  max-height: calc(90vh - 3rem);
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  background: var(--surface);
}

.gallery-lightbox__caption {
  margin: 0;
  color: #fff;
  font-size: 0.9375rem;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox__caption:empty,
.gallery-lightbox__caption[hidden] {
  display: none;
}

.gallery-lightbox__close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.gallery-lightbox__close:hover {
  background: var(--bg-secondary);
}

.gallery-lightbox__close svg {
  width: 1.25rem;
  height: 1.25rem;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

/* —— Sticky mobile CTA bar —— */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 767px) {
  :root {
    --mobile-cta-h: 60px;
  }

  body {
    padding-bottom: calc(var(--mobile-cta-h) + env(safe-area-inset-bottom, 0px));
  }

  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    min-height: var(--mobile-cta-h);
    height: auto;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--action);
    box-shadow: 0 -4px 20px rgba(19, 113, 169, 0.18);
  }

  .mobile-cta-bar__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--mobile-cta-h);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: transparent;
    border: none;
    transition: background var(--ease);
  }

  .mobile-cta-bar__btn:hover,
  .mobile-cta-bar__btn:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
  }

  .mobile-cta-bar__btn--call {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
  }

  /* Hide floating Book Now on mobile when sticky bar is present */
  .float-cta {
    display: none !important;
  }

  /* Keep chat FAB above sticky bar */
  .hf-chat__fab {
    bottom: calc(var(--mobile-cta-h) + env(safe-area-inset-bottom, 0px) + 0.75rem);
  }

  .hf-chat__panel {
    bottom: calc(var(--mobile-cta-h) + env(safe-area-inset-bottom, 0px) + var(--hf-chat-fab-size, 3.5rem) + 0.75rem);
  }
}

@media (max-width: 480px) {
  .hf-chat__fab {
    bottom: calc(var(--mobile-cta-h, 60px) + env(safe-area-inset-bottom, 0px) + 0.75rem);
  }

  .hf-chat__panel {
    bottom: calc(var(--mobile-cta-h, 60px) + env(safe-area-inset-bottom, 0px) + var(--hf-chat-fab-size, 3.5rem) + 0.65rem);
  }
}

.peptide-picker .peptide-detail { margin-top: 0.85rem; }
.peptide-picker .peptide-panel h4 { margin: 0 0 0.35rem; font-family: var(--font-display); }
.peptide-picker .peptide-panel p { margin: 0 0 0.5rem; }
.peptide-picker .form-group { margin-top: 0.85rem; }

