/* Centered family-wellness hero with live typography and review badge. */
body #content .ffc-hero {
  --hero-navy:#003366;
  --hero-sand:#8c704f;
  position:relative;
  isolation:isolate;
  min-height:680px;
  overflow:hidden;
  background:#f4eee4;
  color:var(--hero-navy);
  font-family:"Open Sans",Arial,sans-serif;
}
body #content .ffc-hero__photo {
  position:absolute;z-index:-2;inset:0;display:block;
  width:100%;max-width:none;height:100%;object-fit:cover;object-position:right center;
}
body #content .ffc-hero::before {
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 43% 75% at 49% 42%,rgba(255,255,255,.96) 0%,rgba(255,255,255,.9) 38%,rgba(255,255,255,.55) 65%,transparent 100%);
}
body #content .ffc-hero__inner {
  display:flex;justify-content:center;align-items:center;
  max-width:1360px;min-height:680px;margin:0 auto;padding:74px 28px 96px;
}
body #content .ffc-hero__content {width:100%;max-width:1000px;text-align:center}
body #content .ffc-hero__eyebrow {
  display:flex;justify-content:center;align-items:center;gap:22px;
  margin:0 0 24px;color:var(--hero-navy);
  font:600 13px/1.6 "Open Sans",Arial,sans-serif;letter-spacing:3.2px;text-transform:uppercase;
}
body #content .ffc-hero__eyebrow::before,
body #content .ffc-hero__eyebrow::after {content:"";width:64px;height:1px;background:var(--hero-navy);opacity:.7}
body #content .ffc-hero__eyebrow span {color:inherit}
body #content #ffc-hero-heading {
  margin:0 0 25px;color:var(--hero-navy);font-family:"Open Sans",Arial,sans-serif !important;
  font-size:clamp(42px,4.1vw,64px);font-weight:700;line-height:1.17;letter-spacing:-2px;text-transform:none;
}
body #content #ffc-hero-heading span {color:var(--hero-sand)}
body #content .ffc-hero__description {
  max-width:740px;margin:0 auto 30px;color:var(--hero-navy);
  font:400 17px/1.8 "Open Sans",Arial,sans-serif;text-wrap:pretty;
}
body #content .ffc-hero__actions {display:flex;justify-content:center;gap:16px;align-items:stretch}
body #content .ffc-hero__button {
  display:inline-flex;justify-content:center;align-items:center;gap:14px;
  min-height:54px;padding:15px 23px;border:1.5px solid var(--hero-navy);border-radius:8px;
  font:700 15px/1.5 "Open Sans",Arial,sans-serif;text-align:center;text-decoration:none;
  transition:background-color .18s,border-color .18s,color .18s;
}
body #content .ffc-hero__button svg {display:block;flex-shrink:0;width:20px;height:20px}
body #content .ffc-hero__button--primary {color:#fff;background:var(--hero-navy)}
body #content .ffc-hero__button--secondary {color:var(--hero-navy);background:rgba(255,255,255,.65)}
body #content .ffc-hero__button:hover {color:#fff;background:#00264d;border-color:#00264d}
body #content .ffc-hero__reviews {
  display:inline-flex;justify-content:center;align-items:center;gap:12px;
  max-width:100%;margin:25px 0 0;padding:11px 16px;border:1px solid rgba(0,51,102,.14);border-radius:10px;
  background:rgba(255,255,255,.9);box-shadow:0 4px 18px rgba(0,51,102,.045);
  color:var(--hero-navy);font:600 13px/1.5 "Open Sans",Arial,sans-serif;text-decoration:none;
  transition:border-color .18s,box-shadow .18s;
}
body #content .ffc-hero__google {display:block;flex-shrink:0;width:24px;height:24px}
body #content .ffc-hero__review-score {display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:700;white-space:nowrap}
body #content .ffc-hero__stars {color:#c18324;font-size:17px;letter-spacing:1px}
body #content .ffc-hero__review-count {padding-left:12px;border-left:1px solid #d8dfe6;white-space:nowrap}
body #content .ffc-hero__review-arrow {width:16px;height:16px;flex-shrink:0}
body #content .ffc-hero__reviews:hover {color:var(--hero-navy);border-color:var(--hero-navy);box-shadow:0 4px 20px rgba(0,51,102,.1)}
body #content .ffc-hero__button:focus-visible,
body #content .ffc-hero__reviews:focus-visible {outline:3px solid var(--hero-navy);outline-offset:4px}
@media(min-width:1800px){
  body #content .ffc-hero,
  body #content .ffc-hero__inner {min-height:760px}
  body #content .ffc-hero__inner {padding-top:100px;padding-bottom:125px}
}
@media(max-width:1100px) and (min-width:768px){
  body #content .ffc-hero__photo {object-position:right center}
  body #content .ffc-hero__inner {padding:70px 36px 110px}
  body #content .ffc-hero::before {background:radial-gradient(ellipse 57% 80% at 48% 40%,rgba(255,255,255,.97) 0%,rgba(255,255,255,.92) 45%,rgba(255,255,255,.55) 72%,transparent 100%)}
  body #content #ffc-hero-heading {font-size:clamp(40px,4.5vw,50px);letter-spacing:-1.5px}
  body #content .ffc-hero__description {max-width:650px}
  body #content .ffc-hero__button {font-size:14px;padding-inline:18px}
}
@media(max-width:767px){
  body #content .ffc-hero {min-height:0;display:flex;flex-direction:column;background:#fbf8f3}
  body #content .ffc-hero::before {display:none}
  body #content .ffc-hero__inner {order:0;min-height:0;width:100%;padding:44px 22px 36px}
  body #content .ffc-hero__eyebrow {gap:10px;margin-bottom:20px;font-size:10px;letter-spacing:1.5px}
  body #content .ffc-hero__eyebrow::before,
  body #content .ffc-hero__eyebrow::after {width:22px;flex-shrink:0}
  body #content #ffc-hero-heading {margin-bottom:22px;font-size:clamp(32px,7.5vw,48px);line-height:1.18;letter-spacing:-1.2px;text-wrap:balance}
  body #content .ffc-hero__description {font-size:15px;line-height:1.75;margin-bottom:25px}
  body #content .ffc-hero__actions {flex-direction:column;gap:12px}
  body #content .ffc-hero__button {width:100%;min-height:52px;padding:14px 12px;font-size:14px;gap:10px}
  body #content .ffc-hero__reviews {gap:9px;margin-top:22px;padding:11px 12px;flex-wrap:wrap}
  body #content .ffc-hero__review-score {font-size:14px}
  body #content .ffc-hero__stars {font-size:15px;letter-spacing:0}
  body #content .ffc-hero__review-count {font-size:12px;padding-left:9px}
  body #content .ffc-hero__review-arrow {display:none}
  body #content .ffc-hero__google {width:21px;height:21px}
  body #content .ffc-hero__photo {display:none}
}
@media(max-width:359px){
  body #content .ffc-hero__eyebrow {font-size:9px;letter-spacing:1px;gap:7px}
  body #content .ffc-hero__eyebrow::before,
  body #content .ffc-hero__eyebrow::after {width:16px}
  body #content .ffc-hero__review-count {border:0;padding-left:0}
}
@media(prefers-reduced-motion:reduce){
  body #content .ffc-hero__button,
  body #content .ffc-hero__reviews {transition:none}
}

