/* ==========================================================================
   The Health Admin Friend — stylesheet
   Soft luxury wellness aesthetic. Calm, spacious, elegant.
   ========================================================================== */

:root {
  /* Brand palette (exact) */
  --lavender:      #F2EAF8; /* primary background */
  --navy:          #1E2145; /* primary text / headings */
  --sage:          #A8B8A2; /* secondary accent */
  --sage-light:    #DCE6D7; /* secondary accent light */
  --body:          #4B4B4B; /* body text */
  --white:         #FFFFFF;

  /* Derived tones (kept within the calm, no-bright-colour rule) */
  --sage-deep:     #8a9c84; /* hover on sage buttons */
  --navy-soft:     #2c3060;
  --lavender-deep: #e6daf1;

  /* Soft, subtle shadows only */
  --shadow-soft:   0 10px 30px rgba(30, 33, 69, 0.06);
  --shadow-card:   0 14px 40px rgba(30, 33, 69, 0.08);

  --radius:        18px;
  --radius-lg:     28px;
  --radius-pill:   999px;

  --maxw:          1180px;
  --section-pad:   clamp(64px, 9vw, 120px);
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Lato', 'Open Sans', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.18;
  font-weight: 700;
}

/* Headings use the black italic treatment per brand */
.display {
  font-weight: 900;
  font-style: italic;
}

.script {
  font-family: 'Parisienne', cursive;
  font-style: normal;
  font-weight: 400;
  color: var(--sage-deep);
}

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 56px);
}

.eyebrow {
  font-family: 'Parisienne', cursive;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--sage-deep);
  margin-bottom: 6px;
}

.section-pad { padding: var(--section-pad) 0; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 15px 34px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }

.btn--primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--navy-soft); }

.btn--sage { background: var(--sage); color: var(--navy); box-shadow: var(--shadow-soft); }
.btn--sage:hover { background: var(--sage-deep); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--white); }

/* ── Navigation ────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 234, 248, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--lavender-deep);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(22px, 5vw, 56px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--sage);
  display: grid;
  place-items: center;
  font-size: 19px;
  flex-shrink: 0;
}

.brand__name {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-style: italic;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
  list-style: none;
}

.nav__links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav__links a:not(.btn):hover { color: var(--sage-deep); }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  background: var(--lavender);
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 110px) 0;
}

.hero__heading {
  font-size: clamp(40px, 6vw, 70px);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero__body {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--body);
  max-width: 520px;
  margin-bottom: 22px;
}

.hero__sub {
  font-family: 'Parisienne', cursive;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--sage-deep);
  margin-bottom: 34px;
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ── Why work with me ──────────────────────────────────────────────────── */
.why { background: var(--white); }

.why__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.why h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 10px; }

.why__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 36px;
}

.why__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 18px;
  color: var(--navy);
  background: var(--lavender);
  padding: 16px 22px;
  border-radius: var(--radius);
}

.why__list .ic {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.5;
}

.why__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ── Services ──────────────────────────────────────────────────────────── */
.services { background: var(--lavender); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 14px; }
.section-head p { color: var(--body); font-size: 18px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(30,33,69,0.12); }

.card--popular {
  border: 2px solid var(--sage);
  transform: translateY(-12px);
}
.card--popular:hover { transform: translateY(-18px); }

.card__tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: var(--navy);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.card h3 { font-size: 26px; margin-bottom: 4px; }
.card__meta { color: var(--sage-deep); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; }

.card__price {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-style: italic;
  font-size: 40px;
  color: var(--navy);
  margin: 16px 0 18px;
}

.card p { color: var(--body); margin-bottom: 28px; flex-grow: 1; }
.card .btn { width: 100%; }

/* ── Discovery call ────────────────────────────────────────────────────── */
.discovery { background: var(--sage-light); }

.discovery__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.discovery h2 { font-size: clamp(32px, 4.6vw, 54px); margin-bottom: 18px; }
.discovery p { font-size: 19px; color: var(--body); max-width: 480px; margin-bottom: 32px; }

.discovery__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ── Instagram ─────────────────────────────────────────────────────────── */
.instagram { background: var(--white); text-align: center; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 40px;
}

.ig-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.ig-grid img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
.ig-grid a:hover img { transform: scale(1.06); }

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact { background: var(--lavender); }

.contact__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(32px, 5vw, 60px);
  max-width: 760px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 15px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--navy);
  background: var(--lavender);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--sage);
}

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  display: none;
}
.form-status.is-success { display: block; background: var(--sage-light); color: var(--navy); }
.form-status.is-error   { display: block; background: #f7e0e0; color: #7a2b2b; }

.hidden-field { position: absolute; left: -9999px; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,0.82); }

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  padding: clamp(56px, 7vw, 80px) 0 0;
}

.footer__brand .brand__name { color: var(--white); }
.footer__brand p { font-size: 15px; margin-top: 16px; max-width: 360px; }

.footer h4 {
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 18px;
}

.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer a { color: rgba(255,255,255,0.78); text-decoration: none; transition: color 0.2s ease; }
.footer a:hover { color: var(--white); }

.footer__contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.footer__contact-btns .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}
.footer__contact-btns .chip:hover { background: rgba(255,255,255,0.16); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: clamp(40px, 6vw, 64px);
  padding: 26px 0 36px;
}
.footer__disclaimer { font-size: 13px; color: rgba(255,255,255,0.55); max-width: 880px; line-height: 1.7; }
.footer__copy { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 14px; }

/* ── Subpage hero (about / pricing) ────────────────────────────────────── */
.page-hero { background: var(--lavender); text-align: center; }
.page-hero h1 { font-size: clamp(36px, 5.5vw, 64px); margin-bottom: 14px; }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 19px; }

.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 18px; margin-bottom: 22px; }
.prose h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 40px 0 16px;
}
.prose h3 { font-size: 22px; margin: 28px 0 6px; color: var(--navy); }
.prose ol, .prose ul { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin-bottom: 12px; font-size: 18px; }
.prose .lead { font-size: 22px; color: var(--navy); font-family: 'Playfair Display', serif; font-style: italic; }

.price-block {
  background: var(--white);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}
.price-block strong { display: block; font-size: 20px; color: var(--navy); font-family: 'Playfair Display', serif; }
.price-block span { color: var(--sage-deep); font-weight: 700; }

.note {
  background: var(--sage-light);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 28px;
}
.note p { font-size: 16px; margin-bottom: 0; }

.center-cta { text-align: center; margin-top: 44px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__toggle { display: block; }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--lavender);
    border-bottom: 1px solid var(--lavender-deep);
    padding: 8px 22px 22px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav__links.is-open { max-height: 420px; }
  .nav__links li { padding: 6px 0; }
  .nav__links .btn { margin-top: 8px; }

  .hero__grid,
  .why__grid,
  .discovery__grid { grid-template-columns: 1fr; }

  .why__media { order: -1; }

  .cards { grid-template-columns: 1fr; gap: 36px; }
  .card--popular { transform: none; }
  .card--popular:hover { transform: translateY(-6px); }

  .ig-grid { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
