/* =========================================================
   H Grant Support — site styles (all pages)
   Scoped to .hg-home, which functions.php adds to <body>.
   assets/css/editor.css is generated from this file for the block editor.
   Fonts: Poppins (headings), Inter (body), JetBrains Mono (accents)
   ========================================================= */

.hg-home {
  --hg-navy: #0a2545;
  --hg-navy-deep: #081b34;
  --hg-navy-card: #17304e;
  --hg-blue: #1e6fff;
  --hg-blue-hover: #0f5ae6;
  --hg-blue-light: #5aa0ff;
  --hg-ink: #0a2545;
  --hg-text: #5b6b81;
  --hg-muted: #8a99ad;
  --hg-bg-soft: #f7fafd;
  --hg-border: #e5ecf4;
  --hg-green: #0e8a57;
  --hg-green-bright: #11b97e;
  --hg-green-bg: #eafbf3;
  --hg-star: #ffc347;
  --hg-footer-text: #9fb2ca;
  --hg-heading: 'Poppins', sans-serif;
  --hg-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hg-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  font-family: var(--hg-body);
  color: var(--hg-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.hg-home *, .hg-home *::before, .hg-home *::after { box-sizing: border-box; }

/* reset theme spacing inside the page */
.hg-home p, .hg-home h1, .hg-home h2, .hg-home h3, .hg-home h4,
.hg-home ul, .hg-home figure, .hg-home .wp-block-buttons,
.hg-home .wp-block-columns, .hg-home .wp-block-group { margin: 0; }
.hg-home .wp-block-group, .hg-home section, .hg-home header, .hg-home footer { padding: 0; }
.hg-home a { text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.hg-home img { display: block; max-width: 100%; height: auto; }

.hg-home .hg-container {
  width: 100%;
  max-width: 1232px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px;
  padding-right: 16px;
}
.hg-home .hg-center { text-align: center; }
.hg-home .hg-accent { color: var(--hg-blue); }
.hg-home .hg-accent-light { color: var(--hg-blue-light); }
.hg-home .hg-mono { font-family: var(--hg-mono); }

/* ---------- Type ---------- */
.hg-home .hg-h1 {
  font-family: var(--hg-heading);
  font-weight: 800;
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--hg-ink);
  margin-bottom: 22px;
}
.hg-home .hg-h2 {
  font-family: var(--hg-heading);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--hg-ink);
}
.hg-home .hg-h3 {
  font-family: var(--hg-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--hg-ink);
}
.hg-home .hg-h4 {
  font-family: var(--hg-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: var(--hg-ink);
}
.hg-home .hg-eyebrow {
  font-family: var(--hg-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hg-blue);
  margin-bottom: 10px;
}
.hg-home .hg-intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--hg-text);
  max-width: 620px;
  margin-top: 12px;
}
.hg-home .hg-intro.hg-center { margin-left: auto; margin-right: auto; }
.hg-home .hg-body { font-size: 17px; line-height: 1.65; color: var(--hg-text); margin-top: 22px; }

/* ---------- Buttons ---------- */
.hg-home .hg-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hg-home .hg-center-row { justify-content: center; }
.hg-home .hg-btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 8px;
  font-family: var(--hg-heading);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  box-shadow: none;
}
.hg-home .hg-btn-primary .wp-block-button__link { background: var(--hg-blue); color: #fff; border-color: var(--hg-blue); }
.hg-home .hg-btn-primary .wp-block-button__link:hover { background: var(--hg-blue-hover); border-color: var(--hg-blue-hover); color: #fff; transform: translateY(-1px); }
.hg-home .hg-btn-glow .wp-block-button__link { box-shadow: 0 10px 24px -8px rgba(30, 111, 255, .55); }
.hg-home .hg-btn-ghost .wp-block-button__link { background: #f7fafd; color: var(--hg-ink); border: 2px solid var(--hg-border); }
.hg-home .hg-btn-ghost .wp-block-button__link:hover { border-color: var(--hg-blue); color: var(--hg-blue); background: #fff; }

/* ---------- Top bar ---------- */
.hg-home .hg-topbar { background: var(--hg-navy); color: #c0cee2; font-size: 14px; }
.hg-home .hg-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.hg-home .hg-topbar a { color: #c0cee2; }
.hg-home .hg-topbar a:hover { color: #fff; }
.hg-home .hg-topbar-contact { display: flex; align-items: center; white-space: nowrap; }
.hg-home .hg-divider { display: inline-block; width: 1px; height: 26px; background: #c0cee2; margin: 0 8px; }

/* ---------- Header / nav ---------- */
.hg-home .hg-header { background: #fff; position: relative; z-index: 50; }
.hg-home .hg-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.hg-home .hg-logo { flex: 0 0 auto; }
.hg-home .hg-logo img { width: 148px !important; }
.hg-home .hg-nav { flex: 1 1 auto; font-family: var(--hg-body); }
.hg-home .hg-nav .wp-block-navigation__container { gap: 40px; justify-content: center; }
.hg-home .hg-nav .wp-block-navigation-item__content {
  font-size: 16px; font-weight: 600; color: #31445d; padding: 8px 0;
}
.hg-home .hg-nav .wp-block-navigation-item__content:hover { color: var(--hg-blue); }
.hg-home .hg-nav .wp-block-navigation__submenu-icon { color: #31445d; width: 10px; height: 10px; margin-left: 8px; }
.hg-home .hg-nav .wp-block-navigation__submenu-icon svg { stroke-width: 2.5; }
.hg-home .hg-nav .wp-block-navigation__submenu-container {
  background: #fff !important;
  border: 1px solid var(--hg-border) !important;
  border-radius: 12px;
  padding: 8px !important;
  min-width: 290px !important;
  box-shadow: 0 18px 40px -12px rgba(10, 37, 69, .18);
}
.hg-home .hg-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  font-size: 15px; font-weight: 500; padding: 10px 14px; border-radius: 8px; color: var(--hg-ink);
}
.hg-home .hg-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--hg-bg-soft); color: var(--hg-blue); }
.hg-home .hg-header-cta .wp-block-button__link {
  min-height: 48px; padding: 0 28px; border-radius: 10px;
  font-family: var(--hg-body); font-weight: 700; font-size: 15px;
}

/* ---------- Hero ---------- */
.hg-home .hg-hero { background: var(--hg-bg-soft); padding: 110px 0 120px; }
.hg-home .hg-hero-cols { gap: 64px; align-items: center; }
.hg-home .hg-hero-copy { flex: 1 1 54% !important; }
.hg-home .hg-hero-visual { flex: 1 1 46% !important; display: flex; justify-content: flex-end; }
.hg-home .hg-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--hg-border); border-radius: 999px;
  padding: 6px 18px 6px 16px; margin-bottom: 22px;
  font-size: 13px; font-weight: 600; color: #2b4fbf;
}
.hg-home .hg-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hg-green-bright); flex: none; }
.hg-home .hg-lead { font-size: 18px; line-height: 1.6; color: var(--hg-text); max-width: 490px; }
.hg-home .hg-checks { list-style: none; padding: 0; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hg-home .hg-checks li { position: relative; padding-left: 22px; font-size: 14px; color: var(--hg-text); margin: 0; }
.hg-home .hg-checks li::before,
.hg-home .hg-h4::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; transform: translateY(-50%);
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e8a57' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}

/* Systems monitor card */
.hg-home .hg-monitor {
  width: 100%; max-width: 520px; background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--hg-border);
  box-shadow: 0 30px 60px -20px rgba(10, 37, 69, .22), 0 4px 14px rgba(10, 37, 69, .05);
}
.hg-home .hg-monitor-head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--hg-navy); padding: 16px 20px; min-height: 54px;
}
.hg-home .hg-monitor-title { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 14px; }
.hg-home .hg-monitor-title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hg-green-bright); }
.hg-home .hg-monitor-head .hg-mono { color: #8fa1ba; font-size: 12px; letter-spacing: .08em; }
.hg-home .hg-monitor-body { padding: 20px; }
.hg-home .hg-status {
  position: relative; background: var(--hg-green-bg); border: 1px solid #c8f0dd; border-radius: 10px;
  padding: 16px 70px 14px 18px;
}
.hg-home .hg-status::after {
  content: ""; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--hg-green-bright) no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}
