/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body.menu-open, body.drawer-open { overflow: hidden; }

svg { flex: none; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #FBF9F4; }
::-webkit-scrollbar-thumb { background: #B8C5BE; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #2E5A42; }

/* ---------- cursor spotlight (desktop only) ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  z-index: 2;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 209, 170, 0.35) 0%, rgba(126, 209, 170, 0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: multiply;
  will-change: transform, opacity;
}
@media (hover: hover) and (pointer: fine) {
  body:hover .cursor-glow { opacity: 1; }
}

/* ---------- background orbs ---------- */
.orb-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb-field { z-index: -1; }
.orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  will-change: transform;
}
.orb--1 { width: 420px; height: 420px; background: #7ED1AA; top: -12%; left: -8%; animation: drift-1 22s ease-in-out infinite; }
.orb--2 { width: 340px; height: 340px; background: #F4DF96; top: 45%; right: -12%; animation: drift-2 26s ease-in-out infinite; opacity: 0.55; }
.orb--3 { width: 300px; height: 300px; background: #E86A58; opacity: 0.18; bottom: 10%; left: 25%; animation: drift-3 30s ease-in-out infinite; }
@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(80px, 60px) scale(1.1); }
}
@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-100px, 40px) scale(0.95); }
}
@keyframes drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, -80px) scale(1.12); }
}

/* ---------- nav ---------- */
.nav-shell {
  background: transparent;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}
.nav-shell.is-scrolled {
  background: rgba(251, 249, 244, 0.88);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid rgba(15, 18, 17, 0.06);
}
.nav-link {
  position: relative;
  color: #0F1211;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: #E86A58;
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.6, 0, 0.1, 1);
}
.nav-link:hover { color: #2E5A42; }
.nav-link:hover::after { width: 100%; }

/* pulse dot */
.pulse-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #7ED1AA;
  box-shadow: 0 0 0 0 rgba(126, 209, 170, 0.7);
  animation: pulse 1.8s ease-out infinite;
  flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(126, 209, 170, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(126, 209, 170, 0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 209, 170, 0); }
}

/* burger */
.burger-lines { position: relative; display: inline-block; width: 16px; height: 10px; }
.burger-lines span {
  position: absolute; left: 0;
  width: 100%; height: 1.4px;
  background: currentColor;
  transition: transform 0.35s ease, top 0.25s ease;
}
.burger-lines span:first-child { top: 2px; }
.burger-lines span:last-child  { top: 7px; }
.menu-open .burger-lines span:first-child { top: 4.5px; transform: rotate(45deg); }
.menu-open .burger-lines span:last-child  { top: 4.5px; transform: rotate(-45deg); }
.menu-open #mobile-menu { display: block; animation: fade-in 0.25s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.mobile-link {
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(15, 18, 17, 0.08);
}

/* ---------- pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  white-space: nowrap;
  line-height: 1;
}
.pill--mint   { background: #7ED1AA; color: #0F1211; }
.pill--butter { background: #F4DF96; color: #0F1211; }
.pill--paper  { background: #FBF9F4; color: #0F1211; border: 1px solid rgba(15, 18, 17, 0.1); }
.pill--outline {
  background: transparent;
  color: #0F1211;
  border: 1px solid rgba(46, 90, 66, 0.3);
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}
.pill .pill-ic { width: 16px; height: 16px; color: #2E5A42; }

/* ---------- section label ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #2E5A42;
}

/* ---------- hero ---------- */
.hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .hero-title { font-size: clamp(3.25rem, 5.8vw, 6rem); }
}

/* underline wave */
.underline-wave {
  position: relative;
  white-space: nowrap;
  color: #E86A58;
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}
.underline-wave::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: -4%;
  height: 7px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 14' preserveAspectRatio='none'><path d='M0 7 Q 17.5 0 35 7 T 70 7 T 105 7 T 140 7' fill='none' stroke='%23E86A58' stroke-width='2' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
  pointer-events: none;
}

