
:root {
  --navy: #06294d;
  --blue: #0b63ce;
  --teal: #00a7b5;
  --green: #58c441;
  --dark: #10233f;
  --muted: #5b6b80;
  --soft: #f5fbfc;
  --line: rgba(6, 41, 77, .12);
  --white: #fff;
  --shadow: 0 16px 38px rgba(3, 39, 73, .12);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1140px, calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 18px rgba(6, 41, 77, .08);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo img {
  width: 190px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  color: var(--navy);
  white-space: nowrap;
  transition: color .18s ease;
}

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

.main-nav .caret {
  width: 11px;
  height: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .6;
}

/* dropdown menus */
.nav-item { position: relative; }
.nav-item > .nav-top { cursor: pointer; }
.nav-item::after {            /* invisible hover bridge to the menu */
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 232px;
  display: grid;
  gap: 2px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, transform .16s ease;
  z-index: 60;
}
.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}
.nav-menu a {
  display: block;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--navy);
}
.nav-menu a:hover {
  background: #f1fafb;
  color: var(--blue);
}
.nav-item:hover > .nav-top .caret {
  transform: rotate(180deg);
}
.nav-top .caret { transition: transform .18s ease; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.phone-link .phone-circle {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(88, 196, 65, .3);
}

.phone-link .phone-circle img {
  width: 16px;
  height: 16px;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: .22s ease;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal), var(--green));
  box-shadow: 0 14px 28px rgba(0, 167, 181, .22);
}

.btn-outline {
  color: var(--navy);
  background: rgba(255, 255, 255, .62);
  border-color: var(--teal);
}

.btn-white {
  color: var(--navy);
  background: white;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  color: var(--navy);
  padding: 8px 12px;
  font-size: 26px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  padding: 50px 0 25px;
  background: #eef9f3 url(../img/herobg.png) top center / cover no-repeat;
}

/* decorative layers no longer needed — the full composition is in herobg.png */
.hero::before { display: none; }

.hero-wave { display: none; }

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 54% 46%;
  align-items: start;
}

.hero-copy {
  padding-top: 42px;
  max-width: 620px;
}

.hero-copy h1 {
  margin: 0 0 21px;
  color: var(--navy);
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 950;
}

.hero-copy h1 .gradient-text {
  white-space: nowrap;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--teal), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
}

.hero-sub {
  margin: 0;
  max-width: 470px;
  color: var(--dark);
  font-size: 17px;
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

/* extra breathing room under the hero buttons before the service cards */
.hero .button-row {
  margin-bottom: 46px;
}

/* On desktop the collage is part of herobg.png, so the inline image is hidden.
   It is re-enabled for the stacked mobile layout below. */
.hero-visual {
  display: none;
}

.service-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: -8px;
}

.service-card {
  min-height: 210px;
  padding: 26px 14px 18px;
  text-align: center;
  border: 1px solid rgba(6, 41, 77, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 28px rgba(3, 39, 73, .10);
}

.service-card .icon-wrap {
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
}

.service-card .icon-wrap img {
  width: 48px;
  height: 48px;
  margin: 0 auto;
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.18;
  font-weight: 950;
}

.service-card p {
  margin: 0;
  color: var(--dark);
  font-size: 13px;
  line-height: 1.48;
}

.arrow-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 18px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}

.impact-strip {
  color: white;
  background: linear-gradient(90deg, #0066bd 0%, #0493ad 48%, #5ac440 100%);
}

.impact-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.impact-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 95px;
  padding: 18px 24px;
  border-right: 1px solid rgba(255, 255, 255, .32);
}

.impact-item:last-child {
  border-right: 0;
}

.impact-item img {
  width: 50px;
  height: 50px;
}

.impact-item strong {
  display: block;
  font-size: 33px;
  line-height: 1;
  font-weight: 950;
}

.impact-item span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 58px 0;
}

.welcome {
  padding-bottom: 28px;
}

