/* ============================================
   The Pelvic Floor OT — brand stylesheet
   One file styles every page of the site.
   Brand colors come from DESIGN.md.
   ============================================ */

/* ---- Brand colors, stored as variables so you
   only ever change them in one place ---- */
:root {
  --cream: #F9F4F0;       /* page background */
  --burgundy: #3D1A24;    /* headlines, buttons */
  --rose: #C4837A;        /* accents, footer text */
  --rose-light: #F2E4E1;  /* tinted panels */
  --ink: #2C1018;         /* body text */
}

/* ---- Reset: strip the browser's default spacing ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---- Base page styles ---- */
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: 'Archivo', sans-serif;
  color: var(--burgundy);
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }

/* Italic rose accent inside headlines — the "editorial" touch */
.accent {
  font-style: italic;
  color: var(--rose);
}

a { color: var(--burgundy); }

/* ---- Layout helper: keeps content centered with margins ---- */
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

/* ---- Header & navigation ---- */
header {
  background: var(--cream);
  border-bottom: 1px solid var(--rose-light);
  padding: 18px 0;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--burgundy);
  text-decoration: none;
  border-bottom: 2px solid var(--rose);
  padding-bottom: 2px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: .95rem;
}

nav a:hover { color: var(--rose); }

nav a.current { color: var(--rose); font-weight: 600; }

/* ---- Buttons: pill-shaped per the brand ---- */
.btn {
  display: inline-block;
  background: var(--burgundy);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 999px;   /* the pill shape */
}

.btn:hover { background: var(--rose); }

.btn-small { padding: 10px 22px; font-size: .95rem; }

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
}

.btn-outline:hover {
  background: var(--burgundy);
  color: var(--cream);
}

/* ---- Hero (big top section of a page) ---- */
.hero { padding: 96px 0; }

.hero p.lede {
  font-size: 1.2rem;
  max-width: 620px;
  margin: 1.2rem 0 2rem;
}

.eyebrow {
  display: inline-block;
  background: var(--rose-light);
  color: var(--burgundy);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

/* ---- Tinted panel sections ---- */
.panel { background: var(--rose-light); }

/* ---- Stat strip (the 1:1 / 1-2x / in-person row) ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 3rem;
  border-top: 1px solid var(--rose-light);
  padding-top: 2rem;
}

.stats .stat-number {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--burgundy);
}

.stats .stat-label { font-size: .95rem; }

/* ---- Numbered process steps ---- */
.step-number {
  display: inline-block;
  background: var(--burgundy);
  color: var(--cream);
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ---- Comparison: me vs. a typical clinic ---- */
.compare-good, .compare-bad { border-radius: 20px; padding: 32px 28px; }

.compare-good { background: var(--burgundy); }

.compare-good h3, .compare-good li, .compare-good p { color: var(--cream); }

.compare-bad { background: #fff; }

.compare-good ul, .compare-bad ul { list-style: none; margin-top: 1rem; }

.compare-good li, .compare-bad li { padding: 6px 0; }

.compare-good li::before { content: "✓  "; color: var(--rose); font-weight: 700; }

.compare-bad li::before { content: "✕  "; color: var(--rose); font-weight: 700; }

/* ---- Card grids (services, testimonials, links) ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
}

.card .price {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--burgundy);
  margin: .75rem 0;
}

.card ul { padding-left: 1.2rem; margin: .75rem 0; }

/* ---- Photo placeholders (swap for real <img> later) ---- */
.photo-placeholder {
  background: var(--rose-light);
  border: 2px dashed var(--rose);
  border-radius: 20px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--rose);
  font-weight: 600;
  padding: 24px;
  margin-top: 2rem;
}

img.photo {
  width: 100%;
  height: auto;
  border-radius: 20px;
  margin-top: 2rem;
  display: block;
}

/* ---- Two photos side by side (office shots) ---- */
.photo-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 2rem;
  max-width: 760px;
}

.photo-duo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}


/* ---- Testimonial cards ---- */
.testimonial {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
}

.testimonial .who {
  color: var(--rose);
  font-weight: 600;
  margin-top: 1rem;
}

/* ---- Booking embed ---- */
.booking-frame {
  width: 100%;
  min-height: 750px;
  border: none;
  border-radius: 20px;
  background: #fff;
  margin-top: 2rem;
}

/* ---- Call-to-action band ---- */
.cta-band {
  background: var(--burgundy);
  text-align: center;
  border-radius: 24px;
  padding: 64px 32px;
}

.cta-band h2 { color: var(--cream); }

.cta-band p { color: var(--rose-light); max-width: 560px; margin: 1rem auto 2rem; }

.cta-band .btn { background: var(--cream); color: var(--burgundy); }

.cta-band .btn:hover { background: var(--rose); color: var(--cream); }

/* ---- Footer ---- */
footer {
  background: var(--burgundy);
  color: var(--rose);
  text-align: center;
  padding: 48px 24px;
  margin-top: 72px;
}

footer .footer-logo {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  color: var(--cream);
  font-size: 1.1rem;
}

footer nav {
  justify-content: center;
  margin: 1.2rem 0;
}

footer nav a { color: var(--rose-light); font-size: .9rem; }

footer nav a:hover { color: var(--rose); }

footer .disclaimer {
  font-size: .8rem;
  color: var(--rose-light);
  opacity: .75;
  max-width: 640px;
  margin: 1rem auto 0;
}

/* ---- "Work With Me" dropdown menu ----
   Groups HYROX Athletes, Men's Health & Postpartum under one nav item.
   Opens on hover (desktop) or keyboard focus; on phones the items just
   show inline in the wrapping nav, like the rest of the links. */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle::after {
  content: "▾";
  font-size: .7em;
  margin-left: 4px;
}

/* invisible bridge so the menu doesn't vanish in the gap under the toggle */
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--cream);
  border: 1px solid var(--rose-light);
  border-radius: 14px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 12px 32px rgba(61, 26, 36, .14);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 20px;
  white-space: nowrap;
  color: var(--ink);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.current {
  background: var(--rose-light);
  color: var(--rose);
}

/* Phones: drop the floating menu and let the items flow inline in the nav */
@media (max-width: 768px) {
  .nav-dropdown,
  .nav-dropdown-menu { display: contents; }
  .nav-dropdown-toggle::after { content: ""; margin-left: 0; }
  .nav-dropdown-menu a {
    display: inline;
    padding: 0;
    font-size: .95rem;
    background: none;
  }
}

/* Dropdown toggle styled as a nav item even when it's a plain label
   (the "Location" toggle is a <span>, not a link, since it has no page of its own) */
.nav-dropdown-toggle {
  color: var(--ink);
  font-size: .95rem;
  cursor: pointer;
}
.nav-dropdown-toggle:hover { color: var(--rose); }
.nav-dropdown-toggle.current { color: var(--rose); font-weight: 600; }

/* ---- Newsletter / First Aid Kit signup ---- */
.signup-embed { max-width: 520px; margin: 0 auto; }

/* Footer signup card — a light card sitting at the top of the burgundy footer */
.footer-signup {
  background: var(--cream);
  border-radius: 20px;
  padding: 28px 24px;
  max-width: 540px;
  margin: 0 auto 2.5rem;
}
.footer-signup h3 { color: var(--burgundy); font-size: 1.15rem; }
.footer-signup p { color: var(--ink); font-size: .95rem; margin: .5rem 0 1rem; }
.footer-signup .signup-embed { max-width: 460px; }
