:root {
  --cream: #fff7e8;
  --sand: #ffe2b8;
  --clay: #ff9f6e;
  --terra: #f26f4f;
  --sage: #66c6a4;
  --moss: #1f9d8a;
  --ink: #1d2d35;
  --muted: #5d7074;
  --white: #fffefd;
  --ring: rgba(242, 111, 79, .30);
  --shadow: 0 24px 70px rgba(55, 39, 29, .16);
  --radius: 30px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fff3cc 0, var(--cream) 34%, #e8fff7 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(900px, calc(100% - 40px)); }
.centered { text-align: center; }
.hidden, label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 16px; z-index: 10; background: var(--ink); color: white; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { left: 16px; }
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 247, 232, .90); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(31, 157, 138, .18); }
.nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 22px rgba(0,0,0,.11); }
.nav-cta, .button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--terra); color: white; text-decoration: none; font-weight: 700; box-shadow: 0 12px 26px rgba(159,96,79,.22); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; cursor: pointer; }
.nav-cta:hover, .button:hover { transform: translateY(-2px); background: #df573d; box-shadow: 0 18px 34px rgba(159,96,79,.28); }
.hero { position: relative; min-height: 690px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; background-image: url('../assets/images/hero-therapy.svg'); background-size: cover; background-position: center; transform: scale(1.02); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,49,42,.76), rgba(36,49,42,.36) 44%, rgba(251,245,236,.5)), radial-gradient(circle at 70% 30%, rgba(255,253,248,.35), transparent 30%); z-index: -0; }
.hero-content { position: relative; z-index: 1; display: grid; justify-items: center; gap: 28px; color: white; text-align: center; padding: 84px 0; }
.hero-logo { width: 169px; height: 169px; object-fit: cover; border-radius: 50%; box-shadow: 0 22px 60px rgba(0,0,0,.25); border: 8px solid rgba(255,253,248,.8); }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1, h2 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; letter-spacing: -.025em; }
.hero h1 { max-width: 950px; font-size: clamp(3rem, 8vw, 6.9rem); text-wrap: balance; text-shadow: 0 10px 34px rgba(0,0,0,.32); }
.section-kicker { margin: 0 0 16px; color: var(--sage); font-size: .86rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-panel { padding: 92px 0; background: linear-gradient(135deg, rgba(102,198,164,.98), rgba(31,157,138,.96)); color: white; }
.services h2 { font-size: clamp(2.7rem, 5vw, 4.6rem); margin-bottom: 28px; }
.services h3 { font-size: clamp(1.45rem, 3vw, 2.25rem); font-weight: 500; max-width: 980px; margin: 0 auto; line-height: 1.35; }
.services .section-kicker, .hours .section-kicker { color: rgba(255,255,255,.72); }
.provider { padding: 96px 0 102px; }
.provider h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin-bottom: 22px; }
.provider p:not(.section-kicker) { margin: 0 auto; max-width: 930px; font-size: clamp(1.1rem, 2vw, 1.45rem); color: var(--muted); }
.hours { padding: 36px 0 86px; }
.hours-card { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 430px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--moss); color: white; }
.hours-illustration { background: url('../assets/images/care-room.svg') center/cover no-repeat; min-height: 360px; }
.hours-content { display: grid; align-content: center; justify-items: center; gap: 18px; padding: 48px; background: linear-gradient(135deg, rgba(31,157,138,.97), rgba(102,198,164,.94)); }
.hours h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.hours h3 { font-size: 1.35rem; font-weight: 600; opacity: .95; }
.hours-time { margin: 14px 0 0; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.05; }
.contact { padding: 86px 0 96px; background: linear-gradient(180deg, rgba(255,226,184,.58), rgba(232,255,247,.88)); }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; }
.contact-copy { padding: 48px 34px; border-radius: var(--radius); background: rgba(255,253,248,.72); border: 1px solid rgba(159,96,79,.12); box-shadow: 0 14px 48px rgba(55,39,29,.08); }
.contact h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 26px; color: var(--terra); }
.contact-copy p { margin: 10px 0; color: var(--muted); }
.contact-copy a { color: var(--moss); font-weight: 700; overflow-wrap: anywhere; }
.contact-promise { margin-top: 34px !important; font-size: clamp(1.25rem, 2.7vw, 2rem); line-height: 1.35; color: var(--ink) !important; }
.appointment-form { display: grid; gap: 16px; padding: 32px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); border: 1px solid rgba(159,96,79,.14); }
input, textarea { width: 100%; border: 1px solid rgba(80,101,83,.2); background: #fff9ed; color: var(--ink); border-radius: 18px; padding: 17px 18px; font: inherit; outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
textarea { min-height: 135px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--terra); box-shadow: 0 0 0 5px var(--ring); background: white; }
.button-wide { width: 100%; min-height: 54px; font-size: 1rem; }
.success-note { display: none; margin: 4px 0 0; color: #6c8a45; font-weight: 700; text-align: center; }
.appointment-form.was-sent .success-note { display: block; }
.site-footer { padding: 44px 0; background: #123d45; color: rgba(255,255,255,.78); }
.footer-inner { display: grid; gap: 18px; justify-items: center; }
.footer-phone { margin: 0; color: white; font-weight: 700; }
.mailing-address { margin: 0; color: rgba(255,255,255,.9); font-weight: 600; }
.social-links { display: flex; gap: 12px; list-style: none; padding: 0; margin: 0; }
.social-links a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); color: white; text-decoration: none; font-weight: 800; }
.anchor-marker { scroll-margin-top: 100px; }
.success-page { min-height: 100vh; display: grid; place-items: center; }
.success-shell { width: min(640px, calc(100% - 40px)); padding: 54px 34px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.success-shell h1 { font-size: clamp(2.2rem, 6vw, 4rem); color: var(--terra); }
.success-shell img { border-radius: 50%; box-shadow: 0 14px 36px rgba(0,0,0,.14); }
@media (max-width: 840px) {
  .brand span { display: none; }
  .hero { min-height: 610px; }
  .hours-card, .contact-grid { grid-template-columns: 1fr; }
  .hours-illustration { min-height: 270px; }
  .contact-copy { padding: 38px 22px; }
  .appointment-form { padding: 24px; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav { min-height: 74px; }
  .nav-cta { padding: 0 16px; font-size: .92rem; }
  .hero-logo { width: 136px; height: 136px; }
  .section-panel, .provider, .contact { padding-block: 68px; }
  .hours { padding-bottom: 68px; }
}
.map-section { background: var(--cream); padding: 0; }
.map-section iframe { display: block; width: 100%; height: min(54vw, 430px); min-height: 320px; border: 0; filter: saturate(1.12) contrast(1.02); }
.chat-button { position: fixed; right: 24px; bottom: 24px; z-index: 20; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px; border-radius: 999px; background: var(--moss); color: white; text-decoration: none; font-weight: 800; box-shadow: 0 18px 40px rgba(36,49,42,.28); border: 2px solid rgba(255,253,248,.9); transition: transform .2s ease, background .2s ease; }
.chat-button:hover { transform: translateY(-2px); background: var(--terra); }
@media (max-width: 560px) { .chat-button { right: 16px; bottom: 16px; min-height: 50px; padding: 0 18px; } }


.form-warning,
.chat-intro {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 19;
  width: min(390px, calc(100vw - 32px));
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.chat-widget.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-panel {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(159,96,79,.16);
}

.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 18px;
  background: linear-gradient(135deg, rgba(31,157,138,.97), rgba(102,198,164,.94));
  color: white;
}

.chat-header h2 {
  font-size: 1.75rem;
}

.chat-kicker {
  margin: 0 0 6px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .82;
}

.chat-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: white;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.chat-intro {
  padding: 18px 22px 0;
}

.chat-form {
  display: grid;
  gap: 12px;
  padding: 18px 22px 22px;
}

.chat-form textarea {
  min-height: 105px;
}

.chat-button {
  border: 2px solid rgba(255,253,248,.9);
}

@media (max-width: 560px) {
  .chat-widget {
    right: 16px;
    bottom: 78px;
    width: calc(100vw - 32px);
  }

  .chat-header {
    padding: 18px 18px 14px;
  }

  .chat-form,
  .chat-intro {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* Chat-style popup overrides */
.chat-widget {
  right: 24px;
  bottom: 92px;
  width: min(380px, calc(100vw - 32px));
}

.chat-panel {
  overflow: hidden;
  border-radius: 28px;
  background: #f7fbf8;
  box-shadow: 0 28px 80px rgba(18, 61, 69, .28);
}

.chat-header {
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--moss), var(--sage));
}

.chat-header h2 {
  font-size: 1.65rem;
}

.chat-close {
  flex: 0 0 auto;
}

.chat-body {
  display: grid;
  gap: 12px;
  max-height: min(620px, calc(100vh - 190px));
  overflow-y: auto;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(255,226,184,.48), transparent 34%),
    #f7fbf8;
}

.chat-message {
  width: fit-content;
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: .95rem;
  line-height: 1.45;
}

.bot-message {
  background: white;
  color: var(--ink);
  border-bottom-left-radius: 6px;
  box-shadow: 0 8px 22px rgba(18, 61, 69, .08);
}

.chat-form {
  display: grid;
  gap: 12px;
  padding: 0;
}

.chat-contact-card {
  display: grid;
  gap: 8px;
  margin-left: auto;
  width: 88%;
  padding: 12px;
  border-radius: 18px;
  border-bottom-right-radius: 6px;
  background: var(--moss);
  box-shadow: 0 12px 28px rgba(31, 157, 138, .22);
}

.chat-contact-title {
  margin: 0 0 2px;
  color: white;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.chat-contact-card input {
  min-height: 42px;
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,.94);
  font-size: .95rem;
}

.chat-composer {
  display: grid;
  grid-template-columns: 1fr 48px;
  align-items: end;
  gap: 8px;
  padding: 10px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 10px 28px rgba(18, 61, 69, .10);
}

.chat-composer textarea {
  min-height: 48px;
  max-height: 120px;
  border: 0;
  border-radius: 16px;
  padding: 12px 10px;
  background: #fff9ed;
  resize: vertical;
}

.chat-send {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--terra);
  color: white;
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(242, 111, 79, .28);
}

.chat-send:hover {
  background: #df573d;
}

.chat-form.was-sent .success-note {
  display: block;
  background: white;
  border-radius: 16px;
  padding: 10px 12px;
}

@media (max-width: 560px) {
  .chat-widget {
    right: 12px;
    bottom: 74px;
    width: calc(100vw - 24px);
  }

  .chat-body {
    max-height: calc(100vh - 160px);
    padding: 14px;
  }

  .chat-contact-card {
    width: 94%;
  }
}


/* Real tawk.to widget is used now; hide old custom chat UI if any stale markup remains. */
.chat-widget,
.chat-panel,
.chat-form,
.chat-button,
.chat-close {
  display: none !important;
}
