/* ============================================
   Free To Be Psychotherapy
   Unique design system — Thinglet Marketing
   Sleek, modern, warm, mobile-first
   ============================================ */

:root {
  /* Brand */
  --primary: #c81e78;
  --primary-dark: #a01860;
  --primary-soft: #f9e6f0;
  --secondary: #d544ba;
  --secondary-soft: #f7e8f5;

  /* Neutrals — warm, not cold gray */
  --ink: #2a2428;
  --ink-soft: #4a4248;
  --muted: #6b6368;
  --bg: #fdfbfc;
  --bg-alt: #f7f2f5;
  --surface: #ffffff;
  --border: #ebe4e8;
  --border-strong: #d9cfd5;

  /* Accents */
  --success: #2d8a5e;
  --focus-ring: rgba(200, 30, 120, 0.35);

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", "Georgia", "Times New Roman", serif;

  /* Spacing & radius */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(42, 36, 40, 0.06);
  --shadow-hover: 0 8px 32px rgba(200, 30, 120, 0.12);

  /* Layout */
  --max: 1120px;
  --header-h: 72px;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.35rem); margin-bottom: 0.75em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-bottom: 0.5em; }
p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.7; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 4.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 3rem 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.logo span { display: block; font-size: 0.7rem; font-family: var(--font-sans); font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-soft);
}
.nav-cta {
  margin-left: 0.5rem;
  background: var(--primary) !important;
  color: #fff !important;
  padding: 0.55rem 1.1rem !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; color: #fff !important; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--surface);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 99;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); }
.mobile-nav .nav-cta {
  margin-top: 1rem;
  text-align: center;
  background: var(--primary);
  color: #fff !important;
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  min-height: 48px;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(200, 30, 120, 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow-hover);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(165deg, var(--bg) 0%, var(--primary-soft) 55%, var(--secondary-soft) 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.hero h1 { margin-bottom: 1rem; }
.hero .lead { margin-bottom: 1.75rem; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-quote {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.hero-quote cite {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}
.hero-quote .tagline {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

/* Cards & grids */
.card-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }

/* Quote block (standalone) */
.quote-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.quote-block blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.quote-block cite {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

/* Services list */
.service-list { display: grid; gap: 1.25rem; }
.service-item {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
@media (min-width: 700px) {
  .service-item { grid-template-columns: 140px 1fr; align-items: start; gap: 1.5rem; }
}
.service-item .modality {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* FAQ */
.faq-list { display: grid; gap: 0.75rem; max-width: 720px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 400;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 1.35rem 1.25rem;
  color: var(--ink-soft);
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.form-group .hint {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.25rem;
}
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
  min-height: 48px;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
textarea.form-control { min-height: 140px; resize: vertical; }
.form-row {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 560px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.form-check input { margin-top: 0.3rem; width: 18px; height: 18px; accent-color: var(--primary); }
.form-actions { margin-top: 1.5rem; }

/* Contact info cards */
.contact-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.contact-card strong { display: block; margin-bottom: 0.35rem; color: var(--ink); }
.contact-card a { text-decoration: none; font-weight: 500; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #e8e0e4;
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand .logo { color: #fff; margin-bottom: 0.75rem; }
.footer-brand .logo span { color: #b8aeb4; }
.footer-brand p { color: #b8aeb4; font-size: 0.95rem; max-width: 32ch; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col a, .footer-col p {
  color: #b8aeb4;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #9a9096;
}
.footer-bottom a { color: #c9bfc5; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.powered {
  font-size: 0.85rem;
}
.powered a {
  color: #f0a8d0;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.powered a:hover { color: #fff; }

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Focus visible for a11y */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }
