/* Breakwater Psychology — Site Styles */
/* Fonts: Montserrat (headings/nav), IBM Plex Sans (body) */

:root {
  --navy: #172b4c;
  --salmon: #d9a88c;
  --salmon-hover: #c4946f;
  --forest: #4e6858;
  --forest-hover: #3d5446;
  --green-light: #e9f0ed;
  --green-light-hover: #d4e5dc;
  --coral-light: #f5ebe5;
  --coral-light-hover: #edded5;
  --cream: #FDF8F4;
  --slate: #5c6c7d;
  --blue: #518fec;
  --blue-light: #e0ebfc;
  --bg: #FDF8F4;
  --white: #ffffff;
  --lavender: #EFEFFD;
  --border: #e4e6ef;
  --radius: 10px;
  --radius-sm: 5px;
  --shadow: 0 3px 5px 1px rgba(0,0,0,0.05);
  --max-width: 1140px;
  --nav-height: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; transition: color .2s; }
a:hover { color: var(--salmon-hover); }

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.3; }
h1 { font-size: 2.4rem; font-weight: 500; margin-bottom: 20px; }
h2 { font-size: 1.7rem; font-weight: 500; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
p { margin-bottom: 16px; }

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

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--green-light);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--forest);
  color: var(--white);
}
/* Ensure nav Book Now keeps white text on hover (overrides .nav-links a:hover) */
.nav-links .btn-primary:hover { color: var(--white); }
.btn-outline {
  background: var(--coral-light);
  color: var(--navy);
  border-color: transparent;
}
.btn-outline:hover {
  background: var(--coral-light-hover);
  color: var(--navy);
}
.btn-green {
  background: var(--green-light);
  color: var(--navy);
  border-color: transparent;
}
.btn-green:hover {
  background: var(--forest);
  color: var(--white);
}
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-lg { padding: 18px 48px; font-size: 1.1rem; }

/* ─── NAV ─── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo img { height: 200px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  padding: 6px 0;
}
.nav-links a:hover { color: var(--salmon); }
.nav-links a.active { color: var(--salmon); font-weight: 600; }
.nav-links .btn { padding: 10px 24px; }

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' \25BE'; font-size: 0.7em; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 8px 0;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
}
.dropdown-menu a:hover { background: var(--cream); }

/* Mega dropdown — two columns */
.dropdown-mega {
  min-width: 420px;
  display: none;
  padding: 16px 0;
}
.nav-dropdown:hover .dropdown-mega,
.nav-dropdown.open .dropdown-mega { display: flex; }
.dropdown-column { flex: 1; }
.dropdown-heading {
  display: block;
  padding: 6px 20px 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
}

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform .2s, opacity .2s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  padding: 56px 0 48px;
  background: var(--white);
}
.hero h1 { max-width: 700px; }
.hero p { max-width: 640px; font-size: 1.1rem; color: var(--slate); margin-bottom: 28px; }
.hero-actions { display: flex; gap: 16px; align-items: center; }
.hero-actions .btn { flex: 1; min-width: 0; text-align: center; white-space: nowrap; }
.hero-actions a:not(.btn) { font-weight: 500; }

/* Hero split — text left, image right */
.hero-split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-split .hero-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: contain;
}
.hero-note {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 8px;
  white-space: nowrap;
  margin-bottom: 0;
}

/* ─── SECTIONS ─── */
.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-cream { background: var(--cream); }
.section-green { background: var(--green-light); }
.section-lavender { background: var(--lavender); }
.section-header { text-align: center; max-width: 740px; margin: 0 auto 48px; }

/* ─── CARDS ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 90px 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card h3 { color: var(--navy); }
.card p { color: var(--slate); font-size: 0.95rem; }
.card-features {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
}
.card-features li {
  font-size: 0.9rem;
  color: var(--slate);
  padding: 4px 0;
}
.card .card-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--salmon);
}
.card .card-link:hover { color: var(--salmon-hover); }
.card .card-link::after { content: ' \2192'; }

/* Icon circles for cards — positioned top-right */
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: absolute;
  top: 20px;
  right: 20px;
}
.card-icon.salmon { background: rgba(217,168,140,0.15); color: var(--salmon); }
.card-icon.forest { background: rgba(78,104,88,0.15); color: var(--forest); }
.card-icon.blue { background: rgba(81,143,236,0.15); color: var(--blue); }

/* ─── CONDITION GRID ─── */
.condition-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}
.condition-card {
  width: calc(25% - 1.5rem);
  color: var(--navy);
  text-align: center;
  display: block;
}
.condition-card img {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.condition-card img:hover {
  transform: translateY(-4px);
}
.condition-card span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}
.condition-desc {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 8px 0 10px;
  line-height: 1.5;
}
.condition-card .card-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--salmon);
  text-decoration: none;
}
.condition-card .card-link:hover { color: var(--salmon-hover); }
.condition-card .card-link::after { content: ' \2192'; }