/* reveal w/ slight rotate (distinct from prior sites) */
.reveal-rot {
  opacity: 0;
  transform: translateY(28px) rotate(-2deg);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-rot:nth-child(2) { transition-delay: 0.1s; }
.reveal-rot:nth-child(3) { transition-delay: 0.2s; }
.loaded .reveal-rot { opacity: 1; transform: translateY(0) rotate(0); }

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.is-visible.reveal-up, .loaded .reveal-up { opacity: 1; transform: translateY(0); }

/* hero media */
.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #ECF2EE;
  box-shadow: 0 30px 80px -30px rgba(46, 90, 66, 0.3);
}
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* rotating badge — inside media, no clipping */
.badge-ring {
  position: absolute;
  top: 16px; right: 16px;
  width: 88px; height: 88px;
  pointer-events: none;
}
@media (min-width: 768px) { .badge-ring { width: 104px; height: 104px; top: 20px; right: 20px; } }
.badge-ring > svg {
  width: 100%; height: 100%;
  animation: rotate-ring 22s linear infinite;
}
.badge-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  fill: #FBF9F4;
}
.badge-core {
  position: absolute;
  inset: 24%;
  background: #7ED1AA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -4px rgba(15, 18, 17, 0.25);
}
@keyframes rotate-ring { to { transform: rotate(360deg); } }

