/* ==================================================================
   V7 — Image-only hero carousel + horizontal 5-step process carousel
   Loaded last; overrides earlier hero/process layers.
   ================================================================== */

/* ---------- HERO: full-width photo carousel, no text overlay ---------- */
.hero-v7 {
  --hv7-h: clamp(300px, 44vw, 660px);
  position: relative;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #0b2a52;
}
.hero-v7::before { display: none; }
.hero-v7 .hero-swiper,
.hero-v7 .hero-swiper .swiper-wrapper,
.hero-v7 .hero-slide { min-height: 0; height: var(--hv7-h); background: #0b2a52; }
.hero-v7 .hero-slide { position: relative; overflow: hidden; }
.hero-v7 .hero-slide[hidden] { display: none !important; }
.hv7-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform: scale(1.02);
  transition: transform 7.5s ease-out;
}
.hero-v7 .swiper-slide-active .hv7-img,
.hero-v7 .hero-slide.hero-active .hv7-img { transform: scale(1.08); }
/* soft shade at the bottom so the controls stay readable on any photo */
.hero-v7 .hero-slide::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 32%;
  background: linear-gradient(180deg, transparent, rgba(4, 22, 48, .55));
  pointer-events: none;
}

.hv7-controls {
  position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  height: 50px; padding: 0 16px 0 7px; border-radius: 99px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(3, 20, 45, .28);
}
.hv7-controls .hero-arrow { width: 36px; height: 36px; flex: 0 0 36px; }
.hv7-controls .hero-pagination { min-width: 0; }
.hero-v7 .hero-pagination .swiper-pagination-bullet { margin: 0 !important; }

@media (max-width: 767.98px) {
  .hero-v7 { --hv7-h: clamp(250px, 62vw, 460px); }
  .hv7-controls { bottom: 14px; height: 42px; gap: 8px; padding: 0 12px 0 5px; }
  .hv7-controls .hero-arrow { width: 31px; height: 31px; flex-basis: 31px; }
  .hv7-controls .hero-slide-count strong { font-size: 12px; }
}
@media (max-width: 380px) {
  .hv7-controls .hero-slide-count { display: none; }
  .hv7-controls { padding-right: 5px; }
}

/* ---------- PROCESS: horizontal 5-step carousel ---------- */
.process-v7 {
  position: relative; overflow: hidden;
  background:
    radial-gradient(520px 360px at 100% 0%, rgba(255, 121, 0, .07), transparent 70%),
    linear-gradient(180deg, #f2f7fd 0%, #f7fafe 100%);
}
.proc7-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 34px; }
.proc7-head .section-label { display: inline-flex; align-items: center; gap: 7px; }
.proc7-head h2 { font-size: clamp(30px, 3.1vw, 46px); line-height: 1.12; margin: 0; }
.proc7-head h2 span { color: var(--orange-dark); }
.proc7-head-side { max-width: 470px; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.proc7-head-side p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; text-align: right; }
.proc7-arrows { display: flex; gap: 10px; }
.proc7-arrows .slider-arrow { width: 44px; height: 44px; }
.proc7-arrows .slider-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.proc7-arrows .slider-arrow.swiper-button-disabled { opacity: .45; cursor: default; }

