:root {
  --hgf-bg: #041f32;
  --hgf-bg-deep: #021624;
  --hgf-panel: #0b2f49;
  --hgf-panel-light: #114162;
  --hgf-line: rgba(255, 255, 255, 0.12);
  --hgf-text: #e8f3ff;
  --hgf-muted: #afc7da;
  --hgf-primary: #1d76bc;
  --hgf-primary-2: #1E77BD;
  --hgf-max: 1180px;
}

.hgf-home {
  background: radial-gradient(circle at 20% -20%, #1d4567 0%, var(--hgf-bg) 45%, var(--hgf-bg-deep) 100%);
  color: var(--hgf-text);
  font-family: "Sora", sans-serif;
  margin: 0;
}

.hgf-home.hgf-theme-light {
  --hgf-bg: #eef5fb;
  --hgf-bg-deep: #e3edf6;
  --hgf-panel: #d5e7f6;
  --hgf-panel-light: #c4dcf0;
  --hgf-line: rgba(14, 71, 110, 0.16);
  --hgf-text: #10314a;
  --hgf-muted: #4d6f87;
  background: radial-gradient(circle at 20% -20%, #d8e9f8 0%, #eef5fb 46%, #e6f0f8 100%);
}

.hgf-home.hgf-theme-light .hgf-hero::before {
  background-image: linear-gradient(105deg, rgba(234, 244, 251, 0.9), rgba(234, 244, 251, 0.62)), var(--hgf-hero-bg-light);
}

.hgf-home.hgf-theme-light .hgf-hero-overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(226, 239, 248, 0.72)), radial-gradient(circle at 76% 46%, rgba(43, 137, 207, 0.22), transparent 42%);
}

.hgf-home.hgf-theme-light .hgf-hero-copy h1,
.hgf-home.hgf-theme-light .hgf-hero-copy h2,
.hgf-home.hgf-theme-light .hgf-title,
.hgf-home.hgf-theme-light .hgf-join-grid h3,
.hgf-home.hgf-theme-light .hgf-counter-value {
  color: #10314a;
}

.hgf-home.hgf-theme-light .hgf-logo-band,
.hgf-home.hgf-theme-light .hgf-counters,
.hgf-home.hgf-theme-light .hgf-blog,
.hgf-home.hgf-theme-light .hgf-join {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(217, 233, 246, 0.45));
}

.hgf-home.hgf-theme-light .hg-steps {
  background: linear-gradient(180deg, rgba(230, 241, 250, 0.82), rgba(221, 236, 248, 0.86));
}

.hgf-home.hgf-theme-light .hg-steps-head h2,
.hgf-home.hgf-theme-light .hg-copy h3 {
  color: #10314a;
}

.hgf-home.hgf-theme-light .hg-steps-head p,
.hgf-home.hgf-theme-light .hg-copy p,
.hgf-home.hgf-theme-light .hgf-join-grid p,
.hgf-home.hgf-theme-light .hgf-counter-text {
  color: #4d6f87;
}

.hgf-home.hgf-theme-light .hg-card {
  background: rgba(255, 255, 255, 0.74) !important;
  border-color: rgba(21, 91, 138, 0.2);
  box-shadow: 0 18px 42px rgba(31, 86, 126, 0.14);
}

.hgf-home.hgf-theme-light .hgf-about-image-main,
.hgf-home.hgf-theme-light .hgf-about-image-float,
.hgf-home.hgf-theme-light .hgf-about-play,
.hgf-home.hgf-theme-light .hgf-join-grid article {
  border-color: rgba(21, 91, 138, 0.2);
}

.hgf-home.hgf-theme-light .hgf-about-image-main {
  --hgf-about-border-color: rgba(29, 118, 188, 0.75);
}

.hgf-home.hgf-theme-light .hgf-join-grid article {
  background: rgba(255, 255, 255, 0.74);
}

.hgf-home.hgf-theme-light .hgf-blog-card {
  border-color: rgba(55, 130, 184, 0.3);
  box-shadow:
    0 20px 42px rgba(38, 95, 137, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}

.hgf-home.hgf-theme-light .hgf-blog-card::before {
  background: linear-gradient(180deg, rgba(81, 159, 215, 0.2) 0%, rgba(56, 124, 176, 0.35) 52%, rgba(20, 74, 114, 0.65) 100%);
}

.hgf-home * {
  box-sizing: border-box;
}

.hgf-home h2 {
  margin-bottom: 15px !important;
}

.hgf-theme-toggle {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  min-width: 104px;
  border-radius: 999px;
  border: 1px solid rgba(182, 228, 255, 0.42);
  background: linear-gradient(145deg, rgba(14, 79, 127, 0.85), rgba(8, 52, 85, 0.72));
  color: #f4faff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.56rem 0.92rem;
  font-family: "Sora", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.hgf-theme-toggle:hover,
.hgf-theme-toggle:focus-visible {
  transform: translateY(calc(-50% - 2px));
  border-color: rgba(204, 240, 255, 0.68);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.hgf-theme-toggle__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e8f6ff;
  box-shadow: 0 0 0 4px rgba(232, 246, 255, 0.18);
}

.hgf-theme-toggle.is-light {
  background: linear-gradient(145deg, rgba(196, 224, 243, 0.92), rgba(168, 205, 231, 0.86));
  color: #12344d;
  border-color: rgba(53, 120, 166, 0.3);
}

.hgf-theme-toggle.is-light .hgf-theme-toggle__dot {
  background: #1d77bc;
  box-shadow: 0 0 0 4px rgba(29, 119, 188, 0.18);
}

@media (max-width: 768px) {
  .hgf-theme-toggle {
    top: auto;
    right: 14px;
    bottom: 16px;
    transform: none;
    min-width: 94px;
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }

  .hgf-theme-toggle:hover,
  .hgf-theme-toggle:focus-visible {
    transform: translateY(-2px);
  }
}

.hgf-container {
  width: min(100% - 2rem, var(--hgf-max));
  margin-inline: auto;
}

.hgf-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color:#70c0ff;
  margin-bottom: 0.6rem;
}

.hgf-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  margin: 0 0 0.8rem;
}

.hgf-subtitle {
  color: var(--hgf-muted);
  margin: 0 0 2rem;
}

.hgf-hero {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--hgf-line);
}

