:root {
  --fw-navy: #071827;
  --fw-blue: #007fbd;
  --fw-blue-dark: #005f91;
  --fw-cyan: #72d2f6;
  --fw-red: #e3061a;
  --fw-red-dark: #b90012;
  --fw-ice: #edf8fc;
  --fw-paper: #f5f7f8;
  --fw-text: #162633;
  --fw-muted: #53626d;
  --fw-white: #ffffff;
  --fw-radius: 22px;
  --fw-shadow: 0 24px 70px rgba(7, 24, 39, .14);
  --fw-shadow-soft: 0 14px 38px rgba(7, 24, 39, .09);
}

html { scroll-behavior: smooth; }
body { color: var(--fw-text); background: var(--fw-white); -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2, h3, h4 { letter-spacing: -.045em; text-wrap: balance; }
p { text-wrap: pretty; }
a { text-underline-offset: 3px; }

.ehf-header #masthead {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(7,24,39,.08);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
body.ehf-header [data-elementor-type="wp-page"] { padding-top: 104px; }
body.admin-bar #masthead { top: 32px; }
#masthead .fw-header-wrap > .elementor-container { min-height: 92px; align-items: center; }
#masthead .fw-header-wrap .elementor-column { display: flex; align-items: center; }
#masthead .fw-header-wrap .elementor-widget-wrap { padding: 0; align-content: center; align-items: center; }
#masthead .elementor-widget-navigation-menu { width: 100%; }
#masthead .hfe-site-logo-img { display: block; }
#masthead .hfe-nav-menu a.hfe-menu-item { font-weight: 750; letter-spacing: -.01em; }
#masthead .menu-item:last-child > a.hfe-menu-item,
#masthead .hfe-nav-menu > li:last-child > a {
  color: #fff !important;
  background: var(--fw-red) !important;
  border-radius: 12px;
  padding: 13px 21px !important;
  margin-left: 10px;
}
#masthead .menu-item:last-child > a.hfe-menu-item:hover,
#masthead .hfe-nav-menu > li:last-child > a:hover { background: var(--fw-red-dark) !important; color: #fff !important; transform: translateY(-1px); }

.fw-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fw-blue);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.fw-kicker::before { content: ""; flex: 0 0 25px; width: 25px; height: 3px; border-radius: 99px; background: var(--fw-red); }
.fw-hero .elementor-background-overlay { background: linear-gradient(90deg, rgba(7,24,39,.96) 0%, rgba(7,24,39,.82) 46%, rgba(7,24,39,.25) 100%) !important; }
.fw-hero h1 { max-width: 900px; text-shadow: 0 12px 42px rgba(0,0,0,.28); }
.fw-button .elementor-button { border-radius: 13px !important; background: linear-gradient(135deg, var(--fw-red), #c90017) !important; box-shadow: 0 14px 30px rgba(227,6,26,.25); transition: transform .2s ease, box-shadow .2s ease; }
.fw-button .elementor-button:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(227,6,26,.32); }
.fw-button-secondary .elementor-button { border: 1px solid rgba(255,255,255,.34); }

.fw-trust { width: calc(100% - 56px); max-width: 1240px; margin: -54px auto 0; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: rgba(7,24,39,.96); color: #fff; box-shadow: 0 28px 70px rgba(7,24,39,.24); position: relative; z-index: 5; overflow: hidden; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.fw-trust::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(0,127,189,.18), transparent 45%, rgba(227,6,26,.08)); pointer-events: none; }
.fw-trust .elementor-container { position: relative; z-index: 1; }
.fw-trust .elementor-column { border-right: 1px solid rgba(255,255,255,.16); }
.fw-trust .elementor-column:last-child { border-right: 0; }
.fw-trust h3 { color: #fff !important; font-size: 1.25rem !important; }
.fw-trust p { color: rgba(255,255,255,.68) !important; margin-bottom: 0; }
.fw-card-grid .elementor-container { align-items: stretch; }
.fw-card-grid .elementor-column, .fw-card-grid .elementor-widget-wrap { height: 100%; }
.fw-card {
  height: 100%;
  padding: 34px 34px 36px;
  border: 1px solid rgba(7,24,39,.075);
  border-radius: var(--fw-radius);
  background: linear-gradient(145deg, #fff 0%, #fbfdfe 100%);
  box-shadow: var(--fw-shadow-soft);
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fw-card::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--fw-red), var(--fw-blue)); }
.fw-card:hover { transform: translateY(-7px); box-shadow: var(--fw-shadow); border-color: rgba(0,127,189,.2); }
.fw-card-number { display: inline-flex; min-width: 42px; min-height: 30px; align-items: center; justify-content: center; margin-bottom: 20px; border-radius: 999px; color: var(--fw-blue); background: rgba(0,127,189,.1); font-size: .8rem; font-weight: 850; letter-spacing: .08em; }
.fw-card h3 { margin: 0 0 12px; color: var(--fw-navy); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.12; }
.fw-card p { margin: 0; color: var(--fw-muted); line-height: 1.65; }
.fw-image-card img { display: block; width: 100%; border-radius: var(--fw-radius) !important; box-shadow: var(--fw-shadow); object-fit: cover; }
.fw-image-tall img { height: 610px !important; }
.fw-image-wide img { height: 440px !important; }
.fw-split { position: relative; overflow: hidden; }
.fw-split-intro::before, .fw-contact-section::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(114,210,246,.22), transparent 68%); pointer-events: none; }
.fw-split-intro::before { right: -180px; top: -190px; }
.fw-contact-section::before { left: -180px; bottom: -210px; }
.fw-dark { color: #fff; }
.fw-dark a { color: #fff; }
.fw-dark-split { background-image: radial-gradient(circle at 82% 20%, rgba(0,127,189,.22), transparent 35%); }
.fw-contact-card, .fw-contact-section .elementor-column:last-child { position: relative; z-index: 1; }
.fw-contact-card { background: transparent; border-radius: 0; box-shadow: none; }
.fw-contact-section a { color: var(--fw-blue); font-weight: 750; }
.fw-contact-section a:hover { color: var(--fw-blue-dark); }

.wpcf7 form { display: grid; gap: 18px; }
.wpcf7 .fw-form-grid { display: block; }
.wpcf7 .fw-form-grid > p { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.wpcf7 label { display: grid; gap: 7px; color: var(--fw-text); font-weight: 750; font-size: .92rem; }
.wpcf7 input:not([type="submit"]), .wpcf7 select, .wpcf7 textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #c8d3da;
  border-radius: 13px;
  background: #fbfdfe;
  color: var(--fw-text);
  font: inherit;
}
.wpcf7 textarea { min-height: 130px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 3px solid rgba(0,139,210,.18); border-color: var(--fw-blue); }
.wpcf7 input[type="submit"] {
  min-height: 52px;
  padding: 13px 24px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--fw-red), #c90017);
  font-weight: 850;
  cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { background: #ba0012; }
.wpcf7 .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; }
.wpcf7 .wpcf7-acceptance input { width: auto; min-height: 0; margin-top: 4px; }
.wpcf7-response-output { margin: 0 !important; border-radius: 10px; }

#colophon { background: var(--fw-navy); }
#colophon a { color: rgba(255,255,255,.82); }
#colophon a:hover { color: #fff; }
.fw-footer .hfe-nav-menu { gap: 8px; }

@media (min-width: 1025px) {
  #masthead .hfe-nav-menu {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 6px;
    border: 1px solid rgba(7,24,39,.07);
    border-radius: 17px;
    background: rgba(241,246,248,.92);
    box-shadow: 0 10px 30px rgba(7,24,39,.07);
  }
  #masthead .hfe-nav-menu > li:not(:last-child) > a.hfe-menu-item {
    min-height: 46px;
    padding: 12px 18px !important;
    border-radius: 11px;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
  }
  #masthead .hfe-nav-menu > li:not(:last-child) > a.hfe-menu-item:hover {
    color: var(--fw-blue) !important;
    background: rgba(255,255,255,.72);
    transform: translateY(-1px);
  }
  #masthead .hfe-nav-menu > li.current-menu-item:not(:last-child) > a.hfe-menu-item {
    color: var(--fw-blue) !important;
    background: #fff;
    box-shadow: 0 6px 18px rgba(7,24,39,.09);
  }
  #masthead .hfe-nav-menu > li:last-child > a.hfe-menu-item { min-height: 46px; margin-left: 7px; }
}

