/* ========================================================================== */
/* VIRTUAL FILE: hero.css                                                      */
/* ========================================================================== */

.hero-section {
  position: relative;

  /* ?? KEY CHANGE (full height) */
  min-height: 100vh;
  min-height: 100dvh;

  /* optional: keep some breathing space */
  padding: 100px 0 80px;

  display: flex;
  align-items: center;

  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(76, 201, 240, 0.22), transparent 38%),
    radial-gradient(circle at 15% 25%, rgba(47, 143, 240, 0.12), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-section::before {
  width: 320px;
  height: 320px;
  right: -80px;
  top: -60px;
  background: radial-gradient(circle, rgba(47, 143, 240, 0.18), rgba(47, 143, 240, 0));
}

.hero-section::after {
  width: 220px;
  height: 220px;
  left: -50px;
  bottom: -40px;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.14), rgba(76, 201, 240, 0));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;

  /* better vertical alignment */
  align-items: center;
}

.hero-content h1 {
  margin: 0 0 14px;
  line-height: 1.08;
  color: var(--navy-900);
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.02em;
}

.hero-content > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.metric-card strong {
  display: block;
  color: var(--navy-900);
  margin-bottom: 4px;
  font-size: 1rem;
}

.metric-card span {
  display: block;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.35;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.glass-card,
.hero-badge-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-strong);
}

.glass-card {
  padding: 22px;
}

.glass-card h3 {
  margin: 0 0 14px;
  color: var(--navy-900);
  font-size: 1.2rem;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  content: "?"; /* fixed encoding */
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #eaf4ff;
  color: var(--blue-700);
  font-weight: 800;
  font-size: 0.8rem;
}

.hero-badge-card {
  padding: 18px 20px;
  background: linear-gradient(135deg, #0f3b6a, #1963ad);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eaf4ff;
}

.hero-badge-card h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.08rem;
}

.hero-badge-card p:last-child {
  margin: 0;
  opacity: 0.95;
}

/* Cards / grids */
/* ========================================================================== */

/* -------------------------------------------------------------------------- */
/* home-premium hero shared system                                            */
/* -------------------------------------------------------------------------- */
.home-premium-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 64px;
  background:
    radial-gradient(circle at 85% 15%, rgba(76, 201, 240, 0.16), transparent 42%),
    radial-gradient(circle at 12% 22%, rgba(47, 143, 240, 0.10), transparent 38%),
    linear-gradient(180deg, #f7fbff 0%, #eef5fc 100%);
  border-bottom: 1px solid #e6eef8;
}

.home-premium-hero::before,
.home-premium-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.home-premium-hero::before {
  width: 360px;
  height: 360px;
  right: -120px;
  top: -80px;
  background: radial-gradient(circle, rgba(47, 143, 240, 0.16), rgba(47, 143, 240, 0));
  filter: blur(4px);
}

.home-premium-hero::after {
  width: 260px;
  height: 260px;
  left: -70px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.14), rgba(76, 201, 240, 0));
  filter: blur(3px);
}

.home-premium-hero__scientist-bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(68%, 1100px);
  pointer-events: auto;
  z-index: 0;
  isolation: isolate;
  --hero-ball-x: 74%;
  --hero-ball-y: 24%;
  overflow: hidden;
  background:
    linear-gradient(96deg, rgba(246, 251, 255, 0.98) 0%, rgba(246, 251, 255, 0.95) 18%, rgba(246, 251, 255, 0.68) 34%, rgba(246, 251, 255, 0.22) 52%, rgba(246, 251, 255, 0.08) 66%, rgba(246, 251, 255, 0) 100%),
    var(--hero-scientist-image) right center / cover no-repeat;
  filter: saturate(1.01) contrast(1.02) brightness(1.02);
  opacity: 0.92;
}

.home-premium-hero__scientist-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.96) 0%, rgba(247, 251, 255, 0.42) 34%, rgba(247, 251, 255, 0) 62%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.42) 0%, rgba(247, 251, 255, 0.12) 22%, rgba(247, 251, 255, 0) 58%);
  opacity: 0.84;
  z-index: 1;
}

.home-premium-hero__scientist-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 92% 14%, rgba(76, 201, 240, 0.12), transparent 32%),
    linear-gradient(108deg, rgba(248, 252, 255, 0) 38%, rgba(15, 38, 64, 0.08) 100%);
  opacity: 0.5;
  z-index: 2;
}

.home-hero-interactive-ball {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(70px, 6.8vw, 108px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transform: translate3d(
    calc(var(--ball-x, var(--hero-ball-x)) - 50%),
    calc(var(--ball-y, var(--hero-ball-y)) - 50%),
    0
  );
  pointer-events: auto;
  touch-action: none;
  cursor: grab;
  z-index: 4;
  background:
    radial-gradient(circle at 27% 24%, rgba(255, 255, 255, 0.96) 0%, rgba(216, 244, 255, 0.8) 24%, rgba(47, 143, 240, 0.56) 52%, rgba(21, 86, 161, 0.98) 100%),
    radial-gradient(circle at 70% 74%, rgba(0, 31, 63, 0.18), transparent 58%);
  border: 1px solid rgba(164, 219, 252, 0.88);
  box-shadow:
    0 16px 34px rgba(10, 32, 58, 0.34),
    0 0 0 1px rgba(47, 143, 240, 0.16),
    inset 0 8px 16px rgba(255, 255, 255, 0.34),
    inset 0 -12px 20px rgba(7, 38, 74, 0.3);
  transition: transform 120ms linear, box-shadow 180ms ease, filter 180ms ease;
  will-change: transform;
}

.home-hero-interactive-ball::before,
.home-hero-interactive-ball::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-hero-interactive-ball::before {
  inset: 10% auto auto 14%;
  width: 40%;
  height: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.12) 75%, transparent 100%);
  filter: blur(0.3px);
}

.home-hero-interactive-ball::after {
  inset: -9px;
  border-radius: inherit;
  border: 1px solid rgba(135, 213, 255, 0.32);
  opacity: 0.74;
}