.two-col {
  display: grid;
  grid-template-columns: .77fr 1.23fr;
  align-items: center;
  gap: 60px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 950;
}

.copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-weight: 900;
}

.play-link img {
  width: 31px;
  height: 31px;
}

.image-card {
  overflow: hidden;
  border-radius: 17px;
}

.image-card img {
  width: 100%;
  height: auto;
}

.info-zone {
  padding-top: 10px;
}

.info-grid {
  display: grid;
  grid-template-columns: .98fr .85fr .98fr;
  gap: 20px;
}

.panel {
  min-height: 316px;
  padding: 20px;
  border: 1px solid rgba(6, 41, 77, .11);
  border-radius: 13px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 26px rgba(6, 41, 77, .06);
}

.panel h3 {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: 21px;
  font-weight: 950;
}

.panel .panel-sub {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.impact-list {
  display: grid;
  gap: 12px;
}

.impact-card {
  display: grid;
  grid-template-columns: 62px 1fr 24px;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border-radius: 13px;
  background: white;
  box-shadow: 0 8px 24px rgba(6, 41, 77, .08);
}

.impact-card img {
  width: 41px;
  height: 41px;
  margin: auto;
}

.impact-card h4 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 950;
}

.impact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.story-box {
  padding: 26px 30px;
  border-radius: 13px;
  background: white;
  box-shadow: 0 8px 24px rgba(6, 41, 77, .08);
}

.quote-mark {
  color: #80bdf0;
  font-size: 56px;
  line-height: .5;
  font-weight: 950;
}

.story-box p {
  margin: 8px 0 22px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.65;
}

.client-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 950;
}

.client-row img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: contain;
  background: #eef4fb;
  padding: 6px;
  border: 1px solid var(--line);
}

.story-rotator {
  position: relative;
}

.story-slide {
  display: none;
}

.story-slide.is-active {
  display: block;
  animation: storyFade .5s ease;
}

@keyframes storyFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.dots span {
  width: 10px;
  height: 10px;
  border: 1px solid #9dc5e4;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.dots span.is-active {
  background: var(--blue);
  border-color: var(--blue);
}

.events-list {
  display: grid;
  gap: 12px;
}

.event-card {
  display: grid;
  grid-template-columns: 58px 1fr 22px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 13px;
  background: white;
  box-shadow: 0 8px 24px rgba(6, 41, 77, .08);
}

a.event-card {
  text-decoration: none;
  color: var(--navy);
  transition: box-shadow .2s ease, transform .2s ease;
}

a.event-card:hover {
  box-shadow: 0 12px 30px rgba(6, 41, 77, .14);
  transform: translateY(-2px);
}

.date-box {
  display: grid;
  place-items: center;
  height: 58px;
  color: var(--navy);
  border-radius: 9px;
  background: #fbfbfb;
  box-shadow: inset 0 0 0 1px rgba(6, 41, 77, .08);
  font-size: 24px;
  font-weight: 950;
}

.date-box span {
  display: block;
  color: var(--dark);
  font-size: 10px;
  letter-spacing: .08em;
}

.event-card h4 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 950;
}

.event-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.view-all {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.help-strip {
  margin: 10px 0 22px;
}

.help-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  color: white;
  border-radius: 13px;
  background: linear-gradient(90deg, #0068bd 0%, #0397ad 48%, #5bc242 100%);
}

.help-title {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 18px;
}

.help-title img {
  width: 72px;
  height: 72px;
}

.help-title h2 {
  margin: 0 0 5px;
  color: white;
  font-size: 28px;
}

.help-title p {
  margin: 0;
  color: white;
  font-size: 13px;
  line-height: 1.45;
}

.quick-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, .30);
}

.quick-item img {
  width: 34px;
  height: 34px;
}

.quick-item span {
  display: block;
  font-size: 13px;
  font-weight: 950;
}

