/* ========================================
   OFFERS PAGE
======================================== */

.offers-page {
  width: 100%;
  background: #ffffff;
}

/* ========================================
   LAYOUT A "L ROVESCIATA"
======================================== */

.offers-layout {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: calc((100vh - var(--header-height)) * 9);
  background: #ffffff;
}

/* ========================================
   LEFT STICKY VISUAL
======================================== */

.offers-visual {
  position: sticky;
  top: var(--header-height);
  z-index: 5;

  height: calc(100vh - var(--header-height));

  display: block;

  padding: 0;

  background: #ffffff;
  overflow: hidden;
}

.offers-visual-stage {
  position: relative;

  width: 100%;
  height: 100%;

  display: block;
}

/* ========================================
   SERVICE ICON RAIL — 9 ICONS / 3 GROUPS
   The nine real icons are separate assets. Only the three icons
   belonging to the current family are shown at once.
======================================== */

.offers-icon-groups {
  position: absolute;
  left: clamp(20px, 3.4vw, 54px);
  top: 50%;
  z-index: 20;

  width: clamp(58px, 5.2vw, 78px);
  height: min(54vh, 520px);

  transform: translateY(-50%);
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: clamp(4px, .65vh, 8px);
  align-items: center;
  pointer-events: none;
}

.offers-icon-groups::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4%;
  bottom: 4%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, rgba(20,70,108,.16) 8%, rgba(20,70,108,.16) 92%, transparent);
  z-index: -1;
}

.offers-icon {
  position: relative;
  display: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: clamp(7px, .7vw, 11px);
  border: 1px solid rgba(18, 63, 99, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 5px 16px rgba(11, 36, 56, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  opacity: .64;
  pointer-events: auto;
  transform: scale(.88);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(.22,1,.36,1), border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.offers-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.offers-icon:hover {
  opacity: .92;
  transform: scale(.96);
  background: rgba(255,255,255,.94);
  box-shadow: 0 9px 22px rgba(11,36,56,.15);
}

.offers-icon.is-active {
  opacity: 1;
  transform: scale(1.08);
  background: rgba(255,255,255,.98);
  border: 2px solid var(--blue-main);
  box-shadow: 0 12px 28px rgba(11,36,56,.22), 0 0 0 4px rgba(255,255,255,.44);
}


.offers-icon.is-group-visible {
  display: flex;
}

/* ========================================
   IMAGE STAGE
======================================== */

.offers-image-stage {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  overflow: hidden;
  isolation: isolate;
}

.offers-img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  opacity: 0;
  transform: scale(1.025);
  filter: blur(4px);

  transition:
    opacity 700ms ease,
    transform 900ms ease,
    filter 700ms ease;

  pointer-events: none;
  will-change: opacity, transform, filter;
}

.offers-img.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.offers-img.is-leaving {
  z-index: 1;
  opacity: 0;
  transform: scale(0.99);
  filter: blur(4px);
}

/* ========================================
   RIGHT SCROLL CONTENT
======================================== */

.offers-content {
  position: relative;
  z-index: 2;

  padding:
    clamp(60px, 8vw, 120px)
    clamp(42px, 6vw, 110px)
    140px;

  background: #ffffff;
}

.offer-block {
  min-height: calc(100vh - var(--header-height));

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 80px 0;
}

.offer-block h2 {
  margin: 0 0 42px;

  color: var(--blue-main);

  font-size: clamp(38px, 5vw, 76px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.offer-block h3 {
  margin: 0 0 26px;

  color: var(--blue-main);

  font-size: clamp(21px, 2vw, 31px);
  line-height: 1.22;
  font-weight: 700;
  max-width: 680px;
}

.offer-block p {
  max-width: 680px;
  margin: 0;

  color: var(--text-dark);

  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.82;
  font-weight: 400;
  letter-spacing: 0.01em;

  white-space: pre-line;
}

/* ========================================
   REVEAL TEXT
======================================== */

.offer-block h2,
.offer-block h3,
.offer-block p {
  opacity: 0;
  transform: translateY(18px);

  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.offer-block.is-visible h2,
.offer-block.is-visible h3,
.offer-block p {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   SMARTPHONE / VERTICAL LAYOUT
======================================== */

@media (max-width: 768px) {
  .offers-layout {
    display: block;
    min-height: auto;
    background: #ffffff;
  }

  .offers-visual {
    position: sticky;
    top: var(--header-height);
    z-index: 10;

    height: calc((100vh - var(--header-height)) * 0.46);
    min-height: 310px;

    display: block;
    padding: 0;

    background: #ffffff;
    overflow: visible;
  }

  .offers-visual::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 18;

    height: 62px;

    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.86) 62%,
      #ffffff 100%
    );
  }

  .offers-visual-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
  }

  .offers-image-stage {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
  }

  .offers-img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
  }

  .offers-icon-groups {
    position: absolute;
    left: 50%;
    top: auto;
    bottom: -10px;
    z-index: 35;

    width: min(86vw, 330px);
    height: auto;

    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    gap: clamp(12px, 4vw, 22px);
    align-items: center;
    pointer-events: none;
  }

  .offers-icon-groups::before {
    display: none;
  }

  .offers-icon {
    position: relative;
    width: clamp(54px, 15vw, 68px);
    height: clamp(54px, 15vw, 68px);
    aspect-ratio: 1 / 1;
    padding: clamp(8px, 2.2vw, 12px);
    border-radius: 13px;
    border: 1px solid rgba(18, 63, 99, 0.20);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 26px rgba(7, 31, 53, 0.10);
    opacity: .68;
    transform: scale(.92);
    pointer-events: auto;
  }

  .offers-icon.is-group-visible {
    display: flex;
  }

  .offers-icon.is-active {
    opacity: 1;
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid var(--blue-main);
    box-shadow: 0 14px 34px rgba(11, 36, 56, 0.20);
  }

  .offers-content {
    position: relative;
    z-index: 2;

    padding:
      clamp(18px, 5vw, 32px)
      clamp(18px, 5vw, 24px)
      86px;

    background: #ffffff;
  }

  .offer-block {
    min-height: auto;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    padding:
      clamp(38px, 9vw, 58px)
      0
      clamp(68px, 15vw, 98px);
  }

  .offer-block:first-child {
    padding-top: clamp(82px, 20vw, 104px);
  }

  .offer-block h2 {
    margin: 0 0 clamp(20px, 5vw, 28px);

    font-size: clamp(42px, 12vw, 54px);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.055em;

    color: var(--blue-main);
  }

  .offer-block h3 {
    max-width: 100%;
    margin: 0 0 clamp(16px, 4.5vw, 22px);

    font-size: clamp(22px, 5.8vw, 28px);
    line-height: 1.12;
    font-weight: 700;

    color: var(--blue-main);
  }

  .offer-block p {
    max-width: 100%;
    margin: 0;

    font-size: clamp(15px, 4vw, 17px);
    line-height: 1.54;
    font-weight: 400;
    letter-spacing: 0;

    color: var(--text-dark);
    white-space: pre-line;
  }
  
  /* ========================================
   OFFERS + FOOTER FIX
======================================== */

    .offers-page {
      position: relative;
      z-index: 1;
    }
    
    .site-footer {
      position: relative;
      z-index: 50;
    }
}
/* v50.53.up04 — 9 OFFERS icons: supplied transparent visual links */
.offers-icon {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  opacity: .58;
  overflow: visible;
}
.offers-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 5px 10px rgba(8,38,69,.08));
}
.offers-icon:hover {
  opacity: .9;
  background: transparent;
  box-shadow: none;
  transform: scale(.98);
}
.offers-icon.is-active {
  opacity: 1;
  transform: scale(1.12);
  background: transparent;
  border: 0;
  box-shadow: none;
}
.offers-icon.is-active img {
  filter: drop-shadow(0 9px 16px rgba(8,38,69,.20));
}
@media (max-width: 768px) {
  .offers-icon {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    opacity: .62;
  }
  .offers-icon.is-active {
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: scale(1.10);
  }
}

