/* ============================================================
   Harborlight Dental — calm, coastal, trust-forward
   Plus Jakarta Sans + Lora (italic accents)
   ============================================================ */

:root {
  --bg: #fbfdfd;
  --soft: #eef5f4;
  --white: #ffffff;
  --ink: #113239;
  --muted: #527075;
  --teal: #0f8b7e;
  --teal-deep: #0c6e64;
  --teal-ink: #0a3f3a;
  --aqua: #cfe9e4;
  --line: #dcebe8;
  --gold: #d9a441;
  --r: 22px;
  --shadow: 0 6px 30px rgba(17, 50, 57, .08);
  --shadow-lg: 0 18px 60px rgba(17, 50, 57, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --serif: "Lora", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 860px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h1 em, h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.demo-tag {
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: none;
  font-weight: 600;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .2rem .7rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 700;
  font-size: .95rem;
  border-radius: 999px;
  padding: .8rem 1.7rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn--solid { background: var(--teal); color: #fff; box-shadow: 0 8px 24px rgba(15, 139, 126, .32); }
.btn--solid:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15, 139, 126, .4); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--teal-ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .28); }
.btn--lg { padding: 1rem 2.2rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* ── Loader ──────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.loader__mark { width: 74px; height: 74px; }
.loader__beamL, .loader__beamR { animation: beam 1.6s ease-in-out infinite; transform-origin: center; }
.loader__beamR { animation-delay: .8s; }
@keyframes beam { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.loader__label {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}

/* ── Header ──────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s;
}
.header.scrolled { background: rgba(251, 253, 253, .92); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(17, 50, 57, .08); }
.header__inner {
  max-width: 1180px; margin: 0 auto;
  padding: 1rem 24px;
  display: flex; align-items: center; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand__mark { width: 40px; height: 40px; fill: var(--teal); }
.brand__beam, .brand__wave { stroke: var(--aqua); fill: none; transition: stroke .3s; }
.brand:hover .brand__beam { stroke: var(--teal); }
.brand__name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand__name em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--teal); }

.nav { display: flex; gap: 1.7rem; margin-left: auto; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: .92rem;
  position: relative; padding: .3rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__cta { flex-shrink: 0; }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: var(--white); border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer; position: relative; z-index: 130;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 120;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  clip-path: circle(0 at calc(100% - 46px) 40px);
  transition: clip-path .6s var(--ease);
  visibility: hidden;
}
.drawer.open { clip-path: circle(150% at calc(100% - 46px) 40px); visibility: visible; }
.drawer__nav { display: flex; flex-direction: column; gap: 1.4rem; text-align: center; }
.drawer__nav a { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.drawer__nav a em {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  color: var(--teal); font-size: .85rem; margin-right: .8rem;
}
.drawer__nav .btn { margin-top: 1rem; font-size: 1rem; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(7.5rem, 13vh, 10rem) 0 0;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(207, 233, 228, .55) 0%, transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}
.hero__title { font-size: clamp(2.5rem, 5.4vw, 4.2rem); margin-bottom: 1.3rem; }
.hero__sub { font-size: 1.1rem; color: var(--muted); max-width: 34rem; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.1rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: .45rem 1rem;
  font-size: .84rem; font-weight: 600; color: var(--ink);
  box-shadow: 0 3px 12px rgba(17, 50, 57, .05);
}
.hero__chips svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; }
.hero__chips small { color: var(--muted); font-weight: 500; }

.hero__media { position: relative; }
.hero__halo {
  position: absolute; inset: -8% -6%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(15, 139, 126, .16) 0%, transparent 70%);
  border-radius: 50%;
  animation: breathe 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.07); opacity: 1; } }
.hero__photo {
  position: relative;
  border-radius: 999px 999px var(--r) var(--r);
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.hero__photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.hero__card {
  position: absolute;
  display: flex; align-items: center; gap: .7rem;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .75rem 1.05rem;
  box-shadow: var(--shadow);
  animation: floaty 7s ease-in-out infinite;
}
.hero__card strong { display: block; font-size: .84rem; letter-spacing: -.01em; }
.hero__card span { display: block; font-size: .78rem; color: var(--muted); }
.hero__card svg { width: 26px; height: 26px; color: var(--teal); flex-shrink: 0; }
.hero__card--a { top: 9%; left: -9%; }
.hero__card--b { bottom: 7%; right: -7%; animation-delay: 3.5s; }
.hero__card-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(15, 139, 126, .18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(15,139,126,.18); } 50% { box-shadow: 0 0 0 7px rgba(15,139,126,.08); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__wave { display: block; width: 100%; height: 70px; color: var(--teal-deep); }

/* ── Reassurance strip ───────────────────────────────────── */
.strip {
  background: var(--teal-deep);
  color: #eaf6f4;
  overflow: hidden;
  padding: .85rem 0;
}
.strip__track {
  display: inline-flex; align-items: center; gap: 2.2rem;
  white-space: nowrap;
  animation: strip 46s linear infinite;
  font-size: .86rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.strip__track i { font-style: normal; color: rgba(255, 255, 255, .45); }
@keyframes strip { to { transform: translateX(-50%); } }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--soft { background: var(--soft); }
.sechead { max-width: 620px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sechead__sub { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* ── Services ────────────────────────────────────────────── */
.svcgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.svc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2rem 1.8rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--aqua); }
.svc__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--soft);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
  transition: background .4s, color .4s;
}
.svc:hover .svc__icon { background: var(--teal); color: #fff; }
.svc__icon svg { width: 38px; height: 38px; }
.svc h3 { font-size: 1.15rem; margin-bottom: .55rem; }
.svc p { color: var(--muted); font-size: .95rem; }

/* ── Split sections ──────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split--rev .split__media { order: 2; }
.split--rev .split__copy { order: 1; }
.split__media { position: relative; }
.split__media > img {
  width: 100%;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.split__media--stack > img:first-child { aspect-ratio: 4 / 3.6; }
.split__media-inset {
  position: absolute !important;
  width: 46% !important;
  right: -6%; bottom: -12%;
  border: 6px solid var(--white);
  border-radius: 18px !important;
  box-shadow: var(--shadow-lg) !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover;
}
.split__badge {
  position: absolute; left: 5%; bottom: 6%;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .7rem 1.1rem;
  box-shadow: var(--shadow);
}
.split__badge strong { display: block; font-size: .88rem; }
.split__badge span { font-size: .78rem; color: var(--muted); }
.split__copy > p { color: var(--muted); margin-top: 1.1rem; }
.split__copy h2 { margin-top: 0; }

.checks { margin-top: 1.6rem; display: grid; gap: .65rem; }
.checks li {
  position: relative;
  padding-left: 2.1rem;
  font-weight: 600; font-size: .97rem;
}
.checks li::before {
  content: "";
  position: absolute; left: 0; top: .12em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23000'/%3E%3C/svg%3E");
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23000'/%3E%3C/svg%3E");
}
.checks li::after {
  content: "";
  position: absolute; left: 5px; top: calc(.12em + 5px);
  width: 10px; height: 6px;
  border-left: 2.2px solid #fff;
  border-bottom: 2.2px solid #fff;
  transform: rotate(-45deg);
}

/* ── Stats ───────────────────────────────────────────────── */
.stats {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  text-align: center;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.9rem 1rem 1.6rem;
  box-shadow: var(--shadow);
}
.stat__num {
  display: block;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 800; letter-spacing: -.03em;
  color: var(--teal);
  line-height: 1.1;
}
.stat__num small { font-size: .6em; color: var(--gold); }
.stat__label { display: block; margin-top: .35rem; font-size: .86rem; color: var(--muted); font-weight: 600; }
.stat__label small { color: var(--muted); font-weight: 500; }

/* ── Steps ───────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  counter-reset: step;
  list-style: none;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute; top: 34px; left: 12%; right: 12%;
  border-top: 2px dashed var(--aqua);
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2.2rem 1.8rem 1.9rem;
  box-shadow: var(--shadow);
}
.step__no {
  position: absolute; top: -22px; left: 1.8rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem;
  box-shadow: 0 6px 18px rgba(15, 139, 126, .35);
}
.step h3 { font-size: 1.12rem; margin: .5rem 0 .55rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ── Team ────────────────────────────────────────────────── */
.teamgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.member { text-align: center; }
.member__photo {
  border-radius: 999px 999px var(--r) var(--r);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.3rem;
  background: var(--soft);
}
.member__photo img {
  width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover;
  transition: transform .6s var(--ease);
}
.member:hover .member__photo img { transform: scale(1.045); }
.member h3 { font-size: 1.12rem; }
.member__role {
  color: var(--teal); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
  margin: .3rem 0 .6rem;
}
.member__bio { color: var(--muted); font-size: .92rem; max-width: 21rem; margin: 0 auto; }

/* ── Reviews ─────────────────────────────────────────────── */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.quote__stars { color: var(--gold); letter-spacing: .2em; font-size: .95rem; margin-bottom: .9rem; }
.quote p {
  font-family: var(--serif); font-style: italic;
  font-size: 1.02rem; line-height: 1.7;
  color: var(--ink);
  flex: 1;
}
.quote footer { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.quote footer img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--aqua);
}
.quote footer strong { display: block; font-size: .92rem; }
.quote footer span { font-size: .8rem; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faqs { display: grid; gap: .9rem; }
.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq[open] { border-color: var(--aqua); box-shadow: var(--shadow); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.5rem;
  font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__chev {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--soft);
  position: relative;
  transition: background .3s, transform .4s var(--ease);
}
.faq__chev::before {
  content: "";
  position: absolute; left: 10px; top: 11px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
}
.faq[open] .faq__chev { background: var(--teal); transform: rotate(180deg); }
.faq[open] .faq__chev::before { border-color: #fff; }
.faq__body { padding: 0 1.5rem 1.3rem; }
.faq__body p { color: var(--muted); font-size: .97rem; }

/* ── Coastal CTA band ────────────────────────────────────── */
.band {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.band__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 63, 58, .68), rgba(12, 110, 100, .6));
}
.band__inner {
  position: relative; z-index: 1;
  padding: clamp(5rem, 10vw, 8rem) 24px;
}
.band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 2rem; }
.band h2 em { color: var(--aqua); }

/* ── Booking ─────────────────────────────────────────────── */
.bookgrid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.bookinfo__list { margin-top: 1.8rem; display: grid; gap: 1.4rem; }
.bookinfo__list li { display: flex; gap: 1rem; align-items: flex-start; }
.bookinfo__list svg {
  width: 44px; height: 44px; flex-shrink: 0;
  color: var(--teal);
  background: var(--soft);
  border-radius: 14px;
  padding: 9px;
}
.bookinfo__list strong { display: block; font-size: 1.02rem; }
.bookinfo__list strong a { color: var(--ink); }
.bookinfo__list strong a:hover { color: var(--teal); }
.bookinfo__list span { font-size: .88rem; color: var(--muted); }
.bookinfo__note {
  margin-top: 2rem;
  font-family: var(--serif); font-style: italic;
  color: var(--muted);
  border-left: 3px solid var(--aqua);
  padding-left: 1.1rem;
}

.bookform {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
}
.bookform h3 { font-size: 1.35rem; margin-bottom: 1.5rem; }
.field { position: relative; margin-bottom: 1.1rem; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: .97rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 1.35rem 1.1rem .55rem;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 139, 126, .12);
}
.field label {
  position: absolute; left: 1.1rem; top: .95rem;
  font-size: .95rem; color: var(--muted);
  pointer-events: none;
  transition: transform .25s var(--ease), font-size .25s, color .25s;
  transform-origin: left top;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label {
  transform: translateY(-.55rem);
  font-size: .72rem;
  color: var(--teal);
  font-weight: 700; letter-spacing: .04em;
}
.field:has(select)::after {
  content: "";
  position: absolute; right: 1.1rem; top: 1.15rem;
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.form__note { margin-top: .9rem; text-align: center; font-size: .8rem; color: var(--muted); }

.form__success {
  position: absolute; inset: 0;
  background: var(--white);
  border-radius: var(--r);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.form__success.show { opacity: 1; visibility: visible; }
.form__success svg { width: 74px; height: 74px; margin-bottom: 1.2rem; }
.form__success h3 { margin-bottom: .6rem; }
.form__success p { color: var(--muted); max-width: 26rem; }
.form__success em { font-size: .85em; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  position: relative;
  background: var(--teal-ink);
  color: #d6e8e4;
  margin-top: 70px;
  padding-bottom: 0;
}
.footer__wave {
  position: absolute; bottom: 100%; left: 0;
  width: 100%; height: 70px;
  color: var(--teal-ink);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-top: 3.5rem; padding-bottom: 3rem;
}
.footer__mark { width: 46px; height: 46px; margin-bottom: .9rem; }
.footer__name { font-weight: 800; font-size: 1.15rem; color: #fff; }
.footer__name em { font-family: var(--serif); font-style: italic; font-weight: 500; color: #7fc9bf; }
.footer__addr { margin-top: .7rem; font-size: .9rem; line-height: 1.7; }
.footer__addr a { color: #d6e8e4; }
.footer__addr a:hover, .footer__nav a:hover { color: #fff; }
.footer__nav { display: grid; gap: .55rem; align-content: start; }
.footer__nav a { color: #d6e8e4; font-size: .92rem; font-weight: 600; }
.footer__label {
  font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #7fc9bf; margin-bottom: .8rem;
}
.footer__hours ul { display: grid; gap: .4rem; }
.footer__hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.footer__hours li span:first-child { color: #9dc4bd; }
.footer__hello a { color: #fff; font-weight: 700; }
.footer__fine { margin-top: 1rem; font-size: .78rem; line-height: 1.7; color: #9dc4bd; }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  max-width: 1180px; margin: 0 auto;
  padding: 1.2rem 24px;
  font-size: .82rem; color: #9dc4bd;
}
.footer__bar a { color: #fff; font-weight: 700; }

/* ── Back to top ─────────────────────────────────────────── */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(15, 139, 126, .4);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease), background .3s;
}
.totop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--teal-deep); }

/* ── Reveal on scroll ────────────────────────────────────── */
[data-rise] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-rise].in { opacity: 1; transform: translateY(0); }

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-rise] { opacity: 1; transform: none; transition: none; }
  .strip__track { animation: none; }
  .hero__halo, .hero__card, .hero__card-dot, .loader__beamL, .loader__beamR { animation: none; }
  .member:hover .member__photo img { transform: none; }
  * { transition-duration: .01ms !important; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1000px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; margin-left: auto; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin: 0 auto; }
  .hero__card--a { left: 0; }
  .hero__card--b { right: 0; }

  .svcgrid { grid-template-columns: repeat(2, 1fr); }
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split--rev .split__copy { order: 0; }
  .split__media-inset { right: 4%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 2.2rem; }
  .steps::before { display: none; }
  .teamgrid { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1.4rem; }
  .quotes { grid-template-columns: 1fr; }
  .bookgrid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .svcgrid { grid-template-columns: 1fr; }
  .teamgrid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .field__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__card--a { display: none; }
}