/* Compensa a admin bar do WordPress para usuários logados */
.admin-bar .hgf-hero {
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
  height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
}

.hgf-snow-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hgf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(105deg, rgba(2, 19, 33, 0.92), rgba(2, 19, 33, 0.62)), var(--hgf-hero-bg-dark);
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hgf-fold {
  opacity: 0;
  transform: translateY(44px) scale(0.986);
  filter: blur(3px);
  transition: opacity 0.85s ease, transform 0.95s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.85s ease;
}

.hgf-fold.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.hgf-fold-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease var(--hgf-fold-delay, 0ms),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--hgf-fold-delay, 0ms);
}

.hgf-fold.is-visible .hgf-fold-item {
  opacity: 1;
  transform: none;
}

.hgf-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.52)), radial-gradient(circle at 76% 46%, rgba(35, 161, 255, 0.14), transparent 42%);
}

.hgf-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 5.3rem 0;
}

.hgf-hero-copy h1 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 0.93;
  margin: 0;
}
.breadcrumbs{
    display: none !Important;
}
.hgf-hero-copy h2 {
  font-family: "Barlow Condensed", sans-serif;
  margin: 0.2rem 0 1.4rem;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  font-weight: 500;
  line-height: 1.4;
}

.hgf-word-rotator {
  display: inline-block;
  color: var(--hgf-primary-2);
  position: relative;
  height: 1em;
  line-height: 1;
  /* width fixed by JS to prevent layout collapse during flip */
}

.hgf-word {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  line-height: 1;
  transform: rotateX(180deg);
  transform-origin: 50% 100%;
  backface-visibility: hidden;
  white-space: nowrap;
  will-change: transform, opacity;
  pointer-events: none;
    margin-top:-5px !Important;
}
.breadcrumb_last{
  display:none !Important;
}
.hgf-word.is-active {
  animation: hgf-flip-in 1.2s;
  opacity: 1;
  transform: rotateX(0deg);
  pointer-events: auto;
  margin-top:-5px !Important;
}

.hgf-word.is-inactive {
  animation: hgf-flip-out 1.2s;
  transform: rotateX(180deg);
  pointer-events: none;
}

@keyframes hgf-flip-out {
  0%   { opacity: 1; transform: rotateX(0deg); }
  35%  { opacity: 1; transform: rotateX(-40deg); }
  65%  { opacity: 0; }
  100% { opacity: 0; transform: rotateX(180deg); }
}

@keyframes hgf-flip-in {
  0%   { opacity: 0; transform: rotateX(180deg); }
  35%  { opacity: 0; transform: rotateX(120deg); }
  65%  { opacity: 0; }
  100% { opacity: 1; transform: rotateX(1turn); }
}

.hgf-typed-wrap {
  display: inline-block;
  perspective: 300px;
  vertical-align: middle;
}

.hgf-hero-copy p {
  max-width: 56ch;
  color: var(--hgf-muted);
  margin-bottom: 1.8rem;
}

.hgf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hgf-btn {
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hgf-btn,
.hgf-btn:visited,
.hgf-btn:hover,
.hgf-btn:focus-visible,
.hgf-btn:active {
  color: #f4faff !important;
}

.hgf-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
}

.hgf-btn-primary {
  background: linear-gradient(135deg, rgba(39, 161, 255, 0.4), rgba(29, 118, 188, 0.2));
  color: #fff;
  border-color: rgba(150, 217, 255, 0.55);
}

.hgf-btn-ghost {
  color: #f3f9ff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.44);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hgf-btn-ghost:hover {
  background: var(--hgf-primary-2);
  border-color: var(--hgf-primary-2);
  color: #fff;
}

.hgf-btn-blue {
  color: #fff;
  background: var(--hgf-primary-2);
  border-color: var(--hgf-primary-2);
}

.hgf-shield-area {
  display: grid;
  place-items: center;
}

#hgShield {
  width: min(420px, 85%);
  height: auto;
}

#hgShield .ring-static {
  fill: none;
  stroke: #1d76bc;
  stroke-width: 2;
}

#hgShield .ring-orbit,
#hgShield .ring-orbit-left {
  fill: none;
  stroke: #7ec8ff;
  stroke-width: 2;
  stroke-dasharray: 12 8;
  transform-origin: center;
  transform-box: fill-box;
}

#hgShield .ring-orbit {
  animation: hgf-spin 36s linear infinite;
}

#hgShield .ring-orbit-left {
  animation: hgf-spin-left 26s linear infinite;
}

#hgShield .shield {
  fill: #0f4f83;
  stroke: #9cd9ff;
  stroke-width: 2;
}

#hgShield .bolt {
  fill: #d9f0ff;
}

@keyframes hgf-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hgf-spin-left {
  to {
    transform: rotate(-360deg);
  }
}

.hgf-logo-band {
  padding: 0.8rem 0;
}

:root {
  --hgx9-bg-color: #062336;
}

.hgx9-logo-carousel-container {
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 180px;
  cursor: grab;
  position: relative;
}

.hgx9-logo-carousel-container.hgx9-dragging {
  cursor: grabbing;
}

.hgx9-logo-carousel-track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
}

.hgx9-logo-item {
  flex: 0 0 auto;
  width: 190px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 30px;
  position: relative;
  z-index: 1;
}

.hgx9-logo-item img {
  max-width: 140px;
  max-height: 170px;
  object-fit: contain;
  transition: transform 0.35s ease, max-height 0.35s ease;
  pointer-events: none;
}

.hgx9-logo-item:hover {
  z-index: 20;
}

.hgx9-logo-item:hover img {
  transform: scale(1.8);
}

.hgf-fit,
.hgf-how,
.hgf-bodystyles,
.hgf-about,
.hgf-counters,
.hgf-blog,
.hgf-join {
  padding: 5rem 0;
}

.hgf-insurance {
  padding: 2.8rem 0 0;
  overflow: hidden;
}
.hgf-insurance-header {
  padding-bottom: 1.6rem;
}
.hgf-insurance-band {
  background: #ffffff;
  border-top: 1px solid #e6edf4;
  border-bottom: 1px solid #e6edf4;
  overflow: hidden;
}

.hgf-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  perspective: 1000px;
}

