/* ============================================================
   DR. JAIME BERCUSON, PSYD — WEBSITE STYLESHEET v2
   Typography: DM Sans (clean, modern, no italics)
   Palette: Deep Plum + Warm White (premium, converts well)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors */
  --bg:             #FAFAF8;
  --bg-alt:         #F2EBF5;
  --bg-warm:        #F7F0EC;
  --bg-plum-pale:   #EDE6F3;
  --white:          #FFFFFF;
  --plum:           #4A3454;
  --plum-dark:      #311F3E;
  --plum-mid:       #6B4E7D;
  --plum-light:     #A47FB8;
  --plum-pale:      #EDE6F3;
  --rose:           #C4A0B2;
  --rose-light:     #F5EBF1;
  --text:           #1A1719;
  --text-muted:     #5C5268;
  --text-light:     #9990A0;
  --border:         #E0D8E8;
  --border-light:   #EDE8F2;
  --error:          #B5324A;

  /* Typography */
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-xxl: 6.5rem;

  /* Layout */
  --max-w:    1140px;
  --nav-h:    76px;
  --radius:   6px;
  --radius-lg: 12px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 6px rgba(74, 52, 84, 0.07);
  --shadow-md: 0 4px 20px rgba(74, 52, 84, 0.10);
  --shadow-lg: 0 8px 40px rgba(74, 52, 84, 0.14);

  --ease: 0.22s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--plum-dark); }
ul, ol { list-style: none; }
p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* --- Type Scale --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.18;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
h4 { font-size: 1.2rem; }

.lead {
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-muted);
}

.eyebrow {
  display: block;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-mid);
  margin-bottom: 0.8rem;
}

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}
.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}
.section       { padding: var(--sp-xxl) 0; }
.section--sm   { padding: var(--sp-xl) 0; }
.section--bg   { background: var(--bg); }
.section--white { background: var(--white); }
.section--alt  { background: var(--bg-alt); }
.section--warm { background: var(--bg-warm); }
.section--dark {
  background: var(--plum-dark);
  color: var(--white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark .eyebrow { color: var(--white); }
.section--dark .eyebrow { color: var(--plum-light); }
.section--dark .lead    { color: rgba(255,255,255,0.75); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xl); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-md); }

.text-center { text-align: center; }

/* --- Navigation --- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--border); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: var(--sp-lg);
}

/* Wordmark */
.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  white-space: nowrap;
  text-decoration: none;
}
.nav__logo-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color var(--ease);
}
.nav__logo-suffix {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.nav__logo:hover .nav__logo-name { color: var(--plum); }

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex: 1;
  justify-content: center;
}
.nav__links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  padding: 0.25rem 0;
  position: relative;
  transition: color var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--plum);
  transition: width var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--plum); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

/* CTA area */
.nav__right {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  white-space: nowrap;
}
.nav__phone {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
  transition: color var(--ease);
}
.nav__phone:hover { color: var(--plum); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 12px;
  margin: -12px -8px -12px 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-md) var(--sp-md) var(--sp-xl);
  flex-direction: column;
  gap: 0;
  z-index: 999;
  box-shadow: var(--shadow-md);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  padding: 1rem 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover, .nav__mobile a:active { color: var(--plum); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.85rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-xl);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--ease);
}
.btn--primary {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}
.btn--primary:hover {
  background: var(--plum-dark);
  border-color: var(--plum-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74, 52, 84, 0.28);
}
.btn--outline {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
}
.btn--outline:hover {
  background: var(--plum);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--plum);
  color: var(--plum);
}
.btn--white {
  background: var(--white);
  color: var(--plum-dark);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--bg);
  border-color: var(--bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  color: var(--white);
}
.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 0.95rem;
}
.btn--sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.8rem;
}

/* --- Crisis Banner --- */
.crisis-banner {
  background: var(--plum-dark);
  color: rgba(255,255,255,0.82);
  text-align: center;
  padding: 8px var(--sp-md);
  font-size: 0.78rem;
  line-height: 1.5;
}
.crisis-banner a { color: var(--plum-light); font-weight: 600; }
.crisis-banner a:hover { color: var(--white); }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--plum);
  color: white;
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  font-weight: 600;
  font-size: 0.875rem;
}
.skip-link:focus { top: 0; }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: var(--sp-xl);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
/* hero::after accent removed — replaced by hero background image in index.html */
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-xl);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--plum-pale);
  color: var(--plum);
  border-radius: var(--radius-xl);
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}
.hero__headline {
  font-size: clamp(2.6rem, 5.2vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--sp-md);
}
.hero__headline span {
  color: var(--plum);
}
.hero__sub {
  font-size: 1.1rem;
  line-height: 1.78;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: var(--sp-lg);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  align-items: center;
  margin-bottom: var(--sp-lg);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}
