/* Acceptance & Growth Counseling - static site styles */

:root {
  --bg: #fbf7f1;
  --bg-muted: #f0e7dc;
  --text: #2f2924;
  --muted-text: #62584f;
  --accent: #7d5f46;
  --accent-dark: #59412f;
  --accent-soft: #e5d5c5;
  --card: #fffdf9;
  --border: #dfd0bf;
  --shadow: 0 18px 45px rgba(47, 41, 36, 0.12);
  --radius: 28px;
  --max: 1140px;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.7;
  font-size: 18px;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--accent-dark);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 999;
}

.skip-link:focus { left: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 208, 191, 0.8);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.credential-strip {
  width: calc(100% - 3rem - 6px);
  max-width: calc(var(--max) - 0.7rem - 30px);
  box-sizing: border-box;
  margin: 0.06rem auto 0.64rem;
  padding: 0.58rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  color: var(--muted-text);
  font-size: clamp(0.86rem, 1.05vw, 0.98rem);
  line-height: 1.08;
  background: rgba(240, 231, 220, 0.62);
  border: 1px solid rgba(223, 208, 191, 0.88);
  border-radius: 999px;
  overflow: hidden;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  transform-origin: center;
}

.credential-strip:hover {
  transform: translateY(-2px) scale(1.012);
  background: rgba(240, 231, 220, 0.9);
  border-color: rgba(125, 95, 70, 0.35);
  box-shadow: 0 10px 22px rgba(47, 41, 36, 0.09);
}

.credential-strip span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.credential-strip strong {
  color: var(--text);
  font-weight: 850;
}

.credential-strip .credential-phone {
  color: var(--accent-dark);
  font-weight: 850;
}

.credential-divider {
  color: var(--accent);
  font-size: 0.95em;
  line-height: 1;
  font-weight: 700;
  flex: 0 0 auto;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-family: var(--font-serif);
  font-size: 0.9rem;
}

.brand-text { letter-spacing: -0.02em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.nav-links a:not(.button) {
  color: var(--muted-text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 650;
}

.nav-links a:not(.button):hover { color: var(--accent-dark); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.25rem;
}

.hero {
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
  padding-top: 3.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 850;
  margin: 0 0 0.9rem;
}

h1, h2, h3 {
  line-height: 1.1;
  color: var(--text);
}

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.65rem);
  margin: 0 0 1.35rem;
}

h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 1rem;
}

.hero-copy {
  font-size: 1.12rem;
  color: var(--muted-text);
  max-width: 690px;
}

