/* ---------------------------------------------------
   Speak Easy Clinics — shared stylesheet
--------------------------------------------------- */

:root {
  --teal-900: #123b3a;
  --teal-700: #1f6e6a;
  --teal-600: #2c8b85;
  --teal-500: #3aa79f;
  --teal-100: #e4f3f1;
  --teal-50:  #f2faf9;
  --accent-500: #3aa79f;
  --accent-600: #1f6e6a;
  --ink: #22302f;
  --ink-soft: #4a5a58;
  --cream: #fbf9f4;
  --white: #ffffff;
  --border: #e1e8e6;
  --shadow: 0 10px 30px rgba(18, 59, 58, 0.08);
  --radius: 16px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  color: var(--teal-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-900); }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-500);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 110, 106, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--teal-600);
}
.btn-outline:hover {
  background: var(--teal-600);
  color: var(--white);
}

/* ---------- Top banner ---------- */
.top-bar {
  background: var(--teal-900);
  color: var(--teal-50);
  font-size: 0.85rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a { color: var(--teal-50); }
.top-bar a:hover { color: var(--teal-100); }
.top-bar-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-900);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal-900);
  letter-spacing: 0.2px;
}
.brand-text span { color: var(--teal-500); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 14px;
  border-radius: 8px;
  display: inline-block;
}
nav.main-nav a:hover { background: var(--teal-100); color: var(--teal-800); }
nav.main-nav a.active { color: var(--teal-700); background: var(--teal-100); }

.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.92rem; white-space: nowrap; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--teal-900);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--teal-900), var(--teal-700) 65%, var(--teal-600));
  color: var(--white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--teal-100);
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-block;
}
.hero h1 { color: var(--white); }
.hero p.lead {
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--white); }
.section-teal { background: var(--teal-100); }

.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-600);
  display: block;
  margin-bottom: 10px;
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(18,59,58,0.12); }

.card-dark {
  background: linear-gradient(150deg, var(--teal-700), var(--teal-900));
  border-color: transparent;
}
.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.85); }
.card-dark .eyebrow { color: var(--teal-100) !important; }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--ink);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-600);
  font-weight: 700;
}
.check-list-light li { color: rgba(255,255,255,0.92); }
.check-list-light li::before { color: var(--teal-100); }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

/* ---------- Team ---------- */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}
.avatar {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
}
.team-body { padding: 22px 20px 26px; }
.team-body h3 { margin-bottom: 2px; }
.team-role {
  color: var(--accent-600);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: block;
}
.team-body p { font-size: 0.94rem; }

/* ---------- Timeline / values ---------- */
.value-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.value-row:last-child { border-bottom: none; }
.value-num {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  color: var(--teal-500);
  font-weight: 700;
  min-width: 50px;
}

/* ---------- Services list ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.service-detail ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
}
.service-detail li { margin-bottom: 6px; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
  padding: 10px;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-500);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-family: "Montserrat", sans-serif;
}

/* ---------- Locations ---------- */
.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.location-map {
  width: 100%;
  height: 260px;
  border: none;
  display: block;
}
.location-body { padding: 28px; }
.location-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}
.location-meta .icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.location-meta div p { margin: 0; }
.location-meta .label { font-weight: 700; color: var(--ink); font-size: 0.92rem; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 0.94rem; }
.hours-table td { padding: 5px 0; color: var(--ink-soft); }
.hours-table td:last-child { text-align: right; color: var(--ink); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent-600), var(--accent-500));
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  padding: 54px 40px;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--white); color: var(--accent-600); }
.cta-band .btn-primary:hover { background: var(--teal-900); color: var(--white); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--cream);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--teal-100);
  color: var(--teal-800, var(--teal-900));
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Contact info list ---------- */
.contact-info-card {
  background: var(--teal-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card p { color: rgba(255,255,255,0.75); }
.info-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.info-row:last-child { border-bottom: none; }
.info-row .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-row a { color: var(--white); font-weight: 600; }
.info-row a:hover { color: var(--teal-100); }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 14px;
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { margin: 0; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--teal-900);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
footer .brand-text { color: var(--white); }
.footer-grid h4 {
  color: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.75); }
.footer-grid a:hover { color: var(--teal-100); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.75); }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: linear-gradient(120deg, var(--teal-900), var(--teal-700));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.85); max-width: 60ch; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.9); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; padding: 12px 24px 20px; gap: 4px; }
  .nav-cta .btn-outline { display: none; }
  .menu-toggle { display: flex; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 56px 1fr; }
  .top-bar .container { justify-content: center; text-align: center; }
}
