/* Optimal Health — supplied family-care reference, October 2026. */
:root {
  --teal: #009bd7;
  --teal-dark: #113e5b;
  --ink: #163d57;
  --body: #536674;
  --ivory: #ffffff;
  --peach: #eaf7fb;
  --lavender: #f3f9fc;
  --mint: #edf8f5;
  --yellow: #f7c735;
  --line: #dcebf1;
  --heading: 'Lato', Arial, sans-serif;
  --text: 'Open Sans', Arial, sans-serif;
}
body { font-size: 17px; line-height: 1.65; }
h1, h2, h3, h4 { letter-spacing: -.025em; font-weight: 900; }
h2 { font-size: clamp(32px, 3.1vw, 46px); }
.shell { width: min(1240px, calc(100% - 88px)); }
.topbar { display: none; }
.site-header { background: #fff; border-bottom: 1px solid #e6eef2; }
.header-inner { min-height: 96px; gap: 30px; }
.brand { width: 230px; }
.primary-nav { gap: 22px; }
.primary-nav > a:not(.button) { font-weight: 700; font-size: 15px; color: #334d5c; }
.primary-nav > a[aria-current=page]:not(.button) { color: var(--teal); }
.primary-nav > a[aria-current=page]:not(.button)::after { bottom: 10px; }
.button {
  border-radius: 100px;
  padding: 14px 25px;
  gap: 13px;
  min-height: 49px;
  font-weight: 800;
  font-size: 16px;
  background: #009bd7;
  border-color: #009bd7;
  box-shadow: 0 4px 12px #009bd714;
}
.button:hover { background: #007aaa; border-color: #007aaa; transform: none; }
.button span { font-size: 18px; }
.header-cta { font-size: 14px; padding: 12px 22px; margin-left: 6px; white-space: nowrap; }
.button-outline { background: #fff; color: var(--ink); border-color: #d4e5ed; box-shadow: none; }
.button-outline:hover { color: var(--ink); background: #f4fbfe; border-color: var(--teal); }
.button-yellow { background: var(--teal); color: #fff; border-color: var(--teal); }
.button-yellow:hover { background: #007aaa; color: #fff; border-color: #007aaa; }
.button-row { gap: 14px; margin-top: 26px; }
.text-link { font-size: 15px; gap: 12px; }
.eyebrow { font-size: 11px; letter-spacing: .16em; font-weight: 700; color: #7096ac; margin-bottom: 12px; }
.menu-toggle { border-radius: 24px; color: var(--ink); }

/* The reference's image-led hero with a soft text-safe fade. */
.reference-hero { position: relative; min-height: 590px; background: #f8fcfd; overflow: hidden; }
.ref-hero-photo { position: absolute; right: 0; top: 0; width: 65%; height: 100%; object-fit: cover; object-position: 63% center; }
.ref-hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, #f8fcfd 0%, #f8fcfd 31%, #f8fcfdf2 38%, #f8fcfd90 48%, #f8fcfd00 63%); }
.reference-hero > .shell { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 65px; }
.ref-hero-copy { max-width: 500px; }
.ref-hero-copy h1 { font-size: clamp(48px, 4.6vw, 68px); line-height: 1.04; margin-bottom: 22px; }
.ref-hero-copy h1 span { color: var(--teal); }
.ref-hero-copy > p:not(.eyebrow) { max-width: 440px; font-size: 16px; line-height: 1.65; color: var(--body); margin-bottom: 13px; }
.ref-hero-copy > .hero-subtitle { font-weight: 700; color: var(--ink) !important; font-size: 19px !important; }
.ref-hero-copy .eyebrow { font-size: 10px; }

/* Five colorful circular icons immediately below the hero. */
.reference-benefits { padding: 36px 0 40px; background: #fff; }
.reference-benefits > .shell { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.benefit { display: block; text-align: center; color: var(--body); }
.benefit-icon { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; color: #fff; transition: transform .2s; }
.benefit:hover .benefit-icon { transform: translateY(-3px); }
.benefit-icon svg { width: 37px; height: 37px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.benefit-orange .benefit-icon { background: #e99527; }
.benefit-yellow .benefit-icon { background: #e3b71a; }
.benefit-green .benefit-icon { background: #81b743; }
.benefit-pink .benefit-icon { background: #da71a8; }
.benefit-blue .benefit-icon { background: #009bd7; }
.benefit h3 { font-size: 17px; margin-bottom: 7px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.benefit p { font-size: 12px; line-height: 1.7; margin: 0 auto; max-width: 185px; }

/* Edge-to-edge photographic mission and team bands. */
.reference-mission, .reference-team { background: #eaf7fb; }
.ref-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.ref-section-photo { position: relative; width: 100%; height: 100%; min-height: 500px; margin: 0; }
.ref-section-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ref-section-copy { align-self: center; padding: 44px clamp(38px, 4.1vw, 70px); max-width: 740px; }
.ref-section-copy h2 { font-size: clamp(31px, 3vw, 43px); line-height: 1.1; margin-bottom: 18px; }
.ref-section-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.ref-checks { list-style: none; margin: 17px 0 25px; padding: 0; }
.ref-checks li { position: relative; padding-left: 29px; font-size: 14px; line-height: 1.65; margin-bottom: 10px; }
.ref-checks li::before { content: '✓'; position: absolute; top: 2px; left: 0; width: 18px; height: 18px; display: grid; place-items: center; background: #8dbd43; color: #fff; border-radius: 50%; font-size: 12px; font-weight: 800; line-height: 1; }
.reference-team .ref-section-photo { min-height: 425px; }
.reference-team .ref-section-photo > img { object-position: center 32%; }
.reference-team .ref-section-copy { padding-top: 37px; padding-bottom: 37px; }
.reference-team .button-row { gap: 13px; }
.reference-team .button { padding-left: 21px; padding-right: 21px; }

/* Compact photographic care tiles. */
.reference-care { background: #fff; padding: 52px 0 47px; }
.ref-section-title { text-align: center; max-width: 850px; margin: 0 auto 32px; }
.ref-section-title h2 { font-size: clamp(31px, 3vw, 43px); margin-bottom: 12px; }
.ref-section-title > p:not(.eyebrow) { font-size: 15px; line-height: 1.65; margin-bottom: 0; color: var(--body); }
.ref-care-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.ref-care-card { display: flex; flex-direction: column; text-align: center; min-width: 0; }
.ref-care-card > img { width: 100%; height: 185px; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.ref-care-card h3 { font-size: 19px; font-weight: 900; margin: 0 0 8px; letter-spacing: -.012em; }
.ref-care-card p { font-size: 12px; line-height: 1.7; margin-bottom: 12px; color: var(--body); }
.ref-card-link { color: var(--teal); font-size: 13px; font-weight: 700; margin-top: auto; }
.ref-care-card:hover h3, .ref-care-card:hover .ref-card-link { color: #007aaa; }

/* Source testimonials, with no invented ratings. */
.reference-testimonials { padding: 46px 0 38px; background: #fff; text-align: center; }
.reference-testimonials .ref-section-title { margin-bottom: 27px; }
.ref-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: left; }
.ref-quote { position: relative; margin: 0; padding: 22px 0 0; display: flex; flex-direction: column; }
.ref-quote::before { content: '“'; position: absolute; left: 0; top: -5px; color: var(--teal); font: 900 47px/1 Georgia, serif; }
.ref-quote p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; color: var(--body); }
.ref-quote cite { font-size: 12px; font-style: normal; font-weight: 700; color: var(--ink); margin-top: auto; }
.reference-testimonials .testimonial-disclaimer { font-size: 11px; margin-top: 21px; }
.reference-testimonials .text-link { margin-top: 8px; font-size: 14px; }

/* Existing practice credentials and links kept in one quiet strip. */
.reference-credibility { background: #f8fcfd; border-top: 1px solid var(--line); padding: 26px 0; }
.reference-credibility > .shell { display: flex; justify-content: space-between; gap: 36px; align-items: center; }
.ref-credentials { display: flex; align-items: center; gap: 28px; }
.ref-credentials img { width: 88px; height: 62px; object-fit: contain; }
.ref-credentials a:last-child img { width: 114px; }
.ref-office-links { max-width: 440px; }
.ref-office-links p { font-size: 12px; line-height: 1.7; margin-bottom: 3px; }
.ref-office-links .text-link { font-size: 12px; margin-right: 18px; gap: 7px; padding: 4px 0; }

/* Final invitation: blue headline on a pale photographic background. */
.reference-cta { position: relative; background: #f5fbfd; overflow: hidden; min-height: 320px; }
.ref-cta-photo { position: absolute; right: 0; top: 0; width: 66%; height: 100%; object-fit: cover; object-position: center 43%; }
.ref-cta-wash { position: absolute; inset: 0; background: linear-gradient(90deg, #f5fbfd 0%, #f5fbfd 32%, #f5fbfde8 42%, #f5fbfd70 57%, #f5fbfd00 71%); }
.reference-cta > .shell { position: relative; padding-top: 48px; padding-bottom: 48px; }
.ref-cta-copy { max-width: 475px; }
.ref-cta-copy h2 { font-size: 42px; color: var(--teal); margin-bottom: 14px; }
.ref-cta-copy p { font-size: 14px; line-height: 1.7; max-width: 400px; margin-bottom: 20px; }

/* Reference's navy footer; keep every original contact destination. */
.site-footer { background: #113e5b; color: #fff; padding-top: 46px; }
.footer-main { grid-template-columns: 1.6fr .8fr 1.15fr .85fr; gap: 46px; padding-bottom: 32px; }
.footer-brand img { width: 240px; margin-bottom: 17px; }
.footer-main h2 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 16px; }
.footer-brand p { color: #c7dce9; font-size: 13px; line-height: 1.7; }
.footer-main > div:not(.footer-brand) > a, .footer-main > div > a:not(:first-child) { color: #c7dce9; font-size: 12px; line-height: 1.7; margin-bottom: 8px; }
.footer-main a:hover { color: #fff; }
.social-links { gap: 13px; }
.social-links a { color: #d9ecf6; font-size: 11px; }
.footer-main .footer-action { color: #fff !important; border: 1px solid #8db0c5; border-radius: 100px; padding: 9px 14px; margin-top: 17px; font-size: 12px !important; width: fit-content; }
.footer-hours p { font-size: 12px; color: #c7dce9; line-height: 1.8; margin-bottom: 7px; }
.footer-bottom { color: #a9c7d9; border-color: #ffffff25; font-size: 10px; padding-top: 18px; padding-bottom: 18px; }

/* Bring retained inner pages into the same visual system. */
.page-hero { background: #eaf7fb; padding-top: 62px; padding-bottom: 54px; }
.page-hero .display { font-size: clamp(39px, 4.6vw, 62px); }
.section { padding-top: 70px; padding-bottom: 70px; }
.section-peach, .section-lavender { background: #eaf7fb; }
.section-mint { background: #f5fbfd; }
.photo-frame { margin: 0; }
.photo-frame img { border-radius: 9px; }
.cards .card { border-radius: 9px; background: #fff; }
.featured-quote, .contact-note { background: #eaf7fb; }
.hours-card { background: #eaf7fb; border-radius: 10px; }
.team-intro .photo-frame::before { display: none; }
.card-links a { border-bottom-color: #009bd750; }
.service-detail summary { font-weight: 800; font-size: 15px; letter-spacing: 0; }

@media (max-width: 1250px) {
  .shell { width: calc(100% - 64px); }
  .brand { width: 205px; }
  .primary-nav { gap: 15px; }
  .header-inner { gap: 20px; }
  .header-cta { padding-left: 18px; padding-right: 18px; }
  .ref-care-cards { gap: 17px; }
  .ref-care-card > img { height: 166px; }
  .footer-main { gap: 30px; }
}
@media (max-width: 1120px) {
  .header-inner { min-height: 84px; }
  .primary-nav { background: #fff; padding: 23px 32px; }
  .primary-nav > a:not(.button) { font-size: 17px; }
  .header-cta { margin-left: auto; }
  .ref-hero-copy { max-width: 455px; }
  .ref-hero-copy h1 { font-size: 57px; }
  .reference-hero { min-height: 555px; }
  .reference-hero > .shell { padding-top: 54px; padding-bottom: 54px; }
  .ref-section-copy { padding: 34px; }
  .ref-section-copy h2 { font-size: 34px; }
  .ref-section-photo { min-height: 480px; }
  .reference-team .ref-section-photo { min-height: 445px; }
  .ref-care-cards { gap: 14px; }
  .ref-care-card h3 { font-size: 17px; }
  .ref-care-card > img { height: 150px; }
  .reference-benefits > .shell { gap: 20px; }
  .benefit h3 { font-size: 15px; }
  .ref-credentials { gap: 18px; }
  .footer-main { gap: 27px; grid-template-columns: 1.3fr .75fr 1.15fr; }
  .footer-hours { grid-column: 2 / -1; display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap; }
  .footer-hours h2 { margin-bottom: 0; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 44px); }
  .brand { width: 190px; }
  .reference-hero { display: flex; flex-direction: column; min-height: 0; }
  .reference-hero > .shell { padding: 42px 0 32px; order: 0; }
  .ref-hero-photo { position: relative; width: 100%; height: 355px; order: 1; object-position: center; }
  .ref-hero-wash { display: none; }
  .ref-hero-copy { max-width: 620px; }
  .ref-hero-copy h1 { max-width: 570px; font-size: 54px; }
  .ref-hero-copy h1 br { display: none; }
  .ref-hero-copy > p:not(.eyebrow) { max-width: 575px; }
  .reference-benefits > .shell { grid-template-columns: repeat(3, 1fr); gap: 30px 20px; }
  .reference-benefits { padding: 32px 0; }
  .benefit-icon { width: 64px; height: 64px; margin-bottom: 12px; }
  .benefit-icon svg { width: 33px; height: 33px; }
  .benefit h3 { font-size: 16px; }
  .ref-section-copy { padding: 30px 25px; }
  .ref-section-copy h2 { font-size: 30px; }
  .ref-section-copy > p:not(.eyebrow) { font-size: 14px; }
  .ref-section-photo { min-height: 520px; }
  .reference-team .ref-section-photo { min-height: 480px; }
  .ref-checks li { font-size: 13px; }
  .ref-care-cards { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
  .ref-care-card > img { height: 180px; }
  .ref-care-card h3 { font-size: 19px; }
  .ref-care-card p { font-size: 13px; }
  .reference-care { padding: 42px 0; }
  .ref-quotes { gap: 23px; }
  .ref-quote p { font-size: 13px; }
  .reference-credibility > .shell { flex-direction: column; text-align: center; gap: 18px; }
  .ref-credentials { justify-content: center; gap: 27px; }
  .ref-cta-copy { max-width: 420px; }
  .ref-cta-copy h2 { font-size: 37px; }
  .ref-cta-wash { background: linear-gradient(90deg, #f5fbfd 0%, #f5fbfdf2 40%, #f5fbfd90 68%, #f5fbfd00 100%); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-hours { grid-column: 1 / -1; }
  .footer-brand p { max-width: 470px; }
  .section { padding-top: 54px; padding-bottom: 54px; }
}
@media (max-width: 600px) {
  .header-inner { min-height: 78px; }
  .brand { width: 182px; }
  .primary-nav { padding: 20px 22px; }
  .header-cta { margin: 16px 0 4px; white-space: normal; }
  .ref-hero-copy h1 { font-size: 46px; }
  .ref-hero-copy > .hero-subtitle { font-size: 18px !important; }
  .ref-hero-copy .button-row { gap: 12px; }
  .ref-hero-copy .button { font-size: 15px; padding: 13px 21px; }
  .ref-hero-copy .eyebrow { font-size: 9px; letter-spacing: .1em; }
  .ref-hero-photo { height: 280px; }
  .reference-benefits > .shell { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .benefit:last-child { grid-column: 1 / -1; max-width: 240px; justify-self: center; }
  .benefit p { font-size: 12px; }
  .ref-split { grid-template-columns: 1fr; }
  .ref-section-photo, .reference-team .ref-section-photo { min-height: 0; height: 285px; }
  .reference-team .ref-section-photo { height: 310px; object-position: center 25%; }
  .ref-section-copy { padding: 33px 22px 38px; }
  .ref-section-copy h2 { font-size: 34px; }
  .ref-section-copy > p:not(.eyebrow) { font-size: 15px; }
  .ref-checks li { font-size: 14px; }
  .ref-section-title h2 { font-size: 33px; }
  .ref-section-title > p:not(.eyebrow) { font-size: 14px; }
  .ref-care-cards { grid-template-columns: 1fr 1fr; gap: 25px 17px; }
  .ref-care-card:last-child { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
  .ref-care-card > img { height: 155px; }
  .ref-care-card h3 { font-size: 18px; }
  .ref-care-card p { font-size: 12px; }
  .ref-quotes { grid-template-columns: 1fr; gap: 27px; }
  .ref-quote p { font-size: 15px; }
  .reference-testimonials { padding: 40px 0 32px; }
  .ref-credentials { gap: 17px; flex-wrap: wrap; }
  .ref-credentials img { width: 73px; height: 55px; }
  .ref-credentials a:last-child img { width: 100px; }
  .reference-cta { display: flex; flex-direction: column; min-height: 0; }
  .reference-cta > .shell { order: 0; padding-top: 36px; padding-bottom: 34px; }
  .ref-cta-copy h2 { font-size: 36px; }
  .ref-cta-photo { position: relative; width: 100%; height: 250px; order: 1; }
  .ref-cta-wash { display: none; }
  .footer-main { gap: 26px 20px; }
  .footer-hours { display: block; }
  .footer-hours h2 { margin-bottom: 12px; }
  .footer-bottom { font-size: 10px; }
  .site-footer { padding-top: 38px; }
  .page-hero .display { font-size: 39px; }
}
@media (prefers-reduced-motion: reduce) {
  .benefit-icon { transition: none; }
  .benefit:hover .benefit-icon { transform: none; }
}

/* Direct policy pages sourced from the original footer popups. */
.policy-page__hero { padding: clamp(3rem, 5vw, 4.75rem) 0 clamp(1.75rem, 3.5vw, 3rem); border-bottom: 1px solid rgba(21, 57, 74, .12); }
.policy-page__hero .eyebrow { margin-bottom: .85rem; }
.policy-page__hero .display { max-width: 48rem; margin-bottom: 0; color: #15394a; }
.policy-page__content { padding-top: clamp(1.75rem, 3vw, 2.75rem); padding-bottom: clamp(3rem, 5vw, 4.75rem); }
.policy-document { color: rgba(21, 57, 74, .88); }
.policy-document__body { overflow-wrap: anywhere; }
.policy-document__body p { margin: 0 0 .65rem; font-size: 1rem; line-height: 1.62; }
.policy-document__body p:has(> span:only-child > br:only-child) { display: none; }
.policy-document__body strong, .policy-document__body b { color: #15394a; }
.policy-document__body a { color: #0077ad; font-weight: 700; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.policy-document__body a:hover, .policy-document__body a:focus-visible { color: #15394a; }
.footer-bottom { align-items: center; }
.footer-policies { display: flex; flex: 1; flex-wrap: wrap; justify-content: center; gap: .35rem .9rem; }
.footer-policies a { color: inherit; line-height: 1.45; }
.footer-policies a:not(:last-child)::after { content: '·'; margin-left: .9rem; color: rgba(255, 255, 255, .45); }

/* Contact form: collects only general inquiries and keeps the page within the existing blue system. */
.contact-form-section { background: #fff; }
.oh-contact-form-wrap { max-width: 820px; margin: 0 auto; }
.oh-contact-form-wrap h2 { margin-bottom: .55rem; }
.oh-contact-form-intro { margin-bottom: 1.5rem; }
.oh-contact-form p { margin-bottom: 1rem; }
.oh-contact-form label { display: inline-block; margin-bottom: .38rem; color: var(--ink); font-size: .9rem; font-weight: 800; }
.oh-contact-form input, .oh-contact-form textarea { width: 100%; border: 1px solid #c9dfe8; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; line-height: 1.45; padding: .75rem .85rem; }
.oh-contact-form textarea { min-height: 9.5rem; resize: vertical; }
.oh-contact-form input:focus, .oh-contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 155, 215, .16); outline: 0; }
.oh-contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.oh-contact-form-grid p:last-child { grid-column: 1 / -1; }
.oh-contact-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.oh-contact-privacy { max-width: 680px; color: var(--body); font-size: .86rem; line-height: 1.6; }
.oh-contact-status { border-radius: 8px; padding: .8rem 1rem; font-weight: 700; }
.oh-contact-status.is-success { background: #edf8f5; color: #1c6c53; }
.oh-contact-status.is-error { background: #fff1f1; color: #9a3333; }
.oh-contact-status a { color: inherit; text-decoration: underline; }

@media (max-width: 800px) {
  .footer-bottom { align-items: flex-start; }
  .footer-policies { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .policy-page__hero .display { font-size: clamp(2.3rem, 11vw, 3.15rem); }
  .policy-document__body p { font-size: .98rem; }
  .oh-contact-form-grid { grid-template-columns: 1fr; gap: 0; }
  .oh-contact-form-grid p:last-child { grid-column: auto; }
  .footer-policies { gap: .3rem .65rem; }
  .footer-policies a:not(:last-child)::after { margin-left: .65rem; }
}