/* ─── IMAGE BREAK ─── */
.image-break {
  padding: 0;
}
.image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 48px 0;
}
.image-row img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ─── COLUMNS ─── */
.col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ─── ABOUT / TEAM ─── */
.team-block {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 0;
}
.team-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  object-fit: cover;
}
.team-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 16px;
}
.credentials-list { list-style: none; padding: 0; margin-top: 16px; }
.credentials-list li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--slate);
  border-bottom: 1px solid var(--border);
}
.credentials-list li:last-child { border-bottom: none; }

/* ─── STEPS / PROCESS ─── */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  margin-bottom: 32px;
  align-items: start;
}
.step-num {
  counter-increment: step;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--salmon);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.step-content h3 { margin-bottom: 4px; }
.step-content p { color: var(--slate); font-size: 0.95rem; margin-bottom: 0; }

/* ─── TRUST BAR ─── */
.section-cream.section-trust { padding: 24px 0; }
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  padding: 0;
}
.trust-pill {
  display: inline-block;
  padding: 8px 20px;
  background: var(--lavender);
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: background .2s;
}
a.trust-pill:hover {
  background: var(--border);
  color: var(--navy);
}

/* ─── TESTIMONIALS ─── */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--salmon);
  margin-bottom: 24px;
}
.testimonial blockquote { font-style: italic; font-size: 1.05rem; color: var(--navy); margin-bottom: 12px; }
.testimonial cite { font-size: 0.85rem; color: var(--slate); font-style: normal; }

/* ─── PRICING TABLE ─── */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-table th {
  background: var(--navy);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 16px 24px;
  text-align: left;
  font-size: 0.9rem;
}
.pricing-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table td:last-child { font-weight: 600; color: var(--forest); }

/* ─── FAQ ACCORDION ─── */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--salmon); }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── CTA SECTION ─── */
.cta-section {
  text-align: center;
  padding: 72px 0;
  background: var(--navy);
  color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: var(--cream); max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--blue-light);
  color: var(--navy);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 24px;
  align-items: start;
}
.footer-brand { align-self: center; }
.footer-brand .tagline {
  color: var(--forest);
  font-style: italic;
  margin: 0 0 0 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.2;
}
.footer-brand { text-align: center; }
.footer-brand img { height: 260px; margin: 0 auto 0; }
.site-footer h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: var(--navy); font-size: 0.9rem; }
.site-footer ul a:hover { color: var(--salmon-hover); }
.footer-legal {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 20px 0;
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.6;
  text-align: center;
}
.footer-legal a { color: var(--forest); }
.footer-legal a:hover { color: var(--salmon-hover); }
.footer-legal p { margin-bottom: 0; }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--slate);
}
.footer-bottom a { color: var(--slate); }
.footer-bottom a:hover { color: var(--salmon-hover); }

/* ─── MOBILE STICKY CTA ─── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  z-index: 90;
  text-align: center;
}
.mobile-cta .btn { width: 100%; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-split .container { grid-template-columns: 1fr; }
  .hero-split .hero-image { order: -1; max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-block { grid-template-columns: 1fr; }
  .team-photo { max-width: 280px; }
  .image-row { grid-template-columns: 1fr; }
  .image-row img { height: 220px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }

  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 0;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links .btn { margin-top: 16px; text-align: center; }
  .nav-toggle { display: block; }

  /* Dropdown on mobile */
  .dropdown-menu,
  .dropdown-mega {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    min-width: 0;
    flex-direction: column;
  }
  .nav-dropdown > a::after { content: ''; }
  .nav-dropdown .dropdown-menu,
  .nav-dropdown .dropdown-mega { display: flex; }
  .dropdown-menu a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .dropdown-heading { padding: 12px 0 4px; }

  /* Condition grid mobile */
  .condition-grid { gap: 1.25rem; }
  .condition-card { width: calc(33.33% - 1rem); }
  .condition-card img { width: 80px; height: 80px; }

  /* Cards */
  .card-grid { grid-template-columns: 1fr; }
  .col-grid { grid-template-columns: 1fr; }
  .cta-duo { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Mobile sticky CTA */
  .mobile-cta { display: block; }
  body { padding-bottom: 68px; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: auto; flex: 1; text-align: center; }
}

/* ─── CTA DUO ─── */
.cta-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}
.cta-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}
.cta-card svg {
  margin-bottom: 16px;
}
.cta-card p {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.cta-card .btn {
  width: 100%;
}

/* Override SimplePractice default widget styles */
.spwidget-button-wrapper { text-align: center !important; }
.spwidget-button.btn { color: var(--navy) !important; background: none; border: none; }

/* ─── UTILITY ─── */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-32 { margin-bottom: 32px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ─── LISTS IN CONTENT ─── */
.content-list { margin: 16px 0 24px 24px; }
.content-list li { margin-bottom: 8px; font-size: 0.95rem; color: var(--slate); }
