/* ==========================================================================
   FFC Static — Brand CSS
   Font: Effra (Adobe Fonts / Typekit: mko8paa)
   Primary: #38998F | Dark: #0d7a75 | Accent: #f88379
   ========================================================================== */

:root {
  --brand-teal: #38998F;
  --brand-teal-dark: #0d7a75;
  --brand-teal-light: #1CABA4;
  --brand-gray-dark: #474747;
  --brand-gray-text: #918D8D;
  --brand-off-white: #F4FAF9;
  --brand-white: #FFFFFF;
  --brand-slate: #333333;
  --brand-coral: #f88379;
  --color-navy: #16163F;
  --container-max-width: 1440px;
  --content-width: 1300px;
  --e-global-color-primary: #38998F;
  --e-global-color-secondary: #474747;
  --e-global-color-text: #918D8D;
  --e-global-color-accent: #F4FAF9;
  --e-global-color-450b8c4: #534641;
  --e-global-color-694b746: #1C454A;
  --e-global-color-b9fb697: #BF816A;
}

h2 { font-size: 34px !important; font-weight: 500 !important; color: var(--e-global-color-primary); }
h3 { font-size: 20px !important; font-weight: 500 !important; color: var(--e-global-color-primary); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: 'effra', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-weight: 400; line-height: 1.6; color: var(--e-global-color-text) !important; background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: #0d7a75; text-decoration: none; transition: color 0.2s; }
a:hover { color: #38998F; }
h1, h2, h3, h4, h5, h6 { font-family: 'effra', sans-serif; line-height: 1.25; margin-bottom: 0.5em; }
p { margin-bottom: 1em; font-size: 1rem; line-height: 1.7; }

.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 0; left: 0; width: auto; height: auto; padding: 0.5rem 1rem; background: #0d7a75; color: #fff; z-index: 9999; }

/* Overlay */
.bg-overlay { position: relative; }
.bg-overlay::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--brand-teal); opacity: var(--overlay-opacity, 0.85); pointer-events: none; z-index: 0; }
.bg-overlay > * { position: relative; z-index: 1; }

