
/* ==========================================================================
   NETLIFY DESIGN SYSTEM FOUNDATIONS & BASE CSS
   ========================================================================== */
:root {
  --color-surface-canvas: #F8F5F2;
  --color-surface-card: #FFFFFF;
  --color-surface-warm: #EAD8CF;
  --color-surface-raised: #D2457F;
  --color-surface-raised-accent: #E76BC1;
  --color-surface-primary-blue: #0C7C96;
  --color-surface-deep: #0A1128;
  --color-text-primary: #2B2A2E;
  --color-text-secondary: #FFFFFF;
  --color-text-tertiary: #0C7C96;
  --color-text-inverse: #3B3A40;
  --color-text-muted: #5E5C64;
  --color-text-subtle: #8A8790;
  --color-border-subtle: rgba(12, 124, 150, 0.14);
  --color-border-pink: rgba(210, 69, 127, 0.32);
  --font-family-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-display: 'Gilda Display', Georgia, serif;
  --font-family-script: 'Sacramento', cursive;
  --font-family-signature: 'Mrs Saint Delafield', cursive;
  --motion-duration-instant: 220ms;
}

.fhc-app-body {
  margin: 0;
  padding: 0;
  background: var(--color-surface-canvas);
  font-family: var(--font-family-primary);
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.fhc-app-body * {
  box-sizing: border-box;
}

.fhc-app-body a {
  color: var(--color-surface-raised);
  text-decoration: none;
  transition: color var(--motion-duration-instant) ease;
}

.fhc-app-body a:hover {
  color: #B23468;
}

.fhc-app-body img {
  display: block;
}

/* CTA Buttons */
[data-cta] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-family-primary);
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  transition: background-color var(--motion-duration-instant) ease,
              color var(--motion-duration-instant) ease,
              border-color var(--motion-duration-instant) ease,
              box-shadow var(--motion-duration-instant) ease,
              transform var(--motion-duration-instant) ease;
}

[data-cta] [data-cta-icon],
[data-cta] [data-cta-badge],
[data-cta] svg {
  transition: transform var(--motion-duration-instant) ease,
              color var(--motion-duration-instant) ease,
              background-color var(--motion-duration-instant) ease,
              fill var(--motion-duration-instant) ease;
}

@media (hover: hover) and (pointer: fine) {
  [data-cta]:hover {
    background: var(--color-surface-primary-blue) !important;
    color: #FFFFFF !important;
    border-color: var(--color-surface-primary-blue) !important;
    box-shadow: 0 10px 24px rgba(12, 124, 150, 0.32) !important;
  }
  [data-cta]:hover [data-cta-icon] {
    transform: translateX(4px);
    color: #FFFFFF !important;
  }
  [data-cta]:hover svg {
    fill: #FFFFFF;
  }
  [data-cta="secondary"]:hover [data-cta-badge] {
    background: #FFFFFF !important;
    transform: translateX(3px);
  }
  [data-cta="secondary"]:hover [data-cta-badge] svg {
    fill: var(--color-surface-primary-blue) !important;
  }
}

[data-cta]:focus-visible {
  outline: 3px solid #FFFFFF !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 7px var(--color-surface-primary-blue) !important;
}

/* Dropdown Menus */
[data-dd-menu] {
  position: absolute;
  left: -24px;
  top: calc(100% - 10px);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}