.hero__trust-check {
  width: 16px;
  height: 16px;
  background: var(--plum);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__trust-check svg {
  width: 9px;
  height: 9px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Photo card */
.hero__photo-wrap { position: relative; }
.hero__photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--bg-alt) 0%, var(--plum-pale) 60%, var(--bg-warm) 100%);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero__photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: var(--sp-md);
  background: linear-gradient(160deg, var(--plum-pale) 0%, var(--bg-alt) 50%, var(--plum-pale) 100%);
}
.photo-placeholder-label {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  border: 1px solid var(--border-light);
}
.hero__stat-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-sm) var(--sp-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  min-width: 180px;
}
.hero__stat-badge-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}
.hero__stat-badge-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* --- Credential Bar --- */
.credential-bar {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--sp-md) 0;
}
.credential-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xl);
  flex-wrap: wrap;
}
.cred-item {
  text-align: center;
}
.cred-item__val {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--plum);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}
.cred-item__label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-top: 3px;
}
.cred-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* --- Pain Points --- */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: var(--sp-lg);
}
.pain-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-md) var(--sp-md);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  transition: border-color var(--ease), box-shadow var(--ease);
  position: relative;
  padding-left: calc(var(--sp-md) + 12px);
}
.pain-card::before {
  content: '';
  position: absolute;
  left: var(--sp-md);
  top: calc(var(--sp-md) + 6px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--plum-light);
  flex-shrink: 0;
}
.pain-card:hover {
  border-color: var(--plum-light);
  box-shadow: var(--shadow-sm);
}

/* --- Service Cards --- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  display: block;
  text-decoration: none;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--plum-light);
}
.service-card__marker {
  width: 36px;
  height: 3px;
  background: var(--plum);
  border-radius: 2px;
  margin-bottom: var(--sp-md);
}
.service-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.service-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
}
.service-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--plum);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.service-card__link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--ease);
}
.service-card:hover .service-card__link svg { transform: translateX(3px); }

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
}
.step { text-align: center; }
.step__num {
  width: 48px;
  height: 48px;
  background: var(--plum-pale);
  color: var(--plum);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto var(--sp-md);
  letter-spacing: -0.02em;
}
.step__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.step__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* --- About Block --- */
.about-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-xxl);
  align-items: center;
}
.about-photo {
  position: relative;
}
.about-photo__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--bg-alt), var(--plum-pale));
  box-shadow: var(--shadow-lg);
}
.about-photo__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.about-photo__tag {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--plum);
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: var(--shadow-sm);
}
.about-photo__tag strong { color: white; font-weight: 700; }

/* --- Tags / Pills --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--plum-pale);
  color: var(--plum-dark);
  border-radius: var(--radius-xl);
  padding: 0.28rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.geo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 0.28rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* --- FAQ --- */
.faq {
  max-width: 740px;
  margin: var(--sp-xl) auto 0;
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--ease);
  letter-spacing: -0.01em;
}
.faq__q:hover { color: var(--plum); }
.faq__icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--ease);
  color: var(--text-light);
}
.faq__icon svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  transition: transform var(--ease);
}
.faq__item.open .faq__icon {
  background: var(--plum);
  border-color: var(--plum);
  color: white;
}
.faq__item.open .faq__icon svg { transform: rotate(45deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq__item.open .faq__answer {
  max-height: 600px;
  padding-bottom: var(--sp-md);
}
.faq__answer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--plum-dark);
  text-align: center;
  padding: var(--sp-xxl) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(164,127,184,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(196,160,178,0.1) 0%, transparent 50%);
}
.cta-section__inner { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: var(--sp-md); }
.cta-section p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto var(--sp-lg);
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