/* Header */
.ffc-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #eee; }
.ffc-header__inner { max-width: min(100%, 1440px); margin: 0 auto; padding: 0.5rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
.ffc-header__logo { flex-shrink: 0; }
.ffc-header__logo img { width: 200px; height: auto; }
.ffc-nav { flex: 1; display: flex; justify-content: center; }
.ffc-nav__list { display: flex; list-style: none; gap: 0; align-items: center; }
.ffc-nav__item > a { display: block; padding: 0.625rem 12px; color: #1CABA4; font-size: 1.3em; font-weight: 400; text-transform: uppercase; transition: color 0.2s; }
.ffc-nav__item > a:hover, .ffc-nav__item > a:focus { color: #0d7a75; }
.ffc-nav__item > a.is-active { color: #0d7a75; border-bottom: 2px solid #38998F; padding-bottom: calc(0.625rem - 2px); }
.ffc-nav__item--has-sub > a::after { content: ''; display: inline-block; width: 0; height: 0; margin-left: 5px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; vertical-align: middle; }
.ffc-nav__item--has-sub { position: relative; }
.ffc-nav__sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.1); border-radius: 4px; min-width: 220px; padding: 0.375rem 0; list-style: none; z-index: 200; }
.ffc-nav__item--has-sub.is-open > .ffc-nav__sub { display: block; }
.ffc-nav__sub li a { display: block; padding: 0.5rem 1rem; color: #555; font-size: 0.8125rem; font-weight: 400; }
.ffc-nav__sub li a:hover { background: #f5f5f5; color: #0d7a75; }
.ffc-header__cta { flex-shrink: 0; background: #38998F; color: #fff; padding: 0.5rem 1.25rem; border-radius: 120px; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; transition: background 0.2s; white-space: nowrap; }
.ffc-header__cta:hover { background: #0d7a75; color: #fff; }
.ffc-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; margin-left: auto; }
.ffc-hamburger span { display: block; width: 22px; height: 2px; background: #333; border-radius: 2px; }

/* Mobile nav */
.ffc-mobile-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #fff; z-index: 300; overflow-y: auto; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none; }
.ffc-mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ffc-mobile-nav__inner { padding: 1.5rem; max-width: 480px; margin: 0 auto; }
.ffc-mobile-nav__close { display: block; margin-left: auto; margin-bottom: 1rem; background: none; border: none; font-size: 1.75rem; cursor: pointer; color: #333; line-height: 1; }
.ffc-mobile-nav__list { list-style: none; margin-top: 1rem; }
.ffc-mobile-nav__list li a { display: block; padding: 0.75rem 0; color: #333; font-size: 1.0625rem; }
.ffc-mobile-nav__list li a:hover { color: #0d7a75; }
.ffc-mobile-nav__row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eee; }
.ffc-mobile-nav__toggle { background: none; border: none; padding: 0.5rem; cursor: pointer; color: #333; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.ffc-mobile-nav__item.is-open .ffc-mobile-nav__toggle { transform: rotate(45deg); }
.ffc-icon--plus::before { content: '+'; font-family: Arial, sans-serif; font-size: 1.5rem; font-weight: 300; line-height: 1; }
.ffc-mobile-nav__sub { list-style: none; padding-left: 1rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.ffc-mobile-nav__item.is-open .ffc-mobile-nav__sub { max-height: 500px; }
.ffc-mobile-nav__sub li a { font-size: 0.9375rem; padding: 0.5rem 0; }
.ffc-mobile-nav__cta { display: block; margin-top: 1.5rem; text-align: center; background: #38998F; color: #fff; padding: 0.75rem; border-radius: 3px; font-weight: 600; }
.ffc-mobile-backdrop { display: none !important; }

/* Content */
.ffc-content { width: 100%; }
.blog-container { width: 59%; min-width: 320px; max-width: 100%; margin: 60px auto 40px; padding: 0 4%; }
@media (max-width: 1024px) { .blog-container { width: 90%; } }
.blog-content h3, .blog-content h4 { color: var(--e-global-color-secondary) !important; }
.blog-content ul { list-style-type: disc; list-style-position: inside; margin-bottom: 1.5rem; }
.blog-content ol { list-style-type: decimal; list-style-position: inside; margin-bottom: 1.5rem; }
.blog-content ul li, .blog-content ol li { margin-bottom: 0.5rem; }

/* Footer */
.ffc-footer { background: var(--brand-gray-dark); color: #c5d6d3; padding: 3rem 1.5rem 0; margin-top: 3rem; }
.ffc-footer__inner { max-width: min(100%, 1440px); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.ffc-footer__brand img { height: 45px; width: auto; margin-bottom: 0.75rem; }
.ffc-footer h2 { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 500; color: var(--brand-teal-light); margin: 0 0 1rem 0; line-height: 1.2; }
.ffc-footer p { font-size: 17.6px; line-height: 26.4px; color: #FFFFFF; margin: 0 0 1rem 0; }
.ffc-footer a { color: #FFFFFF; text-decoration: none; transition: color 0.2s; }
.ffc-footer a:hover { color: var(--brand-teal-light); }
.ffc-footer img[src*="logo"] { width: 305px; max-width: 100%; height: auto; }
.ffc-footer__social { display: flex; gap: 0.75rem; align-items: center; list-style: none; padding: 0; margin: 1rem 0 0; }
.ffc-footer__social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: #FFFFFF; }
.ffc-footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 2rem; padding: 1rem 0; text-align: center; font-size: 0.75rem; color: #8aa7a0; }
.ffc-footer__bottom a { color: #CCCCCC; }
.ffc-footer__bottom a:hover { color: var(--brand-teal-light); }

/* Buttons */
.ffc-btn { display: inline-block; background: #38998F; color: #fff; padding: 0.625rem 1.25rem; border: none; border-radius: 3px; font-family: 'effra', sans-serif; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.ffc-btn:hover { background: #0d7a75; color: #fff; }
.ffc-btn--outline { background: transparent; border: 2px solid #38998F; color: #38998F; }
.ffc-btn--outline:hover { background: #38998F; color: #fff; }
.ffc-btn--lg { padding: 0.875rem 2rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Forms */
.ffc-form label { display: block; font-size: 0.8125rem; font-weight: 600; color: #333; margin-bottom: 0.25rem; margin-top: 0.75rem; }
.ffc-form input, .ffc-form textarea, .ffc-form select { width: 100%; padding: 0.5rem 0.625rem; border: 1px solid #ccc; border-radius: 3px; font-family: 'effra', sans-serif; font-size: 0.875rem; transition: border-color 0.2s; }
.ffc-form input:focus, .ffc-form textarea:focus { outline: none; border-color: #38998F; box-shadow: 0 0 0 2px rgba(56,153,143,0.15); }
.ffc-newsletter-form { margin-top: 0.5rem; }
.ffc-newsletter-fields { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.ffc-newsletter-form input[type="text"], .ffc-newsletter-form input[type="email"] { flex: 1; padding: 0.65rem 1rem; border: 1px solid #ddd; border-radius: 3px; font-size: 15px; font-family: inherit; background: #fff; }
.ffc-newsletter-submit { display: block; width: 100%; padding: 0.75rem 2rem; background-color: #1CABA4; color: #FFFFFF; font-size: 16px; font-weight: 600; border: none; border-radius: 50px; cursor: pointer; transition: background-color 0.2s; }
.ffc-newsletter-submit:hover { background-color: #178F89; }

/* Accordion */
.ffc-accordion__item { border-bottom: 1px solid #e5e5e5; }
.ffc-accordion__trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 0; background: none; border: none; cursor: pointer; font-family: 'effra', sans-serif; font-size: 1rem; font-weight: 600; color: var(--brand-gray-dark); text-align: left; text-transform: uppercase; letter-spacing: 0.02em; }
.ffc-accordion__trigger:hover { color: var(--brand-teal); }
.ffc-accordion__icon { font-size: 1.25rem; font-weight: 300; transition: transform 0.3s ease; flex-shrink: 0; }
.ffc-accordion__item.is-active .ffc-accordion__icon { transform: rotate(45deg); }
.ffc-accordion__content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.ffc-accordion__item.is-active .ffc-accordion__content { max-height: 2000px; }
.ffc-accordion__body { padding: 0 0 1.5rem 0; }

/* Responsive */
@media (max-width: 1024px) {
  .ffc-nav { display: none; }
  .ffc-header__cta { display: none; }
  .ffc-hamburger { display: flex; }
  .ffc-mobile-nav { display: block; }
  .ffc-footer__inner { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 767px) { .ffc-newsletter-fields { flex-direction: column; } }

/* Discovered pixel-exact sizes (from Elementor source — do not guess) */
.icon-sm   { width: 20px; height: 20px; }
.icon-md   { width: 30px; height: 30px; }
.icon-lg   { width: 50px; height: 50px; }
.icon-sm svg, .icon-md svg, .icon-lg svg { width: 100% !important; height: 100% !important; display: block; }
.img-avatar { width: 75px !important; height: 75px !important; object-fit: cover; border-radius: 50%; }
.img-thumb  { width: 225px; height: auto; }
.img-card   { width: 280px; height: 280px; object-fit: cover; }
.img-badge  { width: 170px; height: auto; }
.img-hero   { width: 360px; height: auto; }
.w-pct-20 { width: 20%; } .w-pct-30 { width: 30%; } .w-pct-35 { width: 35%; }
.w-pct-48 { width: 48%; } .w-pct-50 { width: 50%; } .w-pct-52 { width: 52%; }
.w-pct-70 { width: 70%; } .w-pct-75 { width: 75%; } .w-pct-90 { width: 90%; }
.w-pct-95 { width: 95%; } .w-full { width: 100%; }
.section { padding: 3rem 1.5rem; }
.container { max-width: min(100%, var(--container-max-width)); margin: 0 auto; }

/* Custom Typography & Container Tokens from Design Report */
.text-hero { font-size: 50px; font-weight: 500; }
.text-display { font-size: 44.8px; font-weight: 500; }
.text-callout { font-size: 25px; font-weight: 500; }
.text-nav { font-size: 20.8px; font-weight: 500; }
.text-small { font-size: 14.4px; }
.text-xs { font-size: 13px; }

.contain-xs { max-width: 800px; margin: 0 auto; width: 100%; }
.contain-sm { max-width: 1000px; margin: 0 auto; width: 100%; }
.contain-md { max-width: 1140px; margin: 0 auto; width: 100%; }
.contain-lg { max-width: 1300px; margin: 0 auto; width: 100%; }
.contain-xl { max-width: min(100%, 1440px); margin: 0 auto; width: 100%; }
.contain-xxl { max-width: 2000px; margin: 0 auto; width: 100%; }