/*
Theme Name: Harborview Fund
Theme URI: https://harborviewfund.com/
Author: Harborview Fund
Description: A clean fintech-style WordPress theme with a built-in business funding application form.
Version: 1.2.0
Text Domain: harborview-funding-group
*/

:root {
  --hfg-navy: #0b1f3a;
  --hfg-blue: #1268b3;
  --hfg-blue-2: #0a4f8f;
  --hfg-cyan: #18a4d8;
  --hfg-teal: #11b6a8;
  --hfg-ink: #142033;
  --hfg-muted: #657489;
  --hfg-line: #dce7f3;
  --hfg-soft: #f5f9fd;
  --hfg-soft-2: #eaf4fb;
  --hfg-white: #ffffff;
  --hfg-radius: 22px;
  --hfg-shadow: 0 22px 60px rgba(14, 35, 65, 0.14);
  --hfg-shadow-soft: 0 12px 34px rgba(14, 35, 65, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hfg-ink);
  background: var(--hfg-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.admin-bar .hfg-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.hfg-container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.hfg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 231, 243, 0.86);
  backdrop-filter: blur(18px);
}

.hfg-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.hfg-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 780;
  letter-spacing: -0.03em;
  color: var(--hfg-navy);
}

.hfg-brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hfg-blue), var(--hfg-teal));
  box-shadow: 0 10px 22px rgba(18, 104, 179, 0.22);
  font-weight: 850;
}

.hfg-brand-text {
  display: grid;
  line-height: 1.05;
}

.hfg-brand-text span:first-child {
  font-size: 1.02rem;
}

.hfg-brand-text span:last-child {
  color: var(--hfg-muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 750;
}

.hfg-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 650;
  color: #435269;
}

.hfg-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0;
  margin: 0;
}

.hfg-nav a:hover,
.hfg-nav .current-menu-item > a {
  color: var(--hfg-blue);
}

.hfg-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hfg-btn,
.hfg-form button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hfg-blue), var(--hfg-blue-2));
  color: #fff;
  box-shadow: 0 14px 30px rgba(18, 104, 179, 0.22);
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.hfg-btn:hover,
.hfg-form button:hover,
.wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(18, 104, 179, 0.27);
}

.hfg-btn.secondary {
  background: #fff;
  color: var(--hfg-blue);
  border: 1px solid var(--hfg-line);
  box-shadow: none;
}

.hfg-btn.text {
  background: transparent;
  color: var(--hfg-blue);
  box-shadow: none;
  border: 0;
  padding: 0;
}

.hfg-menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--hfg-line);
  border-radius: 14px;
  width: 44px;
  height: 44px;
}

.hfg-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--hfg-navy);
  margin: 4px auto;
}

.hfg-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 62px;
  background:
    radial-gradient(circle at 15% 10%, rgba(17, 182, 168, 0.16), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(24, 164, 216, 0.18), transparent 36%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.hfg-hero:before {
  content: "";
  position: absolute;
  inset: auto -8% -30% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(18, 104, 179, 0.08);
}

.hfg-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.82fr);
  gap: 46px;
  align-items: center;
}

.hfg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hfg-blue);
  background: rgba(18, 104, 179, 0.08);
  border: 1px solid rgba(18, 104, 179, 0.15);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hfg-kicker:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--hfg-teal);
}

.hfg-hero h1,
.hfg-page-hero h1 {
  margin: 20px 0 18px;
  color: var(--hfg-navy);
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hfg-hero p.lead,
.hfg-page-hero p {
  margin: 0;
  color: #53647c;
  max-width: 680px;
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
}

.hfg-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hfg-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 690px;
}

.hfg-metric {
  padding: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(220, 231, 243, 0.86);
  border-radius: 18px;
  box-shadow: var(--hfg-shadow-soft);
}