/* Keep the desktop composition centered while showing the complete family photo. */
@media(min-width:768px) and (max-width:1280px){
  body #content .ffc-hero__photo {
    inset:auto 0 0 auto;width:100%;height:auto;
    object-fit:contain;object-position:right bottom;transform:none;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 16%,#000 86%,transparent 100%);
    mask-image:linear-gradient(180deg,transparent 0%,#000 16%,#000 86%,transparent 100%);
  }
  body #content .ffc-hero::before {
    background:radial-gradient(ellipse 43% 75% at 49% 42%,rgba(255,255,255,.96) 0%,rgba(255,255,255,.9) 38%,rgba(255,255,255,.55) 65%,transparent 100%);
  }
  body #content .ffc-hero__inner {justify-content:center}
  body #content .ffc-hero__content {width:100%;max-width:min(760px,66vw);min-width:0;margin-inline:auto;text-align:center}
  body #content #ffc-hero-heading {font-size:clamp(34px,4.1vw,52px);letter-spacing:-1.5px}
  body #content .ffc-hero__description {max-width:488px;font-size:16px}
  body #content .ffc-hero__actions {flex-direction:row;flex-wrap:wrap;justify-content:center;gap:12px}
  body #content .ffc-hero__button {width:auto;max-width:100%;min-height:52px;padding:14px 18px;font-size:14px;gap:10px}
  body #content .ffc-hero__reviews {flex-wrap:wrap}
  body #content .ffc-hero__review-count {white-space:normal}
}
@media(max-width:767px){
  body #content .ffc-hero__photo {
    position:relative;inset:auto;order:1;display:none;width:100%;height:auto;
    object-fit:contain;transform:none;
  }
}

/* Let smaller screens fit the content without the desktop hero's empty space. */
@media(max-width:1280px){
  body #content .ffc-hero,
  body #content .ffc-hero__inner {min-height:0}
  body #content .ffc-hero__inner {padding-top:32px;padding-bottom:28px}
}
@media(min-width:768px) and (max-width:1280px){
  body.freeport-site.dark-variant.ffc-homepage #content .ffc-hero .ffc-hero__inner {
    padding-top:calc(32px + var(--ffc-header-nav-height,100px));
  }
}
@media(max-width:767px){
  body #content .ffc-hero__inner {padding-block:24px 28px}
}

/* Keep the narrow-tablet hero compact before switching to the phone layout. */
@media(min-width:768px) and (max-width:850px){
  body #content .ffc-hero__content {max-width:100%}
}
@media(max-width:850px){
  body #content .ffc-hero__inner {padding-top:16px}
  body.freeport-site.dark-variant.ffc-homepage #content .ffc-hero .ffc-hero__inner {
    padding-top:calc(16px + var(--ffc-header-nav-height,90px));
  }
  body #content .ffc-hero__eyebrow {margin-bottom:18px}
  body #content #ffc-hero-heading {margin-bottom:18px}
  body #content .ffc-hero__description {margin-bottom:22px}
  body #content .ffc-hero__reviews {margin-top:20px}
}

/* Fit the full local heading on one line above the phone breakpoint. */
@media(min-width:768px){
  body #content #ffc-hero-heading {
    font-size:clamp(30px,3.4vw,52px);
    white-space:nowrap;
    text-wrap:nowrap;
  }
}