.home-hero-interactive-ball.is-grabbed {
  cursor: grabbing;
  filter: saturate(1.1) brightness(1.03);
  box-shadow:
    0 20px 40px rgba(10, 32, 58, 0.4),
    0 0 0 1px rgba(47, 143, 240, 0.22),
    0 0 0 10px rgba(76, 201, 240, 0.14),
    inset 0 8px 16px rgba(255, 255, 255, 0.4),
    inset 0 -12px 20px rgba(7, 38, 74, 0.33);
}

.home-premium-hero__scientist-bg.is-ball-grabbed .home-hero-interactive-ball {
  cursor: grabbing;
}

.home-premium-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.home-premium-hero__content h1 {
  margin: 0 0 14px;
  color: var(--navy-900);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4vw, 3.35rem);
  max-width: 15ch;
}

.home-premium-hero__content h1 span {
  background: linear-gradient(135deg, #145da0 0%, #2f8ff0 55%, #1d74d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-premium-hero__content > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  max-width: 60ch;
}

.home-premium-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.home-premium-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.home-premium-hero__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #d8e7f5;
  background: rgba(255, 255, 255, 0.9);
  color: #284761;
  font-weight: 600;
  font-size: 0.86rem;
  box-shadow: 0 8px 20px rgba(11, 35, 65, 0.04);
}

.home-premium-hero__metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-metric-card {
  border-radius: 14px;
  border: 1px solid rgba(215, 227, 240, 0.95);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(11, 35, 65, 0.05);
  padding: 14px;
}

.hero-metric-card strong {
  display: block;
  color: var(--navy-900);
  margin-bottom: 6px;
  font-size: 0.96rem;
  line-height: 1.2;
}

.hero-metric-card span {
  display: block;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.38;
}

/* Right visual */
.home-premium-hero__visual {
  position: relative;
  min-height: 520px;
}

.hero-visual-card {
  position: relative;
  z-index: 2;
  border-radius: 22px;
  border: 1px solid rgba(215, 227, 240, 0.95);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,251,255,0.96));
  box-shadow:
    0 24px 50px rgba(11, 35, 65, 0.10),
    0 8px 20px rgba(29, 116, 212, 0.05);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.hero-visual-card__topbar {
  height: 4px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-500), var(--cyan-400));
}

.hero-image-slot {
  margin: 18px 18px 14px;
  border-radius: 16px;
  border: 1px solid #d8e7f5;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.hero-image-slot--main {
  min-height: 250px;
  background:
    linear-gradient(135deg, rgba(20,93,160,0.08), rgba(76,201,240,0.08)),
    repeating-linear-gradient(
      45deg,
      rgba(20,93,160,0.03) 0px,
      rgba(20,93,160,0.03) 12px,
      rgba(76,201,240,0.04) 12px,
      rgba(76,201,240,0.04) 24px
    ),
    linear-gradient(180deg, #fafdff 0%, #f2f8ff 100%);
  display: grid;
  place-items: center;
}

.hero-image-slot--main::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 12px;
  border: 1px dashed rgba(20, 93, 160, 0.25);
}

.hero-image-slot__label {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 24ch;
  color: #2a4a67;
  font-weight: 700;
  line-height: 1.35;
  padding: 0 12px;
}

.hero-visual-card__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 18px 18px;
}

.mini-visual-card {
  border-radius: 14px;
  border: 1px solid #dce9f6;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,249,255,0.95));
  padding: 12px;
  box-shadow: 0 8px 20px rgba(11, 35, 65, 0.04);
}

.mini-visual-card small {
  display: block;
  color: #6f8aa5;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  margin-bottom: 6px;
}

