/* =========================================================
   Heelex Wellness — shared service-page stylesheet
   Used by all /aesthetics, /peptides, /weight-loss, /prp pages
   Mocha + Coral + Cream palette, matched to index.html
   ========================================================= */
:root {
  --mocha:        #3D2E2A;
  --mocha-deep:   #2A1F1C;
  --mocha-soft:   #5A4540;
  --coral:        #D88660;
  --coral-deep:   #B86A48;
  --cream:        #F7EFE5;
  --cream-deep:   #ECE2D3;
  --line:         rgba(61, 46, 42, 0.12);
  --text:         #3D2E2A;
  --text-soft:    #6B5A55;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--coral-deep); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--mocha); }
img { max-width: 100%; height: auto; display: block; }

/* ===== Topbar ===== */
.topbar { background: var(--mocha); color: var(--cream); font-size: 0.82rem; text-align: center; padding: 0.55rem 1rem; letter-spacing: 0.04em; }
.topbar a { color: var(--cream); }
.topbar a:hover { color: var(--coral); }

/* ===== Header ===== */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { height: 64px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.primary-nav > a, .primary-nav .dropdown-trigger {
  color: var(--mocha); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.primary-nav a:hover, .dropdown-trigger:hover { color: var(--coral-deep); }

/* Dropdowns */
.nav-dropdown { position: relative; }
.dropdown-trigger { display: inline-flex; align-items: center; gap: 0.3rem; cursor: pointer; }
.dropdown-menu {
  position: absolute; top: calc(100% + 0.5rem); right: 0;
  background: var(--cream); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 30px -10px rgba(61, 46, 42, 0.25);
  padding: 0.5rem; min-width: 280px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s; z-index: 60;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.7rem 0.85rem; border-radius: 6px;
  letter-spacing: normal; text-transform: none;
}
.dropdown-menu a:hover { background: var(--cream-deep); color: var(--coral-deep); }
.dd-label { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--mocha); letter-spacing: 0.01em; }
.dd-sub { font-size: 0.78rem; color: var(--text-soft); font-weight: 400; letter-spacing: 0.02em; }
.dropdown-menu a:hover .dd-label { color: var(--coral-deep); }

/* ===== Header CTAs ===== */
.header-ctas { display: inline-flex; align-items: center; gap: 0.55rem; margin-left: 0.5rem; }
.phone-cta, .sms-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.05rem;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; border-radius: 9999px;
  border: 1.5px solid var(--coral); cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  text-decoration: none !important; white-space: nowrap;
}
.phone-cta { background: var(--coral); color: var(--cream) !important; }
.phone-cta:hover { background: var(--coral-deep); border-color: var(--coral-deep); color: var(--cream) !important; transform: translateY(-1px); }
.sms-cta { background: transparent; color: var(--coral-deep) !important; font: inherit; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; }
.sms-cta:hover { background: var(--coral-deep); color: var(--cream) !important; border-color: var(--coral-deep); transform: translateY(-1px); }
@media (max-width: 1024px) { .header-ctas { display: none; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.85rem;
  background: var(--coral); color: var(--cream) !important;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 9999px; border: 2px solid var(--coral); cursor: pointer;
  transition: all 0.2s ease; text-transform: uppercase;
  text-decoration: none !important;
}
.btn:hover { background: var(--coral-deep); border-color: var(--coral-deep); color: var(--cream) !important; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--mocha) !important; border-color: var(--mocha); }
.btn--outline:hover { background: var(--mocha); color: var(--cream) !important; }

/* ===== Service hero ===== */
.svc-hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  padding: 5rem 2rem 4rem;
}
.svc-hero-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.svc-eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral-deep); margin: 0 0 1rem;
}
.svc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 500;
  color: var(--mocha);
  line-height: 1.08;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}
.svc-hero .svc-lede {
  font-size: 1.15rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 680px;
}
.svc-crumb { text-align: center; font-size: 0.82rem; color: var(--text-soft); margin: 0 0 1.5rem; letter-spacing: 0.04em; }
.svc-crumb a { color: var(--coral-deep); }

/* ===== Service body content ===== */
.svc-body {
  background: var(--cream);
  padding: 4.5rem 2rem 4rem;
}
.svc-body-inner {
  max-width: 760px;
  margin: 0 auto;
}
.svc-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  color: var(--mocha);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 2.5rem 0 0.75rem;
}
.svc-body h2:first-child { margin-top: 0; }
.svc-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--mocha);
  margin: 1.75rem 0 0.5rem;
  letter-spacing: 0.01em;
}
.svc-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 1rem;
}
.svc-body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}
.svc-body li {
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.svc-body li strong { color: var(--mocha); font-weight: 600; }

/* ===== CTA band ===== */
.svc-cta-band {
  background: var(--mocha);
  color: var(--cream);
  padding: 4rem 2rem;
  text-align: center;
}
.svc-cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 500;
  color: var(--cream);
  margin: 0 0 1rem;
  line-height: 1.15;
}
.svc-cta-band p {
  color: rgba(247, 239, 229, 0.85);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 auto 2rem;
  max-width: 620px;
}
.svc-cta-row { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.svc-cta-band .btn--outline {
  color: var(--cream) !important;
  border-color: var(--cream);
}
.svc-cta-band .btn--outline:hover {
  background: var(--cream);
  color: var(--mocha) !important;
}

/* ===== References block ===== */
.svc-references {
  background: var(--cream-deep);
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--line);
}
.svc-references-inner { max-width: 760px; margin: 0 auto; }
.svc-references h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mocha);
  margin: 0 0 1rem;
}
.svc-references ol {
  margin: 0;
  padding-left: 1.25rem;
}
.svc-references li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 0.65rem;
}
.svc-references a {
  color: var(--coral-deep);
  word-break: break-word;
}
.svc-references a:hover { color: var(--mocha); text-decoration: underline; }