/* --- Page Hero (Interior) --- */
.page-hero {
  padding: calc(var(--nav-h) + var(--sp-xl)) 0 var(--sp-xl);
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .lead { max-width: 600px; }

/* --- Info Boxes --- */
.info-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--plum);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-md);
  display: flex;
  gap: var(--sp-md);
}
.info-box--plain {
  border-left-width: 1px;
  border-radius: var(--radius);
}
.info-box p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.info-box p strong { color: var(--text); }

/* --- Highlight Box --- */
.highlight-box {
  background: var(--plum-pale);
  border-radius: var(--radius-lg);
  padding: var(--sp-md) var(--sp-lg);
  margin: var(--sp-lg) 0;
}
.highlight-box p {
  color: var(--plum-dark);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
}

/* --- Disclaimer --- */
.disclaimer {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--sp-md);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: var(--sp-md) 0;
}
.disclaimer strong { color: var(--text); }

/* --- Pricing Cards --- */
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  text-align: center;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.pricing-card.featured {
  border-color: var(--plum);
  box-shadow: var(--shadow-md);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Common';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--plum);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.9rem;
  border-radius: var(--radius-xl);
}
.pricing-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.pricing-card__price {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--plum);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0.75rem 0;
}
.pricing-card__price sup { font-size: 1.3rem; vertical-align: super; }
.pricing-card__period {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: var(--sp-md);
}
.pricing-card__features {
  text-align: left;
  margin: var(--sp-md) 0;
}
.pricing-card__features li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.pricing-card__features li svg {
  width: 14px;
  height: 14px;
  stroke: var(--plum);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- Contact Form --- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.form-group { margin-bottom: var(--sp-md); }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(74, 52, 84, 0.1);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-sm); }
.form-note { font-size: 0.77rem; color: var(--text-light); margin-top: 0.3rem; }
.form-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: var(--sp-sm);
}
.form-consent input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--plum);
}
.form-consent label {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
}

/* --- Testimonial --- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.testimonial__quote {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: var(--sp-md);
  position: relative;
  padding: 0 var(--sp-md);
}
.testimonial__quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--plum-pale);
  line-height: 0;
  vertical-align: -1.5rem;
  margin-right: 0.1rem;
  font-weight: 700;
}
.testimonial__attr {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

/* --- Footer --- */
.site-footer {
  background: var(--plum-dark);
  color: rgba(255,255,255,0.65);
  padding: var(--sp-xxl) 0 var(--sp-lg);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}
.footer__brand-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}
.footer__brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-md);
}
.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-md);
}
.footer__contact a {
  color: var(--plum-light);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.25rem;
  transition: color var(--ease);
}
.footer__contact a:hover { color: var(--white); }
.footer__col h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-sm);
  font-family: var(--font);
}
.footer__col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  display: block;
  padding: 0.2rem 0;
  transition: color var(--ease);
}
.footer__col ul li a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-md);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}
.footer__licenses {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.9;
}
.footer__legal {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}
.footer__legal a {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--ease);
}
.footer__legal a:hover { color: var(--white); }
.footer__disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.75;
  margin-top: var(--sp-md);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--sp-md);
}

/* --- List Items with SVG check --- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.check-list li svg {
  width: 16px;
  height: 16px;
  stroke: var(--plum);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-list li.no svg { stroke: var(--error); }

/* --- Feature Panel --- */
.feature-panel {
  background: var(--plum-pale);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
}
.feature-panel h3 {
  margin-bottom: var(--sp-md);
  font-size: 1.15rem;
}

