/* ============================================
   A Better Approach ABA — Site Styles
   Palette drawn from the butterfly-tree logo
   ============================================ */

:root {
  --red:    #e94f4f;
  --orange: #f68b1f;
  --yellow: #f6c445;
  --green:  #7ac143;
  --blue:   #3aa0d8;
  --purple: #8a5fb5;

  --ink:      #2d3142;
  --ink-soft: #5a5f73;
  --bg:       #fffdf9;
  --bg-alt:   #f2f9fd;
  --card:     #ffffff;
  --line:     #ece7de;

  --radius: 18px;
  --shadow: 0 6px 20px rgba(45, 49, 66, 0.08);
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: 'Quicksand', 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

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

a { color: var(--blue); }

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

/* ---------- Rainbow accents ---------- */
.rainbow-bar {
  height: 6px;
  background: linear-gradient(90deg,
    var(--red), var(--orange), var(--yellow),
    var(--green), var(--blue), var(--purple));
}

/* ---------- Header ---------- */
header.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(45, 49, 66, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand img { height: 62px; width: auto; }

.brand-name {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.98rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

nav.main-nav a:hover { background: var(--bg-alt); color: var(--blue); }

nav.main-nav a.active { background: var(--blue); color: #fff; }

nav.main-nav a.nav-cta {
  background: var(--orange);
  color: #fff;
  margin-left: 6px;
}

nav.main-nav a.nav-cta:hover { background: var(--red); color: #fff; }

/* ---------- Dropdown (Services submenu) ---------- */
.dropdown { position: relative; }

.dropdown > a::after { content: " ▾"; font-size: 0.8em; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(45, 49, 66, 0.16);
  padding: 8px;
  min-width: 230px;
  z-index: 60;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  border-radius: 10px;
  padding: 10px 14px;
}

/* ---------- Blue butterfly icon ---------- */
img.bf {
  display: inline-block;
  height: 0.95em;
  width: auto;
  vertical-align: -0.08em;
}

/* ---------- Mission statement ---------- */
.mission {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 8px solid var(--blue);
  padding: 40px 44px;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.mission .kicker {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.mission blockquote {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.55;
  color: var(--ink);
}

.mission blockquote .hl { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  box-shadow: var(--shadow);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #2a8cc4; }

.btn-sunny { background: var(--orange); color: #fff; }
.btn-sunny:hover { background: var(--red); }

.btn-ghost {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
  box-shadow: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 18px;
}

.hero h1 .hl { color: var(--blue); }

.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1.5deg);
  border: 8px solid #fff;
}

.hero-img img { width: 100%; height: 100%; object-fit: cover; }

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.badge {
  background: #fff;
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: 'Quicksand', sans-serif;
  box-shadow: var(--shadow);
}

.badge.b-green  { color: var(--green); }
.badge.b-blue   { color: var(--blue); }
.badge.b-purple { color: var(--purple); }
.badge.b-orange { color: var(--orange); }

/* ---------- Sections ---------- */
section { padding: 68px 0; }

section.alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-head .kicker {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-bottom: 12px;
}

.section-head p { color: var(--ink-soft); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--blue);
}

.card:nth-child(6n+1) { border-top-color: var(--red); }
.card:nth-child(6n+2) { border-top-color: var(--orange); }
.card:nth-child(6n+3) { border-top-color: var(--yellow); }
.card:nth-child(6n+4) { border-top-color: var(--green); }
.card:nth-child(6n+5) { border-top-color: var(--blue); }
.card:nth-child(6n+6) { border-top-color: var(--purple); }

.card .icon { font-size: 1.9rem; margin-bottom: 10px; }

.card h3 { font-size: 1.12rem; margin-bottom: 8px; }

.card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Two-column feature ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature.flip > .feature-img { order: 2; }

.feature-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid #fff;
}

.feature-img img { width: 100%; height: 100%; object-fit: cover; }

.feature h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }

.feature p { color: var(--ink-soft); margin-bottom: 14px; }

/* ---------- Checklist ---------- */
ul.check {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

ul.check li {
  padding-left: 34px;
  position: relative;
  color: var(--ink-soft);
}

ul.check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

ul.check li strong { color: var(--ink); }

/* ---------- Insurance chips ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.chip {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

/* ---------- Meet Brittany ---------- */
.bio {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}

.bio-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-alt), #e8f4fb);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-soft);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  text-align: center;
  border: 3px dashed var(--blue);
}

.bio-photo .butterfly { font-size: 2.6rem; }

.bio h2 { margin-bottom: 4px; }

.bio .role {
  color: var(--purple);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}

.bio p { color: var(--ink-soft); margin-bottom: 12px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue), var(--purple));
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 52px 32px;
}

.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }

.cta-band p { opacity: 0.92; margin-bottom: 24px; }

.cta-band .btn-sunny { box-shadow: 0 6px 18px rgba(0,0,0,0.18); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(35, 68, 95, 0.62), rgba(35, 68, 95, 0.62));
}

.page-hero .wrap { position: relative; }

.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 10px; }

.page-hero p { font-size: 1.1rem; opacity: 0.95; max-width: 620px; margin: 0 auto; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px;
}

.step-num {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.step:nth-child(4n+1) .step-num { background: var(--red); }
.step:nth-child(4n+2) .step-num { background: var(--orange); }
.step:nth-child(4n+3) .step-num { background: var(--green); }
.step:nth-child(4n+4) .step-num { background: var(--purple); }

.step h3 { margin-bottom: 4px; font-size: 1.08rem; }

.step p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 26px;
  text-align: center;
}

.contact-card .icon { font-size: 2.3rem; margin-bottom: 12px; }

.contact-card h3 { margin-bottom: 8px; }

.contact-card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 16px; }

.contact-card a.btn { padding: 10px 24px; font-size: 0.95rem; }

.note-strip {
  background: #fff8ea;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  padding: 16px 22px;
  text-align: center;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  color: var(--ink);
  margin-top: 28px;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid #fff;
  margin-top: 40px;
}

.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Intake form ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 6px solid var(--blue);
  padding: 36px 34px;
  max-width: 760px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-bottom: 22px;
}

.field { display: flex; flex-direction: column; }

.field-full { grid-column: 1 / -1; }

.field label {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.field textarea { resize: vertical; }

.hidden-field { display: none; }

.form-card button[type="submit"] {
  border: none;
  cursor: pointer;
  font-size: 1.02rem;
}

.form-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: #cfd3e0;
  padding: 52px 0 0;
  margin-top: 68px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.footer-grid a { color: #cfd3e0; text-decoration: none; }

.footer-grid a:hover { color: #fff; text-decoration: underline; }

.footer-grid ul { list-style: none; display: grid; gap: 9px; }

.footer-logo {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  width: 150px;
  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 18px 0;
  text-align: center;
  font-size: 0.88rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner, .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip > .feature-img { order: 0; }
  .bio { grid-template-columns: 1fr; padding: 28px; }
  .bio-photo { max-width: 300px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; }
  nav.main-nav { justify-content: center; }
}