/* ========================================
   NiSEC 3.8 — OFFERS NAVIGATION REFINEMENT
   - cleaned transparent icon assets
   - connected visual rail and active progress
   - clearer 9-step navigation affordance
======================================== */

.offers-icon-groups {
  --offer-progress: 0%;
  width: clamp(68px, 5.8vw, 88px);
  height: min(56vh, 540px);
  gap: clamp(12px, 1.4vh, 18px);
}

.offers-icon-groups::before {
  display: block;
  top: 8%;
  bottom: 8%;
  width: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  box-shadow: 0 0 0 1px rgba(7,44,81,.10), 0 8px 28px rgba(4,28,53,.16);
}

.offers-icon-groups::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  z-index: -1;
  width: 3px;
  height: var(--offer-progress-size, 0%);
  max-height: 84%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(to bottom, #4ac9ff, #123f72);
  box-shadow: 0 0 12px rgba(61,190,245,.42);
  transition: height 420ms cubic-bezier(.22,1,.36,1);
}

.offers-icon {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  opacity: .72;
  overflow: visible;
  filter: saturate(.92);
  transform: perspective(500px) rotateY(0deg) scale(.90);
  transition: opacity 240ms ease, transform 340ms cubic-bezier(.22,1,.36,1), filter 240ms ease;
}

.offers-icon img {
  border-radius: 18px;
  filter: drop-shadow(0 8px 13px rgba(4,27,50,.18));
  transition: filter 280ms ease, transform 320ms cubic-bezier(.22,1,.36,1);
}

.offers-icon:hover {
  opacity: .96;
  transform: perspective(500px) rotateY(-4deg) translateX(2px) scale(.99);
  filter: saturate(1);
}

.offers-icon:hover img {
  filter: drop-shadow(0 13px 20px rgba(4,27,50,.26));
}

.offers-icon.is-active {
  opacity: 1;
  transform: perspective(500px) rotateY(-6deg) translateX(5px) scale(1.10);
  filter: saturate(1.06);
}