@media (max-width: 1024px) {
  body.ehf-header [data-elementor-type="wp-page"] { padding-top: 100px; }
  #masthead .fw-header-wrap > .elementor-container { min-height: 88px; }
  #masthead .hfe-nav-menu > li:last-child > a { margin-left: 0; border-radius: 10px; }
  h1.elementor-heading-title { font-size: clamp(3rem, 7vw, 3.6rem) !important; line-height: 1.02 !important; }
  .fw-trust .elementor-column { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .fw-trust .elementor-column:last-child { border-bottom: 0; }
  .fw-trust { width: calc(100% - 40px); margin-top: -38px; border-radius: 18px; }
  .fw-image-tall img { height: 520px !important; }
  .fw-image-wide img { height: 390px !important; }
}

@media (max-width: 767px) {
  body.ehf-header [data-elementor-type="wp-page"] { padding-top: 90px; }
  #masthead .fw-header-wrap > .elementor-container { min-height: 78px; }
  #masthead .fw-header-wrap { padding-left: 18px !important; padding-right: 18px !important; }
  #masthead .hfe-site-logo-img { width: 104px !important; }
  #masthead .hfe-dropdown.menu-is-active { top: 84px !important; border-top: 1px solid rgba(7,24,39,.08); box-shadow: 0 18px 40px rgba(7,24,39,.14); }
  .fw-hero { padding-left: 20px !important; padding-right: 20px !important; }
  .fw-hero > .elementor-container > .elementor-column > .elementor-widget-wrap { padding-left: 0 !important; padding-right: 0 !important; }
  .fw-hero .elementor-background-overlay { background: linear-gradient(180deg, rgba(7,24,39,.87), rgba(7,24,39,.96)) !important; }
  h1.elementor-heading-title { font-size: clamp(2.35rem, 11.5vw, 3.2rem) !important; line-height: 1 !important; overflow-wrap: anywhere; }
  h2.elementor-heading-title { font-size: clamp(2rem, 9vw, 2.8rem) !important; line-height: 1.08 !important; }
  h3.elementor-heading-title { font-size: clamp(1.35rem, 6vw, 1.75rem) !important; line-height: 1.16 !important; }
  #masthead .elementor-column:first-child { width: 58% !important; }
  #masthead .elementor-column:last-child { width: 42% !important; }
  .wpcf7 .fw-form-grid > p { grid-template-columns: 1fr; }
  .fw-card { padding: 28px; }
  .fw-trust { width: 100%; margin-top: 0; border-width: 0; border-radius: 0; box-shadow: none; }
  .fw-image-tall img, .fw-image-wide img { height: 330px !important; }
  .fw-split .elementor-column + .elementor-column { margin-top: 28px; }
  .fw-contact-section .elementor-column:last-child { padding: 26px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