[data-dd]:hover [data-dd-menu],
[data-dd]:focus-within [data-dd-menu] {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

[data-dd-item] {
  transition: background-color 0.15s ease, color 0.15s ease;
}

[data-dd-item]:hover {
  background: var(--color-surface-canvas);
  color: var(--color-surface-raised) !important;
}

/* Responsive Styles */
body[data-fhc-page="home"] .fhc-home-shell { min-width: 0 !important; }
body[data-fhc-page="home"] .fhc-home-mobile-actions,
body[data-fhc-page="home"] .fhc-home-menu-button { display: none !important; }

@media (max-width: 1279px) {
  body[data-fhc-page="home"] .fhc-home-nav-row { padding-left: 24px !important; padding-right: 24px !important; gap: 12px !important; }
  body[data-fhc-page="home"] .fhc-home-desktop-nav,
  body[data-fhc-page="home"] .fhc-home-desktop-actions { display: none !important; }
  body[data-fhc-page="home"] .fhc-home-mobile-actions,
  body[data-fhc-page="home"] .fhc-home-menu-button { display: flex !important; }
  body[data-fhc-page="home"] .fhc-home-mobile-actions { margin-left: auto; }
  body[data-fhc-page="home"] .fhc-home-hero-copy { max-width: 53% !important; }
  body[data-fhc-page="home"] .fhc-home-hero-copy h1 { font-size: 56px !important; white-space: normal !important; }
  body[data-fhc-page="home"] .fhc-home-hero-frame { padding-left: 32px !important; padding-right: 32px !important; }
  body[data-fhc-page="home"] .fhc-home-hero-copy p { max-width: 430px !important; }
  body[data-fhc-page="home"] .fhc-home-hero-buttons { flex-wrap: wrap; }
  body[data-fhc-page="home"] .fhc-home-section-pad { padding-left: 32px !important; padding-right: 32px !important; }
  body[data-fhc-page="home"] .fhc-care-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 24px !important; }
  body[data-fhc-page="home"] .fhc-video-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  body[data-fhc-page="home"] .fhc-video-list { grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 24px 0 0 !important; border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, 0.18); }
  body[data-fhc-page="home"] .fhc-video-list > div { flex-wrap: wrap; }
  body[data-fhc-page="home"] .fhc-review-heading,
  body[data-fhc-page="home"] .fhc-review-brand { flex-wrap: wrap; }
  body[data-fhc-page="home"] .fhc-review-heading { align-items: flex-start !important; }
  body[data-fhc-page="home"] .fhc-review-controls-row { margin-right: 0 !important; }
  body[data-fhc-page="home"] .fhc-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body[data-fhc-page="home"] .fhc-social-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
  body[data-fhc-page="home"] .fhc-social-copy { padding-top: 24px !important; }
  body[data-fhc-page="home"] .fhc-podcast-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 40px !important; }
  body[data-fhc-page="home"] .fhc-podcast-feature { margin-left: 0 !important; }
  body[data-fhc-page="home"] .fhc-process-grid { grid-template-columns: minmax(0, 1fr) !important; }
  body[data-fhc-page="home"] .fhc-local-section { height: auto !important; }
  body[data-fhc-page="home"] .fhc-local-stage { position: relative !important; left: auto !important; top: auto !important; bottom: auto !important; width: 100% !important; height: auto; transform: none !important; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 32px; padding: 48px 32px; }
  body[data-fhc-page="home"] .fhc-local-coast { left: 40% !important; width: auto !important; right: 0; mask-image: linear-gradient(90deg, transparent, #000 25%) !important; -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%) !important; }
  body[data-fhc-page="home"] .fhc-local-map { position: relative !important; left: auto !important; top: auto !important; height: 360px !important; width: auto !important; max-width: 100%; object-fit: contain; grid-column: 2; grid-row: 1; justify-self: center; }
  body[data-fhc-page="home"] .fhc-local-note { position: relative !important; left: auto !important; top: auto !important; width: auto !important; font-size: 32px !important; grid-column: 2; grid-row: 2; justify-self: center; }
  body[data-fhc-page="home"] .fhc-local-copy { position: relative !important; left: auto !important; top: auto !important; bottom: auto !important; width: 100% !important; grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  body[data-fhc-page="home"] .fhc-local-copy > * { position: relative !important; left: auto !important; top: auto !important; width: auto !important; white-space: normal !important; }
  body[data-fhc-page="home"] .fhc-local-copy h2 { font-size: 46px !important; margin-top: 18px !important; }
  body[data-fhc-page="home"] .fhc-local-copy p { font-size: 16px !important; margin-top: 20px !important; }
  body[data-fhc-page="home"] .fhc-local-copy a { display: inline-flex !important; min-height: 52px; height: auto !important; padding: 16px 24px; font-size: 14px !important; margin-top: 26px; }
}

@media (max-width: 767px) {
  body[data-fhc-page="home"] .fhc-home-nav-row > a img { height: 36px !important; max-width: 205px; object-fit: contain; }
  body[data-fhc-page="home"] .fhc-home-nav-row { padding: 0 18px !important; gap: 10px !important; }
  body[data-fhc-page="home"] .fhc-home-hero { height: auto !important; padding-top: 340px; }
  body[data-fhc-page="home"] .fhc-home-portrait { width: 100% !important; height: 370px; bottom: auto !important; }
  body[data-fhc-page="home"] .fhc-home-portrait img { object-position: 50% 32% !important; mask-image: linear-gradient(180deg, #000 78%, transparent) !important; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent) !important; }
  body[data-fhc-page="home"] .fhc-home-scrim { background: linear-gradient(180deg, transparent 240px, #EAD8CF 365px) !important; }
  body[data-fhc-page="home"] .fhc-home-hero-frame { height: auto !important; padding: 28px 24px 40px !important; display: flex; flex-direction: column; gap: 30px; }
  body[data-fhc-page="home"] .fhc-home-hero-copy { position: relative !important; top: auto !important; transform: none !important; max-width: none !important; width: 100%; }
  body[data-fhc-page="home"] .fhc-home-hero-copy h1 { font-size: 38px !important; line-height: 1.1 !important; }
  body[data-fhc-page="home"] .fhc-home-hero-buttons { flex-direction: column; align-items: stretch; white-space: normal !important; }
  body[data-fhc-page="home"] .fhc-home-hero-buttons a { justify-content: center; }
  body[data-fhc-page="home"] .fhc-home-signature { gap: 14px !important; flex-wrap: wrap; }
  body[data-fhc-page="home"] .fhc-home-sign-note { position: relative !important; top: auto !important; right: auto !important; width: 100% !important; font-size: 28px !important; transform: rotate(-3deg) !important; }
  body[data-fhc-page="home"] .fhc-home-message { position: relative !important; right: auto !important; bottom: auto !important; width: 100% !important; }
  body[data-fhc-page="home"] .fhc-home-section-pad { padding: 48px 24px !important; }
  body[data-fhc-page="home"] h2 { font-size: 34px !important; white-space: normal !important; }
  body[data-fhc-page="home"] .fhc-care-heading { flex-direction: column; align-items: flex-start !important; }
  body[data-fhc-page="home"] .fhc-care-grid,
  body[data-fhc-page="home"] .fhc-video-grid,
  body[data-fhc-page="home"] .fhc-review-grid,
  body[data-fhc-page="home"] .fhc-podcast-grid { grid-template-columns: minmax(0, 1fr) !important; }
  body[data-fhc-page="home"] .fhc-video-list { grid-template-columns: minmax(0, 1fr); }
  body[data-fhc-page="home"] .fhc-review-heading { gap: 24px !important; }
  body[data-fhc-page="home"] .fhc-review-brand { white-space: normal !important; gap: 18px !important; }
  body[data-fhc-page="home"] .fhc-review-grid > div { transform: none !important; }
  body[data-fhc-page="home"] .fhc-social-collage { width: 100% !important; height: auto !important; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 32px; padding: 24px 0 12px; }
  body[data-fhc-page="home"] .fhc-social-collage > div { position: relative !important; left: auto !important; top: auto !important; width: min(280px, 90%) !important; }
  body[data-fhc-page="home"] .fhc-social-collage > div:first-child { height: 470px !important; }
  body[data-fhc-page="home"] .fhc-social-copy { padding: 28px 0 0 !important; }
  body[data-fhc-page="home"] .fhc-podcast-cover { justify-self: center; width: 330px !important; max-width: 100%; }
  body[data-fhc-page="home"] .fhc-podcast-list { padding-left: 0 !important; border-left: 0 !important; padding-top: 24px; border-top: 1px solid rgba(12, 124, 150, 0.18); }
  body[data-fhc-page="home"] .fhc-local-stage { grid-template-columns: minmax(0, 1fr); padding: 48px 24px; }
  body[data-fhc-page="home"] .fhc-local-copy { grid-column: 1; grid-row: 1; }
  body[data-fhc-page="home"] .fhc-local-map { grid-column: 1; grid-row: 2; height: 360px !important; }
  body[data-fhc-page="home"] .fhc-local-note { grid-column: 1; grid-row: 3; font-size: 30px !important; }
  body[data-fhc-page="home"] .fhc-local-coast { left: 0 !important; top: 42% !important; }
  body[data-fhc-page="home"] .fhc-local-copy h2 { font-size: 34px !important; }
  body[data-fhc-page="home"] .fhc-process-steps { grid-template-columns: minmax(0, 1fr) !important; gap: 38px !important; }
  body[data-fhc-page="home"] .fhc-final-copy { padding: 48px 24px !important; }
  body[data-fhc-page="home"] .fhc-final-section { display: block !important; }
  body[data-fhc-page="home"] .fhc-final-buttons { flex-direction: column; align-items: flex-start; white-space: normal !important; }

/* Reviews + podcast band. Keeps the approved layout and stops the cards from colliding. */
body[data-fhc-page="home"] .fhc-review-grid {
  align-items: stretch;
  padding-bottom: 16px;
}
body[data-fhc-page="home"] .fhc-review-grid p {
  overflow: visible;
}
body[data-fhc-page="home"] .fhc-review-controls-row button:hover {
  background: #D2457F !important;
  color: #FFFFFF !important;
}
body[data-fhc-page="home"] .fhc-podcast-list > div[role="button"]:hover {
  background: rgba(12, 124, 150, 0.05);
  border-radius: 8px;
}
@media (max-width: 1400px) {
  body[data-fhc-page="home"] .fhc-review-controls-row { margin-right: 0 !important; }
  body[data-fhc-page="home"] .fhc-podcast-feature { margin-left: 0 !important; }
}

/* Suppress any default theme/elementor headers or footers */
.elementor-location-header,
.elementor-location-footer,
header#site-header,
footer#site-footer,
.site-header,
.site-footer {
  display: none !important;
}

}

.fhc-care-grid a svg,
.fhc-care-grid a svg path {
  fill: none !important;
  stroke: #FFFFFF !important;
  color: #FFFFFF;
}

.fhc-care-grid a > div img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1);
}
.fhc-care-grid a:hover img,
.fhc-care-grid a:focus-visible img {
  transform: scale(1.08);
}
@media (prefers-reduced-motion: reduce) {
  .fhc-care-grid a > div img { transition: none; }
}

/* Hero, videos, podcast, process, and final CTA sit flush with the viewport. */
body[data-fhc-page="home"] .elementor-element-bf0070e > .elementor-container > .elementor-column > .elementor-widget-wrap,
body[data-fhc-page="home"] .elementor-element-61f4417 > .elementor-container > .elementor-column > .elementor-widget-wrap,
body[data-fhc-page="home"] .elementor-element-9da0b7c > .elementor-container > .elementor-column > .elementor-widget-wrap,
body[data-fhc-page="home"] .elementor-element-1a868de > .elementor-container > .elementor-column > .elementor-widget-wrap,
body[data-fhc-page="home"] .elementor-element-1d10b6e > .elementor-container > .elementor-column > .elementor-widget-wrap {
  padding: 0 !important;
}