.offers-icon.is-active::after {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #56d7ff;
  box-shadow: 0 0 0 5px rgba(86,215,255,.15), 0 0 18px rgba(86,215,255,.65);
}

.offers-icon.is-active img {
  filter: drop-shadow(0 16px 25px rgba(4,27,50,.32));
}

.offers-nav-meta {
  position: absolute;
  left: clamp(19px, 3.2vw, 51px);
  bottom: clamp(24px, 3.8vh, 42px);
  z-index: 25;
  width: clamp(120px, 12vw, 190px);
  color: #fff;
  text-shadow: 0 2px 12px rgba(1,18,35,.48);
  pointer-events: none;
}

.offers-nav-count {
  display: block;
  margin-bottom: 3px;
  font-size: clamp(12px, .88vw, 14px);
  font-weight: 700;
  letter-spacing: .18em;
}

.offers-nav-hint {
  display: inline;
  font-size: clamp(10px, .72vw, 12px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .88;
}

.offers-nav-arrow {
  display: inline-block;
  margin-left: 6px;
  font-size: 15px;
  animation: offersArrow 1.8s ease-in-out infinite;
}

@keyframes offersArrow {
  0%,100% { transform: translateY(-1px); opacity: .55; }
  50% { transform: translateY(5px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .offers-nav-arrow { animation: none; }
  .offers-icon, .offers-icon img, .offers-icon-groups::after { transition: none; }
}

@media (max-width: 768px) {
  .offers-icon-groups {
    --offer-progress: 0%;
    bottom: -7px;
    width: min(88vw, 350px);
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 5vw, 28px);
  }

  .offers-icon-groups::before {
    display: block;
    left: 8%;
    right: 8%;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 3px;
    transform: translateY(-50%);
  }

  .offers-icon-groups::after {
    left: 8%;
    top: 50%;
    width: var(--offer-progress-size, 0%);
    height: 3px;
    max-width: 84%;
    max-height: none;
    transform: translateY(-50%);
    transition: width 420ms cubic-bezier(.22,1,.36,1);
  }

  .offers-icon {
    width: clamp(58px, 16vw, 72px);
    height: clamp(58px, 16vw, 72px);
    border-radius: 16px;
    opacity: .75;
    transform: scale(.91);
  }

  .offers-icon img { border-radius: 16px; }

  .offers-icon:hover { transform: scale(.98); }

  .offers-icon.is-active {
    transform: translateY(-5px) scale(1.10);
  }

  .offers-icon.is-active::after {
    left: 50%;
    top: auto;
    bottom: -11px;
    transform: translateX(-50%);
  }

  .offers-nav-meta {
    left: 50%;
    bottom: -49px;
    width: min(88vw, 350px);
    transform: translateX(-50%);
    text-align: center;
    color: var(--blue-main);
    text-shadow: none;
  }

  .offers-nav-count {
    display: inline-block;
    margin: 0 8px 0 0;
    font-size: 11px;
  }

  .offers-nav-hint {
    font-size: 9px;
    opacity: .76;
  }

  .offers-nav-arrow {
    font-size: 12px;
  }

  .offer-block:first-child {
    padding-top: clamp(100px, 24vw, 122px);
  }
}

/* v3.8 rail stacking compatibility */
.offers-icon-groups::before { z-index: 0; }
.offers-icon-groups::after { z-index: 1; }
.offers-icon { z-index: 2; }

/* ========================================
   NiSEC 3.8.1 — OFFERS DESKTOP ARC NAVIGATION
   Continuous 9-step visual sequence.
   Desktop shows active + 2 previous + 2 next icons on a smooth arc.
   Mobile keeps the existing v3.8 family navigation unchanged.
======================================== */

@media (min-width: 769px) {
  .offers-icon-groups {
    left: clamp(22px, 3.1vw, 50px);
    top: 50%;
    width: clamp(112px, 10vw, 158px);
    height: min(70vh, 650px);
    transform: translateY(-50%);
    display: block;
    overflow: visible;
    pointer-events: none;
  }

  /* Curved visual guide: a restrained elliptical arc, not a rigid straight rail. */
  .offers-icon-groups::before {
    display: block;
    content: "";
    position: absolute;
    left: clamp(-128px, -8.5vw, -82px);
    top: 50%;
    width: clamp(220px, 19vw, 300px);
    height: 92%;
    transform: translateY(-50%);
    border: 3px solid rgba(47, 86, 179, .34);
    border-left-color: transparent;
    border-top-color: rgba(72, 112, 207, .28);
    border-bottom-color: rgba(72, 112, 207, .20);
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(33,74,169,.16), rgba(33,74,169,.055) 46%, transparent 73%);
    box-shadow: inset -16px 0 34px rgba(31,73,167,.05), 0 0 28px rgba(17,49,105,.08);
    opacity: .95;
    pointer-events: none;
  }

  /* The old straight progress line is removed on desktop: sequence position is
     communicated by the moving five-icon window + 01/09 counter. */
  .offers-icon-groups::after {
    display: none;
  }

  .offers-icon {
    display: flex;
    position: absolute;
    left: 0;
    top: 50%;
    width: clamp(60px, 5.2vw, 82px);
    height: clamp(60px, 5.2vw, 82px);
    opacity: 0;
    pointer-events: none;
    transform-origin: center center;
    will-change: transform, opacity, filter;
    transition:
      top 440ms cubic-bezier(.22,1,.36,1),
      left 440ms cubic-bezier(.22,1,.36,1),
      opacity 280ms ease,
      transform 440ms cubic-bezier(.22,1,.36,1),
      filter 280ms ease;
  }

  .offers-icon.is-group-visible {
    display: flex;
    pointer-events: auto;
  }

  /* Five points form a convex arc toward the centre of the photograph. */
  .offers-icon.pos-prev-2 {
    top: 7%;
    left: 1%;
    opacity: .48;
    transform: translateY(-50%) scale(.76) rotate(-2deg);
    filter: saturate(.78);
  }

  .offers-icon.pos-prev-1 {
    top: 28%;
    left: 15%;
    opacity: .72;
    transform: translateY(-50%) scale(.88) rotate(-1deg);
    filter: saturate(.90);
  }

  .offers-icon.pos-active {
    top: 50%;
    left: 27%;
    opacity: 1;
    transform: translateY(-50%) scale(1.13);
    filter: saturate(1.06);
  }

  .offers-icon.pos-next-1 {
    top: 72%;
    left: 15%;
    opacity: .72;
    transform: translateY(-50%) scale(.88) rotate(1deg);
    filter: saturate(.90);
  }

  .offers-icon.pos-next-2 {
    top: 93%;
    left: 1%;
    opacity: .48;
    transform: translateY(-50%) scale(.76) rotate(2deg);
    filter: saturate(.78);
  }

  .offers-icon.is-hidden {
    display: flex;
    top: 50%;
    left: -12%;
    opacity: 0;
    transform: translateY(-50%) scale(.62);
    pointer-events: none;
  }

  .offers-icon img {
    border-radius: 18px;
    filter: drop-shadow(0 9px 15px rgba(4,27,50,.17));
  }

  .offers-icon.is-near:hover {
    opacity: 1;
    transform: translateY(-50%) scale(.98);
  }

  .offers-icon.is-far:hover {
    opacity: .88;
    transform: translateY(-50%) scale(.86);
  }

  .offers-icon.is-active:hover,
  .offers-icon.pos-active:hover {
    transform: translateY(-50%) scale(1.17);
  }

  .offers-icon.is-active::after {
    left: -13px;
    top: 50%;
  }

  .offers-nav-meta {
    left: clamp(22px, 3.1vw, 50px);
    bottom: clamp(20px, 3vh, 34px);
  }
}

/* ========================================
   NiSEC 3.8.2 — OFFERS GRAPHIC COOL
   Professional desktop refinement of the continuous 9-offer navigator.
   Goal: cleaner, calmer, better centred. Existing click/scroll behaviour unchanged.
======================================== */

@media (min-width: 769px) {
  /* A very soft contrast veil keeps the navigator readable without creating
     a separate 'panel' over the photograph. */
  .offers-visual-stage::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 8;
    width: clamp(150px, 15vw, 230px);
    pointer-events: none;
    background: linear-gradient(90deg,
      rgba(5, 27, 53, .54) 0%,
      rgba(7, 37, 70, .30) 43%,
      rgba(7, 37, 70, .08) 74%,
      transparent 100%);
  }

  .offers-icon-groups {
    left: clamp(18px, 2.25vw, 38px);
    top: 50%;
    width: clamp(126px, 9.2vw, 152px);
    height: min(64vh, 590px);
    transform: translateY(-50%);
  }

  /* One thin arc is enough. No filled ellipse, no heavy frame. */
  .offers-icon-groups::before {
    left: clamp(-94px, -6.3vw, -67px);
    top: 50%;
    width: clamp(182px, 14vw, 224px);
    height: 94%;
    transform: translateY(-50%);
    border: 0;
    border-right: 2px solid rgba(84, 199, 255, .58);
    border-radius: 50%;
    background: transparent;
    box-shadow: 7px 0 22px rgba(41, 159, 221, .09);
    opacity: .9;
  }

  .offers-icon {
    width: clamp(58px, 4.7vw, 72px);
    height: clamp(58px, 4.7vw, 72px);
    border-radius: 15px;
    background: rgba(7, 32, 62, .58);
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,.13),
      0 8px 22px rgba(0, 13, 31, .18);
    -webkit-backdrop-filter: blur(8px) saturate(1.05);
    backdrop-filter: blur(8px) saturate(1.05);
    overflow: visible;
  }

  .offers-icon img {
    border-radius: 14px;
    filter: brightness(1.04) contrast(1.02) drop-shadow(0 5px 10px rgba(0, 16, 38, .24));
    transition: filter 240ms ease, transform 340ms cubic-bezier(.22,1,.36,1);
  }

  /* Five visible positions form a restrained arc. The active item is centred
     and only slightly larger; neighbouring choices remain clearly clickable. */
  .offers-icon.pos-prev-2 {
    top: 8%;
    left: 1%;
    opacity: .48;
    transform: translateY(-50%) scale(.78);
    filter: saturate(.80);
  }

  .offers-icon.pos-prev-1 {
    top: 29%;
    left: 14%;
    opacity: .76;
    transform: translateY(-50%) scale(.90);
    filter: saturate(.93);
  }

  .offers-icon.pos-active {
    top: 50%;
    left: 23%;
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
    filter: saturate(1.05);
    background: rgba(8, 42, 78, .78);
    box-shadow:
      inset 0 0 0 1px rgba(118, 221, 255, .80),
      0 0 0 3px rgba(38, 184, 244, .12),
      0 9px 27px rgba(0, 18, 43, .28),
      0 0 22px rgba(40, 185, 244, .19);
  }

  .offers-icon.pos-next-1 {
    top: 71%;
    left: 14%;
    opacity: .76;
    transform: translateY(-50%) scale(.90);
    filter: saturate(.93);
  }

  .offers-icon.pos-next-2 {
    top: 92%;
    left: 1%;
    opacity: .48;
    transform: translateY(-50%) scale(.78);
    filter: saturate(.80);
  }

  .offers-icon.is-active::after {
    left: -9px;
    width: 5px;
    height: 5px;
    background: #71ddff;
    box-shadow: 0 0 0 4px rgba(113,221,255,.11), 0 0 12px rgba(113,221,255,.55);
  }

  .offers-icon.is-near:hover {
    opacity: 1;
    transform: translateY(-50%) scale(.97);
    background: rgba(8, 42, 78, .70);
    box-shadow:
      inset 0 0 0 1px rgba(116, 209, 247, .38),
      0 9px 24px rgba(0, 17, 39, .24);
  }

  .offers-icon.is-far:hover {
    opacity: .82;
    transform: translateY(-50%) scale(.84);
    background: rgba(8, 42, 78, .65);
  }

  .offers-icon.is-active:hover,
  .offers-icon.pos-active:hover {
    transform: translateY(-50%) scale(1.11);
  }

  .offers-icon.is-hidden {
    left: -4%;
    opacity: 0;
    transform: translateY(-50%) scale(.68);
  }

  /* Keep the progress message aligned with the visual navigator. */
  .offers-nav-meta {
    left: clamp(26px, 2.8vw, 46px);
    bottom: clamp(20px, 3.2vh, 36px);
    width: clamp(118px, 10vw, 155px);
  }

  .offers-nav-count {
    font-size: clamp(11px, .78vw, 13px);
    letter-spacing: .16em;
  }

  .offers-nav-hint {
    font-size: clamp(9px, .62vw, 11px);
    line-height: 1.3;
    letter-spacing: .05em;
    opacity: .75;
  }

  .offers-nav-arrow {
    opacity: .78;
  }
}