.hg-home .hg-status-label { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #4c6a5c; }
.hg-home .hg-status-value { font-family: var(--hg-heading); font-weight: 700; font-size: 20px; color: var(--hg-green); line-height: 1.3; }
.hg-home .hg-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.hg-home .hg-metric { background: #f7fafd; border: 1px solid var(--hg-border); border-radius: 10px; padding: 14px 14px 16px; }
.hg-home .hg-metric-label { font-size: 12px; color: var(--hg-text); }
.hg-home .hg-metric-value { font-family: var(--hg-body); font-weight: 700; font-size: 21px; color: var(--hg-ink); line-height: 1.35; }
.hg-home .hg-activity-label { margin-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hg-text); }
.hg-home .hg-activity { list-style: none; padding: 0; margin-top: 8px; }
.hg-home .hg-activity li { position: relative; display: flex; justify-content: space-between; padding-left: 17px; font-size: 14px; line-height: 25px; color: #4a5a70; margin: 0; }
.hg-home .hg-activity li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--hg-green-bright); }
.hg-home .hg-activity li.is-blue::before { background: var(--hg-blue); }
.hg-home .hg-activity .hg-mono { font-size: 11px; color: #9aa7b8; }

/* ---------- Stats bar ---------- */
.hg-home .hg-stats { background: var(--hg-navy); padding: 34px 0 36px; }
.hg-home .hg-stats-cols { gap: 24px; }
.hg-home .hg-stats-cols > .wp-block-column { padding-left: 60px; }
.hg-home .hg-stat-num { font-family: var(--hg-heading); font-weight: 800; font-size: 34px; line-height: 1.2; color: #fff; letter-spacing: -0.01em; }
.hg-home .hg-stat-label { font-size: 14px; color: #a9bdd8; margin-top: 4px; }

/* ---------- Sections ---------- */
.hg-home .hg-section { padding: 108px 0; }
.hg-home .hg-offer { background: #fff; }

.hg-home .hg-card {
  background: #fff; border: 1px solid var(--hg-border); border-radius: 16px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.hg-home .hg-card:hover { box-shadow: 0 22px 44px -22px rgba(10, 37, 69, .22); transform: translateY(-3px); border-color: #d8e3f0; }
.hg-home .hg-card-text { font-size: 15px; line-height: 1.6; color: var(--hg-text); }

.hg-home .hg-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 54px; }
.hg-home .hg-service { padding: 30px 30px 32px; }
.hg-home .hg-service-num {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--hg-heading); font-weight: 800; font-size: 34px; line-height: 1; color: var(--hg-blue);
  padding-bottom: 28px; border-bottom: 1px solid #edf1f7; margin-bottom: 30px;
}
.hg-home .hg-service-num span { font-family: var(--hg-heading); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #9aabc0; }
.hg-home .hg-service .hg-card-text { margin-top: 18px; }
.hg-home .hg-more { margin-top: 26px; }
.hg-home .hg-more a { font-family: var(--hg-heading); font-weight: 700; font-size: 16px; color: var(--hg-blue); }
.hg-home .hg-more a:hover { color: var(--hg-navy); }

/* About */
.hg-home .hg-about { background: var(--hg-bg-soft); }
.hg-home .hg-about-cols { gap: 70px; align-items: center; }
.hg-home .hg-about-media { position: relative; padding: 0 20px 0 0; }
.hg-home .hg-about-img img { width: 100%; aspect-ratio: 440 / 600; object-fit: cover; border-radius: 16px; }
.hg-home .hg-float-card {
  position: absolute; right: 0; bottom: 42px; width: 218px;
  background: #fff; border-radius: 14px; padding: 18px 20px 20px;
  box-shadow: 0 20px 40px -14px rgba(10, 37, 69, .28);
}
.hg-home .hg-float-title { font-family: var(--hg-heading); font-weight: 600; font-size: 16px; color: #0a0f1a; }
.hg-home .hg-float-text { font-size: 12.5px; line-height: 1.6; color: var(--hg-text); margin-top: 6px; }
.hg-home .hg-about-copy .hg-h2 { font-size: 40px; }
.hg-home .hg-values { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; margin-top: 60px; }
.hg-home .hg-h4 { position: relative; padding-left: 35px; }
.hg-home .hg-h4::before { width: 20px; height: 20px; }
.hg-home .hg-value-text { padding-left: 35px; font-size: 15px; line-height: 1.55; color: var(--hg-text); margin-top: 8px; }

/* Solutions */
.hg-home .hg-solutions { background: #fff; }
.hg-home .hg-solutions .hg-h2 { margin-top: 2px; }
.hg-home .hg-solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.hg-home .hg-solution { padding: 30px 30px 32px; }
.hg-home .hg-card-eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--hg-blue); }
.hg-home .hg-solution .hg-h3 { margin-top: 20px; }
.hg-home .hg-solution .hg-card-text { margin-top: 16px; }

/* Reviews */
.hg-home .hg-reviews { background: var(--hg-navy); }
.hg-home .hg-reviews .hg-eyebrow { color: var(--hg-blue-light); }
.hg-home .hg-reviews-title { color: #fff; max-width: 520px; }
.hg-home .hg-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 54px; }
.hg-home .hg-review { background: var(--hg-navy-card); border: 1px solid #22406a; border-radius: 16px; padding: 30px 32px 36px; }
.hg-home .hg-stars { color: var(--hg-star); font-size: 15px; letter-spacing: .05em; }
.hg-home .hg-quote { font-size: 17px; line-height: 1.65; color: #e7eefb; margin-top: 16px; }
.hg-home .hg-author { font-family: var(--hg-heading); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-top: 22px; }

/* CTA */
.hg-home .hg-cta { background: #fff; padding: 110px 0 120px; }
.hg-home .hg-cta-title { font-size: 52px; letter-spacing: -0.025em; line-height: 1.15; }
.hg-home .hg-cta .hg-intro { max-width: 560px; margin-top: 18px; }
.hg-home .hg-cta .hg-btn-row { margin-top: 32px; }

/* ---------- Footer ---------- */
.hg-home .hg-footer { background: var(--hg-navy-deep); padding: 62px 0 38px; color: var(--hg-footer-text); }
.hg-home .hg-footer-cols { gap: 40px; }
.hg-home .hg-footer-logo img { width: 270px !important; filter: brightness(0) invert(1); }
.hg-home .hg-footer-text { font-size: 15px; line-height: 1.6; color: var(--hg-footer-text); margin-top: 18px; max-width: 260px; }
.hg-home .hg-footer-text + .hg-footer-text { margin-top: 24px; }
.hg-home .hg-footer-heading { font-family: var(--hg-heading); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: 0; }
.hg-home .hg-footer-heading::before { display: none; }
.hg-home .hg-footer-links { list-style: none; padding: 0; margin-top: 8px; }
.hg-home .hg-footer-links li { font-size: 15px; line-height: 28px; color: var(--hg-footer-text); margin: 0; }
.hg-home .hg-footer-links a { color: var(--hg-footer-text); }
.hg-home .hg-footer-links a:hover { color: #fff; }
.hg-home .hg-social { display: flex; gap: 10px; margin-top: 16px; padding: 0; }
.hg-home .hg-social .wp-block-social-link {
  background: var(--hg-navy-card) !important; color: #fff !important;
  border-radius: 6px !important; margin: 0 !important;
}
.hg-home .hg-social .wp-block-social-link:hover { background: var(--hg-blue) !important; transform: none; }
.hg-home .hg-social .wp-block-social-link-anchor { padding: 10px !important; color: #fff !important; }
.hg-home .hg-social .wp-block-social-link-anchor svg { width: 17px; height: 17px; fill: #fff; }
.hg-home .hg-footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid #1d3352; margin-top: 44px; padding-top: 48px;
}
.hg-home .hg-copyright, .hg-home .hg-legal { font-size: 14px; color: #7f93ad; }
.hg-home .hg-legal { display: flex; gap: 16px; }
.hg-home .hg-legal a { color: #7f93ad; }
.hg-home .hg-legal a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hg-home .hg-h1 { font-size: 54px; }
  .hg-home .hg-hero-cols { gap: 40px; }
  .hg-home .hg-nav .wp-block-navigation__container { gap: 26px; }
  .hg-home .hg-stats-cols > .wp-block-column { padding-left: 0; }
}
@media (max-width: 960px) {
  .hg-home .hg-header-cta { display: none; }
  .hg-home .hg-nav { flex: 0 0 auto; }
  .hg-home .hg-nav .wp-block-navigation__responsive-container-open { color: var(--hg-ink); }
  .hg-home .hg-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; background: #fff; }
  .hg-home .hg-nav .is-menu-open .wp-block-navigation__container { gap: 18px; }
  .hg-home .hg-nav .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: 6px 0 0 12px !important; }
}
@media (max-width: 781px) {
  .hg-home .hg-topbar-text { display: none; }
  .hg-home .hg-nav .wp-block-navigation__container { gap: 18px; }
  .hg-home .hg-logo img { width: 128px !important; }
  .hg-home .hg-topbar-inner { justify-content: center; min-height: 40px; }
  .hg-home .hg-hero { padding: 64px 0 72px; }
  .hg-home .hg-h1 { font-size: 40px; }
  .hg-home .hg-lead { font-size: 17px; }
  .hg-home .hg-hero-visual { justify-content: center; }
  .hg-home .hg-stats-cols { flex-wrap: wrap !important; row-gap: 24px; }
  .hg-home .hg-stats-cols > .wp-block-column { flex: 0 0 calc(50% - 12px) !important; }
  .hg-home .hg-section, .hg-home .hg-cta { padding: 72px 0; }
  .hg-home .hg-h2, .hg-home .hg-about-copy .hg-h2 { font-size: 32px; }
  .hg-home .hg-cta-title { font-size: 36px; }
  .hg-home .hg-service-grid, .hg-home .hg-solution-grid, .hg-home .hg-review-grid, .hg-home .hg-values { grid-template-columns: 1fr; }
  .hg-home .hg-service-grid, .hg-home .hg-solution-grid, .hg-home .hg-review-grid { margin-top: 36px; }
  .hg-home .hg-values { margin-top: 36px; }
  .hg-home .hg-about-cols { gap: 48px; }
  .hg-home .hg-about-media { padding-right: 0; }
  .hg-home .hg-about-img img { aspect-ratio: 4 / 4.4; }
  .hg-home .hg-float-card { right: 16px; bottom: -24px; }
  .hg-home .hg-btn-row .wp-block-button { flex: 1 1 100%; }
  .hg-home .hg-btn-row .wp-block-button__link { width: 100%; }
  .hg-home .hg-footer-cols { gap: 32px; }
  .hg-home .hg-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.hg-home .hg-poppins, .hg-home .hg-poppins p { font-family: var(--hg-heading); }

/* Hero */
.hg-home .hg-ab-hero { background: #eef2f7; padding: 64px 0 92px; }
.hg-home .hg-badge-lg { font-size: 15px; font-weight: 600; color: var(--hg-blue); padding: 10px 56px 10px 16px; border-color: #d3dbe6; margin-bottom: 22px; }
.hg-home .hg-ab-h1 { font-size: 58px; line-height: 1.08; max-width: 720px; margin-bottom: 18px; }
.hg-home .hg-ab-lead { font-size: 17px; line-height: 1.7; max-width: 680px; color: #4f5d70; }

/* Stats (3 across) */
.hg-home .hg-ab-stats { padding: 46px 0 52px; }
.hg-home .hg-ab-stats .hg-stats-cols > .wp-block-column { padding-left: 0; text-align: center; }
.hg-home .hg-ab-stats .hg-stat-num { font-size: 38px; }
.hg-home .hg-ab-stats .hg-stat-label { font-size: 15px; }

/* Who we are */
.hg-home .hg-ab-who { background: #fff; padding: 48px 0 90px; }
.hg-home .hg-ab-who-cols { gap: 80px; align-items: center; }
.hg-home .hg-ab-h2 { font-size: 44px; line-height: 1.12; max-width: 640px; margin-bottom: 8px; }
.hg-home .hg-ab-text { font-size: 16px; line-height: 1.75; color: #4f5d70; margin-top: 26px; }
.hg-home .hg-ab-who-media { display: flex; justify-content: center; }
.hg-home .hg-ab-photo-wrap { position: relative; width: 100%; max-width: 432px; }
.hg-home .hg-ab-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 50px -24px rgba(10, 37, 69, .35); }
.hg-home .hg-name-card {
  position: absolute; left: -20px; bottom: 20px; background: #fff; border-radius: 10px;
  padding: 16px 20px; box-shadow: 0 16px 34px -12px rgba(10, 37, 69, .25);
}
.hg-home .hg-name { font-weight: 700; font-size: 14px; color: var(--hg-ink); }
.hg-home .hg-role { font-size: 11.5px; color: var(--hg-text); margin-top: 2px; }

/* Quote */
.hg-home .hg-ab-quote { background: #eef2f7; padding: 46px 0 64px; text-align: center; }
.hg-home .hg-quote-mark { font-family: var(--hg-heading); font-weight: 800; font-size: 44px; line-height: 1; height: 26px; color: var(--hg-blue); }
.hg-home .hg-big-quote { font-weight: 500; font-size: 28px; line-height: 1.32; color: #0a0f1a; max-width: 760px; margin: 22px auto 0; }
.hg-home .hg-quote-by { font-weight: 600; font-size: 15px; color: #31445d; margin-top: 32px; }

/* Why */
.hg-home .hg-ab-why { background: #fff; padding: 104px 0 110px; }
.hg-home .hg-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.hg-home .hg-why { padding: 30px 20px 36px; }
.hg-home .hg-why-num { font-weight: 800; font-size: 34px; line-height: 1.1; color: var(--hg-blue); }
.hg-home .hg-why-title { font-family: var(--hg-heading); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--hg-ink); margin-top: 16px; }
.hg-home .hg-why-text { font-size: 15px; line-height: 1.6; color: var(--hg-text); margin-top: 14px; }
.hg-home .hg-why-cta {
  background: linear-gradient(160deg, #1e6fff 0%, #185bd6 100%); border-radius: 16px;
  padding: 34px 20px 40px; color: #fff; display: flex; flex-direction: column;
}
.hg-home .hg-why-cta-title { font-family: var(--hg-heading); font-weight: 700; font-size: 20px; color: #fff; }
.hg-home .hg-why-cta-text { font-size: 15px; line-height: 1.6; color: #e3edff; margin-top: 18px; }
.hg-home .hg-why-cta-btns { margin-top: auto !important; padding-top: 30px; }
.hg-home .hg-btn-white .wp-block-button__link { background: #fff; color: #1a4fc2; min-height: 44px; padding: 0 16px; border-radius: 6px; font-weight: 700; font-size: 16px; }
.hg-home .hg-btn-white .wp-block-button__link:hover { background: var(--hg-navy); color: #fff; }

/* Soft CTA variant */
.hg-home .hg-cta-soft { background: #eaf2ff; }
.hg-home .hg-cta-soft .hg-btn-ghost .wp-block-button__link { background: #fff; border-color: #fff; box-shadow: 0 10px 24px -10px rgba(10, 37, 69, .25); }

@media (max-width: 960px) {
  .hg-home .hg-why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 781px) {
  .hg-home .hg-ab-hero { padding: 48px 0 64px; }
  .hg-home .hg-ab-h1 { font-size: 38px; }
  .hg-home .hg-ab-h2 { font-size: 32px; }
  .hg-home .hg-ab-stats .hg-stats-cols > .wp-block-column { flex: 0 0 100% !important; }
  .hg-home .hg-ab-who-cols { gap: 48px; }
  .hg-home .hg-name-card { left: 12px; }
  .hg-home .hg-big-quote { font-size: 22px; }
  .hg-home .hg-ab-why { padding: 72px 0; }
  .hg-home .hg-why-grid { grid-template-columns: 1fr; }
}
.hg-home .hg-ab-why .hg-ab-h2 { max-width: none; }

/* =========================================================
   SERVICE PAGES (Cloud Computing, etc.) — Inter headings
   ========================================================= */
.hg-home .hg-inter .hg-h2, .hg-home .hg-inter h1, .hg-home .hg-inter h2, .hg-home .hg-inter h3,
.hg-home .hg-inter .hg-btn .wp-block-button__link { font-family: var(--hg-body); letter-spacing: -0.015em; }
.hg-home .hg-inter .hg-cta-title { font-weight: 700; font-size: 44px; }

.hg-home .hg-sv-h1 { font-weight: 700; font-size: 36px; line-height: 1.2; color: var(--hg-ink); }
.hg-home .hg-sv-h2 { font-weight: 700; font-size: 34px; line-height: 1.2; color: var(--hg-ink); }
.hg-home .hg-sv-h2-lg { font-size: 44px; }
.hg-home .hg-sv-h2-sm { font-size: 32px; }
.hg-home .hg-sv-text { font-size: 16px; line-height: 1.75; color: #4f5d70; margin-top: 18px; }
.hg-home .hg-sv-text + .hg-sv-text { margin-top: 28px; }
.hg-home .hg-sv-narrow { max-width: 560px; }

/* Hero */
.hg-home .hg-sv-hero { background: radial-gradient(120% 90% at 100% 0%, #e6f0ff 0%, #f6f9ff 40%, #fff 70%); padding: 26px 0 96px; }
.hg-home .hg-sv-hero-cols { gap: 80px; }
.hg-home .hg-sv-btns { margin-top: 62px; }
.hg-home .hg-sv-btns .wp-block-button__link { min-height: 58px; padding: 0 30px; font-weight: 700; font-size: 16px; }
.hg-home .hg-btn-outline-blue .wp-block-button__link { background: #fff; border: 1px solid #c9dcff; color: #0a0f1a; box-shadow: 0 10px 24px -12px rgba(30, 111, 255, .35); }
.hg-home .hg-sv-img img { width: 100%; aspect-ratio: 560 / 420; object-fit: cover; border-radius: 12px; border: 3px solid #0d1b2e; box-shadow: 0 24px 50px -24px rgba(10, 37, 69, .45); }

/* Services offered */
.hg-home .hg-sv-offer { background: #fff; padding: 64px 0 90px; }
.hg-home .hg-sv-offer-cols { gap: 80px; }
.hg-home .hg-help-card { background: var(--hg-bg-soft); border: 1px solid var(--hg-border); border-radius: 16px; padding: 30px 28px 34px; }
.hg-home .hg-help-title { font-weight: 700; font-size: 22px; color: var(--hg-ink); }
.hg-home .hg-check-list { list-style: none; padding: 0; margin-top: 18px; }
.hg-home .hg-check-list li { position: relative; padding-left: 42px; font-size: 15.5px; line-height: 30px; color: #3f4d60; margin: 0 0 14px; }
.hg-home .hg-check-list li:last-child { margin-bottom: 0; }
.hg-home .hg-check-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 6px;
  background: #dff3ea no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e8a57' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}

/* How it works (dark) */
.hg-home .hg-sv-how { background: var(--hg-navy); padding: 66px 0 110px; }
.hg-home .hg-sv-how .hg-eyebrow { color: var(--hg-blue-light); margin-bottom: 4px; }
.hg-home .hg-sv-how .hg-sv-h2 { color: #fff; }
.hg-home .hg-sv-how .hg-sv-text { color: #c0cee2; margin-top: 28px; line-height: 1.55; }
.hg-home .hg-benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; margin: 56px 0 0 10px; }
.hg-home .hg-benefit { background: var(--hg-navy-card); border: 1px solid #2b4569; border-radius: 12px; padding: 28px 28px 38px; }
.hg-home .hg-benefit-title { font-weight: 700; font-size: 20px; color: #fff; letter-spacing: -0.01em; }
.hg-home .hg-benefit-text { font-size: 15px; line-height: 1.75; color: #a9bdd8; margin-top: 18px; }

/* FAQ — native Details blocks */
.hg-home .hg-sv-faq { background: #fff; padding: 120px 0 130px; }
.hg-home .hg-faq-inner { max-width: 940px; }
.hg-home .hg-sv-faq .hg-sv-h2 { font-size: 40px; margin-top: 8px; }
.hg-home .hg-faq-list { margin-top: 30px; display: grid; gap: 12px; }
.hg-home .hg-faq { border: 1px solid #ebebeb; border-radius: 10px; background: #fff; padding: 0; margin: 0; }
.hg-home .hg-faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 23px 70px 23px 16px; font-weight: 700; font-size: 18px; color: var(--hg-ink); letter-spacing: -0.01em;
}
.hg-home .hg-faq summary::-webkit-details-marker { display: none; }
.hg-home .hg-faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 28px; border-radius: 6px; background: #eaf2ff; color: var(--hg-blue);
  font-weight: 700; font-size: 18px; line-height: 28px; text-align: center;
}
.hg-home .hg-faq[open] summary::after { content: "−"; }
.hg-home .hg-faq p { padding: 0 70px 22px 16px; font-size: 16px; line-height: 1.7; color: #4f5d70; }

/* Explore */
.hg-home .hg-sv-explore { background: var(--hg-bg-soft); padding: 70px 0 60px; }
.hg-home .hg-explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
.hg-home .hg-explore { background: #fff; border: 1px solid var(--hg-border); border-radius: 16px; padding: 22px 24px 26px; transition: box-shadow .25s, transform .25s; }
.hg-home .hg-explore:hover { box-shadow: 0 18px 36px -20px rgba(10, 37, 69, .25); transform: translateY(-2px); }
.hg-home .hg-explore-title { font-weight: 600; font-size: 17px; color: #0a0f1a; }
.hg-home .hg-explore-link { margin-top: 6px; }
.hg-home .hg-explore-link a { font-weight: 600; font-size: 15px; color: var(--hg-blue); }

/* CTA fade variant */
.hg-home .hg-cta-fade { background: linear-gradient(180deg, #eef4ff 0%, #fcfdff 45%, #fff 100%); }
.hg-home .hg-cta-fade .hg-btn-ghost .wp-block-button__link { background: #fff; border: 1px solid #c9dcff; color: #0a0f1a; box-shadow: 0 10px 24px -12px rgba(30, 111, 255, .35); }
.hg-home .hg-inter.hg-cta .hg-btn .wp-block-button__link { font-weight: 700; min-height: 56px; }

@media (max-width: 960px) {
  .hg-home .hg-explore-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 781px) {
  .hg-home .hg-sv-hero { padding: 32px 0 64px; }
  .hg-home .hg-sv-hero-cols, .hg-home .hg-sv-offer-cols { gap: 40px; }
  .hg-home .hg-sv-btns { margin-top: 32px; }
  .hg-home .hg-sv-h2-lg, .hg-home .hg-sv-faq .hg-sv-h2 { font-size: 32px; }
  .hg-home .hg-benefit-grid { grid-template-columns: 1fr; margin-left: 0; }
  .hg-home .hg-sv-how { padding: 60px 0 72px; }
  .hg-home .hg-sv-faq { padding: 72px 0; }
  .hg-home .hg-faq summary { font-size: 16px; padding-right: 56px; }
  .hg-home .hg-explore-grid { grid-template-columns: 1fr; }
  .hg-home .hg-inter .hg-cta-title { font-size: 34px; }
}

/* Small Business Consulting — wrapped checklist items */
.hg-home .hg-check-list-wrap li { line-height: 1.75; font-size: 14.5px; margin-bottom: 14px; padding-top: 2px; }
.hg-home .hg-check-list-wrap li::before { top: 50%; transform: translateY(-50%); width: 26px; height: 26px; }

/* =========================================================
   NETWORK SERVICES — Poppins headings variant (.hg-ph)
   ========================================================= */
.hg-home .hg-ph h1, .hg-home .hg-ph h2, .hg-home .hg-ph h3, .hg-home .hg-ph summary { font-family: var(--hg-heading); letter-spacing: -0.02em; }
.hg-home .hg-ph .hg-sv-h1 { font-weight: 800; font-size: 40px; }
.hg-home .hg-ph .hg-sv-h2 { font-weight: 800; }
.hg-home .hg-ph .hg-cta-title { font-weight: 800; font-size: 46px; }
.hg-home .hg-ph .hg-help-title { font-weight: 700; font-size: 20px; }
.hg-home .hg-ph .hg-btn .wp-block-button__link { font-family: var(--hg-heading); }

.hg-home .hg-sv-hero-soft { background: var(--hg-bg-soft); padding: 110px 0 110px; }
.hg-home .hg-sv-btns-tight { margin-top: 26px; }
.hg-home .hg-sv-btns-tight .wp-block-button__link { min-height: 50px; font-size: 15px; font-weight: 600; }
.hg-home .hg-sv-hero-soft .hg-sv-img img { border: 0; aspect-ratio: 560 / 430; border-radius: 14px; box-shadow: 0 30px 50px -22px rgba(10, 37, 69, .45); }
.hg-home .hg-ph .hg-btn-outline-blue .wp-block-button__link { border-color: var(--hg-border); box-shadow: none; }

.hg-home .hg-process-list { margin-top: 22px; }
.hg-home .hg-process-list li { font-size: 14.5px; line-height: 1.6; color: #5b6b81; padding-left: 42px; margin-bottom: 18px; }
.hg-home .hg-process-list li::before { width: 22px; height: 22px; top: 1px; background-size: 11px; border-radius: 5px; }
.hg-home .hg-process-list strong { color: #4a5568; font-weight: 600; }

.hg-home .hg-sv-solutions { background: var(--hg-bg-soft); padding: 110px 0 104px; }
.hg-home .hg-sv-wide { max-width: 1200px; margin: 6px auto 0; font-size: 17px; line-height: 1.7; }
.hg-home .hg-solution2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 62px; }
.hg-home .hg-solution2 { position: relative; border: 1px solid var(--hg-border); border-radius: 16px; padding: 88px 30px 32px; background: var(--hg-bg-soft); }
.hg-home .hg-solution2::before { content: ""; position: absolute; left: 30px; top: 30px; width: 32px; height: 32px; background: no-repeat center/contain; }
.hg-home .hg-icon-wrench::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231e6fff'%3E%3Cpath d='M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z'/%3E%3C/svg%3E"); }
.hg-home .hg-icon-headset::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e6fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15v-3a8 8 0 0116 0v3'/%3E%3Crect x='3' y='13' width='4' height='6' rx='1.5' fill='%231e6fff'/%3E%3Crect x='17' y='13' width='4' height='6' rx='1.5' fill='%231e6fff'/%3E%3Cpath d='M19 19c0 1.5-1.5 2.5-4 2.5h-2'/%3E%3C/svg%3E"); }
.hg-home .hg-solution2-title { font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--hg-ink); }
.hg-home .hg-solution2-text { font-size: 15px; line-height: 1.55; color: var(--hg-text); margin-top: 24px; }

.hg-home .hg-ph.hg-sv-faq .hg-sv-h2 { font-size: 44px; }
.hg-home .hg-ph.hg-sv-faq .hg-faq-inner { max-width: 830px; }
.hg-home .hg-ph .hg-faq { border-color: var(--hg-border); border-radius: 12px; }
.hg-home .hg-ph .hg-faq summary { font-weight: 600; font-size: 17px; padding: 22px 70px 22px 22px; }
.hg-home .hg-ph .hg-faq summary::after { background: none; font-size: 24px; font-weight: 500; right: 20px; }
.hg-home .hg-ph .hg-faq p { padding: 0 70px 22px 22px; }
.hg-home .hg-ph.hg-sv-faq { padding: 110px 0 130px; }
.hg-home .hg-cta-pop { background: linear-gradient(180deg, #f3f7fe 0%, #fff 60%); }

@media (max-width: 781px) {
  .hg-home .hg-sv-hero-soft, .hg-home .hg-sv-solutions { padding: 64px 0; }
  .hg-home .hg-solution2-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .hg-home .hg-ph .hg-cta-title { font-size: 34px; }
  .hg-home .hg-ph.hg-sv-faq .hg-sv-h2 { font-size: 32px; }
}
.hg-home .hg-ph .hg-explore-title { font-family: var(--hg-body); letter-spacing: -0.01em; }

/* Managed Service Provider — short hero */
.hg-home .hg-sv-short { max-width: 440px; margin-top: 20px; }
.hg-home .hg-sv-btns-mid { margin-top: 44px; }

/* =========================================================
   BLOG (Query Loop)
   ========================================================= */
.hg-home .hg-blog-hero { background: #fff; padding: 74px 0 50px; }
.hg-home .hg-blog-h1 { font-family: var(--hg-heading); font-weight: 800; font-size: 56px; line-height: 1.1; letter-spacing: -0.03em; color: #050a14; }
.hg-home .hg-blog-intro { font-size: 17px; line-height: 1.6; color: var(--hg-text); margin-top: 18px; }

.hg-home .hg-blog-filter { border-top: 1px solid var(--hg-border); border-bottom: 1px solid var(--hg-border); background: #fff; padding: 20px 0; }
.hg-home .hg-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hg-home .hg-pill-all a,
.hg-home .hg-cat-pills .cat-item a {
  display: inline-flex; align-items: center; height: 34px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--hg-border); background: #fff; color: #4a5568; font-size: 14px; font-weight: 600;
}
.hg-home .hg-pill-all a { background: var(--hg-blue); border-color: var(--hg-blue); color: #fff; }
.hg-home .hg-cat-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hg-home .hg-cat-pills .cat-item { margin: 0; }
.hg-home .hg-cat-pills .cat-item a:hover, .hg-home .hg-cat-pills .current-cat a { border-color: var(--hg-blue); color: var(--hg-blue); }
.hg-home .hg-cat-pills .cat-item-1 { display: none; } /* hides "Uncategorized" */

.hg-home .hg-blog-main { background: #fff; padding: 48px 0 70px; }
.hg-home .hg-featured-query .wp-block-post-template { list-style: none; padding: 0; margin: 0; }
.hg-home .hg-featured {
  display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hg-border); border-radius: 16px; overflow: hidden; background: #fff;
}
.hg-home .hg-featured-img { margin: 0; height: 100%; }
.hg-home .hg-featured-img a, .hg-home .hg-featured-img img { display: block; width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.hg-home .hg-featured-body { padding: 40px 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.hg-home .hg-featured-meta { display: flex; align-items: center; gap: 12px; }
.hg-home .hg-featured-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9aabc0; }
.hg-home .hg-featured-title { font-family: var(--hg-heading); font-weight: 800; font-size: 29px; line-height: 1.22; letter-spacing: -0.02em; margin-top: 18px; }
.hg-home .hg-featured-title a { color: var(--hg-ink); }
.hg-home .hg-featured-title a:hover { color: var(--hg-blue); }
.hg-home .hg-featured-excerpt { margin-top: 16px; }
.hg-home .hg-featured-excerpt p { font-size: 14px; line-height: 1.6; color: var(--hg-text); }
.hg-home .hg-featured-excerpt .wp-block-post-excerpt__more-text { display: none; }

.hg-home .hg-terms {
  display: inline-flex; flex-wrap: wrap; align-self: flex-start; align-items: center;
  background: var(--hg-blue); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; line-height: 1.5;
}
.hg-home .hg-terms a { color: #fff; }
.hg-home .hg-terms .wp-block-post-terms__separator { color: #fff; }
.hg-home .hg-read-more { display: inline-block; margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--hg-blue); }
.hg-home .hg-read-more:hover { color: var(--hg-navy); }

.hg-home .hg-posts-query { margin-top: 52px; }
.hg-home .hg-post-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 30px !important; list-style: none; padding: 0; margin: 0; }
.hg-home .hg-post-grid > li { margin: 0; }
.hg-home .hg-post-card { height: 100%; border: 1px solid var(--hg-border); border-radius: 14px; overflow: hidden; background: #fff; transition: box-shadow .25s, transform .25s; min-height: 470px; }
.hg-home .hg-post-card:hover { box-shadow: 0 22px 44px -24px rgba(10, 37, 69, .3); transform: translateY(-3px); }
.hg-home .hg-card-img { margin: 0; }
.hg-home .hg-card-img img { display: block; width: 100%; aspect-ratio: 366 / 212; object-fit: cover; }
.hg-home .hg-card-body { padding: 26px 24px 30px; display: flex; flex-direction: column; }
.hg-home .hg-card-title { font-family: var(--hg-body); font-weight: 600; font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; margin-top: 18px; }
.hg-home .hg-card-title a { color: var(--hg-ink); }
.hg-home .hg-card-title a:hover { color: var(--hg-blue); }

.hg-home .hg-pagination { margin-top: 60px; gap: 10px; align-items: center; font-size: 14px; }
.hg-home .hg-pagination .page-numbers,
.hg-home .hg-pagination .wp-block-query-pagination-previous,
.hg-home .hg-pagination .wp-block-query-pagination-next {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--hg-border); border-radius: 8px; color: var(--hg-ink); font-weight: 500; margin: 0;
}
.hg-home .hg-pagination .wp-block-query-pagination-numbers { display: flex; gap: 10px; }
.hg-home .hg-pagination .page-numbers.current { background: var(--hg-blue); border-color: var(--hg-blue); color: #fff; font-weight: 700; }
.hg-home .hg-pagination .page-numbers.dots { border: 0; }
.hg-home .hg-pagination a:hover { border-color: var(--hg-blue); color: var(--hg-blue); }
.hg-home .hg-no-posts { text-align: center; color: var(--hg-text); padding: 40px 0; }

.hg-home .hg-blog-cta { background: linear-gradient(180deg, #fff 0%, #f1f6fe 100%); padding: 80px 0 100px; }
.hg-home .hg-blog-cta .hg-cta-title { font-family: var(--hg-heading); font-weight: 800; font-size: 40px; }
.hg-home .hg-blog-cta .hg-intro { max-width: 560px; }
.hg-home .hg-blog-cta .hg-btn-row { margin-top: 30px; }

@media (max-width: 960px) {
  .hg-home .hg-post-grid { grid-template-columns: 1fr 1fr !important; }
  .hg-home .hg-featured { grid-template-columns: 1fr; }
  .hg-home .hg-featured-img a, .hg-home .hg-featured-img img { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .hg-home .hg-blog-hero { padding: 48px 0 32px; }
  .hg-home .hg-blog-h1 { font-size: 42px; }
  .hg-home .hg-post-grid { grid-template-columns: 1fr !important; }
  .hg-home .hg-post-card { min-height: 0; }
  .hg-home .hg-featured-body { padding: 28px 22px 32px; }
  .hg-home .hg-featured-title { font-size: 23px; }
  .hg-home .hg-blog-cta .hg-cta-title { font-size: 30px; }
}

/* =========================================================
   SINGLE BLOG POST
   ========================================================= */
.hg-home .hg-post-page { background: radial-gradient(90% 60% at 100% 0%, #e9f1fe 0%, #f6f9fe 35%, #fff 70%); }
.hg-home .hg-post { max-width: 932px; margin: 0 auto; padding: 100px 16px 110px; }
.hg-home .hg-post-cats { display: inline-block; background: var(--hg-blue); color: #fff; border-radius: 999px; padding: 9px 20px; font-family: var(--hg-heading); font-weight: 700; font-size: 14px; line-height: 1.3; }
.hg-home .hg-post-cats a { color: #fff; }
.hg-home .hg-post-title { font-family: var(--hg-body); font-weight: 800; font-size: 52px; line-height: 1.05; letter-spacing: -0.035em; color: var(--hg-ink); margin-top: 30px; }
.hg-home .hg-post-meta { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.hg-home .hg-post-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.hg-home .hg-post-author { font-family: var(--hg-heading); font-weight: 700; font-size: 15px; color: var(--hg-ink); line-height: 1.3; }
.hg-home .hg-post-date { font-size: 13px; color: #7a889b; }
.hg-home .hg-post-featured { margin-top: 50px; }
.hg-home .hg-post-featured img { width: 100%; aspect-ratio: 900 / 440; object-fit: cover; border-radius: 14px; }
.hg-home .hg-post-content { margin-top: 42px; }
.hg-home .hg-post-content p { font-size: 17px; line-height: 28px; color: #2d3a4b; margin: 0 0 30px; }
.hg-home .hg-post-content h2 { font-family: var(--hg-body); font-weight: 700; font-size: 32px; line-height: 1.25; letter-spacing: -0.015em; color: #050a14; margin: 52px 0 18px; }
.hg-home .hg-post-content h3 { font-family: var(--hg-body); font-weight: 700; font-size: 27px; line-height: 1.3; letter-spacing: -0.015em; color: #050a14; margin: 44px 0 18px; }
.hg-home .hg-post-content a { color: #2e5bd6; font-weight: 600; }
.hg-home .hg-post-content a:hover { color: var(--hg-navy); }
.hg-home .hg-post-inline-img { margin: 0 0 42px; text-align: center; }
.hg-home .hg-post-inline-img img { display: inline-block; width: 540px; max-width: 100%; }
.hg-home .hg-author-box { display: flex; gap: 20px; align-items: flex-start; background: #f5f8fc; border: 1px solid var(--hg-border); border-radius: 16px; padding: 30px 30px 42px; margin-top: 64px; font-family: var(--hg-heading); }
.hg-home .hg-author-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.hg-home .hg-author-label { font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--hg-blue); }
.hg-home .hg-author-name { font-weight: 700; font-size: 18px; color: var(--hg-ink); margin-top: 6px; }
.hg-home .hg-author-bio { font-size: 14.5px; line-height: 1.65; color: var(--hg-text); margin-top: 4px; }

.hg-home .hg-latest { background: var(--hg-bg-soft); border-top: 1px solid #eef2f7; padding: 108px 0 100px; }
.hg-home .hg-latest-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hg-home .hg-latest-h2 { font-family: var(--hg-body); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; color: #050a14; }
.hg-home .hg-view-all, .hg-home .hg-latest-link { display: inline-flex; align-items: center; gap: 8px; color: var(--hg-blue); font-weight: 600; font-size: 16px; }
.hg-home .hg-view-all:hover, .hg-home .hg-latest-link:hover { color: var(--hg-navy); }
.hg-home .hg-latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 46px; align-items: start; }
.hg-home .hg-latest-card { background: #f7fafd; border: 1px solid var(--hg-border); border-radius: 16px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.hg-home .hg-latest-card:hover { box-shadow: 0 22px 44px -24px rgba(10, 37, 69, .3); transform: translateY(-3px); }
.hg-home .hg-latest-img img { display: block; width: 100%; aspect-ratio: 381 / 221; object-fit: cover; }
.hg-home .hg-latest-body { padding: 30px 24px 30px; }
.hg-home .hg-latest-date { font-size: 13px; font-weight: 500; color: #6b7889; }
.hg-home .hg-latest-title { font-family: var(--hg-body); font-weight: 700; font-size: 19px; line-height: 1.17; letter-spacing: -0.01em; margin-top: 16px; }
.hg-home .hg-latest-title a { color: #050a14; }
.hg-home .hg-latest-title a:hover { color: var(--hg-blue); }
.hg-home .hg-latest-link { margin-top: 14px; }

.hg-home .hg-post-cta { background: radial-gradient(70% 90% at 50% 100%, #edf3fe 0%, #fff 75%); padding: 80px 0 80px; text-align: center; }
.hg-home .hg-post-cta-title { font-family: var(--hg-heading); font-weight: 800; font-size: 42px; letter-spacing: -0.03em; line-height: 1.2; color: var(--hg-ink); }
.hg-home .hg-post-cta-text { font-family: var(--hg-heading); font-size: 17px; line-height: 1.65; color: var(--hg-text); max-width: 540px; margin: 22px auto 0; }
.hg-home .hg-post-cta-btn { display: inline-flex; align-items: center; min-height: 58px; padding: 0 22px; margin-top: 22px; border-radius: 8px; background: var(--hg-blue); color: #fff; font-family: var(--hg-heading); font-weight: 700; font-size: 16px; box-shadow: 0 12px 26px -10px rgba(30, 111, 255, .6); }
.hg-home .hg-post-cta-btn:hover { background: var(--hg-blue-hover); color: #fff; }

@media (max-width: 960px) { .hg-home .hg-latest-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 781px) {
  .hg-home .hg-post { padding: 56px 16px 72px; }
  .hg-home .hg-post-title { font-size: 34px; }
  .hg-home .hg-post-content h2 { font-size: 26px; }
  .hg-home .hg-post-content h3 { font-size: 22px; }
  .hg-home .hg-author-box { flex-direction: column; }
  .hg-home .hg-latest { padding: 64px 0; }
  .hg-home .hg-latest-grid { grid-template-columns: 1fr; }
  .hg-home .hg-post-cta-title { font-size: 30px; }
}

/* =========================================================
   CASE STUDIES ARCHIVE (custom post type: case_study)
   ========================================================= */
.hg-home .hg-cs-hero { background: radial-gradient(60% 120% at 50% 0%, #e6effe 0%, #f5f8fe 45%, #fff 80%); border-bottom: 1px solid #eef2f7; padding: 70px 0 66px; }
.hg-home .hg-breadcrumb { font-size: 14px; color: #0a0f1a; }
.hg-home .hg-breadcrumb a { color: #0a0f1a; }
.hg-home .hg-breadcrumb a:hover { color: var(--hg-blue); }
.hg-home .hg-breadcrumb [aria-current] { color: var(--hg-blue); }
.hg-home .hg-cs-h1 { font-family: var(--hg-body); font-weight: 800; font-size: 56px; line-height: 1.1; letter-spacing: -0.035em; color: #050a14; margin-top: 18px; }
.hg-home .hg-cs-intro { font-size: 19px; line-height: 1.6; color: #4f5d70; max-width: 640px; margin-top: 20px; }

.hg-home .hg-cs-main { background: #fff; padding: 66px 0 66px; }
.hg-home .hg-cs-featured { display: grid; grid-template-columns: 642fr 558fr; border: 1px solid var(--hg-border); border-radius: 16px; overflow: hidden; background: #fff; }
.hg-home .hg-cs-featured-img img { display: block; width: 100%; height: 100%; min-height: 428px; object-fit: cover; }
.hg-home .hg-cs-featured-body { padding: 40px 42px; display: flex; flex-direction: column; justify-content: center; }
.hg-home .hg-cs-featured-meta { display: flex; align-items: center; gap: 16px; }
.hg-home .hg-cs-latest { display: inline-flex; align-items: center; height: 26px; padding: 0 13px; border-radius: 999px; background: #eaf2ff; border: 1px solid #cfe0ff; color: var(--hg-blue); font-size: 13px; font-weight: 600; }
.hg-home .hg-cs-featured-title { font-family: var(--hg-body); font-weight: 700; font-size: 34px; line-height: 1.2; letter-spacing: -0.025em; margin-top: 14px; }
.hg-home .hg-cs-featured-title a, .hg-home .hg-cs-card-title a { color: #050a14; }
.hg-home .hg-cs-featured-title a:hover, .hg-home .hg-cs-card-title a:hover { color: var(--hg-blue); }
.hg-home .hg-cs-excerpt { font-size: 17px; line-height: 1.65; color: #1f2937; margin-top: 16px; }
.hg-home .hg-cs-date { font-size: 13px; font-weight: 500; color: #6b7889; }
.hg-home .hg-cs-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--hg-blue); font-weight: 600; font-size: 16px; }
.hg-home .hg-cs-link:hover { color: var(--hg-navy); }

.hg-home .hg-cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 54px; align-items: start; }
.hg-home .hg-cs-card { border: 1px solid var(--hg-border); border-radius: 16px; overflow: hidden; background: #fff; transition: box-shadow .25s, transform .25s; }
.hg-home .hg-cs-card:hover, .hg-home .hg-cs-featured:hover { box-shadow: 0 22px 44px -24px rgba(10, 37, 69, .28); }
.hg-home .hg-cs-card:hover { transform: translateY(-3px); }
.hg-home .hg-cs-card-img img { display: block; width: 100%; aspect-ratio: 381 / 220; object-fit: cover; }
.hg-home .hg-cs-card-body { padding: 30px 24px 30px; }
.hg-home .hg-cs-card-title { font-family: var(--hg-body); font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; margin-top: 8px; }
.hg-home .hg-cs-card .hg-cs-link { margin-top: 8px; }

@media (max-width: 960px) {
  .hg-home .hg-cs-featured { grid-template-columns: 1fr; }
  .hg-home .hg-cs-featured-img img { min-height: 0; aspect-ratio: 16 / 10; }
  .hg-home .hg-cs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 781px) {
  .hg-home .hg-cs-hero { padding: 48px 0; }
  .hg-home .hg-cs-h1 { font-size: 38px; }
  .hg-home .hg-cs-intro { font-size: 17px; }
  .hg-home .hg-cs-featured-body { padding: 28px 22px; }
  .hg-home .hg-cs-featured-title { font-size: 26px; }
  .hg-home .hg-cs-grid { grid-template-columns: 1fr; margin-top: 32px; }
}

/* =========================================================
   SINGLE CASE STUDY (custom post type: case_study)
   ========================================================= */
.hg-home .hg-cs-single-page { background: radial-gradient(80% 60% at 100% 0%, #e9f1fe 0%, #f6f9fe 35%, #fff 70%); }
.hg-home .hg-cs-single { max-width: 932px; margin: 0 auto; padding: 100px 16px 110px; }
.hg-home .hg-cs-single-meta { display: flex; align-items: center; gap: 16px; }
.hg-home .hg-cs-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border-radius: 999px; background: #eaf2ff; border: 1px solid #cfe0ff; color: var(--hg-blue); font-size: 13px; font-weight: 600; }
.hg-home .hg-cs-single-date { font-size: 14px; font-weight: 500; color: #6b7889; }
.hg-home .hg-cs-single-title { font-family: var(--hg-body); font-weight: 800; font-size: 54px; line-height: 1.12; letter-spacing: -0.035em; color: #050a14; margin-top: 18px; }
.hg-home .hg-cs-single-img { margin-top: 64px; }
.hg-home .hg-cs-single-img img { width: 100%; aspect-ratio: 900 / 460; object-fit: cover; border-radius: 14px; }
.hg-home .hg-cs-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 70px 24px 0; padding: 0; }
.hg-home .hg-cs-fact { border: 1px solid var(--hg-border); border-radius: 14px; background: rgba(255, 255, 255, .7); padding: 28px 26px 30px; }
.hg-home .hg-cs-fact dt { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .01em; color: var(--hg-blue); }
.hg-home .hg-cs-fact dd { margin: 6px 0 0; font-size: 16px; color: #3f4d60; }
.hg-home .hg-cs-content { margin-top: 76px; }
.hg-home .hg-cs-content h2 { font-family: var(--hg-body); font-weight: 700; font-size: 28px; line-height: 1.3; letter-spacing: -0.015em; color: #050a14; margin: 50px 0 18px; }
.hg-home .hg-cs-content h2:first-child { margin-top: 0; }
.hg-home .hg-cs-content p { font-size: 17px; line-height: 28px; color: #3a4757; }
.hg-home .hg-cs-content ul { margin: 0; padding-left: 50px; }
.hg-home .hg-cs-content li { font-size: 17px; line-height: 28px; color: #3a4757; }
.hg-home .hg-cs-previous { background: #f5f8fc; padding: 100px 0 100px; }
.hg-home .hg-cs-previous .hg-cs-grid { margin-top: 36px; }
.hg-home .hg-cs-previous .hg-cs-card { background: #f8fafd; }

@media (max-width: 781px) {
  .hg-home .hg-cs-single { padding: 56px 16px 72px; }
  .hg-home .hg-cs-single-title { font-size: 36px; }
  .hg-home .hg-cs-single-img { margin-top: 36px; }
  .hg-home .hg-cs-facts { grid-template-columns: 1fr; margin: 32px 0 0; gap: 12px; }
  .hg-home .hg-cs-content { margin-top: 48px; }
  .hg-home .hg-cs-content h2 { font-size: 24px; }
  .hg-home .hg-cs-content ul { padding-left: 24px; }
  .hg-home .hg-cs-previous { padding: 64px 0; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.hg-home .hg-ct-hero { background: linear-gradient(180deg, #ebf1fb 0%, #f6f9fd 55%, #fff 100%); border-bottom: 1px solid #eef2f7; padding: 46px 0 70px; }
.hg-home .hg-ct-breadcrumb { font-size: 14px; color: #5b6b81; padding-left: 10px; }
.hg-home .hg-ct-breadcrumb a { color: #5b6b81; }
.hg-home .hg-sep { margin: 0 8px; }
.hg-home .hg-ct-h1 { font-family: var(--hg-body); font-weight: 800; font-size: 46px; line-height: 1.15; letter-spacing: -0.025em; color: var(--hg-ink); margin-top: 24px; }
.hg-home .hg-ct-intro { font-size: 17px; line-height: 1.7; color: #4f5d70; max-width: 560px; margin-top: 20px; }

.hg-home .hg-ct-main { background: #fff; padding: 80px 0 88px; }
.hg-home .hg-ct-grid { display: grid; grid-template-columns: 1fr 472px; gap: 60px; align-items: start; }
.hg-home .hg-ct-info { padding: 0 0 0 20px; margin-top: 12px; }
.hg-home .hg-ct-eyebrow { font-size: 15px; letter-spacing: .06em; margin-bottom: 6px; }
.hg-home .hg-ct-h2 { font-family: var(--hg-body); font-weight: 700; font-size: 30px; letter-spacing: -0.015em; color: var(--hg-ink); }
.hg-home .hg-ct-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 34px; }
.hg-home .hg-ct-list li { display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.hg-home .hg-ct-icon { flex: none; width: 50px; height: 50px; border-radius: 10px; background: #eaf2ff; color: var(--hg-blue); display: grid; place-items: center; }
.hg-home .hg-ct-label { font-weight: 600; font-size: 16px; color: #0a0f1a; line-height: 1.4; }
.hg-home .hg-ct-value { font-size: 16px; line-height: 1.5; color: #4a5568; margin-top: 2px; }
.hg-home .hg-ct-phone { color: var(--hg-blue); font-weight: 700; }
.hg-home .hg-ct-phone:hover { color: var(--hg-navy); }
.hg-home .hg-ct-follow { font-weight: 600; font-size: 16px; color: #0a0f1a; margin-top: 52px; }
.hg-home .hg-ct-social { margin-top: 14px; }
.hg-home .hg-ct-social .wp-block-social-link { background: #f3f6fa !important; border: 1px solid #dfe6ef; border-radius: 10px !important; }
.hg-home .hg-ct-social .wp-block-social-link-anchor { color: #1f2937 !important; padding: 11px !important; }
.hg-home .hg-ct-social .wp-block-social-link-anchor svg { fill: #1f2937; width: 20px; height: 20px; }
.hg-home .hg-ct-social .wp-block-social-link:hover { background: var(--hg-blue) !important; border-color: var(--hg-blue); }
.hg-home .hg-ct-social .wp-block-social-link:hover svg { fill: #fff; }

.hg-home .hg-ct-form-card { background: #fff; border: 1px solid #e8edf4; border-radius: 16px; padding: 38px 36px 36px; box-shadow: 0 20px 50px -30px rgba(10, 37, 69, .25); }
.hg-home .hg-ct-form-title { font-family: var(--hg-body); font-weight: 700; font-size: 27px; letter-spacing: -0.015em; color: var(--hg-ink); }
.hg-home .hg-ct-form-sub { font-size: 17px; color: #6b7889; margin-top: 4px; }
.hg-home .hg-inquiry-form { margin-top: 24px; display: grid; gap: 18px; }
.hg-home .hg-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hg-home .hg-field { display: block; }
.hg-home .hg-label { display: block; font-size: 14.5px; font-weight: 500; color: #1f2937; margin-bottom: 10px; }
.hg-home .hg-req { font-size: 12px; font-weight: 500; color: #8a96a8; margin-left: 4px; }
.hg-home .hg-inquiry-form input,
.hg-home .hg-inquiry-form select,
.hg-home .hg-inquiry-form textarea {
  width: 100%; font: inherit; font-family: var(--hg-body); font-size: 15px; color: #1f2937;
  background: #fff; border: 1px solid #dfe5ee; border-radius: 8px; padding: 0 14px; height: 58px;
  box-shadow: 0 1px 2px rgba(10, 37, 69, .04); transition: border-color .2s, box-shadow .2s; margin: 0;
}
.hg-home .hg-inquiry-form textarea { height: 128px; padding: 18px 14px; line-height: 1.5; resize: vertical; }
.hg-home .hg-inquiry-form select { appearance: none; -webkit-appearance: none; height: 66px; background: #fff no-repeat right 14px center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); padding-right: 40px; }
.hg-home .hg-inquiry-form ::placeholder { color: #9aa5b5; }
.hg-home .hg-inquiry-form input:focus, .hg-home .hg-inquiry-form select:focus, .hg-home .hg-inquiry-form textarea:focus { outline: none; border-color: var(--hg-blue); box-shadow: 0 0 0 3px rgba(30, 111, 255, .15); }
.hg-home .hg-ct-submit { width: 100%; height: 62px; border: 0; border-radius: 4px; background: var(--hg-blue); color: #fff; font-family: var(--hg-body); font-weight: 600; font-size: 17px; cursor: pointer; transition: background-color .2s; margin-top: -4px; }
.hg-home .hg-ct-submit:hover { background: var(--hg-blue-hover); }

.hg-home .hg-ct-map { max-width: 1150px; margin: 80px auto 0; padding: 0 16px; }
.hg-home .hg-ct-map iframe { display: block; width: 100%; height: 480px; border: 0; background: #e9eef4; }

@media (max-width: 960px) {
  .hg-home .hg-ct-grid { grid-template-columns: 1fr; gap: 48px; }
  .hg-home .hg-ct-info { padding-left: 0; }
}
@media (max-width: 600px) {
  .hg-home .hg-ct-hero { padding: 36px 0 48px; }
  .hg-home .hg-ct-h1 { font-size: 34px; }
  .hg-home .hg-ct-main { padding: 56px 0 64px; }
  .hg-home .hg-ct-form-card { padding: 28px 20px; }
  .hg-home .hg-field-row { grid-template-columns: 1fr; }
  .hg-home .hg-ct-map { margin-top: 56px; }
  .hg-home .hg-ct-map iframe { height: 340px; }
}

/* =========================================================
   FREE CONSULTATION
   ========================================================= */
.hg-home .hg-fc-hero { padding: 64px 0 120px; border-bottom: 0; }
.hg-home .hg-fc-h1 { font-size: 48px; margin-top: 0; }
.hg-home .hg-fc-intro { font-size: 18px; line-height: 1.6; max-width: 560px; margin-top: 26px; }
.hg-home .hg-fc-main { padding: 10px 0 150px; }
.hg-home .hg-fc-grid { grid-template-columns: 1fr 464px; gap: 60px; }
.hg-home .hg-fc-info { margin-top: 2px; padding-left: 20px; }
.hg-home .hg-fc-h2 { font-size: 30px; line-height: 1.22; max-width: 320px; margin-top: 6px; }
.hg-home .hg-fc-steps { list-style: none; padding: 0; margin: 38px 0 0; display: grid; gap: 34px; max-width: 380px; }
.hg-home .hg-fc-steps li { display: flex; gap: 16px; margin: 0; }
.hg-home .hg-fc-num { flex: none; width: 36px; height: 36px; border-radius: 8px; background: #eaf2ff; color: var(--hg-blue); display: grid; place-items: center; font-weight: 700; font-size: 17px; margin-top: 2px; }
.hg-home .hg-fc-steps h3 { font-family: var(--hg-body); font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--hg-ink); letter-spacing: -0.01em; }
.hg-home .hg-fc-steps p { font-size: 17px; line-height: 1.55; color: #5b6b81; margin-top: 4px; }
.hg-home .hg-fc-contact { list-style: none; padding: 50px 0 0 10px; margin: 36px 0 0; border-top: 1px solid var(--hg-border); display: grid; gap: 22px; max-width: 620px; }
.hg-home .hg-fc-contact li { display: flex; align-items: center; gap: 16px; margin: 0; }
.hg-home .hg-fc-contact .hg-ct-icon { width: 48px; height: 48px; border-radius: 10px; }
.hg-home .hg-fc-label { font-size: 15px; color: #5b6b81; line-height: 1.3; }
.hg-home .hg-fc-value { font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--hg-ink); }
.hg-home .hg-fc-value a { color: var(--hg-ink); }
.hg-home .hg-fc-value a:hover { color: var(--hg-blue); }
.hg-home .hg-fc-form-card { padding: 38px 36px 36px; }

.hg-home .hg-choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.hg-home .hg-choice-group legend { padding: 0; }
.hg-home .hg-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hg-home .hg-choice { position: relative; display: block; cursor: pointer; }
.hg-home .hg-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hg-home .hg-choice span {
  display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 29px; border-radius: 8px;
  border: 1px solid #dfe5ee; background: #fff; font-weight: 600; font-size: 15px; color: #1f2937; transition: border-color .2s, background-color .2s, color .2s;
}
.hg-home .hg-choice:hover span { border-color: var(--hg-blue); }
.hg-home .hg-choice input:checked + span { background: var(--hg-blue); border-color: var(--hg-blue); color: #fff; }
.hg-home .hg-choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(30, 111, 255, .25); }

@media (max-width: 960px) { .hg-home .hg-fc-grid { grid-template-columns: 1fr; } .hg-home .hg-fc-info { padding-left: 0; } }
@media (max-width: 600px) {
  .hg-home .hg-fc-hero { padding: 40px 0 56px; }
  .hg-home .hg-fc-h1 { font-size: 34px; }
  .hg-home .hg-fc-main { padding-bottom: 72px; }
  .hg-home .hg-fc-value { font-size: 18px; }
  .hg-home .hg-fc-contact { padding-left: 0; }
}

/* =========================================================
   BLOCK THEME ADJUSTMENTS
   Rules for markup that differs from the static export once the pages are
   real WordPress blocks (navigation, query loops, forms, icons).
   ========================================================= */

/* Root: the body now carries .hg-home, so no full-bleed breakout is needed */
.hg-home .wp-site-blocks { padding: 0; }
.hg-home .wp-block-template-part { margin: 0; }
.hg-home .wp-block-buttons { gap: 14px; }
.hg-home .screen-reader-text:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Top bar divider (was an empty span) */
.hg-home .hg-topbar-contact a { display: inline-flex; align-items: center; }
.hg-home .hg-topbar-contact a::after { content: ""; display: inline-block; width: 1px; height: 26px; background: #c0cee2; margin: 0 8px; }

/* Header: logo link + navigation block */
.hg-home .hg-logo a { display: block; }
.hg-home .hg-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item { align-items: center; }
.hg-home .hg-nav .is-menu-open .wp-block-navigation__responsive-container-content,
.hg-home .hg-nav .is-menu-open .wp-block-navigation__container,
.hg-home .hg-nav .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; justify-content: flex-start !important; text-align: left; }
.hg-home .hg-nav .is-menu-open .wp-block-navigation__responsive-container-content { width: 100%; }
.hg-home .hg-nav .is-menu-open .wp-block-navigation__container { margin-left: 0 !important; margin-right: 0 !important; }
.hg-home .hg-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { line-height: 1.6; }
.hg-home .hg-nav .wp-block-navigation-submenu__toggle { cursor: pointer; }
/* Services dropdown — matches the live site: square white panel starting at the header's
   bottom edge, one line per item, dark-gray hover row. Desktop only (not the mobile overlay). */
.hg-home .hg-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item { min-height: 80px; }
.hg-home .hg-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
  top: 100% !important; left: -28px !important; min-width: 0 !important; width: max-content !important;
  padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #fff !important;
  box-shadow: 0 14px 30px -14px rgba(10, 37, 69, .25);
}
.hg-home .hg-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item { width: 100%; }
.hg-home .hg-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  display: block; width: 100%; padding: 13px 28px !important; border-radius: 0 !important;
  font-size: 15px; font-weight: 600; line-height: 20px; color: #1f2937; white-space: nowrap;
}
.hg-home .hg-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.hg-home .hg-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible,
.hg-home .hg-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
  background: #3f424d !important; color: #fff !important;
}
/* Solid ▼ arrow next to "Services" */
.hg-home .hg-nav .wp-block-navigation__submenu-icon { width: 10px !important; height: 10px !important; margin-left: 10px !important; }
.hg-home .hg-nav .wp-block-navigation__submenu-icon svg { display: none; }
.hg-home .hg-nav .wp-block-navigation__submenu-icon::before {
  content: ""; display: block; width: 0; height: 0; margin: 2px auto 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid currentColor;
}
.hg-home .hg-nav .wp-block-navigation__responsive-container-open svg,
.hg-home .hg-nav .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
.hg-home .hg-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 18px; }

/* Tablet: switch to the menu button below 960px (core switches at 600px) */
@media (min-width: 600px) and (max-width: 960px) {
  .hg-home .hg-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .hg-home .hg-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .hg-home .hg-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex; }
}
@media (max-width: 960px) {
  .hg-home .hg-header-inner { min-height: 72px; }
  .hg-home .hg-nav { margin-left: auto; }
  .hg-home .hg-nav .is-menu-open .wp-block-navigation__container { align-items: flex-start; }
  .hg-home .hg-nav .is-menu-open .wp-block-navigation__submenu-container { min-width: 0 !important; background: transparent !important; }
  .hg-home .hg-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 6px 0 !important; font-size: 16px; }
  .hg-home .hg-nav .is-menu-open .wp-block-navigation-submenu__toggle { display: none; }
}

/* Home: activity feed items (were list items) */
.hg-home .hg-activity { margin-top: 8px; }
.hg-home .hg-activity-item { position: relative; display: flex; justify-content: space-between; padding-left: 17px; font-size: 14px; line-height: 25px; color: #4a5a70; margin: 0; }
.hg-home .hg-activity-item::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--hg-green-bright); }
.hg-home .hg-activity-item.is-blue::before { background: var(--hg-blue); }
.hg-home .hg-activity-item .hg-mono { font-size: 11px; color: #9aa7b8; }
.hg-home .hg-about-img { margin: 0; }

/* Shared: "View All" / "View case study" arrows (were inline SVGs) */
.hg-home .hg-view-all a,
.hg-home .hg-cs-link,
.hg-home .hg-latest-link { display: inline-flex; align-items: center; gap: 10px; color: var(--hg-blue); font-weight: 600; font-size: 16px; }
.hg-home .hg-view-all a:hover { color: var(--hg-navy); }
.hg-home .hg-view-all a::after,
.hg-home .hg-cs-link::after,
.hg-home .hg-latest-link::after {
  content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
          mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.hg-home .hg-view-all { flex: none; }

/* Query loops: featured images are figure > a > img */
.hg-home .wp-block-post-featured-image a { display: block; height: 100%; }
.hg-home .wp-block-post-featured-image img { max-width: 100%; }
.hg-home .wp-block-post-template { list-style: none; padding: 0; }
.hg-home .wp-block-post-template > li { margin: 0; }
.hg-home .hg-post-grid > li, .hg-home .hg-cs-grid > li, .hg-home .hg-latest-grid > li { height: 100%; }
.hg-home .hg-cs-grid > li, .hg-home .hg-latest-grid > li { height: auto; }

/* Blog */
.hg-home .hg-featured-img img { height: 100% !important; }
.hg-home .hg-no-thumb .hg-featured { grid-template-columns: 1fr; }
.hg-home .hg-no-thumb .hg-cs-featured { grid-template-columns: 1fr; }
.hg-home .hg-card-body .hg-terms { align-self: flex-start; }
.hg-home .hg-blog-filter .hg-cat-pills { margin: 0; }
.hg-home .hg-cat-pills .cat-item-none { list-style: none; color: var(--hg-text); font-size: 14px; }
body.hg-home:is(.category, .tag) .hg-pill-all a { background: #fff; border-color: var(--hg-border); color: #4a5568; }
body.hg-home:is(.category, .tag) .hg-pill-all a:hover { border-color: var(--hg-blue); color: var(--hg-blue); }
.hg-home .hg-blog-intro:empty { display: none; }
.hg-home .hg-archive-query { margin-top: 0; }
.hg-home .hg-pagination:empty { display: none; }
.hg-home .hg-pagination .wp-block-query-pagination-numbers > * { margin: 0; }

/* Single post */
.hg-home .hg-post-head .hg-post-cats { display: inline-flex; flex-wrap: wrap; }
.hg-home .hg-post-cats .wp-block-post-terms__separator { color: #fff; }
.hg-home .hg-post-avatar { flex: none; }
.hg-home .hg-post-avatar img,
.hg-home .hg-author-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hg-home .hg-post-author a, .hg-home .hg-author-name a { color: inherit; }
.hg-home .hg-post-featured { margin-left: 0; margin-right: 0; }
.hg-home .hg-author-info { min-width: 0; }
.hg-home .hg-author-bio:empty { display: none; }

/* Post / page content (prose written in the editor) */
.hg-home .hg-post-content > :last-child { margin-bottom: 0; }
.hg-home .hg-post-content ul,
.hg-home .hg-post-content ol { margin: 0 0 30px; padding-left: 1.4em; }
.hg-home .hg-post-content li { font-size: 17px; line-height: 28px; color: #2d3a4b; margin: 0 0 8px; }
.hg-home .hg-post-content h4 { font-family: var(--hg-body); font-weight: 700; font-size: 21px; color: #050a14; margin: 36px 0 14px; }
.hg-home .hg-post-content figure { margin: 0 0 42px; }
.hg-home .hg-post-content figure img { border-radius: 12px; }
.hg-home .hg-post-content figcaption { font-size: 14px; color: var(--hg-muted); margin-top: 10px; text-align: center; }
.hg-home .hg-post-content blockquote { margin: 0 0 30px; padding: 6px 0 6px 24px; border-left: 4px solid var(--hg-blue); }
.hg-home .hg-post-content blockquote p { font-size: 19px; color: var(--hg-ink); }
.hg-home .hg-post-content .wp-block-image.aligncenter,
.hg-home .hg-post-content .aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
.hg-home .hg-post-content .aligncenter img { display: inline-block; }
.hg-home .hg-post-content .wp-block-buttons { margin: 0 0 30px; }

/* "Latest articles" / "Previous case studies" */
.hg-home .hg-latest-card { height: 100%; }
.hg-home .hg-latest-img { margin: 0; }
.hg-home .hg-latest-body { display: flex; flex-direction: column; align-items: flex-start; }

/* Case studies */
.hg-home .hg-cs-featured-img { margin: 0; height: 100%; }
.hg-home .hg-cs-featured-img img { height: 100% !important; }
.hg-home .hg-cs-card-img { margin: 0; }
.hg-home .hg-cs-card-body, .hg-home .hg-cs-featured-body { align-items: flex-start; }
.hg-home .hg-cs-card-body { display: flex; flex-direction: column; }
.hg-home .hg-cs-excerpt p { font-size: inherit; line-height: inherit; color: inherit; }
.hg-home .hg-cs-excerpt .wp-block-post-excerpt__more-text { display: none; }
.hg-home .hg-cs-latest { display: inline-flex; }
.hg-home .hg-cs-tag:empty { display: none; }
.hg-home .hg-cs-tag a { color: inherit; }
.hg-home .hg-cs-tag .wp-block-post-terms__separator { margin: 0 4px; }
.hg-home .hg-cs-single-img { margin-left: 0; margin-right: 0; }
.hg-home .hg-cs-fact-label { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .01em; color: var(--hg-blue); }
.hg-home .hg-cs-fact-value { margin: 6px 0 0; font-size: 16px; color: #3f4d60; }
.hg-home .hg-cs-content > :last-child { margin-bottom: 0; }
.hg-home .hg-cs-content ul, .hg-home .hg-cs-content ol { margin: 0 0 18px; padding-left: 50px; }
.hg-home .hg-cs-content p { margin: 0 0 18px; }
.hg-home .hg-cs-content h3 { font-family: var(--hg-body); font-weight: 700; font-size: 22px; color: #050a14; margin: 36px 0 14px; }
.hg-home .hg-cs-content a { color: #2e5bd6; font-weight: 600; }
@media (max-width: 781px) { .hg-home .hg-cs-content ul, .hg-home .hg-cs-content ol { padding-left: 24px; } }

/* Single-post / case-study closing CTA (button is now a Button block) */
.hg-home .hg-post-cta-btns { margin-top: 22px; }
.hg-home .hg-post-cta-btn .wp-block-button__link {
  display: inline-flex; align-items: center; min-height: 58px; padding: 0 22px; border-radius: 8px;
  background: var(--hg-blue); color: #fff; font-family: var(--hg-heading); font-weight: 700; font-size: 16px; line-height: 1;
  box-shadow: 0 12px 26px -10px rgba(30, 111, 255, .6);
}
.hg-home .hg-post-cta-btn .wp-block-button__link:hover { background: var(--hg-blue-hover); color: #fff; }

/* Contact + Free Consultation: icon rows (icons drawn with CSS) */
.hg-home .hg-ct-item, .hg-home .hg-fc-item { display: flex; gap: 16px; align-items: flex-start; }
.hg-home .hg-fc-item { align-items: center; }
.hg-home .hg-ct-item::before, .hg-home .hg-fc-item::before {
  content: ""; flex: none; width: 50px; height: 50px; border-radius: 10px;
  background: #eaf2ff no-repeat center/20px;
}
.hg-home .hg-fc-item::before { width: 48px; height: 48px; background-size: 22px; }
.hg-home .hg-ico-pin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e6fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0114 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.hg-home .hg-ico-phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e6fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 01-2.2 2 19.8 19.8 0 01-8.6-3.1 19.5 19.5 0 01-6-6A19.8 19.8 0 012.1 4.2 2 2 0 014.1 2h3a2 2 0 012 1.7c.1.9.4 1.8.7 2.7a2 2 0 01-.5 2.1L8 9.8a16 16 0 006 6l1.3-1.3a2 2 0 012.1-.4c.9.3 1.8.6 2.7.7a2 2 0 011.7 2z'/%3E%3C/svg%3E"); }
.hg-home .hg-ico-clock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e6fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.hg-home .hg-ct-value a { color: var(--hg-blue); font-weight: 700; }
.hg-home .hg-ct-value a:hover { color: var(--hg-navy); }
.hg-home .hg-ct-follow + .hg-social { margin-top: 14px; }
.hg-home .hg-ct-social .wp-block-social-link-anchor { color: #1f2937 !important; }
.hg-home .hg-ct-social .wp-block-social-link:hover .wp-block-social-link-anchor { color: #fff !important; }
.hg-home .hg-ct-map iframe { max-width: 100%; }

.hg-home .hg-fc-step { display: flex; gap: 16px; }
.hg-home .hg-fc-steps .hg-fc-num { color: var(--hg-blue); margin-top: 2px; font-size: 17px; line-height: 1; }
.hg-home .hg-fc-step-text h3 { margin: 0; }

/* Gravity Forms (Contact + Free Consultation) — matches the .hg-inquiry-form design.
   Written for the Gravity Forms 2.5+ markup with theme="gravity-theme". */
.hg-home .hg-ct-form-card .gform_wrapper { margin: 24px 0 0; font-family: var(--hg-body); }
.hg-home .hg-ct-form-card .gform_heading { display: none; }
.hg-home .hg-ct-form-card .gform_wrapper .gform_fields { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; row-gap: 18px; margin: 0; padding: 0; list-style: none; }
.hg-home .hg-ct-form-card .gform_wrapper .gfield { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; min-width: 0; }
.hg-home .hg-ct-form-card .gform_wrapper .gfield--width-half { grid-column: span 6; }
.hg-home .hg-ct-form-card .gform_wrapper .gfield--width-third { grid-column: span 4; }
.hg-home .hg-ct-form-card .gform_wrapper .gfield_label,
.hg-home .hg-ct-form-card .gform_wrapper legend.gfield_label {
  display: block; padding: 0; margin: 0 0 10px; font-family: var(--hg-body); font-size: 14.5px; font-weight: 500; color: #1f2937; line-height: 1.4;
}
.hg-home .hg-ct-form-card .gform_wrapper .gfield_required { display: inline; margin-left: 4px; font-size: 12px; font-weight: 500; color: #8a96a8; }
.hg-home .hg-ct-form-card .gform_wrapper .gfield_required .gfield_required { margin-left: 0; }
.hg-home .hg-ct-form-card .gform_wrapper .gfield_description { font-size: 13px; color: var(--hg-muted); padding-top: 6px; }
.hg-home .hg-ct-form-card .gform_wrapper .ginput_complex { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hg-home .hg-ct-form-card .gform_wrapper .ginput_complex > span { width: auto; padding: 0; }
.hg-home .hg-ct-form-card .gform_wrapper .ginput_complex label { font-size: 12px; color: var(--hg-muted); padding-top: 6px; }
.hg-home .hg-ct-form-card .gform_wrapper input[type="text"],
.hg-home .hg-ct-form-card .gform_wrapper input[type="email"],
.hg-home .hg-ct-form-card .gform_wrapper input[type="tel"],
.hg-home .hg-ct-form-card .gform_wrapper input[type="url"],
.hg-home .hg-ct-form-card .gform_wrapper input[type="number"],
.hg-home .hg-ct-form-card .gform_wrapper select,
.hg-home .hg-ct-form-card .gform_wrapper textarea {
  width: 100%; height: 58px; margin: 0; padding: 0 14px; font: inherit; font-family: var(--hg-body); font-size: 15px; color: #1f2937; line-height: 1.4;
  background: #fff; border: 1px solid #dfe5ee; border-radius: 8px; box-shadow: 0 1px 2px rgba(10, 37, 69, .04); transition: border-color .2s, box-shadow .2s;
}
.hg-home .hg-ct-form-card .gform_wrapper textarea { height: 128px; min-height: 0; padding: 18px 14px; line-height: 1.5; resize: vertical; }
.hg-home .hg-ct-form-card .gform_wrapper select {
  appearance: none; -webkit-appearance: none; height: 66px; padding-right: 40px;
  background: #fff no-repeat right 14px center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.hg-home .hg-ct-form-card .gform_wrapper ::placeholder { color: #9aa5b5; opacity: 1; }
.hg-home .hg-ct-form-card .gform_wrapper input:focus,
.hg-home .hg-ct-form-card .gform_wrapper select:focus,
.hg-home .hg-ct-form-card .gform_wrapper textarea:focus { outline: none; border-color: var(--hg-blue); box-shadow: 0 0 0 3px rgba(30, 111, 255, .15); }

/* Radio buttons as pill buttons (Yes / No, Phone / Email) */
.hg-home .hg-ct-form-card .gform_wrapper .gfield_radio { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hg-home .hg-ct-form-card .gform_wrapper .gfield_radio .gchoice { position: relative; display: block; margin: 0; }
.hg-home .hg-ct-form-card .gform_wrapper .gfield_radio input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.hg-home .hg-ct-form-card .gform_wrapper .gfield_radio label {
  display: inline-flex; align-items: center; justify-content: center; height: 42px; max-width: none; margin: 0; padding: 0 29px; cursor: pointer;
  border: 1px solid #dfe5ee; border-radius: 8px; background: #fff; font-weight: 600; font-size: 15px; color: #1f2937; transition: border-color .2s, background-color .2s, color .2s;
}
.hg-home .hg-ct-form-card .gform_wrapper .gfield_radio label:hover { border-color: var(--hg-blue); }
.hg-home .hg-ct-form-card .gform_wrapper .gfield_radio input:checked + label { background: var(--hg-blue); border-color: var(--hg-blue); color: #fff; }
.hg-home .hg-ct-form-card .gform_wrapper .gfield_radio input:focus-visible + label { box-shadow: 0 0 0 3px rgba(30, 111, 255, .25); }

/* Submit button */
.hg-home .hg-ct-form-card .gform_wrapper .gform_footer,
.hg-home .hg-ct-form-card .gform_wrapper .gform_page_footer { margin: 14px 0 0; padding: 0; }
.hg-home .hg-ct-form-card .gform_wrapper .gform_footer input[type="submit"],
.hg-home .hg-ct-form-card .gform_wrapper .gform_footer button,
.hg-home .hg-ct-form-card .gform_wrapper .gform_button {
  display: block; width: 100%; height: 62px; margin: 0; padding: 0 20px; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--hg-blue); color: #fff; font-family: var(--hg-body); font-weight: 600; font-size: 17px; line-height: 1; transition: background-color .2s;
}
.hg-home .hg-ct-form-card .gform_wrapper .gform_footer input[type="submit"]:hover,
.hg-home .hg-ct-form-card .gform_wrapper .gform_button:hover { background: var(--hg-blue-hover); }
.hg-home .hg-ct-form-card .gform_wrapper .gform_ajax_spinner { margin-top: 10px; }

/* Validation + confirmation */
.hg-home .hg-ct-form-card .gform_wrapper .gform_validation_errors { margin: 0 0 20px; padding: 14px 16px; border: 1px solid #f7caca; border-radius: 8px; background: #fff1f1; box-shadow: none; }
.hg-home .hg-ct-form-card .gform_wrapper .gform_validation_errors h2 { margin: 0; font-family: var(--hg-body); font-size: 15px; font-weight: 600; color: #b42318; }
.hg-home .hg-ct-form-card .gform_wrapper .gfield_error input,
.hg-home .hg-ct-form-card .gform_wrapper .gfield_error select,
.hg-home .hg-ct-form-card .gform_wrapper .gfield_error textarea { border-color: #e5484d; }
.hg-home .hg-ct-form-card .gform_wrapper .gfield_validation_message { margin: 8px 0 0; padding: 0; border: 0; background: none; font-size: 13px; color: #b42318; }
.hg-home .hg-ct-form-card .gform_confirmation_message { margin-top: 24px; padding: 16px 18px; border: 1px solid #c8f0dd; border-radius: 8px; background: var(--hg-green-bg); color: var(--hg-green); font-size: 15px; line-height: 1.55; }
.hg-home .hg-ct-form-card .gform_wrapper .gform_hidden,
.hg-home .hg-ct-form-card .gform_wrapper .gform_validation_container { display: none !important; }

/* Shown to logged-in editors only, when Gravity Forms isn't active */
.hg-home .hg-form-missing { margin-top: 24px; padding: 14px 16px; border: 1px dashed #c9d6e6; border-radius: 8px; font-size: 14px; color: var(--hg-text); }

@media (max-width: 600px) {
  .hg-home .hg-ct-form-card .gform_wrapper .gfield--width-half,
  .hg-home .hg-ct-form-card .gform_wrapper .gfield--width-third { grid-column: 1 / -1; }
  .hg-home .hg-ct-form-card .gform_wrapper .ginput_complex { grid-template-columns: 1fr; }
}

/* Default page template (Privacy Policy, Cookie Policy, any new page) */
.hg-home .hg-page-hero { background: linear-gradient(180deg, #ebf1fb 0%, #f6f9fd 55%, #fff 100%); border-bottom: 1px solid #eef2f7; padding: 70px 0 56px; }
.hg-home .hg-page-title { font-family: var(--hg-body); font-weight: 800; font-size: 48px; line-height: 1.12; letter-spacing: -0.03em; color: var(--hg-ink); }
.hg-home .hg-page-body { padding: 64px 0 100px; }
.hg-home .hg-narrow { max-width: 932px; }
.hg-home .hg-page-body .hg-post-content { margin-top: 0; }
.hg-home .hg-404-hero { padding: 110px 0 130px; }
.hg-home .hg-404-hero .hg-intro { max-width: 560px; }
@media (max-width: 781px) {
  .hg-home .hg-page-hero { padding: 48px 0 40px; }
  .hg-home .hg-page-title { font-size: 34px; }
  .hg-home .hg-page-body { padding: 40px 0 72px; }
}

/* Service-page heroes: more space under the header */
.hg-home .hg-sv-hero:not(.hg-sv-hero-soft) { padding-top: 72px; }
@media (max-width: 781px) { .hg-home .hg-sv-hero:not(.hg-sv-hero-soft) { padding-top: 40px; } }

/* Mobile menu: submenus collapsed until tapped (see assets/js/mobile-menu.js) */
.hg-home .hg-nav .is-menu-open .wp-block-navigation-submenu > .wp-block-navigation__submenu-container { display: none !important; }
.hg-home .hg-nav .is-menu-open .wp-block-navigation-submenu.hg-sub-open > .wp-block-navigation__submenu-container { display: flex !important; }
.hg-home .hg-nav .is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-item__content { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.hg-home .hg-nav .is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-item__content::after {
  content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 7px solid currentColor;
  transition: transform .2s;
}
.hg-home .hg-nav .is-menu-open .wp-block-navigation-submenu.hg-sub-open > .wp-block-navigation-item__content::after { transform: rotate(180deg); }
.hg-home .hg-nav .is-menu-open .wp-block-navigation-submenu.hg-sub-open > .wp-block-navigation__submenu-container { padding-top: 10px !important; }
