/* Solutions Psychiatry — shared stylesheet
   Hand-written, no frameworks, no external fonts. System font stacks only. */

:root {
  --navy: #102a43;
  --teal: #0d3b46;
  --teal-dark: #082a33;
  --teal-mid: #17607a;
  --gold: #c9a227;
  --gold-dark: #a8861c;
  --cream: #f7f5f0;
  --sand: #efe9dd;
  --ink: #24343d;
  --muted: #5b6d76;
  --line: #ddd5c4;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(16, 42, 67, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--teal);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--teal-mid); }
a:hover { color: var(--gold-dark); }

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Utility bar ---------- */
.topbar {
  background: var(--teal-dark);
  color: #e9e2cf;
  font-size: 0.82rem;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: 0.02em;
}
.topbar strong { color: var(--gold); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-name {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  color: var(--teal);
  font-weight: 700;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 3px;
}

/* ---------- Nav ---------- */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: 8px 11px;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--sand);
  color: var(--teal);
}
.main-nav a[aria-current="page"] {
  color: var(--teal);
  box-shadow: inset 0 -3px 0 var(--gold);
  border-radius: 6px 6px 0 0;
}
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 50;
  flex-direction: column;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: flex; }
.dropdown a { font-weight: 500; white-space: nowrap; }

.btn-book {
  background: var(--gold);
  color: var(--teal-dark) !important;
  font-weight: 700 !important;
  border-radius: 999px;
  padding: 10px 20px !important;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.btn-book:hover { background: var(--gold-dark); color: var(--white) !important; }

/* ---------- Hero / page heads ---------- */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px;
}
.hero .tagline {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--teal-mid);
  margin-bottom: 0.4em;
}
.hero h1 { font-size: 2.5rem; letter-spacing: 0.02em; }
.hero img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.page-head {
  background: var(--teal);
  color: var(--white);
  padding: 40px 0 34px;
}
.page-head h1 { color: var(--white); margin: 0; }
.page-head p { color: #cfdde2; margin: 8px 0 0; max-width: 720px; }
.banner-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

/* ---------- Sections & cards ---------- */
.section { padding: 46px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.35rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 22px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card .meta { color: var(--gold-dark); font-weight: 700; font-size: 0.92rem; margin-bottom: 10px; }
.card img.thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
}
.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: var(--teal-mid); }
.btn.gold { background: var(--gold); color: var(--teal-dark) !important; }
.btn.gold:hover { background: var(--gold-dark); color: var(--white) !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.link-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.link-strip:last-child { border-bottom: 1px solid var(--line); }
.link-strip .strip-label {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal);
  min-width: 190px;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.link-strip a { font-weight: 600; text-decoration: none; }
.link-strip a:hover { text-decoration: underline; }

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 9px 16px;
  font-weight: 600;
  color: var(--teal);
  box-shadow: var(--shadow);
}

.quote-band {
  background: var(--navy);
  color: #e9e2cf;
  text-align: center;
  padding: 52px 20px;
}
.quote-band blockquote {
  margin: 0 auto;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
}
.quote-band cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  color: var(--gold);
}

/* ---------- FAQ accordion ---------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--teal);
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--gold-dark);
  font-size: 1.4rem;
  line-height: 1;
}
.faq-item[open ] summary::after { content: "–"; }
.faq-item .faq-num { color: var(--gold-dark); font-size: 0.95rem; letter-spacing: 0.1em; }
.faq-item .faq-body { padding: 0 22px 20px; }
.faq-item .faq-body ul { margin: 0; padding-left: 22px; columns: 2; column-gap: 40px; }
.faq-item .faq-body li { margin-bottom: 5px; break-inside: avoid; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
form .field { margin-bottom: 14px; }
form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--teal);
  margin-bottom: 5px;
}
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select,
form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.98rem;
  background: var(--white);
  color: var(--ink);
}
form textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.phone-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.location-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.location-card h3 { margin-bottom: 4px; letter-spacing: 0.08em; }
.location-card p { margin: 0; color: var(--muted); font-size: 0.9rem; text-transform: lowercase; }

/* ---------- Resource / crisis list ---------- */
.resource-list { list-style: none; margin: 0; padding: 0; }
.resource-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.resource-list .r-name {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  display: block;
}
.resource-list .r-note { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-dark);
  color: #cfdde2;
  padding: 46px 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.site-footer h2, .site-footer h3 { color: var(--white); }
.site-footer .footer-logo { width: 120px; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #e9e2cf; text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-brand-name {
  font-family: Georgia, "Times New Roman", Times, serif;
  letter-spacing: 0.14em;
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 700;
}
.copyright {
  border-top: 1px solid rgba(233, 226, 207, 0.25);
  margin-top: 34px;
  padding-top: 18px;
  text-align: center;
  font-size: 0.88rem;
  color: #9fb4bc;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner, .two-col, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .header-inner { justify-content: center; }
  .brand { margin-right: 0; }
  .main-nav ul { justify-content: center; }
  .faq-item .faq-body ul { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- Crisis resources (user-approved addition, 2026-10-02) ---------- */
.crisis-alert {
  background: #8c2323;
  color: #ffffff;
  text-align: center;
  padding: 28px 20px;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", Times, serif;
}
.crisis-alert a { color: #ffd964; text-decoration: underline; }
.lifeline {
  background: var(--white);
  border: 3px solid #8c2323;
  border-radius: var(--radius);
  text-align: center;
  padding: 32px 20px 26px;
  box-shadow: var(--shadow);
}
.lifeline .big-number {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 4.4rem;
  font-weight: 700;
  color: #8c2323;
  line-height: 1;
  margin: 0 0 6px;
}
.lifeline .big-number a { color: inherit; text-decoration: none; }
.lifeline h2 { border: none; display: block; text-transform: none; letter-spacing: 0; }
.cards.spaced { margin-top: 22px; }
.card .big-action {
  font-size: 1.2rem;
  font-weight: 700;
  color: #8c2323;
}