/* ========================================
   NiSEC 3.8.3 — OFFERS ICON CLEANUP
   - PNG icon set from assets/offers
   - remove redundant progress copy
   - let icon artwork carry the visual style
   - preserve 3.8.2 continuous arc / click / scroll behaviour
======================================== */
.offers-nav-meta { display: none !important; }

.offers-icon {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  overflow: visible;
}

.offers-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 8px 15px rgba(0, 16, 38, .26));
  transition: transform 300ms cubic-bezier(.22,1,.36,1),
              filter 220ms ease,
              opacity 220ms ease;
}

.offers-icon::before,
.offers-icon::after {
  pointer-events: none;
}

@media (min-width: 769px) {
  .offers-icon,
  .offers-icon.pos-active,
  .offers-icon.is-near:hover,
  .offers-icon.is-far:hover {
    background: transparent;
    box-shadow: none;
  }

  .offers-icon.pos-prev-2 { opacity: .46; }
  .offers-icon.pos-prev-1 { opacity: .72; }
  .offers-icon.pos-active { opacity: 1; }
  .offers-icon.pos-next-1 { opacity: .72; }
  .offers-icon.pos-next-2 { opacity: .46; }

  .offers-icon.pos-active img {
    filter:
      brightness(1.05)
      saturate(1.04)
      drop-shadow(0 9px 17px rgba(0, 17, 40, .30))
      drop-shadow(0 0 8px rgba(69, 196, 255, .20));
  }

  .offers-icon.is-near:hover img,
  .offers-icon.is-far:hover img {
    filter:
      brightness(1.08)
      saturate(1.05)
      drop-shadow(0 9px 17px rgba(0, 17, 40, .31));
  }

  /* The PNG already has a strong cyan frame: avoid a second active dot/frame. */
  .offers-icon.is-active::after { display: none; }
}