.hero-copy.small { font-size: 1.12rem; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}
.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.hero-details span {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  background: rgba(240, 231, 220, 0.75);
  border: 1px solid rgba(223, 208, 191, 0.9);
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hero-details span:hover {
  background: rgba(240, 231, 220, 0.98);
  border-color: rgba(125, 95, 70, 0.38);
  box-shadow: 0 8px 20px rgba(47, 41, 36, 0.10);
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--accent);
  box-shadow: 0 8px 20px rgba(89, 65, 47, 0.18);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-secondary {
  background: transparent;
  color: var(--accent-dark);
  box-shadow: none;
}

.button-small {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.hero-image-card {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-image-card img {
  border-radius: calc(var(--radius) - 10px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.intro-section { padding-top: 3rem; }

.narrow {
  max-width: 820px;
  margin: 0 auto;
}

.narrow p, .grid p, .faq-list p { 
  color: var(--muted-text);
  font-size: 1.12rem;
}

.muted {
  max-width: none;
  background: var(--bg-muted);
}

.muted > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 1.35rem;
}

.section-heading h2 {
  position: relative;
  display: inline-block;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  background: var(--accent-soft);
  margin-top: 0.55rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(47, 41, 36, 0.07);
}

.accent-card { background: #f9f0e7; }

.check-list {
  padding-left: 1.1rem;
  color: var(--muted-text);
}

.check-list li { margin: 0.35rem 0; font-size: 1.12rem; }

.fine-print {
  font-size: 0.95rem;
  color: var(--muted-text);
}

.insurance-questions {
  margin-top: 2rem;
  background: rgba(255, 253, 249, 0.6);
  border: 1px solid rgba(223, 208, 191, 0.7);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.15rem 1.3rem;
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
}

summary::marker { color: var(--accent); }

.contact-section { padding-top: 3rem; }

.contact-card {
  background: var(--accent-dark);
  color: white;
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card .eyebrow,
.contact-card p,
.contact-card a:not(.button) {
  color: white;
}

.contact-card .button {
  background: white;
  color: var(--accent-dark);
  border-color: white;
}

.contact-details {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.site-footer {
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--muted-text);
  border-top: 1px solid var(--border);
}


@media (max-width: 1020px) {
  .nav-links a { 
    padding: 0.45rem 0.2rem; 
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .hero, .two-column { grid-template-columns: 1fr; }

  .hero {
    gap: 2.5rem;
    padding-top: 3rem;
  }

  .hero-image-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .nav-links {
    position: absolute;
    top: 120px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .credential-strip {
    justify-content: center;
    text-align: center;
    font-size: 0.78rem;
    gap: 0.35rem 0.65rem;
    max-width: calc(100% - 2rem);
    border-radius: 18px;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
  white-space: nowrap; padding: 0.45rem 0.2rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .brand-text {
    max-width: 190px;
    line-height: 1.15;
  }

  .section { padding: 4rem 1rem; }

  .hero { min-height: auto; }

  h1 { font-size: 2.2rem; }

  .button { width: 100%; }

  .card, .insurance-questions { padding: 1.35rem; }
}


.quote {
  font-family: var(--font-serif);
  font-size: 1.25rem !important;
  line-height: 1.45;
  color: var(--accent-dark) !important;
  background: rgba(255, 253, 249, 0.62);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.15rem;
  border-radius: 0 18px 18px 0;
}

.quote span {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--muted-text);
}


/* Keeps section headings from hiding underneath the sticky header when using menu links */
section[id] {
  scroll-margin-top: 128px;
}


@media (max-width: 700px) {
  section[id] {
    scroll-margin-top: 175px;
  }
}




.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.approach-copy p {
  color: var(--muted-text);
  font-size: 1.12rem;
}

.background-note {
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid rgba(223, 208, 191, 0.95);
  border-radius: 24px;
  padding: 1.4rem 1.45rem;
  box-shadow: 0 14px 34px rgba(47, 41, 36, 0.06);
  position: relative;
}

.background-note::before {
  content: "";
  position: absolute;
  width: 42px;
  height: 2px;
  background: var(--accent);
  top: 1.25rem;
  right: 1.45rem;
}

.background-note .note-label {
  margin-top: 0;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.8rem !important;
  font-weight: 850;
  color: var(--accent-dark) !important;
}

.background-note p {
  color: var(--muted-text);
  font-size: 1.12rem !important;
  line-height: 1.6;
}

.background-note strong {
  color: var(--text);
}

@media (max-width: 860px) {
  .approach-layout {
    grid-template-columns: 1fr;
  }

  .background-note {
    padding: 1.25rem 1.25rem;
  }
}


.credential-strip sup,
.brand sup,
footer sup {
  font-size: 0.55em;
  line-height: 0;
  vertical-align: super;
  position: relative;
  top: -0.12em;
}


@media (max-width: 980px) {
  .credential-strip {
    width: calc(100% - 2.4rem);
    max-width: calc(100% - 2.4rem);
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
    font-size: 0.78rem;
    line-height: 1.08;
    row-gap: 0.14rem;
    column-gap: 0.42rem;
    border-radius: 18px;
    overflow: visible;
    padding: 0.55rem 1rem;
  }

  .credential-divider {
    margin-inline: 0;
  }
}





/* Prevent toolbar text from shifting on hover */
.nav-links a,
.nav-links .button,
.button-small {
  white-space: nowrap;
  flex: 0 0 auto;
  transform: none;
  letter-spacing: inherit;
  font-variation-settings: normal;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links .button:hover,
.nav-links .button:focus,
.button-small:hover,
.button-small:focus {
  transform: none;
  letter-spacing: inherit;
}

.nav-links a:not(.button) {
  font-weight: 650;
}

.nav-links a:not(.button):hover,
.nav-links a:not(.button):focus {
  font-weight: 650;
}


.nav-links .button-small {
  min-width: 178px;
  text-align: center;
}


@media (max-width: 1020px) {
  .nav-links a,
  .nav-links .button,
  .button-small {
    white-space: normal;
    min-width: 0;
  }

  .nav-links .button-small {
    width: 100%;
  }
}


/* Keep desktop nav normal; only shrink slightly right before the hamburger breakpoint */
@media (max-width: 1080px) and (min-width: 1021px) {
  .nav-links {
    gap: 0.72rem;
  }

  .nav-links a:not(.button) {
    font-size: 0.95rem;
  }

  .nav-links .button-small {
    font-size: 0.82rem;
    padding-inline: 0.72rem;
    min-width: 0;
  }
}



/* Hide the appointment button as one complete object before it clips */
@media (max-width: 1060px) and (min-width: 901px) {
  .nav-links .button-small {
    display: none !important;
  }
}


/* v51: keep full desktop appointment button until the mobile breakpoint */
.nowrap {
  white-space: nowrap;
}

.mobile-quick-appointment {
  display: none;
}

@media (min-width: 901px) {
  .mobile-quick-appointment {
    display: none !important;
  }

  .nav .button.button-small {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-indent: 0 !important;
  }
}

@media (min-width: 901px) and (max-width: 1060px) {
  .nav {
    display: flex !important;
  }

  .nav-links {
    display: flex !important;
  }

  .nav .button.button-small {
    font-size: inherit !important;
    padding: inherit !important;
  }
}

@media (max-width: 900px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 0.5rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-quick-appointment {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.42rem 0.58rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fffdf9;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
    box-shadow: 0 8px 18px rgba(47, 41, 36, 0.08);
  }

  .mobile-quick-appointment:hover,
  .mobile-quick-appointment:focus {
    background: var(--accent-dark);
  }
}

@media (max-width: 420px) {
  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.82rem;
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .mobile-quick-appointment {
    font-size: 0.72rem;
    padding-inline: 0.48rem;
    min-height: 32px;
  }
}

@media (max-width: 360px) {
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 0.76rem;
  }

  .brand-text {
    max-width: 8.7rem;
    font-size: 0.84rem;
  }

  .mobile-quick-appointment {
    font-size: 0.68rem;
    padding-inline: 0.42rem;
    min-height: 30px;
  }
}


/* v52: polished smooth appointment-button behavior */
.nowrap {
  white-space: nowrap;
}

.mobile-quick-appointment {
  display: none;
}

/* 1060px–901px: keep the button in the normal nav, but let only the button compress smoothly */
@media (min-width: 901px) and (max-width: 1060px) {
  .mobile-quick-appointment {
    display: none !important;
  }

  .nav {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links {
    display: flex !important;
    align-items: center;
  }

  .nav .button.button-small {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-indent: 0 !important;
    line-height: 1 !important;
    transition: padding 180ms ease, font-size 180ms ease, border-radius 180ms ease, transform 180ms ease;
    font-size: clamp(0.72rem, 0.92vw, 0.84rem) !important;
    padding: clamp(0.48rem, 0.72vw, 0.62rem) clamp(0.62rem, 0.95vw, 0.9rem) !important;
    border-radius: 999px !important;
  }
}

/* 900px and below: move appointment request into the phone header next to the brand */
@media (max-width: 900px) {
  .nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: clamp(0.34rem, 1.5vw, 0.55rem);
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-quick-appointment {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.42rem 0.58rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fffdf9;
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
    box-shadow: 0 8px 18px rgba(47, 41, 36, 0.08);
    transition: padding 180ms ease, font-size 180ms ease, min-height 180ms ease;
  }

  .mobile-quick-appointment:hover,
  .mobile-quick-appointment:focus {
    background: var(--accent-dark);
  }
}

/* tighter phones: keep "Request Appointment" visible by letting the brand title gently give space */
@media (max-width: 520px) {
  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.82rem;
  }

  .brand-text {
    font-size: 0.9rem;
    max-width: 12.4rem;
  }

  .mobile-quick-appointment {
    min-height: 32px;
    padding: 0.38rem 0.48rem;
    font-size: 0.68rem;
  }
}

@media (max-width: 430px) {
  .brand-text {
    max-width: 9.4rem;
    font-size: 0.84rem;
  }

  .mobile-quick-appointment {
    min-height: 31px;
    padding: 0.34rem 0.42rem;
    font-size: 0.62rem;
    letter-spacing: -0.01em;
  }
}

@media (max-width: 390px) {
  .nav {
    column-gap: 0.3rem;
  }

  .brand {
    gap: 0.36rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 0.76rem;
  }

  .brand-text {
    max-width: 7.4rem;
    font-size: 0.78rem;
  }

  .mobile-quick-appointment {
    min-height: 30px;
    padding: 0.32rem 0.38rem;
    font-size: 0.58rem;
  }
}

@media (max-width: 350px) {
  .brand-text {
    max-width: 6.4rem;
    font-size: 0.72rem;
  }

  .mobile-quick-appointment {
    padding-inline: 0.32rem;
    font-size: 0.54rem;
  }
}


/* v53: remove only the word "Online" from the nav appointment button between 1020px and 901px */
@media (min-width: 901px) and (max-width: 1020px) {
  .nav .button.button-small .nav-online-word {
    display: none !important;
  }
}

@media (min-width: 1021px), (max-width: 900px) {
  .nav .button.button-small .nav-online-word {
    display: inline !important;
  }
}


/* v54: current-deployed version — only two tiny phone/header fixes */

/* Keep TherapistSM together and aligned like regular text inside the credential strip */
.credential-strip .nowrap {
  display: inline !important;
  white-space: nowrap !important;
  align-items: baseline !important;
}

.credential-strip .nowrap sup {
  position: static !important;
  top: auto !important;
  vertical-align: super !important;
  line-height: 0 !important;
  font-size: 0.52em !important;
}

/* On phone widths, show the full A&G brand text instead of cutting it off with ... */
@media (max-width: 900px) {
  .brand {
    min-width: 0;
  }

  .brand-text {
    min-width: 0;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.08 !important;
  }
}

@media (max-width: 520px) {
  .brand-text {
    max-width: 12.4rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 430px) {
  .brand-text {
    max-width: 9.4rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 390px) {
  .brand-text {
    max-width: 7.7rem;
    font-size: 0.72rem;
    line-height: 1.04 !important;
  }
}

@media (max-width: 350px) {
  .brand-text {
    max-width: 6.7rem;
    font-size: 0.68rem;
  }
}


/* v59: exact credential wording with natural spacing/alignment */
.credential-strip .credential-title {
  display: inline-block !important;
  white-space: normal !important;
  vertical-align: baseline !important;
  line-height: 1.15 !important;
}

.credential-strip .credential-title sup {
  position: static !important;
  top: auto !important;
  vertical-align: super !important;
  line-height: 0 !important;
  font-size: 0.52em !important;
}

@media (max-width: 980px) {
  .credential-strip .credential-title {
    max-width: 100%;
    text-align: center;
  }
}