.hfg-metric strong {
  display: block;
  color: var(--hfg-navy);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.hfg-metric span {
  display: block;
  margin-top: 3px;
  color: var(--hfg-muted);
  font-size: 0.88rem;
}

.hfg-form-panel {
  position: relative;
  border-radius: 30px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(18,104,179,0.16), rgba(17,182,168,0.16));
  box-shadow: var(--hfg-shadow);
}

.hfg-form-card,
.hfg-card {
  background: #fff;
  border: 1px solid rgba(220, 231, 243, 0.88);
  border-radius: var(--hfg-radius);
  box-shadow: var(--hfg-shadow-soft);
}

.hfg-form-card {
  padding: 28px;
}

.hfg-form-card h2 {
  margin: 0 0 8px;
  color: var(--hfg-navy);
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hfg-form-card .hfg-form-intro {
  margin: 0 0 20px;
  color: var(--hfg-muted);
  font-size: 0.95rem;
}

.hfg-form {
  display: grid;
  gap: 14px;
}

.hfg-form .hfg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hfg-form label {
  display: grid;
  gap: 6px;
  color: var(--hfg-blue);
  font-size: 0.9rem;
  font-weight: 760;
}

.hfg-form .required {
  color: #df2d2d;
}

.hfg-form input,
.hfg-form select,
.hfg-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d7e0eb;
  border-radius: 12px;
  padding: 12px 13px;
  color: var(--hfg-ink);
  background: #fff;
  font: inherit;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.hfg-form textarea {
  min-height: 92px;
  resize: vertical;
}

.hfg-form input:focus,
.hfg-form select:focus,
.hfg-form textarea:focus {
  border-color: var(--hfg-blue);
  box-shadow: 0 0 0 4px rgba(18, 104, 179, 0.10);
}

.hfg-form input::placeholder,
.hfg-form textarea::placeholder {
  color: #9aacbf;
}

.hfg-consent {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  color: #52637a !important;
  font-size: 0.78rem !important;
  font-weight: 520 !important;
  line-height: 1.45;
}

.hfg-consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--hfg-blue);
  flex: 0 0 18px;
}

.hfg-hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hfg-form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 650;
}

.hfg-form-status.error,
body.hfg-has-error .hfg-form-status {
  display: block;
  color: #8a2a2a;
  background: #fff0f0;
  border: 1px solid #ffd5d5;
}

.hfg-section {
  padding: 76px 0;
}

.hfg-section.soft {
  background: var(--hfg-soft);
}

.hfg-section-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 34px;
}

.hfg-section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hfg-eyebrow {
  color: var(--hfg-blue);
  font-weight: 820;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hfg-section h2,
.hfg-content h2 {
  margin: 0;
  color: var(--hfg-navy);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hfg-section-head p,
.hfg-content p,
.hfg-card p {
  color: var(--hfg-muted);
}

.hfg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hfg-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.hfg-card {
  padding: 28px;
}

.hfg-card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 18px;
  color: var(--hfg-blue);
  background: rgba(18, 104, 179, 0.09);
  font-weight: 850;
}

.hfg-card h3 {
  margin: 0 0 9px;
  color: var(--hfg-navy);
  font-size: 1.25rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.hfg-card p {
  margin: 0;
}

.hfg-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hfg-list li {
  position: relative;
  padding-left: 28px;
  color: #4f6075;
}

.hfg-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--hfg-teal);
  box-shadow: 0 0 0 5px rgba(17, 182, 168, 0.10);
}

.hfg-process {
  counter-reset: step;
}

.hfg-step {
  position: relative;
  padding-left: 78px;
}

.hfg-step:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 28px;
  top: 28px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--hfg-blue);
  font-weight: 850;
}

.hfg-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.hfg-highlight-panel {
  padding: 38px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.98), rgba(10, 79, 143, 0.96)),
    radial-gradient(circle at top right, rgba(17, 182, 168, 0.34), transparent 42%);
  color: #fff;
  box-shadow: var(--hfg-shadow);
}