@media (max-width: 768px) {
  .offers-icon {
    background: transparent;
    box-shadow: none;
    border: 0;
  }

  .offers-icon img {
    border-radius: 0;
    filter: drop-shadow(0 6px 12px rgba(0, 16, 38, .22));
  }

  .offers-icon.is-active {
    background: transparent;
    box-shadow: none;
  }

  .offers-icon.is-active img {
    filter:
      brightness(1.05)
      drop-shadow(0 7px 14px rgba(0, 16, 38, .26))
      drop-shadow(0 0 7px rgba(69, 196, 255, .18));
  }
}

/* ========================================
   NiSEC 3.8.3.1 — OFFERS VIEWPORT FIX
   Responsive-only refinement. Desktop >= 1025px is intentionally untouched.
   Tablet keeps the split experience with a more compact visual/navigation rail.
   Smartphone keeps the proven vertical sticky image + 3-icon family navigation.
======================================== */

/* TABLET — portrait and compact landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .offers-layout {
    grid-template-columns: 44% 56%;
  }

  .offers-visual-stage::before {
    width: clamp(118px, 17vw, 168px);
  }

  .offers-icon-groups {
    left: clamp(12px, 2vw, 22px);
    width: clamp(98px, 13vw, 128px);
    height: min(58vh, 500px);
  }

  .offers-icon-groups::before {
    left: clamp(-74px, -8vw, -54px);
    width: clamp(150px, 19vw, 190px);
    height: 92%;
  }

  .offers-icon {
    width: clamp(50px, 6.5vw, 64px);
    height: clamp(50px, 6.5vw, 64px);
  }

  .offers-icon.pos-prev-2 { top: 9%; left: 0; }
  .offers-icon.pos-prev-1 { top: 29.5%; left: 12%; }
  .offers-icon.pos-active { top: 50%; left: 20%; }
  .offers-icon.pos-next-1 { top: 70.5%; left: 12%; }
  .offers-icon.pos-next-2 { top: 91%; left: 0; }

  .offers-content {
    padding: clamp(46px, 6vw, 72px) clamp(30px, 4.8vw, 52px) 110px;
  }

  .offer-block {
    padding: 56px 0;
  }

  .offer-block h2 {
    margin-bottom: 30px;
    font-size: clamp(40px, 6.2vw, 58px);
  }

  .offer-block h3 {
    margin-bottom: 20px;
    font-size: clamp(22px, 3vw, 28px);
  }

  .offer-block p {
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.68;
  }
}

/* SMARTPHONE — spacing and viewport stability */
@media (max-width: 768px) {
  .offers-visual {
    height: clamp(270px, 43svh, 390px);
    min-height: 0;
  }

  .offers-img {
    object-position: center 42%;
  }

  .offers-icon-groups {
    bottom: -4px;
    width: min(84vw, 330px);
    gap: clamp(14px, 4.5vw, 24px);
  }

  .offers-icon {
    width: clamp(52px, 15vw, 66px);
    height: clamp(52px, 15vw, 66px);
  }

  .offers-content {
    padding-left: clamp(18px, 5.5vw, 28px);
    padding-right: clamp(18px, 5.5vw, 28px);
  }

  .offer-block:first-child {
    padding-top: clamp(78px, 19vw, 102px);
  }

  .offer-block h2 {
    font-size: clamp(38px, 11.5vw, 52px);
  }
}