/* --- Spacing Utilities --- */
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.text-plum   { color: var(--plum); }
.text-muted  { color: var(--text-muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* --- Legal Page --- */
.legal-nav {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-md);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.legal-nav h5 { margin-bottom: var(--sp-sm); color: var(--text); }
.legal-nav ul { display: flex; flex-direction: column; gap: 0.3rem; }
.legal-nav a { font-size: 0.85rem; color: var(--text-muted); padding: 0.2rem 0; display: block; }
.legal-nav a:hover { color: var(--plum); }
.legal-content { font-size: 0.92rem; line-height: 1.85; color: var(--text-muted); }
.legal-content h2 {
  font-size: 1.6rem; color: var(--text);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: var(--sp-sm);
  margin-bottom: var(--sp-md);
  margin-top: var(--sp-xxl);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; color: var(--text); margin: var(--sp-lg) 0 var(--sp-xs); }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { margin-bottom: 1rem; padding-left: 1.25rem; }
.legal-content li { margin-bottom: 0.35rem; list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-content strong { color: var(--text); }
.last-updated { font-size: 0.78rem; color: var(--text-light); margin-bottom: var(--sp-md); }
.legal-important {
  background: var(--plum-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-md);
  margin: var(--sp-md) 0;
  font-size: 0.88rem;
  color: var(--plum-dark);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root {
    --sp-xxl: 4.5rem;
    --sp-xl: 3rem;
  }

  /* Navigation: show hamburger, hide desktop links */
  .nav__links, .nav__phone, .nav__right .btn { display: none; }
  .nav__hamburger { display: flex; }
  .nav__right { gap: 0.5rem; }

  /* Hero */
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 32px); padding-bottom: var(--sp-lg); }
  .hero::after { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .hero__photo-wrap { order: -1; max-width: 340px; margin: 0 auto; }
  .hero__photo-card { aspect-ratio: 4/3; }
  .hero__stat-badge { bottom: -12px; left: 12px; }

  /* Grids collapse to single column */
  .grid-2 { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: var(--sp-md); }
  .about-block { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .about-photo { max-width: 300px; margin: 0 auto; }
  .pain-grid { grid-template-columns: 1fr; }

  /* Override inline grid styles */
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr 1fr !important; }
  [style*="grid-template-columns: repeat(4"] { grid-template-columns: 1fr 1fr !important; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
  .footer__bottom { flex-direction: column; }

  /* Credential bar */
  .credential-bar__inner { gap: var(--sp-md); }
  .cred-divider { display: none; }

  /* CTA buttons stack */
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 340px; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: var(--sp-lg); }

  /* iOS Safari: fixed backgrounds don't work */
  html, body { background-attachment: scroll !important; }

  /* Sections breathe a bit less */
  .section { padding: var(--sp-xl) 0; }
  .cta-section { padding: var(--sp-xl) 0; }
}

@media (max-width: 640px) {
  :root {
    --sp-xxl: 3.5rem;
    --sp-xl: 2.5rem;
    --sp-lg: 2rem;
  }

  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  /* Buttons go full-width */
  .btn--lg { width: 100%; max-width: 340px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }

  /* Footer single column */
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-md); }

  /* Container tighter padding */
  .container { padding: 0 1.25rem; }
  .container--narrow { padding: 0 1.25rem; }

  /* 4-col grids to single */
  [style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(4"] { grid-template-columns: 1fr !important; }

  /* Testimonials, pricing cards etc. */
  .testimonial { padding: var(--sp-lg); }
  .testimonial__quote { font-size: 1.05rem; padding: 0 var(--sp-xs); }

  /* Prevent horizontal scroll */
  body { overflow-x: hidden; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }

  .container { padding: 0 1rem; }
  .container--narrow { padding: 0 1rem; }

  /* Form inputs larger for touch */
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }
}

/* --- Accessibility --- */
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }

/* --- Cookie Consent Banner --- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(28, 16, 25, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.25rem 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  border-top: 1px solid rgba(196,168,216,0.15);
}
.cookie-consent.show { display: flex; }
.cookie-consent__text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 640px;
  flex: 1 1 320px;
}
.cookie-consent__text a {
  color: #C4A8D8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent__text a:hover { color: #fff; }
.cookie-consent__actions {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}
.cookie-consent__btn {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 100px;
  padding: 0.6rem 1.35rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.cookie-consent__btn--accept {
  background: #4A3454;
  color: #fff;
}
.cookie-consent__btn--accept:hover {
  background: #5E4270;
  box-shadow: 0 4px 16px rgba(74,52,84,0.35);
}
.cookie-consent__btn--decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
}
.cookie-consent__btn--decline:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.cookie-consent__btn--settings {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: none;
  font-size: 0.78rem;
  padding: 0.6rem 0.75rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent__btn--settings:hover { color: rgba(255,255,255,0.8); }

@media (max-width: 640px) {
  .cookie-consent {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.75rem;
    max-height: 50vh;
    overflow-y: auto;
  }
  .cookie-consent__text {
    font-size: 0.78rem;
    line-height: 1.5;
    flex: none;
    max-width: none;
  }
  .cookie-consent__actions {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
  }
  .cookie-consent__btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
  }
}

@media print {
  .site-header, .nav__mobile, .site-footer, .btn, .cta-section, .cookie-consent { display: none; }
  body { font-size: 11pt; background: white; }
}