.hfg-highlight-panel h2,
.hfg-highlight-panel h3,
.hfg-highlight-panel p,
.hfg-highlight-panel li {
  color: #fff;
}

.hfg-highlight-panel p {
  opacity: 0.82;
}

.hfg-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.hfg-mini {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,0.08);
}

.hfg-mini strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.hfg-cta-band {
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, #f0f8ff, #eefbf9);
  border: 1px solid rgba(18, 104, 179, 0.14);
}

.hfg-cta-band h2 {
  margin: 0 0 8px;
  color: var(--hfg-navy);
  letter-spacing: -0.045em;
}

.hfg-cta-band p {
  margin: 0;
  color: var(--hfg-muted);
}

.hfg-page-hero {
  padding: 70px 0 54px;
  background: linear-gradient(180deg, #f6fbff, #fff);
  border-bottom: 1px solid var(--hfg-line);
}

.hfg-page-hero h1 {
  max-width: 920px;
}

.hfg-content {
  padding: 72px 0;
}

.hfg-content-narrow {
  max-width: 850px;
  margin: 0 auto;
}

.hfg-faq {
  display: grid;
  gap: 14px;
}

.hfg-faq details {
  background: #fff;
  border: 1px solid var(--hfg-line);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--hfg-shadow-soft);
}

.hfg-faq summary {
  cursor: pointer;
  color: var(--hfg-navy);
  font-weight: 800;
  list-style: none;
}

.hfg-faq summary::-webkit-details-marker {
  display: none;
}

.hfg-faq summary:after {
  content: "+";
  float: right;
  color: var(--hfg-blue);
}

.hfg-faq details[open] summary:after {
  content: "-";
}

.hfg-faq p {
  margin-bottom: 0;
}

.hfg-footer {
  background: #07172b;
  color: #c9d6e6;
  padding: 54px 0 28px;
}

.hfg-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 34px;
}

.hfg-footer a:hover {
  color: #fff;
}

.hfg-footer h3,
.hfg-footer h4 {
  color: #fff;
  margin-top: 0;
}

.hfg-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hfg-footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.84rem;
  color: #93a8bf;
}

.hfg-disclaimer {
  color: #7d8ea3;
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  body.admin-bar .hfg-header {
    top: 46px;
  }

  .hfg-menu-toggle {
    display: block;
  }

  .hfg-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 88px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--hfg-line);
    border-radius: 20px;
    box-shadow: var(--hfg-shadow);
  }

  .hfg-nav.open {
    display: flex;
  }

  .hfg-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .hfg-actions {
    display: none;
  }

  .hfg-hero-grid,
  .hfg-split,
  .hfg-cta-band {
    grid-template-columns: 1fr;
  }

  .hfg-hero-grid {
    gap: 34px;
  }

  .hfg-grid-3,
  .hfg-grid-2,
  .hfg-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hfg-container {
    width: min(100% - 28px, 1140px);
  }

  .hfg-header-inner {
    min-height: 68px;
  }

  .hfg-brand-text span:first-child {
    font-size: 0.94rem;
  }

  .hfg-hero,
  .hfg-section,
  .hfg-content,
  .hfg-page-hero {
    padding: 46px 0;
  }

  .hfg-hero h1,
  .hfg-page-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.35rem);
  }

  .hfg-hero-metrics,
  .hfg-form .hfg-row,
  .hfg-mini-grid {
    grid-template-columns: 1fr;
  }

  .hfg-form-card,
  .hfg-card,
  .hfg-highlight-panel,
  .hfg-cta-band {
    padding: 22px;
  }

  .hfg-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Brand assets and Elementor compatibility */
.hfg-brand .custom-logo,
.hfg-default-logo {
  display: block;
  width: min(270px, 58vw);
  max-height: 58px;
  object-fit: contain;
}

.hfg-elementor-page {
  background: #fff;
}

