/* ==========================================================================
   Louisa Asamoah Mensah, PMHNP-BC — Practice Website
   Calm, professional healthcare aesthetic: soft blue / teal / sage green
   ========================================================================== */

:root {
  --color-primary: #7a1f2b;         /* burgundy (from logo "R") */
  --color-primary-dark: #591620;
  --color-primary-light: #f5e9ea;
  --color-accent: #b3862c;          /* gold (from logo "A" / wordmark) */
  --color-accent-dark: #8f6a1f;
  --color-forest: #2f4a34;          /* forest green (from logo stethoscope/leaves) */
  --color-forest-dark: #22361f;
  --color-bg: #fbfaf7;              /* off-white */
  --color-bg-alt: #f4f1ea;
  --color-text: #2a2420;
  --color-text-muted: #6b6259;
  --color-border: #e4ddd0;
  --color-focus: #591620;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(42, 36, 32, 0.08);
  --shadow-md: 0 4px 16px rgba(42, 36, 32, 0.10);
  --max-width: 1140px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary-dark); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.25; margin-top: 0; color: var(--color-primary-dark); }
p { margin-top: 0; }

/* Visible focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}
.btn-outline:hover { background: var(--color-primary-light); }
.btn-header {
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}
.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo-img {
  height: 42px;
  width: auto;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary-dark);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: fixed;
    inset: 0 0 auto auto;
    top: 68px;
    right: 0;
    width: min(78vw, 320px);
    height: calc(100vh - 68px);
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    width: 100%;
  }
  .nav-links a { width: 100%; display: block; }
  .btn-header { width: 100%; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-bg) 100%);
  padding: 4.5rem 0 4rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero-inner > div {
  min-width: 0;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 1rem;
}
.hero p.tagline {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 42ch;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { order: -1; }
}

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--color-bg-alt); }
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-heading p { color: var(--color-text-muted); }

/* ---------- Who we are ---------- */
.welcome-text {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.08rem;
  color: var(--color-text-muted);
}

/* ---------- Vision / Mission cards ---------- */
.two-col-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
@media (max-width: 700px) {
  .two-col-cards { grid-template-columns: 1fr; }
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ---------- Conditions list ---------- */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.condition-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.condition-link:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.condition-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ---------- Services cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-card h3 { font-size: 1.15rem; }
.service-card p { color: var(--color-text-muted); margin-bottom: 0; }

/* ---------- Core values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.value-card p { color: var(--color-text-muted); margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Payment / policy ---------- */
.info-block {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}
.info-block.policy { border-left-color: var(--color-accent-dark); }
.info-block h3 { margin-bottom: 0.5rem; }
.info-block ul { list-style: disc; padding-left: 1.25rem; margin-top: 0.75rem; }
.info-block li { margin-bottom: 0.4rem; color: var(--color-text-muted); }

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.about-grid > * {
  min-width: 0;
}
@media (max-width: 780px) {
  .about-grid { grid-template-columns: 1fr; }
}
.headshot-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 4;
  background: var(--color-bg-alt);
  position: sticky;
  top: 100px;
}
.headshot-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--color-text);
}
.form-note {
  background: var(--color-primary-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
}
.form-success {
  display: none;
  background: #eaf5ea;
  color: #2e5c2e;
  border: 1px solid #b9dcb9;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-top: 1rem;
}
.form-success.is-visible { display: block; }

.contact-info-list { margin-bottom: 2rem; }
.contact-info-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}
.contact-info-list strong { color: var(--color-text); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}
.hours-table th {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}
.hours-table tr:last-child td { border-bottom: none; }

/* ---------- Resources page ---------- */
.resource-list { display: flex; flex-direction: column; gap: 1.25rem; }
.resource-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
}
.resource-card h3 { margin-bottom: 0.4rem; }
.resource-card a { font-weight: 600; }
.resource-card p { color: var(--color-text-muted); margin-top: 0.4rem; margin-bottom: 0; }
.resource-disclaimer {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.crisis-banner {
  background: #fdeeee;
  border: 1px solid #f3caca;
  color: #7a2b2b;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
}
.crisis-banner a { color: #7a2b2b; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-forest-dark);
  color: #e7ece3;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-grid p, .footer-grid a {
  color: #cddbc7;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 0.75rem;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-contact li { margin-bottom: 0.6rem; color: #cddbc7; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
}
.social-links a:hover { background: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #a9bfa0;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