/* Narrow phones */
@media (max-width: 430px) {
  .offers-visual {
    height: clamp(250px, 40svh, 330px);
  }

  .offers-icon-groups {
    width: min(88vw, 310px);
  }

  .offers-icon {
    width: clamp(48px, 14.5vw, 60px);
    height: clamp(48px, 14.5vw, 60px);
  }

  .offer-block {
    padding-bottom: clamp(58px, 14vw, 82px);
  }

  .offer-block:first-child {
    padding-top: clamp(70px, 18vw, 88px);
  }

  .offer-block h3 {
    font-size: clamp(21px, 6vw, 25px);
  }

  .offer-block p {
    font-size: clamp(15px, 4.15vw, 16.5px);
    line-height: 1.56;
  }
}

/* Short landscape devices: avoid an oversized sticky image. */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 520px) {
  .offers-visual {
    position: relative;
    top: auto;
    height: clamp(220px, 62svh, 300px);
  }

  .offers-content {
    padding-top: 34px;
  }

  .offer-block:first-child {
    padding-top: 62px;
  }
}

/* ========================================
   NiSEC 3.8.3.2 — SECONDARY VERTICAL-DEVICE LAYOUT TEST
   Smartphone only:
   1. image above
   2. continuous horizontal arc navigator in the middle
   3. copy scrolling vertically below
   Desktop/tablet rules remain unchanged.
======================================== */