/* ===== Footer ===== */
.site-footer { background: var(--mocha-deep); color: var(--cream); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: rgba(247, 239, 229, 0.7); font-size: 0.92rem; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--coral); margin: 0 0 1rem; }
.footer-col p, .footer-col a { color: rgba(247, 239, 229, 0.85); font-size: 0.95rem; line-height: 1.7; display: block; margin: 0 0 0.3rem; }
.footer-col a:hover { color: var(--coral); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1.5px solid rgba(247, 239, 229, 0.3); border-radius: 9999px; color: var(--cream); margin: 0; }
.footer-social a:hover { background: var(--coral); border-color: var(--coral); }
.footer-bottom { max-width: 1200px; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(247, 239, 229, 0.12); color: rgba(247, 239, 229, 0.5); font-size: 0.82rem; text-align: center; }
.footer-bottom a { color: rgba(247, 239, 229, 0.7); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .primary-nav { display: none; }
}
@media (max-width: 768px) {
  .header-inner { padding: 0.85rem 1.25rem; }
  .brand img { height: 48px; }
  .svc-hero { padding: 3.5rem 1.25rem 3rem; }
  .svc-body { padding: 3rem 1.25rem; }
  .svc-cta-band { padding: 3rem 1.25rem; }
  .svc-references { padding: 2rem 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== Text Us modal ===== */
.text-us-modal { border: none; border-radius: 12px; padding: 0; max-width: 480px; width: calc(100% - 2rem); background: var(--cream); color: var(--text); box-shadow: 0 24px 60px rgba(26, 24, 20, 0.22), 0 8px 20px rgba(26, 24, 20, 0.12); }
.text-us-modal::backdrop { background: rgba(42, 31, 28, 0.55); backdrop-filter: blur(2px); }
.text-us-modal__form { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; gap: 0.95rem; font-family: var(--font-body); color: var(--text); }
.text-us-modal__honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.text-us-modal__header { display: flex; justify-content: space-between; align-items: center; margin: 0; }
.text-us-modal__header h2 { margin: 0; font-family: var(--font-display); font-size: 1.85rem; font-weight: 500; color: var(--mocha); letter-spacing: 0.01em; }
.text-us-modal__close { background: none; border: none; font-size: 1.85rem; line-height: 1; color: var(--text-soft); cursor: pointer; padding: 0 0.25rem; }
.text-us-modal__close:hover { color: var(--mocha); }
.text-us-modal__lead { margin: 0; color: var(--text-soft); font-size: 0.95rem; line-height: 1.5; }
.text-us-modal__form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.82rem; color: var(--mocha); font-weight: 600; letter-spacing: 0.03em; }
.text-us-modal__form input[type="text"], .text-us-modal__form input[type="tel"], .text-us-modal__form input[type="email"], .text-us-modal__form textarea {
  padding: 0.7rem 0.85rem; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 1rem; color: var(--text); background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.text-us-modal__form input:focus, .text-us-modal__form textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(216, 134, 96, 0.18); }
.text-us-modal__form .btn { margin-top: 0.4rem; width: 100%; justify-content: center; }
.text-us-modal__hint { margin: 0; font-size: 0.78rem; color: var(--text-soft); line-height: 1.45; }
.text-us-modal__optional { font-weight: 400; color: var(--text-soft); font-size: 0.75rem; }
.text-us-modal__consent { border: 1px solid var(--line); border-radius: 10px; padding: 0.85rem 1rem; background: var(--cream-deep); margin: 0; }
.text-us-modal__consent legend { padding: 0 0.4rem; font-size: 0.72rem; font-weight: 700; color: var(--mocha); text-transform: uppercase; letter-spacing: 0.08em; }
.text-us-modal__consent-label { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.5rem 0; cursor: pointer; line-height: 1.5; font-size: 0.78rem; color: var(--text-soft); font-weight: 400; }
.text-us-modal__consent-label input[type="radio"] { margin-top: 0.25rem; width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; accent-color: var(--coral); }
.text-us-modal__consent-label strong { font-weight: 600; color: var(--mocha); }
.text-us-modal__consent-label a { color: var(--coral-deep); text-decoration: underline; }
.text-us-modal__consent-label--divided { border-top: 1px dashed var(--line); margin-top: 0.25rem; padding-top: 0.65rem; }
.text-us-modal__consent-error { margin: 0.4rem 0 0; color: #a64036; font-size: 0.78rem; font-weight: 600; }
.text-us-modal__consent-no-notice { margin: 0.5rem 0 0; padding: 0.6rem 0.75rem; background: rgba(216, 134, 96, 0.15); border-left: 3px solid var(--coral); border-radius: 0 4px 4px 0; color: var(--mocha); font-size: 0.8rem; font-weight: 500; line-height: 1.45; }
.text-us-modal__consent-no-notice strong { font-weight: 700; }
