/* Editorial WunnCheck layer: COFT-inspired composition, original WunnCheck assets. */
main {
  counter-reset: wunn-chapter;
}

nav {
  border: 1px solid rgba(13, 31, 60, .1);
  box-shadow: 0 18px 48px rgba(4, 14, 34, .15);
}

.hero {
  min-height: 690px;
}

.hero::before {
  inset: 0 calc(50% - 50vw) -46px;
  background:
    linear-gradient(90deg, rgba(3, 15, 38, .96) 0%, rgba(6, 31, 68, .84) 47%, rgba(13, 74, 138, .46) 100%),
    url("visual/wunncheck-region-map-hd.webp") center 38% / cover no-repeat;
}

.hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(46px, 4.5vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
  margin-bottom: 18px;
}

.hero h1 em {
  color: #acd6ff;
}

.hero-sub {
  max-width: 650px;
  color: rgba(255, 255, 255, .8);
  font-size: 18px;
  line-height: 1.58;
  margin-bottom: 24px;
}

.hero-eyebrow {
  color: #dceeff;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(12px);
}

.hero-eyebrow::before {
  background: #8bc6ff;
}

.hero .btn-primary {
  color: #0d1f3c;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.hero .btn-primary:hover {
  color: #0d4a8a;
  background: #eef6ff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .26);
}

.hero .btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .34);
}

.hero .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .58);
}

.hero .proof-pill {
  color: rgba(255, 255, 255, .76);
  background: rgba(4, 18, 44, .56);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.hero .proof-pill span {
  color: #fff;
}

.hero .hero-point {
  color: #fff;
  background: rgba(4, 18, 44, .52);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.hero .hero-point strong {
  color: #fff;
}

.hero .hero-point span,
.hero .trust-item {
  color: rgba(255, 255, 255, .7);
}

.hero .hero-trust {
  border-color: rgba(255, 255, 255, .2);
}

.hero .hero-card,
.hero .hero-visual {
  color: #fff;
  background: rgba(4, 18, 44, .7) !important;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(1, 8, 22, .36);
  backdrop-filter: blur(20px);
  animation: none;
}

.hero .hero-card {
  padding: 24px;
}

.hero .hero-card .hero-stat:nth-child(n+4) {
  display: none;
}

.hero .hero-stat-grid {
  gap: 10px;
  margin-bottom: 12px;
}

.hero .hero-stat {
  padding: 13px;
}

.hero .hero-note {
  padding: 14px;
}

.hero .hero-card-header,
.hero .preview-header {
  border-color: rgba(255, 255, 255, .16);
}

.hero .hero-card-title,
.hero .preview-title,
.hero .hero-stat strong,
.hero .pstat-val {
  color: #fff;
}

.hero .preview-title span {
  color: #acd6ff;
}

.hero .hero-card-sub,
.hero .preview-sub,
.hero .hero-stat span,
.hero .pstat-lbl {
  color: rgba(255, 255, 255, .66);
}

.hero .hero-stat,
.hero .pstat,
.hero .preview-bar {
  background: rgba(255, 255, 255, .08);
}

.hero .hero-note,
.hero .compliance-note {
  background: rgba(240, 165, 0, .13);
  border-color: rgba(255, 203, 91, .3);
}

.hero .hero-note strong,
.hero .compliance-note strong {
  color: #ffe2a2;
}

.hero .hero-note p,
.hero .compliance-note p {
  color: rgba(255, 255, 255, .74);
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -36px;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: .1em;
}

.section-tag::before {
  counter-increment: wunn-chapter;
  content: counter(wunn-chapter, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: #0d4a8a;
  background: #e9f3ff;
  border: 1px solid #cfe2f6;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

@media (min-width: 901px) {
  nav {
    top: 16px;
    left: max(24px, calc((100vw - 1440px) / 2));
    right: max(24px, calc((100vw - 1440px) / 2));
    height: 72px;
    padding: 0 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(20px);
  }

  .nav-links {
    gap: clamp(14px, 1.8vw, 30px);
  }
}

@media (min-width: 701px) {
  .hero .hero-card .hero-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1101px) {
  .hero {
    max-width: 1320px;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, .72fr);
    gap: 52px;
    padding: 122px 56px 68px;
  }

  .section {
    padding-top: 104px;
    padding-bottom: 112px;
  }

  #pathways {
    padding-bottom: 124px;
  }
}

@media (max-width: 1100px) {
  .hero {
    max-width: 900px;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 140px;
  }

  .hero .hero-card,
  .hero .hero-visual {
    width: 100%;
    max-width: 760px;
  }
}

@media (max-width: 900px) {
  nav {
    top: 10px;
    left: 12px;
    right: 12px;
    height: 60px;
    padding: 0 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px);
  }

  nav .nav-links {
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    border: 1px solid rgba(13, 31, 60, .1);
    border-radius: 16px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(46px, 8vw, 66px);
  }

  .trust-strip {
    margin-top: -18px;
  }
}

@media (max-width: 700px) {
  .hero::before {
    inset: 0 calc(50% - 50vw) -24px;
    background:
      linear-gradient(180deg, rgba(3, 15, 38, .97) 0%, rgba(6, 31, 68, .9) 58%, rgba(13, 74, 138, .7) 100%),
      url("visual/wunncheck-region-map-hd.webp") 56% top / cover no-repeat;
  }

  .hero {
    padding: 112px 18px 64px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 54px);
    line-height: 1.02;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero .hero-card,
  .hero .hero-visual {
    padding: 22px;
    border-radius: 20px;
  }

  .trust-strip {
    margin-top: 0;
  }

  .section-tag::before {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-card,
  .hero .hero-visual {
    animation: none !important;
  }
}

/* High-resolution scenery and scroll-linked route layer. */
body::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .72) 0%, rgba(232, 242, 253, .2) 48%, rgba(255, 255, 255, .58) 100%),
    url("visual/wunncheck-region-map-hd.webp") center top / cover no-repeat !important;
  transform: translate3d(0, var(--page-map-shift, 0), 0) scale(1.015);
  transform-origin: center top;
  will-change: transform;
}