.hgf-card {
  position: relative;
  isolation: isolate;
  border-radius: 16px;
  border: 1px solid rgba(122, 196, 255, 0.35);
  min-height: 320px;
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition:
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.45s ease;
}

.hgf-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(122, 196, 255, 0.65);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 10px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hgf-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(26, 139, 231, 0.58),
    rgba(11, 79, 132, 0.68) 55%,
    rgba(4, 36, 59, 0.82)
  );
  /* un-hover: overlay volta após o texto ocultar */
  transition: opacity 0.3s ease 0.05s;
  will-change: opacity;
}

.hgf-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(0, 5, 12, 1) 0%,
    rgba(0, 5, 12, 0.95) 30%,
    rgba(0, 5, 12, 0.65) 58%,
    rgba(0, 5, 12, 0.15) 80%,
    transparent 100%
  );
  opacity: 0;
  /* un-hover: scrim some após texto ocultar */
  transition: opacity 0.3s ease 0.05s;
  pointer-events: none;
}

/* z-index explícito nos filhos */
.hgf-card > * {
  position: relative;
  z-index: 1;
}

.hgf-card:hover::before {
  opacity: 0;
  /* hover-in: overlay azul dissolve, revela foto + scrim */
  transition: opacity 0.3s ease 0s;
}

.hgf-card:hover::after {
  opacity: 1;
  /* hover-in: scrim entra junto com overlay dissolvendo */
  transition: opacity 0.3s ease 0s;
}

.hgf-card--repair {
  background-image: url("https://yellowgreen-herring-357423.hostingersite.com/wp-content/uploads/2026/01/ChatGPT-Image-20-de-jan.-de-2026-11_19_17.png");
}

.hgf-card--partners {
  background-image: url("https://yellowgreen-herring-357423.hostingersite.com/wp-content/uploads/2026/01/ChatGPT-Image-20-de-jan.-de-2026-11_24_13.png");
}

.hgf-card--owners {
  background-image: url("https://yellowgreen-herring-357423.hostingersite.com/wp-content/uploads/2026/01/ChatGPT-Image-20-de-jan.-de-2026-10_42_51.png");
}

.hgf-card h3 {
  color: #f2f9ff;
  margin-top: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 500;
  margin-bottom: 0.55rem;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hgf-card:hover h3 {
  transform: translateY(-4px);
}

.hgf-card p {
  color: rgba(235, 246, 255, 0.9);
  min-height: 68px;
  max-width: 26ch;
  margin: 0 0 0.9rem;
  clip-path: inset(0 100% 0 0);
  /* snap back instantly on mouse leave */
  transition: clip-path 0s;
}

.hgf-card a {
  color: #f7fbff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.08rem;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0s;
}

.hgf-card a::after {
  content: " \2192";
}

/* ===== TYPING EFFECT ===== */

.hgf-card:hover p {
  clip-path: inset(0 0% 0 0);
  /* ~30 caracteres × ~27ms por step */
  transition: clip-path 0.82s steps(30, end) 0.32s;
}

.hgf-card:hover a {
  clip-path: inset(0 0% 0 0);
  /* link aparece depois que o parágrafo termina de digitar */
  transition: clip-path 0.38s steps(10, end) 1.28s;
}

/* cursor piscante após typing completar */
.hgf-card p::after {
  content: '|';
  font-weight: 300;
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.65);
  margin-left: 1px;
  opacity: 0;
}

.hgf-card:hover p::after {
  opacity: 1;
  animation: hgf-blink-cursor 0.8s step-end 1.15s infinite;
}

@keyframes hgf-blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hgf-fit-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.hgf-fit-head .hgf-title {
  max-width: none;
  margin-bottom: 20px;
}

.hgf-fit-shield {
  display: grid;
  place-items: center;
}

.hgf-fit-shield .hg-orbit-wrap {
  display: flex;
  justify-content: center;
}

.hgf-fit-shield #hgShield {
  width: 123%;
  height: auto;
  display: block;
}

.hgf-fit-shield #hgShield .st0 {
  fill: #fff;
}

.hgf-fit-shield #hgShield .st1 {
  fill: #1d76bc;
}

.hgf-fit-shield #hgShield .st1.ring-orbit {
  fill: #fff;
}

.hgf-fit-shield #hgShield .ring-static {
  animation: none;
  transform: none;
  transform-origin: 237.31px 237.31px;
  transform-box: fill-box;
}

.hgf-fit-shield #hgShield .ring-orbit {
  transform-box: view-box;
  transform-origin: center;
  animation: hgf-spin 40s linear infinite;
}

.hgf-fit-shield #hgShield .ring-orbit-left {
  transform-box: view-box;
  transform-origin: center;
  animation: hgf-spin-left 30s linear infinite;
  will-change: transform;
}

/* ===== Section ===== */
.hg-steps{
  padding: 84px 16px;
}

.hg-steps-wrap{
  max-width: 1100px;
  margin: 0 auto;
}

.hg-steps-head{
  text-align: center;
  margin-bottom: 44px;
}

.hg-steps-head h2{
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.4px;
  color: rgba(255,255,255,.95);
}

.hg-steps-head p{
  margin: 0;
  font-size: 16px;
  color: rgba(255,255,255,.72);
}

.hg-timeline{
  display: grid;
  gap: 22px;
}