@media (max-width: 768px) and (orientation: portrait) {
  .offers-layout {
    display: block;
    min-height: auto;
  }

  /* One sticky visual module: photo + dedicated navigation band. */
  .offers-visual {
    position: sticky;
    top: var(--header-height);
    z-index: 10;
    height: clamp(390px, 54svh, 570px);
    min-height: 0;
    overflow: hidden;
    background: #ffffff;
  }

  .offers-visual-stage {
    position: relative;
    width: 100%;
    height: 100%;
    background: #ffffff;
  }

  /* Photo occupies the upper part only. */
  .offers-image-stage {
    position: absolute;
    inset: 0 0 108px 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    isolation: isolate;
  }

  .offers-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 43%;
  }

  /* Soft hand-off from image to navigation band. */
  .offers-visual::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100px;
    z-index: 18;
    height: 42px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.82) 72%, #fff 100%);
  }

  /* Horizontal reinterpretation of the desktop five-position arc. */
  .offers-icon-groups {
    position: absolute;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    z-index: 35;
    width: min(96vw, 500px);
    height: 116px;
    transform: translateX(-50%);
    display: block;
    overflow: visible;
    pointer-events: none;
  }

  .offers-icon-groups::before {
    display: block;
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    top: 51px;
    bottom: auto;
    width: auto;
    height: 66px;
    transform: none;
    border: 2px solid rgba(51, 172, 224, .33);
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: transparent;
    box-shadow: 0 -5px 20px rgba(40, 155, 211, .07);
    opacity: .95;
    pointer-events: none;
  }

  .offers-icon-groups::after {
    display: none;
  }

  .offers-icon,
  .offers-icon.is-group-visible,
  .offers-icon.is-hidden {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: clamp(47px, 13vw, 62px);
    height: clamp(47px, 13vw, 62px);
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform-origin: center center;
    transition:
      top 400ms cubic-bezier(.22,1,.36,1),
      left 400ms cubic-bezier(.22,1,.36,1),
      opacity 240ms ease,
      transform 400ms cubic-bezier(.22,1,.36,1),
      filter 240ms ease;
  }

  .offers-icon.is-group-visible {
    pointer-events: auto;
  }

  .offers-icon.pos-prev-2 {
    left: 7%;
    top: 67%;
    opacity: .40;
    transform: translate(-50%, -50%) scale(.72) rotate(-3deg);
    filter: saturate(.78);
  }

  .offers-icon.pos-prev-1 {
    left: 28%;
    top: 45%;
    opacity: .70;
    transform: translate(-50%, -50%) scale(.88) rotate(-1deg);
    filter: saturate(.91);
  }

  .offers-icon.pos-active {
    left: 50%;
    top: 31%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
    filter: saturate(1.06);
  }

  .offers-icon.pos-next-1 {
    left: 72%;
    top: 45%;
    opacity: .70;
    transform: translate(-50%, -50%) scale(.88) rotate(1deg);
    filter: saturate(.91);
  }

  .offers-icon.pos-next-2 {
    left: 93%;
    top: 67%;
    opacity: .40;
    transform: translate(-50%, -50%) scale(.72) rotate(3deg);
    filter: saturate(.78);
  }

  .offers-icon.is-hidden {
    left: 50%;
    top: 54%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.56);
  }

  .offers-icon:hover,
  .offers-icon.is-near:hover,
  .offers-icon.is-far:hover,
  .offers-icon.is-active:hover,
  .offers-icon.pos-active:hover {
    transform: translate(-50%, -50%) scale(1.04);
  }

  .offers-icon.pos-active:hover {
    transform: translate(-50%, -50%) scale(1.16);
  }

  .offers-icon img {
    border-radius: 0;
    filter: drop-shadow(0 6px 12px rgba(0,16,38,.20));
  }

  .offers-icon.pos-active img {
    filter:
      brightness(1.05)
      drop-shadow(0 9px 17px rgba(0,16,38,.27))
      drop-shadow(0 0 8px rgba(69,196,255,.18));
  }

  .offers-icon.is-active::after {
    display: none;
  }

  /* Copy begins immediately below the visual/nav module and keeps the existing
     long vertical reading rhythm. */
  .offers-content {
    position: relative;
    z-index: 2;
    padding: 20px clamp(20px, 5.5vw, 30px) 88px;
    background: #ffffff;
  }

  .offer-block {
    min-height: auto;
    padding: clamp(46px, 11vw, 70px) 0 clamp(74px, 17vw, 110px);
  }

  .offer-block:first-child {
    padding-top: clamp(34px, 8vw, 48px);
  }

  .offer-block h2 {
    font-size: clamp(40px, 11.8vw, 54px);
  }

  .offer-block h3 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .offer-block p {
    font-size: clamp(15px, 4vw, 17px);
    line-height: 1.56;
  }
}

@media (max-width: 430px) and (orientation: portrait) {
  .offers-visual {
    height: clamp(365px, 51svh, 500px);
  }

  .offers-image-stage {
    bottom: 102px;
  }

  .offers-icon-groups {
    height: 108px;
    width: 98vw;
  }

  .offers-icon-groups::before {
    top: 48px;
  }

  .offers-icon {
    width: clamp(44px, 13.5vw, 57px);
    height: clamp(44px, 13.5vw, 57px);
  }
}