.quick-item strong {
  display: block;
  margin-top: 2px;
  color: white;
  font-size: 13px;
  line-height: 1.3;
}

.partners {
  padding: 0 0 34px;
  text-align: center;
}

.partners h2 {
  margin-bottom: 4px;
  font-size: 24px;
}

.partners p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

/* insurance "Trusted by Ohio Families & Partners" section */
.insurance { padding: 8px 0 64px; }
.insurance-panel {
  background: #fff;
  padding: 34px 40px 40px;
}
.insurance-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 22px;
}
.insurance-head .hr { height: 2px; width: clamp(40px, 12vw, 150px); border-radius: 2px; }
.insurance-head .hr:first-child { background: linear-gradient(90deg, rgba(0,167,181,0), var(--teal)); }
.insurance-head .hr:last-child { background: linear-gradient(90deg, var(--teal), rgba(88,196,65,0)); }
.insurance-head h2 {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1;
  color: var(--navy);
  margin: 0;
  white-space: nowrap;
}
.ins-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.ins-row + .ins-row { margin-top: 14px; }
.ins-cell {
  display: grid;
  place-items: center;
  padding: 10px 20px;
  border-left: 1px solid var(--line);
}
.ins-cell:first-child { border-left: none; }
.ins-cell img { max-height: 46px; max-width: 132px; object-fit: contain; }
@media (max-width: 720px) {
  .insurance-panel { padding: 24px 16px 28px; }
  .insurance-head .hr { display: none; }
  .ins-cell { border-left: none; padding: 12px 16px; }
  .ins-cell img { max-height: 42px; }
}