/* Row layout */
.hg-step{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: stretch;

  /* animacao base */
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

/* quando entrar na tela */
.hg-step.is-inview{
  opacity: 1;
  transform: translateY(0);
}

/* animacao extra por step */
.hg-step.is-inview .hg-card{
  transform: translateY(0);
}
.hg-card{
  transform: translateY(10px);
  transition: transform .7s ease, box-shadow .25s ease, border-color .25s ease;
}

/* Rail */
.hg-rail{
  position: relative;
  display: flex;
  justify-content: center;
}

.hg-dot{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  margin-top: 0;
  background: #1E78D2;
  box-shadow: 0 0 0 6px rgba(30,120,210,.18);
}

.hg-bullets .hg-dot{
margin-top:0 !important;
}
.hg-bullets li{
  margin-bottom:15px !Important;
}
.hg-line{
  position: absolute;
  top: 48px;
  bottom: -22px;
  width: 2px;
  background: linear-gradient(180deg, rgba(30,120,210,.0), rgba(30,120,210,.65), rgba(255,255,255,.10));
  border-radius: 999px;
}
.hg-line--end{ bottom: 30px; }

/* Card */
.hg-card{
  border-radius: 22px;
  padding: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

/* Top layout */
.hg-top{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
}

/* Avatar circular (slot da imagem) */
.hg-avatar{
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background:
    radial-gradient(120px 120px at 30% 30%, rgba(255,255,255,.28), rgba(255,255,255,0) 55%),
    var(--step-img) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 18px 45px rgba(0,0,0,.35),
    inset 0 0 0 6px rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;

  /* animacao do avatar */
  transform: scale(.96);
  transition: transform .8s ease;
}
.hg-step.is-inview .hg-avatar{
  transform: scale(1);
}

/* Badge */
.hg-badge{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  background: linear-gradient(135deg, rgba(30,120,210,.35), rgba(11,58,110,.35));
  border: 1px solid rgba(255,255,255,.14);
  margin-bottom: 0;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  white-space: nowrap;
}

.hg-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
}

.hg-copy h3{
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 8px;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.22;
  color: rgba(255,255,255,.95);
}

.hg-copy p{
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 8px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.6;
}

/* Hover polish */

.hg-card{
  position: relative !important;
  background:#1c76bc4a !important;
  color:#fff;
  box-shadow:0 2px 10px rgba(28,119,193,.28);
  overflow: hidden;
}
.hg-card:before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(160px 80px at 5% 2%, rgba(28,119,193,.30), transparent 60%);
  opacity:.0;
  transition:.25s ease;
  z-index: 99;
}
.hg-step:hover .hg-card {
  transform:translateY(-6px);
  border-color:rgba(28,119,193,.75);
  box-shadow:var(--shadow);
  color: #FFF;
}
.hg-step:hover .hg-card:before {
  opacity:1;
}