.cta-section::before {
  background:
    linear-gradient(180deg, rgba(6, 23, 56, .46), rgba(4, 14, 34, .88)),
    linear-gradient(90deg, rgba(4, 14, 34, .72), rgba(26, 110, 200, .12)),
    url("visual/wunncheck-blue-city-cta-hd.webp") center 46% / cover no-repeat !important;
}

/* Blend the map atmosphere into methodology instead of ending on a hard edge. */
#methodologie {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(235, 244, 253, .96) 0, #f7faff 150px, #fff 360px);
}

#methodologie::before {
  content: "";
  position: absolute;
  inset: -96px 0 auto;
  height: 98px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(235, 244, 253, 0), rgba(235, 244, 253, .96));
}

#methodologie > .section-inner {
  position: relative;
  z-index: 1;
}

/* Restore the intended dark featured offer after the shared glass treatment. */
.offer-card.featured {
  color: #fff;
  background: linear-gradient(145deg, #0a2b54 0%, #0d4a8a 52%, #1a6ec8 100%) !important;
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 28px 68px rgba(5, 34, 74, .24);
}

.offer-card.featured h3,
.offer-card.featured .offer-price {
  color: #fff;
}

.ambient-route {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: .28;
}

.ambient-route svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ambient-route__path {
  fill: none;
  stroke: rgba(26, 110, 200, .54);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 7 12;
  vector-effect: non-scaling-stroke;
}

.ambient-route__path--green {
  stroke: rgba(73, 151, 105, .48);
  stroke-dasharray: 3 14;
}

.ambient-route__node-halo {
  fill: rgba(255, 255, 255, .56);
  stroke: rgba(26, 110, 200, .18);
  stroke-width: 8;
  vector-effect: non-scaling-stroke;
}

.ambient-route__node {
  fill: #fff;
  stroke: #1a6ec8;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 3px 8px rgba(13, 74, 138, .24));
}

.ambient-route__node--green {
  stroke: #5ca77a;
}

@media (max-width: 700px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(232, 242, 253, .4)),
      url("visual/wunncheck-region-map-hd.webp") 54% top / cover no-repeat !important;
  }

  .cta-section::before {
    background:
      linear-gradient(180deg, rgba(6, 23, 56, .64), rgba(4, 14, 34, .92)),
      url("visual/wunncheck-blue-city-cta-hd.webp") 64% bottom / cover no-repeat !important;
  }

  .ambient-route {
    opacity: .18;
  }

  .ambient-route__path--green,
  .ambient-route__node--green,
  .ambient-route__node-halo--green {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    transform: none;
    will-change: auto;
  }

  .ambient-route__path {
    stroke-dasharray: none;
  }
}