.partner-group {
  margin: 26px 0 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

/* uniform white logo tiles — same background, symmetrical, clean */
.partner-row img {
  width: 138px;
  height: 96px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(6, 41, 77, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.partner-row img:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(6, 41, 77, .12);
}

.site-footer {
  color: white;
  background: linear-gradient(105deg, #0064b3 0%, #0191aa 48%, #5dc142 100%);
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 38px 0 32px;
}

.footer-brand {
  padding-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, .24);
}

.footer-logo {
  width: 185px;
  max-height: 86px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  line-height: 1.65;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-row img {
  width: 29px;
  height: 29px;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: white;
  font-size: 15px;
  font-weight: 950;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 9px;
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
  line-height: 1.45;
}

.footer-col .contact-line {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.footer-col .contact-line .ci {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  transition: background .2s ease;
}

.footer-col .contact-line .ci svg {
  width: 16px;
  height: 16px;
}

.footer-col .contact-line:hover .ci {
  background: rgba(255, 255, 255, .26);
}

/* footer crisis info + certifications */
.footer-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 26px 0 6px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.footer-badges .crisis-help h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  letter-spacing: .02em;
}
.footer-badges .crisis-row { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-badges .crisis-badge {
  display: flex;
  flex-direction: column;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
  min-width: 150px;
}
.footer-badges .crisis-badge strong { color: #fff; font-size: 17px; line-height: 1.2; }
.footer-badges .crisis-badge span { color: rgba(255, 255, 255, .85); font-size: 12px; margin-top: 2px; }
.footer-badges .cert-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-badges .cert {
  width: 66px;
  height: 66px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
  display: grid;
  place-items: center;
  padding: 8px;
}
.footer-badges .cert img { max-width: 100%; max-height: 100%; object-fit: contain; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
}

.footer-bottom a {
  margin-left: 18px;
}

.page-hero {
  padding: 76px 0;
  background:
    radial-gradient(circle at 12% 25%, rgba(0, 167, 181, .20), transparent 28%),
    linear-gradient(135deg, #eefbfc 0%, #ffffff 53%, #effce7 100%);
}

.page-hero h1 {
  max-width: 850px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.page-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

/* page hero with a photo that bleeds in from the right and blends into the gradient */
.page-hero.has-media {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
}
.page-hero.has-media .container {
  position: relative;
  z-index: 2;
}
.page-hero.has-media .page-hero-copy {
  max-width: 540px;
}
.page-hero.has-media .hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  z-index: 1;
}
.page-hero.has-media .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* feather left edge into the gradient, soften top & bottom */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 52%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent 0%, #000 52%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
          mask-composite: intersect;
}
@media (max-width: 860px) {
  .page-hero.has-media { display: flex; flex-direction: column; padding: 38px 0 0; }
  .page-hero.has-media .container { order: 1; }
  .page-hero.has-media .page-hero-copy { max-width: none; }
  .page-hero.has-media .hero-media {
    order: 2;
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin-top: 22px;
  }
  .page-hero.has-media .hero-media img {
    height: 100%;
    -webkit-mask-image: none;
            mask-image: none;
  }
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.page-card {
  min-height: 225px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.page-card img {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
}

.page-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
}

.page-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* clickable cards (open a description popup) */
.page-card.is-clickable { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.page-card.is-clickable:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(6, 41, 77, .15); border-color: transparent; }
a.page-card { display: block; text-decoration: none; color: inherit; }
.page-card .card-more { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 700; font-size: .9rem; }
.page-card.is-clickable:hover .card-more { text-decoration: underline; }

/* ============================================================
   Content-page helpers (for pages migrated from the UCW LLC site)
   ============================================================ */
.section.tint { background: #f4fafb; }
/* keep the container full-width/centered (left edge aligns with the hero title),
   but cap the readable text width on the children so it stays left-aligned */
.content-narrow > * { max-width: 880px; }

.prose > p { margin: 0 0 18px; line-height: 1.78; color: var(--muted); font-size: 17px; }
.prose h2 { margin: 36px 0 14px; color: var(--navy); font-size: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; color: var(--navy); font-size: 21px; }
.prose h4 { margin: 20px 0 8px; color: var(--navy); font-size: 17px; }
.prose ul { margin: 0 0 18px; padding: 0; list-style: none; }
.prose ul li { position: relative; padding: 6px 0 6px 28px; color: var(--muted); line-height: 1.6; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: 14px; width: 9px; height: 9px;
  border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--green)); }
.lead-text { font-size: 20px; line-height: 1.7; color: var(--navy); font-weight: 600; margin: 0 0 24px; }

.check-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--dark); line-height: 1.55; }
.check-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--green)); color: #fff; font-size: 12px; font-weight: 900;
  display: grid; place-items: center; margin-top: 2px; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.step-card .n { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff; font-weight: 900; font-size: 20px; display: grid; place-items: center; margin-bottom: 14px; }
.step-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.faq-list { max-width: 880px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 22px 26px; box-shadow: var(--shadow); }
.faq-item h3 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
.faq-item p { margin: 0; color: var(--muted); line-height: 1.65; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { text-align: center; padding: 32px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.team-card .avatar { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue), var(--teal), var(--green)); color: #fff; font-size: 38px; font-weight: 900;
  display: grid; place-items: center; letter-spacing: .02em; }
.team-card .avatar { overflow: hidden; }
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.team-card h3 { margin: 0 0 4px; color: var(--navy); font-size: 20px; }
.team-card .role { color: var(--teal); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 10px; }
.team-card p { margin: 0 0 4px; color: var(--muted); line-height: 1.6; font-size: 15px; }

/* founder / leader feature */
.leader-feature { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.leader-card { text-align: center; padding: 32px 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); position: sticky; top: 100px; }
.leader-card h3 { margin: 16px 0 4px; color: var(--navy); font-size: 1.35rem; }
.leader-card .role { color: var(--teal); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 6px; }
.leader-card p { margin: 0; color: var(--muted); font-size: 14px; }
.avatar.lg { width: 124px; height: 124px; font-size: 42px; }
.leader-photo { width: 190px; height: 190px; margin: 0 auto; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 26px rgba(6, 41, 77, .2); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leader-bio p { margin: 0 0 16px; color: var(--muted); line-height: 1.78; }
@media (max-width: 760px) {
  .leader-feature { grid-template-columns: 1fr; gap: 24px; }
  .leader-card { position: static; }
}

.about-intro { max-width: 1000px; }
.about-intro h2 { margin-top: 0; }
.about-mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 34px;
}
.about-mv .prose h3 { margin-top: 0; }
@media (max-width: 760px) {
  .about-mv { grid-template-columns: 1fr; gap: 4px; }
}

/* video popup modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 41, 77, .85);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.video-modal-inner {
  position: relative;
  z-index: 1;
  width: min(960px, 94vw);
}
.video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}

/* Resource finder */
.res-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 24px; margin-bottom: 30px; }
.res-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.res-field { display: flex; flex-direction: column; gap: 7px; }
.res-field label { font-size: 13px; font-weight: 700; color: var(--navy); }
.res-field input, .res-field select { width: 100%; min-height: 40px; height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font-size: 15px; color: var(--ink); background: #fff; }
.res-field input:focus, .res-field select:focus { outline: 2px solid rgba(26,154,214,.4); border-color: var(--blue); }
.res-wide { grid-column: span 3; }
.res-toggles { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.res-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; background: #f4fafb; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.res-toggle input { width: 18px; height: 18px; min-height: 0; flex: none; margin: 0; accent-color: var(--blue); }
.res-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.res-clear { color: var(--muted); font-weight: 600; font-size: 14px; }
.res-results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.res-results-head h2 { margin: 0; color: var(--navy); font-size: clamp(1.5rem, 3vw, 2rem); }
.res-meta { color: var(--muted); font-size: 14px; white-space: nowrap; }
.res-disclaimer { background: #fdfaf3; border: 1px solid #f3dfb5; color: #7b5a13; padding: 12px 16px; border-radius: 12px; margin: 12px 0 22px; font-size: 13.5px; }
.res-empty { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 28px; color: var(--muted); box-shadow: var(--shadow); }
.res-list { display: grid; gap: 16px; }
.res-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 22px 24px; }
.res-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.3rem; }
.res-card p { margin: 0 0 8px; color: var(--muted); line-height: 1.6; font-size: 15px; }
.res-services { color: var(--ink) !important; }
.res-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.res-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; }
.res-badge.type { background: rgba(26,154,214,.12); color: var(--blue); }
.res-badge.medicaid { background: #e8f8f0; color: #1f8f5f; }
.res-badge.soft { background: #eef3f8; color: #516173; }
.res-meta-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.res-meta-row a { color: var(--blue); font-weight: 600; }
@media (max-width: 1024px) { .res-grid { grid-template-columns: repeat(2, 1fr); } .res-wide { grid-column: span 2; } }
@media (max-width: 640px) { .res-grid { grid-template-columns: 1fr; } .res-wide { grid-column: span 1; } .res-actions { margin-left: 0; width: 100%; justify-content: space-between; } }

/* News & Events */
.modal-tpl { display: none; }
.wr-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: center; }
.wr-grid .prose h2 { margin-top: 0; }
.wr-media img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: var(--shadow); }
@media (max-width: 760px) { .wr-grid { grid-template-columns: 1fr; gap: 24px; } }
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--navy); margin: 0; }