/* Mobile */
@media (max-width: 680px){
  .hg-step{
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }
  .hg-dot{
    margin-top: 24px;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 5px rgba(30,120,210,.18);
  }
  .hg-card{ padding: 18px; border-radius: 18px; }
  .hg-top{
    grid-template-columns: 78px 1fr;
    gap: 12px;
  }
  .hg-avatar{
    width: 78px;
    height: 78px;
    box-shadow:
      0 14px 36px rgba(0,0,0,.35),
      inset 0 0 0 5px rgba(255,255,255,.08);
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .hg-step, .hg-card, .hg-avatar{ transition: none !important; transform: none !important; }

  .hgf-fold,
  .hgf-fold-item,
  [data-hgf-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/*========================================*/

/* ===== Section ===== */
.hg-steps{ padding:84px 16px; }
.hg-steps-wrap{ max-width:100%; margin:0 auto; }

.hg-steps-head{ text-align:center; margin-bottom:44px; }
.hg-steps-head h2{ margin:0 0 10px; font-size:clamp(26px,3.2vw,40px); color:#fff; }
.hg-steps-head p{ margin:0; color:rgba(255,255,255,.72); }

.hg-timeline{
  display:grid;
  gap:22px;
  counter-reset: step;
}

/* Step row */
.hg-step{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:18px;
  opacity:0;
  transform:translateY(18px);
  transition:.7s ease;
}
.hg-step.is-inview{ opacity:1; transform:none; }

/* Rail + counter */
.hg-step .hg-rail{
  position:relative;
  display:flex;
  justify-content:center;
  counter-increment:step;
}

.hg-dot{
  width:36px !important;
  height:36px !important;
  border-radius:50% !important;
  margin-top:24px !important;
  background:linear-gradient(135deg,#1E78D2,#0B3A6E) !important;
  box-shadow:0 0 0 6px rgba(30,120,210,.18),0 12px 30px rgba(0,0,0,.35) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight:800 !important;
  color:#fff !important;
}

.hg-step .hg-rail .hg-dot::before {
  content: counter(step);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}


.hg-line{
  position:absolute;
  top:48px;
  bottom:-22px;
  width:2px;
  background:linear-gradient(180deg,rgba(30,120,210,0),rgba(30,120,210,.65),rgba(255,255,255,.1));
}
.hg-line--end{ bottom:30px; }

.hgf-bodystyles {
  padding-top: 4.4rem;
  padding-bottom: 4.4rem;
}

.hgf-bodystyles .hgf-title {
  text-align: center;
  margin-bottom: 1.45rem;
}

/* Carrossel de bodystyles */
:root {
  --hg-bg-color: #062336;
  --hg-logo-opacity: 0.4;
  --hg-logo-hover-opacity: 1;
  --hg-animation-speed: 35s;
  --hg-carousel-height: 80px;
}

.hg-logo-carousel-container {
  width: 100%;
  height: var(--hg-carousel-height);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  }

/* Bodystyle carousel: overflow visible so items can grow vertically on hover */
.logo-body.hg-logo-carousel-container {
  overflow: visible;
  padding: 44px 0;
  height: auto;
}

/* Bodystyle track is JS-driven — no CSS animation */
.hg-js-body-carousel {
  animation: none !important;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Drag cursor for bodystyle carousel */
.logo-body.hg-logo-carousel-container {
  cursor: grab;
}

.logo-body.hg-body-dragging {
  cursor: grabbing;
}

.hg-logo-carousel-track {
  display: flex;
  width: max-content;
  animation: hg-scroll var(--hg-animation-speed) linear infinite;
  will-change: transform;
  align-items: center;
}

/* Loop never pauses — removed container:hover pause */

.hg-logo-item {
  flex: 0 0 auto;
  width: 160px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 30px;
  position: relative;
  z-index: 0;
  transition: z-index 0s 0.4s;
  gap: 8px;
}

.hg-bodystyle-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  white-space: nowrap;
  transition: color 0.38s ease;
}

.logo-body .hg-logo-item:hover .hg-bodystyle-name {
  color: rgba(255, 255, 255, 0.95);
}

.hgf-theme-light .logo-body .hg-bodystyle-name {
  color: rgba(29, 118, 188, 0.7);
}

.hgf-theme-light .logo-body .hg-logo-item:hover .hg-bodystyle-name {
  color: rgba(29, 118, 188, 1);
}

.logo-body .hg-logo-item img {
  max-width: 160px !important;
  max-height: 80px !important;
  object-fit: contain;
  opacity: var(--hg-logo-opacity);
  filter: grayscale(100%) brightness(250%);
  transition: transform 0.38s cubic-bezier(0.165, 0.84, 0.44, 1),
              opacity 0.38s ease,
              filter 0.38s ease;
}

.logo-insurance {
  --hg-carousel-height: 130px;
  overflow: visible !important;
  padding: 28px 0 !important;
  height: auto !important;
}

.logo-insurance .hg-logo-item {
  width: 260px;
  height: 110px;
  margin: 0 18px;
  overflow: hidden;
  background: rgb(255 255 255 / 74%);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  padding: 16px 24px;
  transition:
    transform 0.32s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease,
    background 0.32s ease;
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
}

.logo-insurance .hg-logo-item:hover {
  transform: scale(1.08);
  z-index: 10;
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* Always colored, contained within card */
.logo-insurance .hg-logo-item img {
  max-width: 100% !important;
  max-height: 125px !important;
  width: auto !important;
  height: auto !important;
  opacity: 1 !important;
  filter: grayscale(0%) brightness(100%) !important;
  transform: none !important;
  transition: none !important;
  object-fit: contain;
}

/* Light theme glass card */
.hgf-theme-light .logo-insurance .hg-logo-item {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(29, 118, 188, 0.2);
  box-shadow: 0 4px 20px rgba(31, 86, 126, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hgf-theme-light .logo-insurance .hg-logo-item:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(29, 118, 188, 0.38);
}

/* General hover (insurance etc) */
.hg-logo-item:hover img {
  opacity: var(--hg-logo-hover-opacity);
  filter: grayscale(0%) brightness(100%);
  transform: scale(1.1);
}

/* Bodystyle: big zoom on hover, z-index above siblings */
.logo-body .hg-logo-item:hover {
  z-index: 20;
  transition: z-index 0s 0s;
}

.logo-body .hg-logo-item:hover img {
  transform: scale(2.8) !important;
  opacity: 1 !important;
  filter: grayscale(0%) brightness(100%) drop-shadow(0 8px 24px rgba(29, 118, 188, 0.45)) !important;
}

@keyframes hg-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  :root {
    --hg-carousel-height: 60px;
    --hg-animation-speed: 20s;
  }

  .hg-logo-item {
    width: 120px;
    margin: 0 15px;
  }

  .hg-logo-item img {
    max-width: 80px;
    max-height: 25px;
  }

  .logo-insurance {
    --hg-carousel-height: 64px;
  }

  .logo-insurance .hg-logo-item {
    width: 210px;
    height: 96px;
    margin: 0 12px;
    padding: 12px 18px;
  }

  .logo-insurance .hg-logo-item img {
    max-width: 100% !important;
    max-height: 58px !important;
  }
}

.hgf-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.hgf-about p {
  color: var(--hgf-muted);
}

.hgf-about-copy-box {
  border: 1px solid rgba(126, 200, 255, 0.52);
  padding: 1.15rem 1rem;
  margin-top: 1rem;
  margin-bottom: 0.95rem;
}

.hgf-about-copy-box p {
  margin: 0;
}

.hgf-about-highlights {
  margin: 0.85rem 0 1.3rem;
  padding: 0.8rem 0.65rem;
  border-bottom: 1px solid rgba(126, 200, 255, 0.55);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hgf-about-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.hgf-about-highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: rgba(29, 118, 188, 0.35);
  border: 1px solid rgba(126, 200, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
}

.hgf-about-highlight-icon i {
  color: #d9edff;
  font-size: 0.92rem;
  font-weight: 900;
}

.hgf-about-highlight-item p {
  margin: 0;
  color: #e7f2fc;
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.12;
}

.hgf-about-cta-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.hgf-about-cta-row .hgf-btn-primary {
  border: 1px solid rgba(126, 200, 255, 0.7);
  box-shadow: 0 10px 26px rgba(4, 24, 38, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  padding: 0.8rem 1.4rem;
}

.hgf-about-cta-row .hgf-btn-primary i {
  margin-left: 0.35rem;
}

.hgf-about-inline-stat {
  margin: 0;
  color: #e7f2fc;
  font-size: 1rem;
  font-weight: 600;
}

.hgf-about-inline-stat strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.2rem;
  line-height: 0.9;
  margin-right: 0.38rem;
}

.hgf-theme-light .hgf-about-highlights {
  border-top-color: rgba(29, 118, 188, 0.28);
  border-bottom-color: rgba(29, 118, 188, 0.28);
}

.hgf-theme-light .hgf-about-copy-box {
  border-color: rgba(29, 118, 188, 0.34);
}

.hgf-theme-light .hgf-about-highlight-icon {
  background: rgba(29, 118, 188, 0.16);
}

.hgf-theme-light .hgf-about-highlight-icon i {
  color: #145b95;
}

.hgf-theme-light .hgf-about-highlight-item p {
  color: #0a2d4d;
}

.hgf-theme-light .hgf-about-inline-stat {
  color: #0a2d4d;
}

.hgf-about-image-wrap {
  position: relative;
  min-height: 475px;
}

.hgf-about-image-main {
  margin: 0;
  position: relative;
  --hgf-about-border-color: rgba(57, 173, 255, 0.95);
  z-index: 1;
  border-radius: 2px;
  overflow: hidden;
  background: #041a2a;
  isolation: isolate;
}

.hgf-about-image-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--hgf-about-border-color), var(--hgf-about-border-color)) left top / 0% 4px no-repeat,
    linear-gradient(var(--hgf-about-border-color), var(--hgf-about-border-color)) right top / 4px 0% no-repeat,
    linear-gradient(var(--hgf-about-border-color), var(--hgf-about-border-color)) right bottom / 0% 4px no-repeat,
    linear-gradient(var(--hgf-about-border-color), var(--hgf-about-border-color)) left bottom / 4px 0% no-repeat;
  animation: hgf-about-border-build 7.2s ease-out infinite;
  z-index: 3;
  pointer-events: none;
}

.hgf-about-image-main::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 2px rgba(126, 200, 255, 0.24);
  z-index: 2;
  pointer-events: none;
}

.hgf-about-image-main img {
  position: relative;
  display: block;
  width: 100%;
  z-index: 2;
}

.hgf-about-image-float {
  margin: 0;
  position: absolute;
  right: -14px;
  bottom: -28px;
  width: 60%;
  z-index: 5;
  border: 2px solid rgba(126, 200, 255, 0.6);
  overflow: hidden;
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.35);
  background: #062336;
  will-change: transform;
}

.hgf-about-image-float img {
  display: block;
  width: 100%;
}

.hgf-about-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 4px;
  border: 1px solid rgba(126, 200, 255, 0.8);
  background: rgba(3, 20, 31, 0.82);
  color: #e6f5ff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hgf-about-play i {
  font-size: 1.15rem;
  margin-left: 2px;
}

@keyframes hgf-about-border-build {
  0%,
  8% {
    background-size: 0% 4px, 4px 0%, 0% 4px, 4px 0%;
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  36% {
    background-size: 100% 4px, 4px 0%, 0% 4px, 4px 0%;
  }

  58% {
    background-size: 100% 4px, 4px 100%, 0% 4px, 4px 0%;
  }

  78% {
    background-size: 100% 4px, 4px 100%, 100% 4px, 4px 0%;
  }

  94%,
  100% {
    background-size: 100% 4px, 4px 100%, 100% 4px, 4px 100%;
    opacity: 1;
  }
}

.hgf-counters {
  padding-top: 1.3rem;
  padding-bottom: 2.6rem;
}

.hgf-counters-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}

.hgf-counter-item {
  text-align: left;
}

.hgf-counter-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(17, 88, 138, 0.32);
  border: 1px solid rgba(68, 156, 219, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.95rem;
}

.hgf-counter-icon i {
  font-size: 2rem;
  color: #1e77bd;
}

.hgf-counter-value {
  margin: 0 0 0.6rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.hgf-counter-text {
  margin: 0;
  max-width: 220px;
  color: rgba(228, 239, 248, 0.88);
  font-size: 1.05rem;
  line-height: 1.2;
}

.hgf-insurance-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}

.hgf-insurance-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 0.6rem;
}