/* step tracker: five connected nodes */
.proc7-track { position: relative; margin: 0 0 28px; }
.proc7-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; z-index: 1; }
.proc7-line { position: absolute; top: 23px; left: 10%; right: 10%; height: 3px; border-radius: 3px; background: #d7e3f0; }
.proc7-line-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--orange), #ff9a3d); transition: width .55s ease; }
.proc7-node {
  appearance: none; border: 0; background: none; padding: 0; cursor: pointer;
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: var(--navy-ink); font-family: inherit;
}
.proc7-dot {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid #d7e3f0; color: #7d90a8;
  font-size: 14px; font-weight: 800; letter-spacing: -.02em;
  box-shadow: 0 6px 16px rgba(7, 43, 95, .08);
  transition: background-color .3s, border-color .3s, color .3s, transform .3s, box-shadow .3s;
}
.proc7-node-label { font-size: 13px; font-weight: 700; color: #6b7e96; transition: color .3s; text-align: center; line-height: 1.3; }
.proc7-node.is-visible .proc7-dot { border-color: var(--navy); color: var(--navy); }
.proc7-node.is-visible .proc7-node-label { color: var(--navy-ink); }
.proc7-node.is-done .proc7-dot { background: var(--navy); border-color: var(--navy); color: #fff; }
.proc7-node.is-current .proc7-dot { background: var(--orange); border-color: var(--orange); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 6px rgba(255, 121, 0, .16), 0 10px 22px rgba(255, 121, 0, .28); }
.proc7-node.is-current .proc7-node-label { color: var(--orange-dark); }
.proc7-node:hover .proc7-dot { transform: translateY(-2px); }
.proc7-node:focus-visible { outline: none; }
.proc7-node:focus-visible .proc7-dot { outline: 3px solid rgba(255, 121, 0, .5); outline-offset: 3px; }

/* cards */
.proc7-swiper { overflow: hidden; padding: 6px 4px 14px; margin: -6px -4px 0; }
.proc7-swiper .swiper-slide { height: auto; }
.proc7-card {
  height: 100%; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e3ebf4; border-radius: 22px; overflow: hidden;
  box-shadow: 0 10px 28px rgba(7, 43, 95, .08);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.proc7-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(7, 43, 95, .13); border-color: #d4e1ee; }
.swiper-slide.is-current .proc7-card { border-color: rgba(255, 121, 0, .55); box-shadow: 0 16px 36px rgba(255, 121, 0, .13); }
.proc7-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e5eef8; }
.proc7-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.proc7-card:hover .proc7-photo img { transform: scale(1.05); }
.proc7-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 24, 54, .0) 45%, rgba(4, 24, 54, .45)); }
.proc7-num {
  position: absolute; z-index: 1; right: 14px; bottom: 6px;
  font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.05em;
  color: rgba(255, 255, 255, .92); text-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.proc7-body { position: relative; flex: 1; padding: 34px 22px 24px; }
.proc7-icon {
  position: absolute; top: -26px; left: 22px;
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--orange); color: #fff; border: 4px solid #fff;
  box-shadow: 0 10px 22px rgba(255, 121, 0, .28);
}
.proc7-swiper .swiper-slide:nth-child(even) .proc7-icon { background: var(--navy); box-shadow: 0 10px 22px rgba(8, 47, 104, .25); }
.proc7-icon .v5-svg-icon { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.proc7-eyebrow { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--orange-dark); margin-bottom: 6px; }
.proc7-eyebrow b { color: #b8c6d6; font-weight: 400; margin-inline: 3px; }
.proc7-body h3 { font-size: 19px; line-height: 1.25; margin: 0 0 8px; }
.proc7-body p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

.proc7-progress { display: none; height: 4px; border-radius: 4px; background: #dbe6f1; margin-top: 14px; overflow: hidden; }
.proc7-progress span { display: block; height: 100%; width: 20%; background: var(--orange); border-radius: inherit; transition: width .45s ease; }

/* no-Swiper fallback: native horizontal scroll */
.proc7-native { overflow-x: auto; scroll-snap-type: x mandatory; }
.proc7-native .swiper-wrapper { display: flex; gap: 20px; }
.proc7-native .swiper-slide { flex: 0 0 min(300px, 82%); scroll-snap-align: start; }

@media (max-width: 991.98px) {
  .proc7-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
  .proc7-head-side { max-width: 640px; flex-direction: row; align-items: flex-end; justify-content: space-between; width: 100%; gap: 20px; }
  .proc7-head-side p { text-align: left; }
  .proc7-node-label { font-size: 11.5px; }
}
@media (max-width: 767.98px) {
  .proc7-head-side { flex-direction: column; align-items: flex-start; }
  .proc7-arrows { display: none; }
  .proc7-line { top: 19px; left: 10%; right: 10%; }
  .proc7-dot { width: 40px; height: 40px; font-size: 12px; }
  .proc7-node-label { display: none; }
  .proc7-track { margin-bottom: 20px; }
  .proc7-progress { display: block; }
  .proc7-body { padding: 30px 18px 20px; }
  .proc7-body h3 { font-size: 17.5px; }
  .proc7-num { font-size: 40px; }
}
@media (max-width: 370px) {
  .proc7-dot { width: 34px; height: 34px; font-size: 11px; }
  .proc7-line { top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hv7-img, .hero-v7 .swiper-slide-active .hv7-img { transform: none; transition: none; }
  .proc7-card, .proc7-photo img, .proc7-line-fill, .proc7-dot { transition: none; }
}