.news-feature {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
}
.news-feature-copy .kicker { color: var(--green); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin: 0 0 10px; }
.news-feature-copy h3 { color: var(--navy); font-size: 1.5rem; line-height: 1.25; margin: 0 0 12px; }
.news-feature-copy p { color: var(--muted); line-height: 1.7; margin: 0 0 18px; }
.news-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease, opacity .3s ease; }
.video-thumb:hover img { transform: scale(1.04); opacity: .9; }
.video-thumb-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.video-thumb-play::before {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent var(--blue);
}

.events-flyers { display: flex; flex-wrap: wrap; gap: 24px; }
.flyer-card {
  position: relative;
  display: block;
  width: min(360px, 100%);
  padding: 0;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.flyer-card img { width: 100%; display: block; }
.flyer-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(6, 41, 77, .18); }
.flyer-hint {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  background: linear-gradient(transparent, rgba(6, 41, 77, .82));
}

/* content modal */
.content-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.content-modal.open { display: flex; }
.content-modal-backdrop { position: absolute; inset: 0; background: rgba(6, 41, 77, .85); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.content-modal-inner {
  position: relative;
  z-index: 1;
  width: min(640px, 94vw);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 38px 40px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.content-modal-body h3 { color: var(--navy); font-size: 1.6rem; margin: 0 0 14px; }
.content-modal-body .kicker { color: var(--green); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin: 0 0 6px; }
.content-modal-close {
  position: absolute; top: 14px; right: 16px;
  width: 36px; height: 36px;
  border: none; border-radius: 50%;
  background: var(--soft); color: var(--navy);
  font-size: 22px; line-height: 1; cursor: pointer;
}

@media (max-width: 760px) {
  .news-feature { grid-template-columns: 1fr; gap: 22px; }
  .content-modal-inner { padding: 30px 22px; }
}

.journey-section { padding-top: 0; }
.journey-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.info-box { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); padding: 26px 28px; }
.info-box h3 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
.info-box p { margin: 0 0 6px; color: var(--muted); line-height: 1.6; }

@media (max-width: 860px) {
  .steps-grid, .team-grid { grid-template-columns: 1fr; }
}

.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 36px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border: 1px solid rgba(6, 41, 77, .15);
  border-radius: 12px;
  background: #f8fcfd;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.alert {
  padding: 15px 18px;
  border-radius: 13px;
  font-weight: 800;
}