.hgf-insurance-item img {
  max-width: 80%;
  max-height: 50px;
  object-fit: contain;
}

.hgf-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Category cards layout */
.hgf-blog-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.hgf-blog-cat-card {
  position: relative;
  display: flex;
  align-items: stretch;
  text-decoration: none;
  min-height: 260px;
  border-radius: 18px;
  border: 1px solid rgba(143, 216, 255, 0.3);
  background-color: rgba(6, 39, 63, 0.8);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: #fff;
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.hgf-blog-cat-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--hgf-primary-2);
  box-shadow: 0 16px 40px rgba(30, 119, 189, 0.4);
  color: #fff;
  text-decoration: none;
}

.hgf-blog-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 28, 48, 0.0) 0%,
    rgba(4, 28, 48, 0.15) 35%,
    rgba(4, 28, 48, 0.78) 65%,
    rgba(4, 28, 48, 0.96) 100%
  );
  transition: background 0.32s ease;
}

.hgf-blog-cat-card:hover .hgf-blog-cat-overlay {
  background: linear-gradient(
    180deg,
    rgba(30, 119, 189, 0.08) 0%,
    rgba(4, 28, 48, 0.18) 35%,
    rgba(4, 28, 48, 0.75) 65%,
    rgba(4, 28, 48, 0.95) 100%
  );
}

/* No background image fallback */
.hgf-blog-cat-card:not(.has-bg) .hgf-blog-cat-overlay {
  background: linear-gradient(135deg, rgba(30, 119, 189, 0.35) 0%, rgba(4, 28, 48, 0.85) 100%);
}

.hgf-blog-cat-body {
  position: relative;
  z-index: 1;
  padding: 1.2rem 1.4rem 1.3rem;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.hgf-blog-cat-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  padding-top: 0.4rem;
}

.hgf-blog-cat-name {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.hgf-blog-cat-count {
  font-size: 0.78rem;
  opacity: 0.75;
  font-weight: 400;
}

.hgf-blog-cat-btn {
  display: inline-block;
  align-self: flex-end;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  padding: 0.35rem 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hgf-blog-cat-card:hover .hgf-blog-cat-btn {
  background: var(--hgf-primary-2);
  border-color: var(--hgf-primary-2);
  color: #fff;
}

.hgf-blog-cat-btn.is-premium {
  background: linear-gradient(135deg, #f5c842 0%, #e09b1a 60%, #f5c842 100%);
  border-color: #e09b1a;
  color: #1a1000;
  gap: 0.4em;
  display: inline-flex;
  align-items: center;
}

.hgf-blog-cat-card:hover .hgf-blog-cat-btn.is-premium {
  background: linear-gradient(135deg, #ffd84d 0%, #f0a820 60%, #ffd84d 100%);
  border-color: #f5c842;
  color: #1a1000;
}


.hgf-blog-card {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(143, 216, 255, 0.38);
  border-radius: 18px;
  overflow: hidden;
  min-height: 440px;
  background: rgba(6, 39, 63, 0.55);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.09);
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.hgf-blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(24, 109, 174, 0.18) 0%, rgba(24, 109, 174, 0.48) 52%, rgba(5, 40, 66, 0.84) 100%);
  pointer-events: none;
}

.hgf-blog-card::after {
  content: "";
  position: absolute;
  inset: -24% 0 auto;
  height: 44%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(182, 231, 255, 0.2), rgba(182, 231, 255, 0));
  opacity: 0.65;
  pointer-events: none;
}

.hgf-blog-card:hover,
.hgf-blog-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(171, 231, 255, 0.72);
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14);
}

.hgf-blog-media {
  position: absolute;
  inset: 0;
  display: block;
}

.hgf-blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease;
}

.hgf-blog-card:hover img,
.hgf-blog-card:focus-within img {
  transform: scale(1.08);
}

.hgf-blog-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hgf-blog-card h3 {
  margin: 0;
  font-size: clamp(1.9rem, 1.55vw, 2.15rem);
  line-height: 1.06;
  max-width: 16ch;
}

.hgf-blog-card h3 a {
  text-decoration: none;
  color: #fff;
}

