/* Shared Soothe IV design system */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@700;900&display=swap');

:root {
  --soothe-green: #28a745;
  --soothe-green-hover: #228b3d;
  --soothe-green-pressed: #1e7a35;
  --soothe-green-light: #e8f5e9;
  --soothe-black: #000000;
  --soothe-white: #ffffff;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --border-light: #e6e6e6;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --surface-muted-2: #f3f4f6;
  --shadow-soft: 0 10px 24px rgba(0,0,0,0.08);
  --radius-xl: 32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--surface);
  color: var(--text-primary);
  margin: 0;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
}

.btn-primary,
.btn-green,
.booking-btn-primary,
.membership-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 9999px;
  background: var(--soothe-green);
  color: var(--soothe-white);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(40, 167, 69, 0.14);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-green:hover,
.booking-btn-primary:hover,
.membership-btn-primary:hover {
  background: var(--soothe-green-hover);
}

.btn-primary:active,
.btn-green:active,
.booking-btn-primary:active,
.membership-btn-primary:active {
  background: var(--soothe-green-pressed);
  transform: translateY(1px);
}

.btn-secondary,
.cta-button,
.booking-btn,
.membership-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 9999px;
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover,
.cta-button:hover,
.booking-btn:hover,
.membership-btn:hover {
  background: var(--surface-muted-2);
  transform: translateY(-1px);
}

.btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--soothe-green);
  border: 1px solid transparent;
  transition: color 0.2s ease, transform 0.2s ease;
}

.btn-tertiary:hover {
  color: var(--soothe-green-hover);
}

/* ================================================
   SITE HEADER & HAMBURGER NAV
   ================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--border-light);
}

.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo img { height: 36px; width: auto; display: block; }

.desktop-nav {
  display: none;
  gap: 1.75rem;
  align-items: center;
}

.desktop-nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.desktop-nav a:hover,
.desktop-nav a.active { color: var(--text-primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-book-btn {
  display: none;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border-light);
  padding: 0.75rem 1.25rem 1.25rem;
  gap: 0;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.is-open { display: flex; }

.mobile-menu-section {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu-section:last-of-type { border-bottom: none; }

.mobile-menu-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.15s;
}

.mobile-menu-link:hover { background: var(--surface-muted); }

.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.75rem;
}

.mobile-menu-cta .btn-primary,
.mobile-menu-cta .btn-secondary {
  width: 100%;
  justify-content: center;
  padding: 0.875rem 1.5rem;
}

/* Desktop nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown > a::after {
  content: '▾';
  font-size: 0.6875rem;
  opacity: 0.6;
  transition: transform 0.15s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  padding-top: 0.875rem;
  background: transparent;
  min-width: 260px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 200;
}

.nav-dropdown-menu::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0.875rem 0 0;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: -1;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary) !important;
  text-decoration: none;
  transition: background 0.12s;
}

.nav-dropdown-menu a:hover {
  background: var(--surface-muted);
  color: var(--text-primary) !important;
}

/* Desktop breakpoint */
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
  .nav-book-btn { display: inline-flex; }
  .hamburger-btn { display: none; }
  .mobile-menu { display: none !important; }
}

/* ================================================
   SMS LEAD MAGNET BANNER (above footer)
   ================================================ */
.sms-magnet {
  background: #ecfdf5;
  border-top: 1px solid #d1fae5;
  border-bottom: 1px solid #d1fae5;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.sms-magnet-inner { max-width: 42rem; margin: 0 auto; }
.sms-magnet-eyebrow {
  color: #047857;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.sms-magnet-headline {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.sms-magnet-sub {
  color: #475569;
  font-size: 0.875rem;
  margin: 0 auto 1.25rem;
  max-width: 28rem;
  line-height: 1.5;
}
.sms-magnet-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--soothe-green);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.15s;
}
.sms-magnet-cta:hover { background: var(--soothe-green-hover); }
.sms-magnet-cta svg { width: 1rem; height: 1rem; }
@media (min-width: 768px) {
  .sms-magnet-headline { font-size: 1.5rem; }
}

/* ================================================
   SAME-DAY PROMISE (small inline pill below CTAs)
   ================================================ */
.same-day-promise {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.same-day-promise svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--soothe-green);
  flex: 0 0 auto;
}

/* ================================================
   MOBILE STICKY BOTTOM CTA BAR
   ================================================ */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-top: 1px solid var(--border-light);
  padding: 0.625rem 1rem;
  padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
  gap: 0.625rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}

.sticky-bar-call {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-muted-2);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  text-decoration: none;
  transition: background 0.15s;
}

.sticky-bar-call:hover { background: var(--surface-muted); }

.sticky-bar-book {
  flex: 1;
  height: 48px;
  border-radius: 9999px;
  background: var(--soothe-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(40,167,69,0.28);
  transition: background 0.15s, transform 0.1s;
}

.sticky-bar-book:hover { background: var(--soothe-green-hover); }
.sticky-bar-book:active { transform: scale(0.97); }

@media (max-width: 767px) {
  .mobile-sticky-bar { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* Desktop: same bar shown as a centered floating pill */
@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    bottom: 1.25rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    max-width: 360px;
    border-radius: 9999px;
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 32px rgba(0,0,0,0.16);
    padding: 0.5rem;
  }
  .mobile-sticky-bar .sticky-bar-call { flex: 0 0 44px; height: 44px; }
  .mobile-sticky-bar .sticky-bar-book { height: 44px; padding: 0 1.5rem; }
}

/* ================================================
   PERSONA TILES (Homepage)
   ================================================ */
.persona-section {
  padding: 3.5rem 1.25rem;
  background: var(--surface-muted);
}

.persona-section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.persona-section-header p {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soothe-green);
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.persona-section-header h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: var(--text-primary);
}

.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  max-width: 56rem;
  margin: 0 auto;
}

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

.persona-tile {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem 1.125rem;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.persona-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.09);
}

.persona-tile-icon {
  font-size: 1.875rem;
  margin-bottom: 0.25rem;
  line-height: 1;
  color: var(--soothe-green);
}

.persona-tile-icon svg {
  width: 1.875rem;
  height: 1.875rem;
}

/* Generic utility: thin-stroke inline icons inherit text color by default */
.icon-line {
  display: inline-block;
  vertical-align: middle;
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  fill: none;
}

.persona-tile-label {
  font-size: 1rem;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.persona-tile-tagline {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.persona-tile-services {
  font-size: 0.75rem;
  color: var(--soothe-green);
  font-weight: 600;
  margin-top: 0.25rem;
}

.persona-tile-arrow {
  font-size: 0.8125rem;
  color: var(--soothe-green);
  font-weight: 700;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ================================================
   FAQ ACCORDION (details/summary)
   ================================================ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-accordion details {
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

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

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

.faq-accordion summary::after {
  content: '+';
  font-size: 1.375rem;
  font-weight: 300;
  flex-shrink: 0;
  color: var(--soothe-green);
  transition: transform 0.2s ease;
  line-height: 1;
}

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

.faq-accordion details[open] summary {
  border-bottom: 1px solid var(--border-light);
}

.faq-accordion .faq-body {
  padding: 1rem 1.5rem 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
}