.hfg-elementor-page .elementor-section,
.hfg-elementor-page .e-con {
  --hfg-navy: #0b1f3a;
  --hfg-blue: #1268b3;
  --hfg-blue-2: #0a4f8f;
  --hfg-cyan: #18a4d8;
  --hfg-teal: #11b6a8;
}

.hfg-shortcode-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .hfg-brand .custom-logo,
  .hfg-default-logo {
    width: 205px;
    max-height: 48px;
  }
}


/* Elementor editable Harborview layouts */
.hfg-elementor-page {
  overflow: hidden;
}

.hfg-elementor-page .elementor-section {
  --hfg-section-pad: 74px;
}

.hfg-elementor-page .elementor-container {
  width: min(1140px, calc(100% - 40px));
}

.hfg-e-hero {
  position: relative;
  padding: 78px 0 64px;
  background:
    radial-gradient(circle at 15% 10%, rgba(17, 182, 168, 0.16), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(24, 164, 216, 0.18), transparent 36%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.hfg-e-page-hero {
  padding: 70px 0 58px;
  background:
    radial-gradient(circle at 18% 0%, rgba(17, 182, 168, 0.14), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #fff 100%);
  border-bottom: 1px solid rgba(220, 231, 243, 0.75);
}

.hfg-e-section {
  padding: 74px 0;
  background: #fff;
}

.hfg-e-section-soft {
  padding: 74px 0;
  background: linear-gradient(180deg, #f5f9fd 0%, #ffffff 100%);
}

.hfg-e-kicker .elementor-heading-title,
.hfg-e-eyebrow .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--hfg-blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hfg-e-hero-title .elementor-heading-title,
.hfg-e-page-title .elementor-heading-title {
  margin: 0;
  color: var(--hfg-navy);
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 850;
}

.hfg-e-page-title .elementor-heading-title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  max-width: 880px;
}

.hfg-e-section-title .elementor-heading-title {
  color: var(--hfg-navy);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 840;
  margin: 0;
}

.hfg-e-card-title .elementor-heading-title {
  color: var(--hfg-navy);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0;
}

.hfg-e-lead,
.hfg-e-body {
  color: var(--hfg-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hfg-e-lead {
  max-width: 650px;
  font-size: 1.15rem;
}

.hfg-e-center {
  text-align: center;
}

.hfg-e-center .hfg-e-body,
.hfg-e-center .elementor-widget-text-editor {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.hfg-e-card .elementor-widget-wrap {
  height: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--hfg-line);
  border-radius: var(--hfg-radius);
  box-shadow: var(--hfg-shadow-soft);
}

.hfg-e-card-soft .elementor-widget-wrap {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hfg-e-metric .elementor-widget-wrap {
  padding: 22px;
}

.hfg-e-card-number .elementor-heading-title {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(18,104,179,0.12), rgba(17,182,168,0.14));
  color: var(--hfg-blue);
  font-size: 0.9rem;
  letter-spacing: 0;
}

.hfg-e-button .elementor-button {
  min-height: 48px;
  border-radius: 999px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--hfg-blue), var(--hfg-blue-2));
  color: #fff;
  box-shadow: 0 14px 30px rgba(18, 104, 179, 0.22);
  font-weight: 750;
  text-decoration: none;
}

.hfg-e-button-secondary .elementor-button {
  background: #fff;
  color: var(--hfg-blue);
  border: 1px solid var(--hfg-line);
  box-shadow: none;
}

.hfg-e-button-row .elementor-widget-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hfg-e-form-card .elementor-widget-wrap {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--hfg-line);
  border-radius: 28px;
  box-shadow: var(--hfg-shadow);
}

.hfg-e-highlight .elementor-widget-wrap {
  padding: 34px;
  border-radius: var(--hfg-radius);
  background:
    linear-gradient(135deg, rgba(18, 104, 179, 0.11), rgba(17, 182, 168, 0.1)),
    #ffffff;
  border: 1px solid rgba(18, 104, 179, 0.12);
}

.hfg-e-list ul,
.hfg-e-list .elementor-text-editor ul {
  padding-left: 0;
  margin: 18px 0 0;
  list-style: none;
}

.hfg-e-list li {
  position: relative;
  padding-left: 28px;
  margin: 0 0 12px;
  color: var(--hfg-muted);
}

.hfg-e-list li:before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--hfg-teal);
  position: absolute;
  left: 0;
  top: 0.62em;
}