.hgf-blog-card p {
  color: rgba(232, 243, 255, 0.95);
  margin: 1.3rem 0 0;
  max-width: 26ch;
  font-size: 1.04rem;
  line-height: 1.35;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hgf-blog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 1.15rem;
  color: #f2f9ff;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  border-radius: 14px;
  padding: 0.72rem 1.1rem;
  border: 1px solid rgba(193, 234, 255, 0.25);
  background: linear-gradient(145deg, rgba(23, 112, 179, 0.74), rgba(15, 79, 130, 0.48));
  backdrop-filter: blur(9px) saturate(128%);
  -webkit-backdrop-filter: blur(9px) saturate(128%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, border-color 0.25s ease, background 0.25s ease;
}

.hgf-blog-link,
.hgf-blog-link:visited,
.hgf-blog-link:hover,
.hgf-blog-link:focus-visible,
.hgf-blog-link:active {
  color: #f2f9ff !important;
}

.hgf-blog-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(145deg, rgba(51, 156, 231, 0.88), rgba(22, 111, 181, 0.72));
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.hgf-blog-link::after {
  content: " \2192";
}

/* ===== Emblem Section (last fold) ===== */
.hgf-emblem {
  padding: 100px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hgf-emblem-wrap {
  display: grid;
  place-items: center;
  width: 320px;
  max-width: 90vw;
}

.hgf-emblem-wrap .hg-orbit-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

#hgEmblem {
  width: 100%;
  height: auto;
  display: block;
}

#hgEmblem .ring-static {
  animation: none;
  transform: none;
}

#hgEmblem .est0 {
  fill: #fff;
}

#hgEmblem .est1 {
  fill: #1d76bc;
}

/* Ring orbits as dashed strokes — mirrors hgShield exactly */
#hgEmblem .ring-orbit,
#hgEmblem .ring-orbit-left {
  fill: none;
  stroke: #7ec8ff;
  stroke-width: 2;
  stroke-dasharray: 12 8;
  transform-origin: center;
  transform-box: fill-box;
}

#hgEmblem .ring-orbit {
  transform-box: view-box;
  transform-origin: center;
  animation: hgf-spin 40s linear infinite;
}

#hgEmblem .ring-orbit-left {
  transform-box: view-box;
  transform-origin: center;
  animation: hgf-spin-left 30s linear infinite;
  will-change: transform;
}

/* Light theme — bolt becomes dark, rings use blue stroke */
.hgf-theme-light #hgEmblem .est0 {
  fill: #0a2d4d;
}

.hgf-theme-light #hgEmblem .ring-orbit,
.hgf-theme-light #hgEmblem .ring-orbit-left {
  stroke: #1d76bc;
}

@media (prefers-reduced-motion: reduce) {
  #hgEmblem .ring-orbit,
  #hgEmblem .ring-orbit-left {
    animation: none;
  }
}

.hgf-blog-card:hover .hgf-blog-link,
.hgf-blog-card:focus-within .hgf-blog-link {
  transform: translateY(0);
  opacity: 1;
}

.hgf-blog-link:hover,
.hgf-blog-link:focus-visible {
  border-color: rgba(218, 243, 255, 0.58);
  background: linear-gradient(145deg, rgba(23, 112, 179, 0.74), rgba(15, 79, 130, 0.48));
}

.hgf-blog-link:hover::before,
.hgf-blog-link:focus-visible::before {
  transform: translateY(0);
}

@media (hover: none) {
  .hgf-blog-link {
    transform: translateY(0);
    opacity: 1;
  }
}

.hgf-join {
  border-top: 1px solid var(--hgf-line);
  text-align: center;
}

.hgf-join-grid {
  margin: 1.5rem 0 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hgf-join-grid article {
  border: 1px solid var(--hgf-line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}

.hgf-join-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.3rem;
  color: #bce8ff;
  border: 1px solid rgba(153, 219, 255, 0.36);
  background: linear-gradient(145deg, rgba(26, 122, 194, 0.42), rgba(12, 68, 112, 0.3));
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hgf-join-icon i {
  font-size: 1.2rem;
}

.hgf-join-grid h3 {
  margin: 0;
}

.hgf-join-grid p {
  margin: 0.4rem 0 0;
  color: var(--hgf-muted);
}

[data-hgf-reveal] {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.94);
  filter: blur(7px);
  transition:
    opacity 0.7s ease var(--hgf-reveal-delay, 0ms),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) var(--hgf-reveal-delay, 0ms),
    filter 0.75s ease var(--hgf-reveal-delay, 0ms);
}

[data-hgf-reveal].hgf-reveal-left {
  transform: translate3d(-48px, 28px, 0) scale(0.94);
}

[data-hgf-reveal].hgf-reveal-right {
  transform: translate3d(48px, 28px, 0) scale(0.94);
}

[data-hgf-reveal].hgf-reveal-up {
  transform: translate3d(0, 42px, 0) scale(0.94);
}

[data-hgf-reveal].hgf-reveal-zoom {
  transform: translate3d(0, 36px, 0) scale(0.88);
}