.mini-visual-card strong {
  display: block;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.mini-visual-card p {
  margin: 0;
  color: #5e7691;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Floating cards */
.hero-float-card {
  position: absolute;
  z-index: 3;
  border-radius: 16px;
  border: 1px solid rgba(215, 227, 240, 0.95);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(11, 35, 65, 0.10);
  backdrop-filter: blur(8px);
  padding: 14px;
}

.hero-float-card__label {
  display: block;
  color: #6f8aa5;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.hero-float-card strong {
  display: block;
  color: var(--navy-900);
  line-height: 1.25;
  margin-bottom: 4px;
}

.hero-float-card p {
  margin: 0;
  color: #5e7691;
  font-size: 0.84rem;
  line-height: 1.35;
}

.hero-float-card--top {
  top: 20px;
  right: -10px;
  width: 235px;
}

.hero-float-card--bottom {
  left: -8px;
  bottom: 22px;
  width: 280px;
}

.hero-process-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.hero-process-inline span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #21405c;
  background: #f2f8ff;
  border: 1px solid #dbe9f6;
  border-radius: 999px;
  padding: 5px 9px;
}

.hero-process-inline i {
  width: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  border-radius: 999px;
  display: inline-block;
}

/* Responsive */
@media (max-width: 1100px) {
  .home-premium-hero__grid {
    grid-template-columns: 1fr;
  }

  .home-premium-hero__visual {
    min-height: auto;
  }

  .home-premium-hero__scientist-bg {
    display: none;
  }

  .hero-float-card--top,
  .hero-float-card--bottom {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .home-premium-hero__metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .home-premium-hero {
    padding: 68px 0 50px;
  }

  .home-premium-hero__content h1 {
    max-width: none;
  }

  .home-premium-hero__chips {
    gap: 8px;
  }

  .home-premium-hero__chips span {
    font-size: 0.82rem;
    min-height: 32px;
    padding: 6px 10px;
  }

  .hero-visual-card__bottom {
    grid-template-columns: 1fr;
  }

  .home-premium-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
/* FIX: Process Snapshot overlapping Document Flow */
.home-premium-hero__visual {
  min-height: auto;      /* remove forced tall area */
  padding-bottom: 90px;  /* reserve space for bottom floating card */
}

.hero-float-card--bottom {
  left: 18px;                    /* align with visual card padding */
  right: 18px;
  width: auto;                   /* auto width instead of fixed 280px */
  bottom: -68px;                 /* push it below the visual card */
}

.hero-float-card--top {
  right: 12px;                   /* small alignment improvement */
}

/* -------------------------------------------------------------------------- */ 

/* -------------------------------------------------------------------------- */
/* shared hero upgrade                                                         */
/* -------------------------------------------------------------------------- */
.home-premium-hero__metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-metric-card small {
  display: inline-flex;
  margin-bottom: 8px;
  color: #6f8aa5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-direct-actions__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(207, 226, 246, 0.95);
  background: rgba(255, 255, 255, 0.86);
  color: #24435f;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(11, 35, 65, 0.04);
}

.hero-direct-actions__link:hover {
  border-color: #bfd8f4;
  transform: translateY(-1px);
} 

/* -------------------------------------------------------------------------- */
/* shared hero luxury pass                                                     */
/* -------------------------------------------------------------------------- */
.home-premium-hero {
  padding: 98px 0 56px;
}

.home-premium-hero__grid {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.home-premium-hero__content > p {
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.72;
}

.home-premium-hero__chips {
  max-width: 58ch;
}

.home-premium-hero__metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-metric-card {
  padding: 16px 18px;
  border-radius: 18px;
}

.hero-metric-card strong {
  font-size: 1.14rem;
}

.hero-metric-card span {
  line-height: 1.52;
}

.home-premium-hero__visual {
  padding-bottom: 108px;
}

.hero-image-slot--main {
  min-height: 430px;
}

.hero-image-slot--main::before {
  display: none;
}

.hero-image-slot__image {
  display: block;
  width: 100%;
  min-height: 430px;
  height: 100%;
  object-fit: cover;
}

.hero-image-slot__overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(7, 22, 41, 0.42), rgba(7, 22, 41, 0.74));
  backdrop-filter: blur(10px);
  color: #eef7ff;
  box-shadow: 0 18px 34px rgba(6, 16, 30, 0.18);
}

.hero-image-slot__eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: #9cd7ff;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-image-slot__overlay strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.hero-image-slot__overlay p {
  margin: 0;
  color: rgba(238, 247, 255, 0.9);
  line-height: 1.55;
  font-size: 0.9rem;
}

.hero-visual-card__credit {
  padding: 0 18px 14px;
}

.hero-visual-card__credit a {
  color: #59738f;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-visual-card__bottom {
  gap: 14px;
  padding: 0 18px 20px;
}

.mini-visual-card {
  min-height: 132px;
  padding: 14px;
}

.hero-float-card--top {
  top: 26px;
  right: -16px;
  width: 252px;
}

.hero-float-card--bottom {
  left: 24px;
  right: 24px;
  width: auto;
  bottom: -78px;
} 

/* -------------------------------------------------------------------------- */
/* shared hero containment refinement                                          */
/* -------------------------------------------------------------------------- */
.home-premium-hero {
  padding: 94px 0 44px;
}

.home-premium-hero__grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.home-premium-hero__content h1 {
  max-width: 11.5ch;
  margin-bottom: 18px;
}

.home-premium-hero__content h1 .hero-heading-line {
  display: block;
  color: var(--navy-900);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.home-premium-hero__content h1 .hero-heading-line:nth-child(2) {
  background: linear-gradient(135deg, #145da0 0%, #2f8ff0 55%, #1d74d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-premium-hero__content > p {
  max-width: 47ch;
  line-height: 1.68;
  margin-bottom: 0;
}

.home-premium-hero__actions {
  margin-top: 26px;
}

.home-premium-hero__actions .btn {
  min-width: 210px;
  justify-content: center;
}

.hero-contact-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
  color: #617a95;
  font-size: 0.92rem;
  line-height: 1.6;
}

.hero-contact-line span {
  font-weight: 700;
  color: #465f79;
}

.hero-contact-line a {
  color: var(--blue-700);
  font-weight: 700;
}

.hero-contact-line i {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #96b5d6;
  display: inline-block;
}

.home-premium-hero__chips {
  margin-top: 24px;
  max-width: 42rem;
}

.home-premium-hero__chips span {
  min-height: 38px;
  padding: 8px 14px;
  font-weight: 700;
}

.home-premium-hero__visual {
  min-height: auto;
  padding-bottom: 0;
}

.hero-visual-card {
  border-radius: 26px;
}

.hero-image-slot {
  margin: 18px;
}

.hero-image-slot--main,
.hero-image-slot__image {
  min-height: 540px;
}

.hero-image-slot__overlay {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 22px 22px;
  border-radius: 0 0 16px 16px;
  border: 0;
  background: linear-gradient(180deg, rgba(7, 22, 41, 0) 0%, rgba(7, 22, 41, 0.16) 28%, rgba(7, 22, 41, 0.82) 100%);
  box-shadow: none;
}

.hero-image-slot__overlay strong {
  font-size: 1.12rem;
}

.hero-image-slot__overlay p {
  max-width: 34ch;
}

.hero-float-card--top {
  top: auto;
  right: -18px;
  bottom: 26px;
  width: 300px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 249, 255, 0.96));
  box-shadow: 0 26px 44px rgba(11, 35, 65, 0.14);
}

.hero-float-card--top .hero-float-card__label {
  margin-bottom: 8px;
}

.hero-float-card--top strong {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.hero-float-card--top p {
  line-height: 1.52;
} 

/* -------------------------------------------------------------------------- */
/* shared hero institutional media direction                                   */
/* -------------------------------------------------------------------------- */
.home-premium-hero {
  padding: 96px 0 52px;
}

.home-premium-hero__grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
  align-items: center;
}

.home-premium-hero__content {
  padding-block: 10px 22px;
}

.home-premium-hero__content > p {
  max-width: 45ch;
}

.home-premium-hero__visual {
  display: grid;
  align-items: stretch;
}

.hero-visual-card {
  border-radius: 34px;
  border: 0;
  background: transparent;
  box-shadow: 0 30px 64px rgba(8, 22, 40, 0.16);
}

.hero-visual-card__topbar {
  display: none;
}

.hero-image-slot {
  margin: 0;
  border: 0;
  border-radius: 34px;
  box-shadow: none;
}

.hero-image-slot--main,
.hero-image-slot__image {
  min-height: 660px;
}

.hero-image-slot__overlay {
  padding: 72px 28px 28px;
}

.hero-image-slot__overlay strong {
  font-size: 1.2rem;
}

.hero-float-card--top {
  right: 24px;
  bottom: 24px;
  width: 320px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 249, 255, 0.82));
  box-shadow: 0 22px 42px rgba(4, 14, 28, 0.2);
} 

/* -------------------------------------------------------------------------- */
/* style_7 hero mode                                                           */
/* -------------------------------------------------------------------------- */
.home-premium-hero--style-7 .home-premium-hero__grid {
  grid-template-columns: 0.94fr 1.06fr;
}

.home-premium-hero--style-7 .home-premium-hero__content > p {
  font-size: var(--fs-lead);
  max-width: 52ch;
  color: #486580;
  line-height: 1.58;
}

.home-premium-hero--style-7 .hero-contact-line {
  margin-top: 4px;
}

.home-premium-hero--style-7 .home-premium-hero__chips span {
  font-size: 0.81rem;
}

.home-premium-hero--style-7 .home-hero-brief__head p {
  max-width: 36ch;
  font-size: 0.9rem;
  line-height: 1.52;
}

.home-premium-hero--style-7 .home-hero-brief__points {
  gap: 6px;
}

.home-premium-hero--style-7 .home-hero-brief__points li {
  font-size: 0.86rem;
  line-height: 1.38;
}

.home-hero-image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.home-hero-image-strip__item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(215, 227, 240, 0.95);
  background: #fff;
  min-height: 92px;
  box-shadow: 0 10px 22px rgba(11, 35, 65, 0.05);
}

.home-hero-image-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 92px;
  transition: transform 0.3s ease;
}

.home-hero-image-strip__item span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(8, 29, 53, 0.65);
  color: #f2f8ff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}

.home-hero-image-strip__item:hover img {
  transform: scale(1.03);
}

.home-premium-hero__visual {
  min-height: 0;
  padding-bottom: 0;
}

.home-hero-brief {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  border-radius: 26px;
  border: 1px solid rgba(156, 215, 255, 0.18);
  background:
    linear-gradient(150deg, #071a31 0%, #0b2341 52%, #145da0 100%),
    radial-gradient(circle at 84% 16%, rgba(76, 201, 240, 0.2), transparent 30%);
  box-shadow:
    0 24px 52px rgba(8, 22, 40, 0.16),
    0 0 30px rgba(76, 201, 240, 0.08);
  padding: 24px;
}

.home-hero-brief::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(132deg, transparent 0 66%, rgba(76, 201, 240, 0.16) 74%, transparent 84%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 76px);
}

.home-hero-brief > * {
  position: relative;
  z-index: 1;
}

.home-hero-brief__head .eyebrow {
  color: #9cd7ff;
}

.home-hero-brief__head h2 {
  margin: 0 0 8px;
  color: #eef7ff;
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
  line-height: 1.16;
  max-width: 24ch;
}

.home-hero-brief__head p {
  margin: 0;
  color: rgba(231, 242, 252, 0.88);
  line-height: 1.65;
}

.home-hero-brief__form {
  display: grid;
  gap: 10px;
}

.home-hero-brief__field {
  display: grid;
  gap: 6px;
}

.home-hero-brief__field label {
  color: #d9ebfb;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-hero-brief__field input,
.home-hero-brief__field select {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(156, 215, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #eef7ff;
  padding: 11px 12px;
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-hero-brief__field input::placeholder {
  color: rgba(221, 236, 250, 0.72);
}

.home-hero-brief__field select option {
  color: #16324d;
}

.home-hero-brief__form .btn {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.home-hero-brief__form .btn.is-routing {
  transform: translateY(-1px);
  filter: saturate(1.04);
  box-shadow:
    0 16px 28px rgba(8, 22, 40, 0.2),
    0 0 0 4px rgba(76, 201, 240, 0.16);
}

.home-hero-fit-result {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(156, 215, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-hero-fit-result strong {
  color: #eef7ff;
  font-size: 0.9rem;
  line-height: 1.25;
}

.home-hero-fit-result p {
  margin: 0;
  color: rgba(231, 242, 252, 0.88);
  font-size: 0.88rem;
  line-height: 1.45;
}

.home-hero-brief__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.home-hero-brief__points li {
  position: relative;
  padding-left: 22px;
  color: rgba(231, 242, 252, 0.9);
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-hero-brief__points li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4cc9f0, #2f8ff0);
  box-shadow: 0 0 0 5px rgba(76, 201, 240, 0.12);
}

.home-hero-brief__secondary {
  color: #eaf4ff;
  font-weight: 700;
}

.home-hero-brief__secondary:hover {
  color: #9cd7ff;
} 

/* -------------------------------------------------------------------------- */
/* shared hero motion                                                          */
/* -------------------------------------------------------------------------- */
.home-premium-hero {
  --future-hero-progress: 0;
}

.home-premium-hero::before,
.home-premium-hero::after {
  transition: transform 200ms linear, opacity 260ms ease;
}

.home-premium-hero::before {
  transform:
    translate3d(
      calc(var(--future-hero-progress, 0) * -30px),
      calc(var(--future-hero-progress, 0) * 34px),
      0
    )
    scale(calc(1 + (var(--future-hero-progress, 0) * 0.06)));
  opacity: calc(0.86 + (var(--future-hero-progress, 0) * 0.12));
}

.home-premium-hero::after {
  transform:
    translate3d(
      calc(var(--future-hero-progress, 0) * 26px),
      calc(var(--future-hero-progress, 0) * -20px),
      0
    )
    scale(calc(1 + (var(--future-hero-progress, 0) * 0.05)));
  opacity: calc(0.84 + (var(--future-hero-progress, 0) * 0.14));
}

.home-premium-hero .savino-scroll-layer {
  transform: translate3d(0, calc(var(--future-shift, 0px) * -1), 0);
  transition: transform 170ms linear, filter 260ms ease;
  will-change: transform, filter;
}

.home-premium-hero.is-future-active .savino-scroll-layer {
  filter: saturate(1.05);
} 

/* -------------------------------------------------------------------------- */
/* style_12 hero mode                                                          */
/* -------------------------------------------------------------------------- */
.home-premium-hero--style-12 {
  padding: 92px 0 70px;
  background:
    radial-gradient(circle at 82% 14%, rgba(103, 183, 143, 0.18), transparent 36%),
    radial-gradient(circle at 12% 20%, rgba(63, 138, 104, 0.2), transparent 42%),
    linear-gradient(160deg, #081b16 0%, #0f2b23 54%, #12352b 100%);
}

.home-premium-hero--style-12 .container {
  position: relative;
}

.home-hero-minlux {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.home-hero-minlux__content,
.home-hero-minlux__media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(141, 208, 175, 0.2);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.28);
}

.home-hero-minlux__content {
  display: grid;
  gap: 16px;
  padding: 36px;
  background:
    linear-gradient(180deg, rgba(8, 27, 22, 0.84), rgba(10, 34, 27, 0.84)),
    radial-gradient(circle at 82% 14%, rgba(103, 183, 143, 0.14), transparent 34%);
}

.home-hero-minlux__content::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(132deg, transparent 0 66%, rgba(103, 183, 143, 0.1) 74%, transparent 84%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 84px);
}

.home-hero-minlux__content > * {
  position: relative;
  z-index: 1;
}

.home-hero-minlux__content .eyebrow {
  color: #99d8b7;
}

.home-hero-minlux__content h1 {
  margin: 0;
  color: #f0fbf5;
  font-size: clamp(2.05rem, 3.2vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  max-width: 13ch;
}

.home-hero-minlux__content p {
  margin: 0;
  color: rgba(224, 245, 234, 0.88);
  max-width: 44ch;
  line-height: 1.72;
}

.home-hero-minlux__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 2px;
}

.home-hero-minlux__form select {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(153, 216, 183, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #eaf9f1;
  padding: 11px 12px;
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.home-hero-minlux__form select option {
  color: #16324d;
}

.home-hero-minlux__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.home-hero-minlux__proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(153, 216, 183, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #f0fbf5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-hero-minlux__media {
  min-height: 500px;
}

.home-hero-minlux__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.home-hero-minlux__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 27, 22, 0.1) 0%, rgba(8, 27, 22, 0.52) 100%);
}

@media (max-width: 1100px) {
  .home-hero-minlux {
    grid-template-columns: 1fr;
  }

  .home-hero-minlux__content h1 {
    max-width: none;
  }

  .home-hero-minlux__media {
    min-height: 360px;
  }
}

@media (max-width: 820px) {
  .home-premium-hero--style-12 {
    padding: 74px 0 56px;
  }

  .home-hero-minlux__content,
  .home-hero-minlux__media {
    border-radius: 20px;
  }

  .home-hero-minlux__content {
    padding: 22px 18px;
  }

  .home-hero-minlux__form {
    grid-template-columns: 1fr;
  }

  .home-hero-minlux__form .btn {
    width: 100%;
    justify-content: center;
  }
}
/* -------------------------------------------------------------------------- */
/* shared hero cleanup leftovers                                              */
/* -------------------------------------------------------------------------- */
.home-premium-hero + .home-trust-band,
.hero-section + .home-trust-band {
  margin-top: 58px;
}

@media (max-width: 1260px) {
  .home-premium-hero__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .home-premium-hero__metrics {
    grid-template-columns: 1fr;
  }

  .hero-image-slot--main,
  .hero-image-slot__image {
    min-height: 420px;
  }
}

@media (max-width: 820px) {
  .hero-direct-actions {
    gap: 8px;
  }

  .hero-direct-actions__link {
    width: 100%;
    justify-content: center;
  }

  .home-premium-hero__grid {
    gap: 30px;
  }

  .hero-image-slot--main,
  .hero-image-slot__image {
    min-height: 320px;
  }

  .hero-float-card--top {
    width: auto;
  }
}

.home-premium-hero {
  isolation: isolate;
}

.hero-visual-card {
  position: relative;
}

.hero-image-slot {
  box-shadow:
    0 0 0 1px rgba(156, 215, 255, 0.18),
    0 26px 60px rgba(8, 22, 40, 0.18),
    0 0 40px rgba(76, 201, 240, 0.08);
}

.hero-image-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(76, 201, 240, 0) 0%, rgba(76, 201, 240, 0.08) 44%, rgba(255, 255, 255, 0.14) 50%, rgba(76, 201, 240, 0) 56%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 64px);
  mix-blend-mode: screen;
  opacity: 0.52;
  background-size: 220% 100%, 100% 100%, 100% 100%;
  animation: savinoHeroSweep 14s ease-in-out infinite;
}

.hero-float-card--top {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  border-color: rgba(156, 215, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(156, 215, 255, 0.08) inset,
    0 18px 40px rgba(8, 22, 40, 0.12),
    0 0 28px rgba(76, 201, 240, 0.06);
}

.hero-float-card--top::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-top: 1px solid rgba(156, 215, 255, 0.52);
  border-right: 1px solid rgba(156, 215, 255, 0.52);
  opacity: 0.8;
  pointer-events: none;
}

.home-premium-hero .btn-primary {
  box-shadow:
    0 16px 28px rgba(29, 116, 212, 0.22),
    0 0 0 1px rgba(156, 215, 255, 0.18) inset;
}

.home-premium-hero .btn-outline {
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 26px rgba(8, 22, 40, 0.08);
}

.home-premium-hero__chips span {
  box-shadow:
    0 0 0 1px rgba(156, 215, 255, 0.08) inset,
    0 10px 24px rgba(8, 22, 40, 0.06),
    0 0 22px rgba(76, 201, 240, 0.04);
}

@media (max-width: 820px) {
  .hero-float-card--top {
    clip-path: none;
  }

  .hero-float-card--top::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-slot::after {
    animation: none;
  }
}
/* -------------------------------------------------------------------------- */
/* style_14 hero mode                                                         */
/* -------------------------------------------------------------------------- */
.home-hero-style-14 .site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}

body.home-hero-style-14 {
  overflow-x: hidden;
}

body.admin-bar.home-hero-style-14 .site-header {
  top: 50px;
}

.home-hero-style-14 .site-header.scrolled {
  border-bottom: 0;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
}

.home-hero-style-14 .site-header::after {
  display: none;
}

.home-hero-style-14 .site-header .header-wrap {
  width: min(990px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 72px;
  padding: 10px 14px 10px 22px;
  border-radius: 22px;
  border: 1px solid rgba(222, 228, 238, 0.95);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(8, 18, 34, 0.16);
  transition: transform var(--ease-standard), box-shadow var(--ease-standard), background-color var(--ease-standard);
}

.home-hero-style-14 .site-header.scrolled .header-wrap {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 20px 42px rgba(8, 18, 34, 0.2);
}

.home-hero-style-14 .site-title {
  color: #2d35da;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-hero-style-14 .site-tagline {
  display: none;
}

.home-hero-style-14 .logo-wrap img {
  max-height: 44px;
}

.home-hero-style-14 .primary-nav {
  flex-wrap: nowrap;
  gap: 8px;
}

.home-hero-style-14 .primary-menu,
.home-hero-style-14 .menu-fallback {
  gap: 2px;
}

.home-hero-style-14 .primary-menu li a,
.home-hero-style-14 .menu-fallback li a {
  padding: 8px 10px;
  color: #334161;
  font-size: 0.9rem;
  font-weight: 600;
}

.home-hero-style-14 .language-switcher {
  display: none;
}

.home-hero-style-14 .nav-cta {
  min-height: 44px;
  padding: 6px 8px 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(214, 225, 242, 0.92);
  background: #ffffff;
  color: #151a26;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: none;
}

.home-hero-style-14 .nav-cta::after {
  content: "\2192";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #2d35da;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1;
}

.home-hero-style-14 .nav-cta:hover {
  color: #0f1626;
  border-color: rgba(195, 208, 232, 0.98);
  background: #ffffff;
}

/* Match the intro section's cream so the gap below the hero blends in */
body.home-hero-style-14 {
  background: #f7f6f1;
}

.home-hero-style-14 .home-premium-hero--style-14 {
  position: relative;
  isolation: isolate;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  height: auto;
  padding: 0 !important;
  overflow: visible;
  background: #0e1521;
  border-bottom: 0;
}

.home-hero-style-14 .home-premium-hero--style-14::before,
.home-hero-style-14 .home-premium-hero--style-14::after {
  display: none;
}

.home-hero-style-14 .home-premium-hero--style-14 > .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(1320px, calc(100% - 44px));
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  height: auto;
  padding-top: clamp(140px, 16vh, 190px);
  padding-bottom: clamp(90px, 10vh, 140px);
  margin-inline: auto;
}

.home-hero-optimo__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #0e1521;
  pointer-events: none;
}

.home-hero-optimo__bg::before {
  content: "";
  position: absolute;
  inset: -12%;
  background-image: var(--home-hero-optimo-image);
  background-size: cover;
  background-position: 50% 26%;
  background-repeat: no-repeat;
  transform: translate3d(0, 0, 0) scale(1.04);
  transform-origin: center center;
  animation: savino-optimo-kenburns 30s ease-in-out infinite alternate;
  will-change: transform;
}

.home-hero-optimo__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 12, 23, 0.04) 0%, rgba(7, 12, 23, 0.12) 46%, rgba(7, 12, 23, 0.22) 100%),
    linear-gradient(90deg, rgba(7, 12, 23, 0.58) 0%, rgba(7, 12, 23, 0.42) 24%, rgba(7, 12, 23, 0.18) 48%, rgba(7, 12, 23, 0.12) 100%);
  pointer-events: none;
}

@keyframes savino-optimo-kenburns {
  0% {
    transform: translate3d(-1.3%, -1%, 0) scale(1.04);
  }

  100% {
    transform: translate3d(1.4%, 1%, 0) scale(1.14);
  }
}

.home-hero-optimo {
  position: relative;
  z-index: 3;
  width: 100%;
  /* stretch to the full container height so align-items:end
     anchors columns to the actual section bottom */
  align-self: stretch;
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: clamp(32px, 4vw, 72px);
  align-items: end;
  padding: 0;
}

.home-hero-optimo__copy {
  position: relative;
  z-index: 3;
  width: fit-content;
  max-width: 720px;
  align-self: end;
  padding-bottom: 0;
  /* align left edge with the header pill's left edge */
  padding-left: max(0px, calc((min(1320px, 100vw - 44px) - min(990px, 100vw - 36px)) / 2));
  color: #ffffff;
  text-align: left;
}

.home-hero-optimo__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(224, 232, 247, 0.28);
  background: rgba(10, 17, 30, 0.22);
  color: rgba(243, 247, 255, 0.98);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.home-hero-optimo__copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.2rem, 5.5vw, 5.8rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-shadow: 0 6px 18px rgba(3, 8, 18, 0.16);
}

.home-hero-optimo__copy h1 span {
  display: block;
  white-space: nowrap;
}

.home-hero-optimo__copy h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
}

.home-hero-optimo__copy p {
  margin: 18px 0 0;
  max-width: 58ch;
  color: rgba(242, 246, 255, 0.85);
  font-size: clamp(0.9rem, 0.95vw, 1.05rem);
  line-height: 1.62;
  text-shadow: 0 4px 12px rgba(3, 8, 18, 0.14);
}

.home-hero-optimo__actions {
  margin-top: 24px;
}

.home-hero-optimo__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 10px 8px 24px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f1525;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(5, 12, 28, 0.24);
  transition: transform var(--ease-standard), box-shadow var(--ease-standard), filter var(--ease-standard);
}

.home-hero-optimo__cta span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #2d35da;
  color: #ffffff;
  font-size: 0.96rem;
}

.home-hero-optimo__cta:hover {
  color: #0f1525;
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(5, 12, 28, 0.28);
  filter: brightness(1.01);
}

.home-hero-optimo__form {
  position: relative;
  z-index: 10;
  align-self: end;
  width: min(100%, 380px);
  margin-bottom: 0;
  padding: 28px 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(223, 230, 239, 0.94);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 28px 64px rgba(8, 18, 34, 0.18);
  /* card bottom sits at container content-bottom (= section bottom minus padding);
     translateY moves it down: 50% = half card height, padding-bottom closes the gap */
  transform: translateY(calc(50% + clamp(90px, 10vh, 140px)));
}

.home-hero-optimo__form h2 {
  margin: 0;
  color: #111b30;
  font-size: 1.95rem;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.home-hero-optimo__form p {
  margin: 12px 0 0;
  color: #5e6d89;
  font-size: 0.94rem;
  line-height: 1.56;
}

.home-hero-optimo__form-row {
  position: relative;
  margin-top: 18px;
}

.home-hero-optimo__form-row input {
  width: 100%;
  min-height: 58px;
  border-radius: 999px;
  border: 1px solid rgba(214, 224, 238, 0.96);
  background: #f7f9ff;
  color: #0f1f3d;
  padding: 0 62px 0 18px;
  font-size: 0.95rem;
}

.home-hero-optimo__form-row button {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #2d35da;
  color: #ffffff;
  font-size: 0.92rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform var(--ease-standard), filter var(--ease-standard);
}

.home-hero-optimo__form-row button:hover {
  transform: translateY(-50%) scale(1.03);
  filter: brightness(1.05);
}

.home-hero-style-14 .home-premium-hero + .home-trust-band {
  margin-top: 0;
}

/* =====================================================================
   STYLE-14 ENTRANCE ANIMATION SEQUENCE
   JS adds hero14-ready (sync) → hero14-entered (double RAF) → hero14-motion-live (2s)
   1 → overlay 0.52 → 0          (1.3s ease-out, visible from first render)
   2 → bg zoom 1.12 → 1.0        (2s, then kenburns-live takes over)
   3 → eyebrow rises             (delay 0.55s)
   4 → heading rises             (delay 0.7s)
   5 → paragraph rises           (delay 1.0s)
   6 → CTA rises                 (delay 1.25s)
   7 → email card rises          (delay 1.5s)
   ===================================================================== */

/* Overlay: visible at 52% from first render, fades to 0 when JS adds hero14-entered */
.hero14-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #ffffff;
  pointer-events: none;
  opacity: 0.52;
  visibility: visible;
  transition: opacity 1.3s ease-out, visibility 0s linear 1.3s;
}

/* Background: cancel kenburns, lock at scale(1.12) ready to zoom out */
body.home-hero-style-14 .home-hero-optimo__bg::before {
  transform: translate3d(0, 0, 0) scale(1.12);
  transform-origin: center center;
  animation: none;
  transition: transform 2s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

/* Text and card elements: start hidden and offset down */
body.home-hero-style-14 .home-hero-optimo__eyebrow {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) 0.55s,
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) 0.55s;
}

body.home-hero-style-14 .home-hero-optimo__copy h1 {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) 0.7s,
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) 0.7s;
}

body.home-hero-style-14 .home-hero-optimo__copy p {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) 1s,
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) 1s;
}

body.home-hero-style-14 .home-hero-optimo__actions {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) 1.25s,
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) 1.25s;
}

body.home-hero-style-14 .home-hero-optimo__form {
  opacity: 0;
  transform: translateY(calc(50% + clamp(90px, 10vh, 140px) + 36px));
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 1.5s,
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 1.5s;
}

/* ---- hero14-entered: trigger all animations ---- */
body.hero14-entered .hero14-overlay {
  opacity: 0;
  visibility: hidden;
}

body.hero14-entered .home-hero-optimo__bg::before {
  transform: translate3d(0, 0, 0) scale(1);
}

body.hero14-entered .home-hero-optimo__eyebrow,
body.hero14-entered .home-hero-optimo__copy h1,
body.hero14-entered .home-hero-optimo__copy p,
body.hero14-entered .home-hero-optimo__actions {
  opacity: 1;
  transform: translateY(0);
}

body.hero14-entered .home-hero-optimo__form {
  opacity: 1;
  transform: translateY(calc(50% + clamp(90px, 10vh, 140px)));
}

/* ---- hero14-motion-live: resume kenburns after zoom-out completes ---- */
body.hero14-motion-live .home-hero-optimo__bg::before {
  animation: savino-optimo-kenburns-live 30s ease-in-out infinite alternate;
}

@keyframes savino-optimo-kenburns-live {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(1.4%, 1%, 0) scale(1.1); }
}

/* Mobile: cancel form float animation — stack naturally */
@media (max-width: 980px) {
  body.hero14-entered .home-hero-optimo__form,
  body.home-hero-style-14 .home-hero-optimo__form {
    transform: none !important;
  }
}

/* Reduced motion: skip to final state immediately */
@media (prefers-reduced-motion: reduce) {
  .hero14-overlay {
    display: none !important;
  }

  .home-hero-style-14 .home-hero-optimo__bg::before {
    animation: none !important;
    transition: none !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
  }

  .home-hero-style-14 .home-hero-optimo__eyebrow,
  .home-hero-style-14 .home-hero-optimo__copy h1,
  .home-hero-style-14 .home-hero-optimo__copy p,
  .home-hero-style-14 .home-hero-optimo__actions {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important;
  }

  .home-hero-style-14 .home-hero-optimo__form {
    opacity: 1 !important;
    transform: translateY(calc(50% + clamp(90px, 10vh, 140px))) !important;
    transition: none !important;
  }
}

.home-hero-style-14 .home-trust-band {
  padding-top: 68px;
}

.home-hero-style-14 .section {
  padding: clamp(68px, 7vw, 96px) 0;
}

