/* ==========================================================================
   Armbrust Psychology, PLLC — Marketing Site Stylesheet
   Single shared stylesheet for all pages.
   Theme is driven by CSS variables below — change colors/fonts in one place.
   ========================================================================== */

:root {
  /* Brand palette — calm, warm, trustworthy */
  --color-bg:        #faf7f2;  /* warm off-white page background */
  --color-surface:   #ffffff;  /* cards, nav */
  --color-surface-2: #f1ece3;  /* subtle section banding */
  --color-primary:   #2f5d52;  /* deep sage-teal */
  --color-primary-d: #244840;  /* darker teal for hovers */
  --color-accent:    #c98a5e;  /* warm terracotta accent */
  --color-accent-d:  #b3744a;
  --color-text:      #2b2f2d;  /* near-black slate */
  --color-muted:     #5a6b66;  /* muted body / captions */
  --color-line:      #e3ddd2;  /* hairlines, borders */

  /* Typography */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1080px;
  --maxw-narrow: 760px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(36, 72, 64, 0.08);
  --shadow-sm: 0 4px 14px rgba(36, 72, 64, 0.07);
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 18px;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-d); text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--color-text); line-height: 1.18; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .6em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 0 0 .4em; }
p { margin: 0 0 1.1em; }

/* ----- Layout helpers ----- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow   { max-width: var(--maxw-narrow); margin-left: auto; margin-right: auto; }
.section  { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--color-surface-2); }
.section--primary { background: var(--color-primary); color: #f3efe8; }
.section--primary h1,
.section--primary h2,
.section--primary h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-d);
  margin: 0 0 .8em;
}
.lead { font-size: 1.18rem; color: var(--color-muted); }

/* ----- Buttons ----- */
.btn {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  font-size: 1rem; padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: all .18s ease; text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--ghost:hover { background: var(--color-primary); color: #fff; }
.btn--light { background: #fff; color: var(--color-primary); }
.btn--light:hover { background: #f0ece4; color: var(--color-primary-d); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ----- Header / Nav ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { font-family: var(--font-head); font-weight: 600; font-size: 1.22rem; color: var(--color-primary); }
.brand:hover { text-decoration: none; color: var(--color-primary-d); }
.brand span { color: var(--color-accent-d); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a,
.nav-links > li > span {
  display: inline-block; padding: 10px 14px; font-size: .98rem; font-weight: 500;
  color: var(--color-text); border-radius: 8px; cursor: pointer;
}
.nav-links > li > a:hover { background: var(--color-surface-2); text-decoration: none; }
.nav-cta { margin-left: 8px; }

/* Dropdown */
.has-drop { position: relative; }
.drop {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 6px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .16s ease;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop li a { display: block; padding: 9px 12px; border-radius: 7px; font-size: .95rem; color: var(--color-text); }
.drop li a:hover { background: var(--color-surface-2); text-decoration: none; }

/* Mobile menu toggle */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); margin: 5px 0; transition: .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; background: #fff; border-bottom: 1px solid var(--color-line);
    padding: 12px 16px 20px; gap: 2px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a, .nav-links > li > span { padding: 12px 10px; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
          border: 0; border-left: 2px solid var(--color-line); border-radius: 0; margin: 2px 0 6px 10px; }
  .nav-cta { margin: 8px 0 0; }
}

/* ----- Hero ----- */
.hero { padding: 84px 0 72px; }
.hero .lead { max-width: 620px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-card {
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
.hero-card h3 { margin-top: 0; }
.hero-card ul { margin: 0; padding-left: 1.1em; color: var(--color-muted); }
.hero-card li { margin-bottom: .5em; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ----- Cards / grids ----- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .card-link { font-weight: 600; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--color-surface-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  color: var(--color-primary); font-family: var(--font-head); font-weight: 600; font-size: 1.2rem;
}

/* ----- Steps / process ----- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { position: relative; padding: 18px 18px 18px 64px; background: #fff;
  border: 1px solid var(--color-line); border-radius: var(--radius-sm); counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-body);
}
.steps li strong { display: block; }

/* ----- Pill / badges ----- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 1.2em; list-style: none; }
.pill { background: #fff; border: 1px solid var(--color-line); border-radius: 999px;
  padding: 7px 15px; font-size: .9rem; color: var(--color-muted); font-weight: 500; }

/* ----- Callout / notes ----- */
.callout {
  background: #fff; border-left: 4px solid var(--color-accent); border-radius: var(--radius-sm);
  padding: 20px 24px; box-shadow: var(--shadow-sm); margin: 0 0 1.2em;
}
.callout--teal { border-left-color: var(--color-primary); }
.placeholder {
  background: #fff7ec; border: 1px dashed var(--color-accent); border-radius: 6px;
  padding: 1px 7px; font-family: var(--font-body); font-weight: 600; color: var(--color-accent-d);
  font-size: .95em; white-space: nowrap;
}

/* ----- Checklist ----- */
.check { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check li { position: relative; padding-left: 30px; margin-bottom: .65em; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--color-primary);
  font-weight: 700;
}

/* ----- FAQ accordion ----- */
.faq details {
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-sm);
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-family: var(--font-head); font-size: 1.1rem;
  padding: 14px 0; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--color-accent-d); }
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding-bottom: 14px; margin-top: -4px; color: var(--color-muted); }

/* ----- CTA band ----- */
.cta-band { background: var(--color-primary); color: #fff; border-radius: var(--radius); padding: 44px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e3df; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ----- Footer ----- */
.site-footer { background: #20342f; color: #cdd8d3; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #e6ede9; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 36px; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand { font-family: var(--font-head); font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #36504a; padding-top: 20px; color: #9fb1ab; font-size: .85rem; }
.footer-bottom .disclaimer { margin-bottom: 10px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ----- Misc ----- */
.muted { color: var(--color-muted); }
.hr { height: 1px; background: var(--color-line); border: 0; margin: 40px 0; }
.tag { display:inline-block; background: var(--color-surface-2); color: var(--color-primary);
  border-radius: 999px; padding: 5px 13px; font-size: .82rem; font-weight: 600; margin-bottom: 14px; }
.breadcrumb { font-size: .9rem; color: var(--color-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--color-muted); }