[data-hgf-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (max-width: 980px) {
  .hgf-hero-grid,
  .hgf-about-grid {
    grid-template-columns: 1fr;
  }

  .hgf-fit-grid,
  .hgf-blog-grid,
  .hgf-insurance-grid,
  .hgf-join-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hgf-steps {
    grid-template-columns: 1fr;
  }

  .hgf-body-grid,
  .hgf-counters-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hgf-fit-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hgf-fit-shield {
    justify-content: center;
  }

  .hgx9-logo-carousel-container {
    margin-top: 0;
  }

  .hgf-about-highlights {
    grid-template-columns: 1fr;
  }

  .hgf-about-cta-row {
    flex-wrap: wrap;
    gap: 0.9rem;
  }

  .hgf-about-image-wrap {
    min-height: auto;
    padding-bottom: 7rem;
  }

  .hgf-about-image-float {
    right: 0;
    width: 68%;
    bottom: 0;
  }
}

@media (max-width: 768px) {
  .hgx9-logo-carousel-container {
    height: 120px;
  }

  .hgx9-logo-item {
    width: 120px;
    height: 120px;
    margin: 0 15px;
  }

  .hgx9-logo-item img {
    max-width: 80px;
    max-height: 80px;
  }

  .hgx9-logo-item:hover img {
    transform: scale(1.3);
  }
}

@media (max-width: 680px) {
  .hgf-hero {
    min-height: auto;
  }

  .hgf-fit,
  .hgf-how,
  .hgf-bodystyles,
  .hgf-about,
  .hgf-counters,
  .hgf-insurance,
  .hgf-blog,
  .hgf-join {
    padding: 3.8rem 0;
  }

  .hgf-fit-grid,
  .hgf-blog-grid,
  .hgf-insurance-grid,
  .hgf-join-grid,
  .hgf-body-grid,
  .hgf-counters-grid {
    grid-template-columns: 1fr;
  }

  .hgf-counter-item {
    text-align: center;
  }

  .hgf-counter-text {
    margin-inline: auto;
  }

  .hgf-hero-actions {
    flex-direction: column;
  }

  .hgf-btn {
    width: 100%;
  }

  .hgf-blog-categories {
    grid-template-columns: 1fr 1fr;
  }

  .hgf-blog-cat-card {
    min-height: 200px;
  }

}

@media (max-width: 480px) {
  .hgf-blog-categories {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .hgf-blog-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1366px) and (max-height: 768px) {
  .hgf-hero.wp-dark-mode-bg-image.hgf-fold.is-visible {
    min-height: 110vh;
    padding-top: 130px;
  }
}

.hgf-learn .hgl-hero {
  min-height: 72vh;
  height: auto;
}

.hgf-learn .hgl-hero::before {
  background-image: linear-gradient(105deg, rgba(7, 32, 52, 0.74), rgba(7, 32, 52, 0.46)), url("https://yellowgreen-herring-357423.hostingersite.com/wp-content/uploads/2026/01/ChatGPT-Image-30-de-jan.-de-2026-08_21_30.png");
  background-position: center top;
}

.hgf-learn .hgl-hero-copy {
  max-width: 760px;
}

.hgl-hero-breadcrumb {
  margin-bottom: 1.2rem;
}

.hgl-hero-breadcrumb .breadcrumbs {
  display: block !important;
  font-size: 0.9rem;
  line-height: 1.35;
  color: rgba(236, 246, 255, 0.94);
}

.hgl-hero-breadcrumb .breadcrumbs a {
  color: rgba(236, 246, 255, 0.94);
  text-decoration: none;
}

.hgl-hero-breadcrumb .breadcrumbs .separator {
  margin: 0 0.45rem;
  color: rgba(173, 213, 241, 0.95);
}

.hgf-learn .hgl-hero-copy h1 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hgf-learn .hgl-hero-copy p {
  max-width: 62ch;
}

.hgl-role-section {
  padding-top: 4.2rem;
}

.hgl-role-grid {
  gap: 1.2rem;
}

.hgl-role-card {
  min-height: 260px;
  justify-content: flex-start;
  padding-top: 1.4rem;
}

.hgl-role-card .hgl-role-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: rgba(230, 245, 255, 0.82);
  margin: 0 0 0.7rem;
}

.hgl-role-card h3 {
  margin: 0 0 0.7rem;
}

.hgl-role-card p {
  max-width: 34ch;
  min-height: auto;
}

.hgl-role-card--owner {
  background-image: linear-gradient(145deg, #1f8ac8 0%, #145f93 55%, #0b3c61 100%);
}

.hgl-role-card--shop-owner {
  background-image: linear-gradient(145deg, #2d9bda 0%, #1d6da7 55%, #114f7b 100%);
}

.hgl-role-card--manager {
  background-image: linear-gradient(145deg, #176fae 0%, #125889 55%, #0b3f66 100%);
}

.hgl-role-card--technician {
  background-image: linear-gradient(145deg, #2f8fc6 0%, #1d6a9c 55%, #114d76 100%);
}

.hgl-role-card--sales {
  background-image: linear-gradient(145deg, #1f7eb8 0%, #135d8f 55%, #0b466f 100%);
}

.hgl-role-card--industry {
  background-image: linear-gradient(145deg, #3a97cb 0%, #226f9f 55%, #12537c 100%);
}

.hgl-latest-articles {
  padding-top: 0.5rem;
}

.hgl-articles-head {
  text-align: center;
  margin-bottom: 1.4rem;
}

.hgl-articles-head .hgf-subtitle {
  margin: 0 auto;
  max-width: 56ch;
}

.hgl-guide-section {
  padding: 0.6rem 0 5rem;
}

.hgl-guide-section--shop {
  background: #081A2B;
}

.hgl-final-cta {
  background: #081A2B;
  padding: 1.2rem 0 5rem;
}

.hgl-final-cta-card {
  border-radius: 18px;
  border: 1px solid rgba(143, 216, 255, 0.35);
  background: linear-gradient(155deg, rgba(19, 92, 144, 0.35), rgba(7, 42, 67, 0.72));
  padding: 2rem 1.4rem;
  text-align: center;
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.hgl-final-cta-card .hgf-title {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.hgl-final-cta-card .hgf-subtitle {
  color: rgba(232, 243, 255, 0.9);
  margin: 0 auto 1.3rem;
  max-width: 58ch;
}

.hgl-guide-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.1rem;
}

.hgl-guide-head .hgf-subtitle {
  margin: 0;
  max-width: 64ch;
}

.hgl-guide-btn {
  white-space: nowrap;
}

.hgl-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hgl-guide-card {
  border: 1px solid rgba(143, 216, 255, 0.35);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(24, 98, 152, 0.2), rgba(8, 48, 77, 0.55));
  box-shadow:
    0 16px 40px rgba(13, 51, 81, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  padding: 1.25rem 1.35rem;
}

.hgl-guide-card h3 {
  margin: 0 0 0.8rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1;
  color: #ffffff;
}

.hgl-guide-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.hgl-guide-card li {
  padding: 0.3rem 0;
}

.hgl-guide-card a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.hgl-guide-card a:hover,
.hgl-guide-card a:focus-visible {
  color: #1d76bc;
}

@media (max-width: 980px) {
  .hgf-learn .hgl-hero {
    min-height: 64vh;
  }

  .hgl-guide-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hgl-guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hgf-learn .hgl-hero {
    min-height: auto;
  }

  .hgl-role-section {
    padding-top: 3.8rem;
  }

  .hgl-role-card {
    min-height: 220px;
  }

  .hgl-guide-section {
    padding-bottom: 3.8rem;
  }

  .hgl-final-cta {
    padding-bottom: 3.8rem;
  }
}