/* live panel below media */
.live-panel {
  background: #FBF9F4;
  border: 1px solid rgba(46, 90, 66, 0.12);
  border-radius: 20px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 10px 30px -14px rgba(46, 90, 66, 0.15);
}
@media (min-width: 768px) { .live-panel { padding: 1rem 1.25rem; gap: 0.75rem; } }
.live-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
}
.live-row + .live-row { border-top: 1px dashed rgba(46, 90, 66, 0.15); }
.live-ic { width: 22px; height: 22px; color: #2E5A42; flex: none; }
.live-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #6E7A72;
}
.live-value {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #0F1211;
  margin-top: 0.1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.live-sub {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #6E7A72;
}
.countdown {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: #2E5A42;
  background: #ECF2EE;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.cd-sep { opacity: 0.4; margin: 0 1px; }
.live-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #2E5A42;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.live-link:hover { color: #E86A58; }

/* wave dividers */
.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  margin-bottom: -1px;
}
.wave-divider--flip { transform: scaleY(-1); margin-top: -1px; margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.75rem;
  background: #0F1211;
  color: #FBF9F4;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: 0;
}
.btn-primary:hover { background: #2E5A42; }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary .btn-arrow { transition: transform 0.3s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid rgba(15, 18, 17, 0.2);
  background: transparent;
  color: #0F1211;
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-ghost:hover { border-color: #2E5A42; background: rgba(126, 209, 170, 0.18); }

/* ---------- ticker ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track {
  display: inline-flex;
  gap: 0.7rem;
  animation: marquee 45s linear infinite;
  padding-right: 0.7rem;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- service cards ---------- */
.svc-card {
  position: relative;
  padding: 1.75rem;
  background: #FBF9F4;
  border-radius: 24px;
  border: 1px solid rgba(46, 90, 66, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 260px;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(126, 209, 170, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(46, 90, 66, 0.3);
  border-color: rgba(46, 90, 66, 0.25);
}
.svc-card:hover::before { opacity: 1; }

.svc-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2E5A42;
  margin-bottom: 0.25rem;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card:hover .svc-icon { transform: rotate(-6deg) scale(1.05); }
.svc-icon--mint   { background: rgba(126, 209, 170, 0.35); }
.svc-icon--mist   { background: rgba(46, 90, 66, 0.1); }
.svc-icon--butter { background: rgba(244, 223, 150, 0.6); color: #8A6B20; }
.svc-icon--coral  { background: rgba(232, 106, 88, 0.15); color: #A93E2F; }

.svc-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.15;
}
.svc-desc {
  font-size: 0.9rem;
  color: rgba(15, 18, 17, 0.65);
  line-height: 1.5;
  flex: 1;
}
.svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(46, 90, 66, 0.2);
}
.svc-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #2E5A42;
}
.svc-price-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #6E7A72;
}
.svc-book {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(15, 18, 17, 0.15);
  color: #0F1211;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}
.svc-book:hover { background: #0F1211; color: #FBF9F4; border-color: #0F1211; }
.svc-card--feat {
  background: linear-gradient(135deg, #F4DF96 0%, #ECCB65 100%);
  border-color: rgba(138, 107, 32, 0.3);
}
.svc-card--feat .svc-desc { color: rgba(15, 18, 17, 0.72); }
.svc-card--feat .svc-price { color: #0F1211; }
.svc-card--feat .svc-foot { border-top-color: rgba(15, 18, 17, 0.2); }
.svc-card--feat .svc-book { border-color: rgba(15, 18, 17, 0.3); }
.svc-card--feat::before { background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.35), transparent 40%); }
.svc-badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: #E86A58;
  color: #FBF9F4;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

/* ---------- how-it-works ---------- */
.how-line {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 640px)  { .how-line { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .how-line { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.how-step {
  padding: 1.75rem;
  border-radius: 22px;
  background: #FBF9F4;
  border: 1px solid rgba(46, 90, 66, 0.1);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.how-step:hover {
  transform: translateY(-4px);
  border-color: #2E5A42;
  box-shadow: 0 20px 40px -20px rgba(46, 90, 66, 0.3);
}
.how-num {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 2.5rem;
  color: #2E5A42;
  line-height: 1;
}
.how-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
}
.how-body {
  font-size: 0.9rem;
  color: rgba(15, 18, 17, 0.7);
  line-height: 1.5;
  flex: 1;
}
.how-time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2E5A42;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(46, 90, 66, 0.25);
}

/* ---------- doctors ---------- */
.doc-card {
  background: #FBF9F4;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(46, 90, 66, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(46, 90, 66, 0.4); }
.doc-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ECF2EE;
}
.doc-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.doc-card:hover .doc-frame img { transform: scale(1.05); }
.doc-overlay {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  padding: 0.85rem 1rem;
  background: rgba(15, 18, 17, 0.92);
  color: #FBF9F4;
  border-radius: 14px;
  backdrop-filter: blur(6px);
  transform: translateY(calc(100% + 12px));
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.doc-card:hover .doc-overlay { transform: translateY(0); }
.doc-overlay-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
}
.doc-overlay-line span { color: rgba(251, 249, 244, 0.6); text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.62rem; }
.doc-overlay-line b { font-weight: 500; }
.doc-body { padding: 1.5rem 1.75rem 2rem; }
.doc-spec {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #2E5A42;
}
.doc-name {
  margin-top: 0.5rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.05;
}
.doc-bio {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(15, 18, 17, 0.7);
  line-height: 1.5;
}
.doc-cta {
  margin-top: 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2E5A42;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.25s ease, gap 0.25s ease;
}
.doc-cta:hover { color: #E86A58; gap: 0.75rem; }

/* ---------- testimonial ---------- */
.quote-card {
  position: relative;
  padding: 3rem 1.75rem 2.5rem;
  background: #F4DF96;
  border-radius: 32px;
  overflow: hidden;
}
@media (min-width: 768px) { .quote-card { padding: 4.5rem 4rem 3.5rem; } }
.quote-star {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  width: 32px; height: 32px;
  color: #E86A58;
}
@media (min-width: 768px) { .quote-star { top: 2rem; left: 2.5rem; width: 44px; height: 44px; } }
.quote-text {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.3;
  color: #0F1211;
}
.quote-author {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.quote-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FBF9F4;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.faq-item {
  background: #FBF9F4;
  border: 1px solid rgba(46, 90, 66, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.faq-item[open] { border-color: #2E5A42; background: #FFFFFF; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
@media (min-width: 768px) { .faq-q { padding: 1.5rem 2rem; font-size: 1.2rem; } }
.faq-q::-webkit-details-marker { display: none; }
.faq-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: #ECF2EE;
  color: #2E5A42;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.3s ease, color 0.3s ease;
  flex: none;
}
.faq-plus svg { width: 16px; height: 16px; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: #2E5A42; color: #FBF9F4; }
.faq-a {
  padding: 0 1.5rem 1.5rem;
  color: rgba(15, 18, 17, 0.75);
  line-height: 1.6;
  animation: faq-open 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 768px) { .faq-a { padding: 0 2rem 1.75rem; } }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- visit ---------- */
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.contact-ic {
  width: 26px; height: 26px;
  color: #2E5A42;
  flex: none;
  margin-top: 2px;
}
.visit-map {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 28px;
  background: #ECF2EE;
  border: 1px solid rgba(46, 90, 66, 0.15);
  isolation: isolate;
}
.visit-map iframe {
  width: 100%; height: 100%;
  display: block;
  border: 0;
  filter: saturate(0.9) contrast(0.95);
}
.visit-pin {
  position: absolute;
  left: 16px; bottom: 16px;
  z-index: 2;
  padding: 0.8rem 1rem;
  background: #0F1211;
  color: #FBF9F4;
  border-radius: 14px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
  animation: float-pin 4s ease-in-out infinite;
}
.visit-pin:hover {
  background: #2E5A42;
  animation-play-state: paused;
  transform: translateY(-3px);
}
.visit-pin-head {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}
@keyframes float-pin {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* ---------- footer ---------- */
.footer-head {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(251, 249, 244, 0.5);
}

/* ---------- floating action button ---------- */
.fab {
  position: fixed;
  right: 1rem; bottom: 1rem;
  z-index: 30;
  padding: 1rem 1.5rem;
  background: #0F1211;
  color: #FBF9F4;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 16px 48px -12px rgba(15, 18, 17, 0.45);
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
@media (min-width: 768px) { .fab { right: 2rem; bottom: 2rem; padding: 1.1rem 1.9rem; } }
.fab:hover { background: #2E5A42; transform: translateY(-3px); }
.fab-ring {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #7ED1AA;
  box-shadow: 0 0 0 0 rgba(126, 209, 170, 0.8);
  animation: pulse 1.8s ease-out infinite;
  flex: none;
}

/* ---------- DRAWER ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.drawer.hidden { display: none; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 17, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade-in 0.3s ease;
}
.drawer-sheet {
  position: absolute;
  right: 0; top: 0;
  width: 100%;
  height: 100%;
  max-width: 560px;
  background: #FBF9F4;
  padding: 1.5rem 1.25rem 1.5rem;
  overflow-y: auto;
  animation: drawer-in-mobile 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  box-shadow: -20px 0 60px -10px rgba(15, 18, 17, 0.3);
}
@media (min-width: 768px) {
  .drawer-sheet {
    padding: 2rem 2.25rem;
    animation: drawer-in-desktop 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
    border-left: 1px solid rgba(46, 90, 66, 0.12);
  }
}
@keyframes drawer-in-mobile {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes drawer-in-desktop {
  from { transform: translateX(40px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(46, 90, 66, 0.15);
}
.drawer-close {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 18, 17, 0.15);
  background: transparent;
  color: #0F1211;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.drawer-close:hover { background: #0F1211; color: #FBF9F4; }

.drawer-body { padding: 1.5rem 0 1rem; }
.fs { border: 0; padding: 0; margin: 0 0 1.5rem; }
.fs-legend {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #2E5A42;
  margin-bottom: 0.75rem;
  padding: 0;
}

/* service picker */
.svc-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
@media (min-width: 520px) { .svc-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-opt { position: relative; cursor: pointer; }
.svc-opt input { position: absolute; opacity: 0; inset: 0; }
.svc-opt > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 0.6rem;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1.5px solid rgba(46, 90, 66, 0.15);
  font-size: 0.8rem;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  color: #0F1211;
}
.svc-opt-ic { width: 24px; height: 24px; color: #2E5A42; transition: color 0.2s ease; }
.svc-opt:hover > span { border-color: #2E5A42; }
.svc-opt input:checked + span {
  background: #7ED1AA;
  border-color: #2E5A42;
  transform: scale(1.02);
}
.svc-opt input:checked + span .svc-opt-ic { color: #0F1211; }

/* doctor picker */
.doc-picker { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.doc-opt { position: relative; cursor: pointer; }
.doc-opt input { position: absolute; opacity: 0; inset: 0; }
.doc-opt > span {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid rgba(46, 90, 66, 0.15);
  font-size: 0.8rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  color: #0F1211;
}
.doc-opt:hover > span { border-color: #2E5A42; }
.doc-opt input:checked + span {
  background: #0F1211;
  border-color: #0F1211;
  color: #FBF9F4;
}

/* date picker */
.date-picker {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
}
.date-opt { position: relative; cursor: pointer; }
.date-opt input { position: absolute; opacity: 0; inset: 0; }
.date-opt > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.55rem 0.2rem;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1.5px solid rgba(46, 90, 66, 0.15);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.date-opt .date-dow { font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.15em; color: #6E7A72; }
.date-opt .date-day {
  margin-top: 0.2rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.2rem;
  color: #0F1211;
  font-weight: 500;
}
.date-opt:hover > span { border-color: #2E5A42; }
.date-opt input:checked + span {
  background: #0F1211;
  border-color: #0F1211;
}
.date-opt input:checked + span .date-dow,
.date-opt input:checked + span .date-day { color: #FBF9F4; }
.date-opt--closed > span { opacity: 0.4; pointer-events: none; }
.date-opt--closed input { pointer-events: none; }

/* time picker */
.time-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}
@media (min-width: 520px) { .time-picker { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.time-opt { position: relative; cursor: pointer; }
.time-opt input { position: absolute; opacity: 0; inset: 0; }
.time-opt > span {
  display: block;
  padding: 0.55rem 0;
  text-align: center;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1.5px solid rgba(46, 90, 66, 0.15);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: #0F1211;
  transition: all 0.2s ease;
}
.time-opt:hover > span { border-color: #2E5A42; }
.time-opt input:checked + span {
  background: #7ED1AA;
  border-color: #2E5A42;
  color: #0F1211;
}
.time-opt--busy > span {
  opacity: 0.35;
  text-decoration: line-through;
  pointer-events: none;
}
.time-opt--busy input { pointer-events: none; }

/* field */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field > span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #6E7A72;
}
.field input, .field textarea {
  width: 100%;
  border: 1.5px solid rgba(46, 90, 66, 0.18);
  background: #FFFFFF;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #0F1211;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: #2E5A42;
  background: #F8FBF9;
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #E86A58; background: #FFF5F2; }
.field-error {
  display: block;
  min-height: 1rem;
  margin-top: 0.25rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-style: normal;
  color: #E86A58;
  transition: opacity 0.2s ease;
}
.field-error:empty { opacity: 0; }

.drawer-foot {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(46, 90, 66, 0.15);
}

/* drawer success */
.drawer-success {
  padding: 2rem 0 1rem;
  animation: fade-in 0.35s ease;
}
.success-burst {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}
.success-check { width: 120px; height: 120px; }
.success-check circle {
  transform-origin: center;
  animation: success-scale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.success-check .check-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: success-check 0.6s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes success-scale {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
@keyframes success-check {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}

/* magnetic */
[data-magnetic] {
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal-rot, .reveal-up { opacity: 1 !important; transform: none !important; }
  .orb, .cursor-glow { display: none; }
  .badge-ring > svg, .visit-pin, .fab-ring, .pulse-dot { animation: none; }
}