.alert.success {
  color: #0b5130;
  background: #ddf8e8;
}

.alert.error {
  color: #872525;
  background: #ffe4e4;
}

@media (max-width: 1100px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav.open {
    position: fixed;
    top: 78px;
    left: 24px;
    right: 24px;
    display: grid;
    gap: 8px;
    padding: 20px;
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  /* dropdowns expand inline within the mobile panel */
  .main-nav.open .nav-item { display: block; }
  .main-nav.open .nav-item::after { display: none; }
  .main-nav.open .nav-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 2px 0 6px 14px;
    background: transparent;
  }
  .main-nav.open .nav-menu a { padding: 7px 0; font-size: 14px; color: var(--muted); }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .impact-inner,
  .info-grid,
  .help-inner,
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-row,
  .page-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    min-height: 0;
    background: linear-gradient(135deg, #eefbfc 0%, #ffffff 54%, #effce7 100%);
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: block;
    max-width: 720px;
    margin: 20px auto 0;
  }

  .hero-visual img {
    width: 100%;
    border-radius: 18px;
    -webkit-mask-image: none;
            mask-image: none;
  }

  .service-grid {
    margin-top: 24px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 30px, 1140px);
  }

  .header-inner {
    height: 72px;
  }

  .logo img {
    width: 155px;
    max-height: 52px;
  }

  .main-nav.open {
    top: 72px;
    left: 15px;
    right: 15px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .hero-visual img {
    border-radius: 18px;
  }

  .service-grid,
  .impact-inner,
  .two-col,
  .info-grid,
  .help-inner,
  .partner-row,
  .footer-main,
  .page-grid,
  .contact-layout,
  .form-row {
    grid-template-columns: 1fr;
  }

  .impact-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
  }

  .help-title,
  .quick-item {
    grid-template-columns: 48px 1fr;
  }

  .quick-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .24);
    padding-left: 0;
    padding-top: 18px;
  }

  .footer-brand {
    border-right: 0;
    padding-right: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom a {
    margin-left: 0;
    margin-right: 14px;
  }

  .section {
    padding: 46px 0;
  }
}