/* ========================================
   NiSEC 3.8.3.3 — CLEAN VIEW VERTICAL
   Portrait smartphone refinement only.
   - image above
   - transparent horizontal arc navigator between image and copy
   - copy remains in normal document flow (never hidden by sticky visual)
   Desktop and tablet are intentionally untouched.
======================================== */

@media (max-width: 768px) and (orientation: portrait) {
  /* The complete visual module now belongs to normal page flow.
     This removes the overlap that could cover SERVICE / section headings
     while keeping the same active-image and icon-navigation logic. */
  .offers-visual {
    position: relative;
    top: auto;
    z-index: 4;
    height: clamp(355px, 49svh, 515px);
    min-height: 0;
    overflow: visible;
    background: transparent;
  }

  .offers-visual-stage {
    height: 100%;
    overflow: visible;
    background: transparent;
  }

  /* The photograph ends just before the centre of the transparent navigator.
     The icons visually bridge photo and copy instead of sitting in a white banner. */
  .offers-image-stage {
    inset: 0 0 72px 0;
    height: auto;
    overflow: hidden;
  }

  .offers-img {
    object-position: center 43%;
  }

  /* Soft fade only: no solid navigation strip. */
  .offers-visual::after {
    left: 0;
    right: 0;
    bottom: 54px;
    height: 70px;
    z-index: 18;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.30) 42%,
      rgba(255,255,255,.72) 72%,
      rgba(255,255,255,0) 100%
    );
  }

  /* Transparent floating arc. The rail has no panel/background of its own. */
  .offers-icon-groups {
    left: 50%;
    bottom: 0;
    z-index: 35;
    width: min(96vw, 500px);
    height: 104px;
    transform: translateX(-50%);
    background: transparent;
    overflow: visible;
  }

  .offers-icon-groups::before {
    left: 5%;
    right: 5%;
    top: 45px;
    height: 58px;
    border-top: 2px solid rgba(51,172,224,.30);
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: transparent;
    box-shadow: 0 -5px 18px rgba(40,155,211,.05);
  }

  .offers-icon.pos-prev-2 { top: 67%; }
  .offers-icon.pos-prev-1 { top: 45%; }
  .offers-icon.pos-active { top: 29%; }
  .offers-icon.pos-next-1 { top: 45%; }
  .offers-icon.pos-next-2 { top: 67%; }

  /* Copy starts after the navigator's own reserved space.
     No negative offset and no sticky layer can cover headings. */
  .offers-content {
    position: relative;
    z-index: 2;
    padding: 14px clamp(20px, 5.5vw, 30px) 88px;
    background: #ffffff;
    overflow: visible;
  }

  .offer-block {
    overflow: visible;
  }

  .offer-block:first-child {
    padding-top: clamp(26px, 6.5vw, 38px);
  }

  .offer-block h2 {
    margin-top: 0;
    line-height: 1;
    overflow: visible;
  }

  .offer-block h3,
  .offer-block p {
    overflow: visible;
  }
}

@media (max-width: 430px) and (orientation: portrait) {
  .offers-visual {
    height: clamp(330px, 46svh, 455px);
  }

  .offers-image-stage {
    bottom: 68px;
  }

  .offers-icon-groups {
    width: 98vw;
    height: 98px;
  }

  .offers-icon-groups::before {
    top: 43px;
    height: 54px;
  }

  .offers-content {
    padding-top: 12px;
  }

  .offer-block:first-child {
    padding-top: clamp(24px, 6vw, 34px);
  }
}

/* ========================================
   NiSEC 3.8.3.4 — VERTICAL OFFERS BEHAVIOUR FIX
   Portrait phones only:
   - image + transparent arc navigator remain visually stationary
   - icon click scrolls ONLY the copy pane
   - the page itself does not jump when changing offer
   - after the copy reaches its end, normal page scroll can continue to footer
======================================== */

@media (max-width: 768px) and (orientation: portrait) {
  .offers-page {
    --offers-mobile-visual-h: clamp(355px, 49svh, 515px);
  }

  .offers-layout {
    min-height: calc(100svh - var(--header-height));
    overflow: visible;
  }

  .offers-visual {
    height: var(--offers-mobile-visual-h);
    flex: none;
  }

  .offers-content {
    /* Independent reading pane: selecting an icon no longer moves the photo,
       header or arc. Touch/trackpad scrolling is contained here until its end. */
    height: max(
      260px,
      calc(100svh - var(--header-height) - var(--offers-mobile-visual-h))
    );
    min-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: auto;
    padding-top: 14px;
  }

  .offers-content::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  /* Each destination has enough breathing room when brought to the top of the
     copy pane, without altering the typography or the desktop rhythm. */
  .offer-block {
    scroll-margin-top: 14px;
  }
}

@media (max-width: 430px) and (orientation: portrait) {
  .offers-page {
    --offers-mobile-visual-h: clamp(330px, 46svh, 455px);
  }

  .offers-content {
    height: max(
      250px,
      calc(100svh - var(--header-height) - var(--offers-mobile-visual-h))
    );
    min-height: 250px;
    padding-top: 12px;
  }
}