.hfg-e-cta {
  padding: 0 0 76px;
}

.hfg-e-cta .elementor-widget-wrap {
  padding: 36px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(17, 182, 168, 0.25), transparent 28%),
    linear-gradient(135deg, var(--hfg-navy), #0f3969);
  box-shadow: var(--hfg-shadow);
}

.hfg-e-cta .elementor-heading-title,
.hfg-e-cta .elementor-widget-text-editor {
  color: #fff;
}

.hfg-e-cta .elementor-button {
  background: #fff;
  color: var(--hfg-blue);
  box-shadow: none;
}

.hfg-e-faq .elementor-accordion .elementor-accordion-item {
  border: 1px solid var(--hfg-line);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #fff;
  box-shadow: var(--hfg-shadow-soft);
}

.hfg-e-faq .elementor-accordion .elementor-tab-title {
  border: 0;
  color: var(--hfg-navy);
  font-weight: 780;
}

.hfg-e-faq .elementor-accordion .elementor-tab-content {
  border-top: 1px solid var(--hfg-line);
  color: var(--hfg-muted);
}

.hfg-e-small-note {
  color: var(--hfg-muted);
  font-size: 0.92rem;
}

@media (max-width: 767px) {
  .hfg-e-hero,
  .hfg-e-page-hero,
  .hfg-e-section,
  .hfg-e-section-soft {
    padding: 52px 0;
  }

  .hfg-e-card .elementor-widget-wrap,
  .hfg-e-form-card .elementor-widget-wrap {
    padding: 22px;
  }

  .hfg-e-cta .elementor-widget-wrap {
    padding: 26px;
  }
}


/* Phone CTA top bar, call popup, legal/contact additions */
.hfg-top-callbar {
  background: linear-gradient(135deg, var(--hfg-navy), #0f3969);
  color: #dcecff;
  font-size: 0.9rem;
  font-weight: 650;
}

.hfg-top-callbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hfg-top-callbar a {
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.hfg-top-callbar a:hover {
  text-decoration: underline;
}

.hfg-header-phone {
  white-space: nowrap;
}

.hfg-footer-address {
  color: #aebed1;
  line-height: 1.5;
}

.hfg-call-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hfg-call-modal.is-visible {
  display: flex;
}

.hfg-call-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 23, 43, 0.58);
  backdrop-filter: blur(7px);
}

.hfg-call-modal-card {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(7, 23, 43, 0.26);
  border: 1px solid rgba(220, 231, 243, 0.95);
}

.hfg-call-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hfg-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hfg-navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.hfg-call-modal-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--hfg-blue);
  background: rgba(18, 104, 179, 0.08);
  border: 1px solid rgba(18, 104, 179, 0.15);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hfg-call-modal-card h2 {
  margin: 0 0 12px;
  color: var(--hfg-navy);
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hfg-call-modal-card p {
  margin: 0;
  color: var(--hfg-muted);
  font-size: 1.02rem;
}

.hfg-call-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hfg-e-call-button .elementor-button {
  background: linear-gradient(135deg, var(--hfg-teal), var(--hfg-blue));
}

@media (max-width: 980px) {
  .hfg-top-callbar-inner {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .hfg-top-callbar span {
    display: none;
  }
}

@media (max-width: 680px) {
  .hfg-call-modal-card {
    padding: 26px;
  }

  .hfg-call-modal-actions .hfg-btn {
    width: 100%;
  }
}