.home-hero-style-14 .section-tight {
  padding: clamp(14px, 2vw, 26px) 0;
}

.home-hero-style-14 .section-head {
  margin-bottom: clamp(26px, 3vw, 42px);
}

.home-hero-style-14 .section-head h2 {
  max-width: 17ch;
}

.home-hero-style-14 .home-trust-band__intro {
  max-width: 760px;
}

.home-hero-style-14 .home-capabilities-shell,
.home-hero-style-14 .home-footprint-stage,
.home-hero-style-14 .home-partner-theater,
.home-hero-style-14 .home-quality-stage,
.home-hero-style-14 .home-inquiry-stage {
  gap: clamp(24px, 3vw, 42px);
}

.home-hero-style-14 .home-operating-lanes,
.home-hero-style-14 .home-office-grid,
.home-hero-style-14 .home-capability-lanes-grid,
.home-hero-style-14 .home-focus-board,
.home-hero-style-14 .home-resource-grid,
.home-hero-style-14 .home-leadership-grid {
  gap: clamp(16px, 2vw, 24px);
}

.home-hero-style-14 .home-capabilities-footer,
.home-hero-style-14 .home-quality-callout,
.home-hero-style-14 .home-resource-callout {
  margin-top: clamp(24px, 3vw, 38px);
}

@media (max-width: 1180px) {
  .home-hero-style-14 .home-premium-hero--style-14 > .container {
    width: min(1220px, calc(100% - 38px));
  }

  .home-hero-optimo {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  }

  .home-hero-optimo__copy h1 {
    max-width: 11ch;
  }
}

@media (max-width: 980px) {
  .home-hero-style-14 .home-premium-hero--style-14 {
    min-height: 100vh;
  min-height: 100dvh;
    min-height: 100svh;
    min-height: 100dvh;
    height: auto;
  }

  .home-hero-style-14 .home-premium-hero--style-14 > .container {
    width: min(1080px, calc(100% - 32px));
    min-height: 100vh;
  min-height: 100dvh;
    min-height: 100svh;
    min-height: 100dvh;
    height: auto;
    align-items: center;
    padding-top: clamp(140px, 16vh, 190px);
    padding-bottom: clamp(90px, 10vh, 140px);
  }

  .home-hero-optimo {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: center;
  }

  .home-hero-optimo__copy {
    max-width: 680px;
    padding-bottom: 0;
  }

  .home-hero-optimo__copy h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 8vw, 4.8rem);
  }

  .home-hero-optimo__form {
    width: min(100%, 430px);
    margin-bottom: 0;
    margin-top: 24px;
    transform: none;
  }

  .home-hero-style-14 .home-trust-band {
    padding-top: 0;
  }

  .home-hero-style-14 .section {
    padding: 60px 0;
  }
}

@media (max-width: 820px) {
  .home-hero-style-14 .site-header {
    top: 10px;
  }

  .home-hero-style-14 .site-header .header-wrap {
    width: calc(100% - 20px);
    min-height: 60px;
    padding: 8px 10px 8px 16px;
    border-radius: 16px;
    /* Own frosted background so content is always legible */
    background: rgba(8, 18, 36, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .home-hero-style-14 .site-title {
    font-size: 1.45rem;
  }

  .home-hero-style-14 .primary-nav {
    top: 74px;
    left: 10px;
    right: 10px;
    border-radius: 18px;
    padding: 10px;
    /* Keep white panel even on dark hero */
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(215, 227, 240, 0.85) !important;
  }

  /* Hamburger always white inside the dark pill */
  .home-hero-style-14 .site-header .menu-toggle {
    border-color: rgba(255, 255, 255, 0.2);
  }

  .home-hero-style-14 .site-header .menu-toggle span {
    background: rgba(255, 255, 255, 0.9);
  }

  .home-hero-style-14 .language-switcher {
    display: inline-flex;
  }

  .home-hero-style-14 .home-premium-hero--style-14 > .container {
    width: calc(100% - 24px);
    padding-top: 96px;
    padding-bottom: 40px;
    align-items: flex-start;
    justify-content: center;
  }

  /* Single col grid — centered */
  .home-hero-optimo {
    align-items: center;
    justify-items: center;
    gap: 20px;
  }

  /* Full-width copy, centered text */
  .home-hero-optimo__copy {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    align-self: auto;
    text-align: center;
  }

  .home-hero-optimo__eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  /* Allow h1 words to wrap */
  .home-hero-optimo__copy h1 span {
    white-space: normal;
  }

  .home-hero-optimo__copy h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .home-hero-optimo__copy p {
    max-width: 100%;
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.97rem;
  }

  .home-hero-optimo__actions {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-optimo__cta {
    width: 100%;
    justify-content: space-between;
  }

  /* Stack form below copy — full width, no floating offset */
  .home-hero-optimo__form {
    width: 100%;
    align-self: auto;
    padding: 22px 18px 18px;
    border-radius: 20px;
    margin-top: 8px;
    transform: none !important;
  }

  .home-hero-optimo__form h2 {
    font-size: 1.3rem;
  }

  /* Trust band sits directly below hero */
  .home-hero-style-14 .home-trust-band {
    padding-top: 0;
  }
}

@media (max-width: 782px) {
  body.admin-bar.home-hero-style-14 .site-header {
    top: 46px;
  }

  body.admin-bar.home-hero-style-14 .home-premium-hero--style-14 > .container {
    padding-top: 126px;
  }
}

@media (max-width: 640px) {
  .home-hero-style-14 .home-premium-hero--style-14 > .container {
    padding-top: 108px;
    padding-bottom: 20px;
  }

  .home-hero-optimo__eyebrow {
    font-size: 0.69rem;
    letter-spacing: 0.07em;
  }

  .home-hero-optimo__copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .home-hero-optimo__form-row input {
    min-height: 54px;
  }

  .home-hero-style-14 .home-trust-band {
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-optimo__bg::before {
    animation: none;
    transform: scale(1.05);
  }

  .home-hero-optimo__cta,
  .home-hero-optimo__form-row button {
    transition: none;
  }
}
