/* Korvanto — Homepage sections */
/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--site-header-clearance) + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(4.5rem, 10vh, 7rem);
  overflow-x: clip;
  background: var(--navy);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.is-active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9, 35, 61, 0.82) 0%, rgba(9, 35, 61, 0.45) 55%, rgba(9, 35, 61, 0.65) 100%);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  padding-inline: var(--site-gutter);
  box-sizing: border-box;
  overflow-x: clip;
}

.hero-overlay .container {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: 0;
  min-width: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  width: 100%;
  min-width: 0;
  padding-block: clamp(0.75rem, 2vh, 1.5rem);
}

.hero-text {
  max-width: 820px;
  min-width: 0;
  width: 100%;
}

.hero-text .section-label { margin-bottom: 1.25rem; }

.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 3.25rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 22ch;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 52ch;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
}

.hero-3d-wrap {
  perspective: 900px;
  align-self: center;
}

.hero-float-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 154, 74, 0.4);
  backdrop-filter: blur(8px);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  max-width: 220px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
}

.hero-float-card span {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.65rem;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.hero-dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

/* Editorial intro */
.editorial {
  background: var(--white);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem 3rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

.editorial-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}

.editorial-support {
  color: var(--text-soft);
  padding-top: 0.5rem;
}

.editorial-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  box-shadow: var(--shadow-soft);
}

.editorial-visual img {
  width: 100%;
  height: 100%;
  transition: transform 1.2s ease;
}

.editorial-visual:hover img { transform: scale(1.04); }

.editorial-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(9, 35, 61, 0.92);
  padding: 1.25rem 2rem;
  gap: 1rem;
}

.strip-item {
  text-align: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
}

.strip-item::before {
  content: '✔';
  display: block;
  margin: 0 auto 0.45rem;
  color: var(--gold);
  font-size: 0.95rem;
  line-height: 1;
}

/* Mineral Atlas - premium product showcase */
.mineral-atlas {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.atlas-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(var(--gold) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.atlas-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.atlas-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}

.atlas-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.atlas-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.atlas-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.atlas-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 38ch;
  margin-bottom: 2rem;
}

.atlas-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(197, 154, 74, 0.25);
}

.atlas-counter {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.atlas-counter-num {
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}

.atlas-counter-sep,
.atlas-counter-total {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.45);
}

.atlas-arrows {
  display: flex;
  gap: 0.5rem;
}

.atlas-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(197, 154, 74, 0.45);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 1.1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.atlas-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: scale(1.05);
}

.atlas-cta { align-self: flex-start; }

.atlas-stage-wrap {
  position: relative;
  perspective: 1100px;
}

.atlas-stage {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(197, 154, 74, 0.2);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
}

.atlas-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px) scale(0.98);
  transition: opacity 0.85s ease, transform 0.85s ease, visibility 0.85s;
}

.atlas-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  position: relative;
  inset: auto;
}

.atlas-panel-link {
  display: block;
  height: 100%;
  min-height: 420px;
  color: inherit;
  text-decoration: none;
}

.atlas-panel-media {
  position: absolute;
  inset: 0;
}

.atlas-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease;
}

.atlas-panel.is-active:hover .atlas-panel-media img {
  transform: scale(1.05);
}

.atlas-panel-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(9, 35, 61, 0.92) 0%,
    rgba(9, 35, 61, 0.55) 45%,
    rgba(18, 59, 93, 0.35) 100%
  );
}

.atlas-panel-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 92%;
}

.atlas-panel-index {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(197, 154, 74, 0.35);
  margin-bottom: 0.5rem;
}

.atlas-panel-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  max-width: 22ch;
}

.atlas-panel-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
  margin-bottom: 1.25rem;
}

.atlas-panel-cta {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}

.atlas-panel-link:hover .atlas-panel-cta { gap: 0.65rem; }
.atlas-panel-link:hover .atlas-panel-cta .arrow { transform: translateX(4px); }

.atlas-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.atlas-progress-fill {
  display: block;
  height: 100%;
  width: 14.28%;
  background: var(--gold);
  transition: width 0.85s ease, transform 0.85s ease;
  transform-origin: left;
}

.atlas-index {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.65rem;
}

.atlas-index-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
  padding: 1rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  overflow: visible;
}

.atlas-index-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(197, 154, 74, 0.35);
  transform: translateY(-3px);
}

.atlas-index-item.is-active {
  background: var(--white);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.atlas-index-num {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.atlas-index-item.is-active .atlas-index-num { color: var(--navy-secondary); }

.atlas-index-name {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.25;
  white-space: normal;
  word-break: normal;
  width: 100%;
}

.atlas-index-item.is-active .atlas-index-name {
  color: var(--navy);
}

.product-link {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.product-link .arrow { color: var(--gold); transition: transform var(--transition); }

/* Global export */
.export-world {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.export-world .section-title { color: var(--white); max-width: none; }
.export-world .section-lead { color: rgba(255, 255, 255, 0.75); }

.export-regions-tagline {
  position: relative;
  margin: 0.85rem auto 1.1rem;
  padding-left: 1rem;
  max-width: 42ch;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
  border-left: 3px solid var(--gold);
}

.export-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2.5rem;
}

.world-map-block {
  position: relative;
}

.world-map-wrap {
  position: relative;
  aspect-ratio: 2 / 1;
  background: var(--navy);
  border: 1px solid rgba(197, 154, 74, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: crosshair;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.world-map-base {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.9) saturate(1.08);
  opacity: 1;
}

.world-map-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 35, 61, 0.2) 0%, rgba(9, 35, 61, 0.38) 50%, rgba(9, 35, 61, 0.52) 100%),
    radial-gradient(ellipse 90% 80% at 50% 50%, transparent 35%, rgba(9, 35, 61, 0.25) 100%);
}

.world-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.map-cursor {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  will-change: left, top;
}

.map-cursor-ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  border: 1px solid rgba(197, 154, 74, 0.65);
  background: radial-gradient(circle, rgba(197, 154, 74, 0.28) 0%, rgba(197, 154, 74, 0) 70%);
  box-shadow: 0 0 18px rgba(197, 154, 74, 0.45);
  animation: cursor-ring-pulse 2.2s ease-in-out infinite;
}

.map-cursor-core {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 10px rgba(197, 154, 74, 0.85);
}

.world-map-wrap.is-cursor-active .map-cursor {
  opacity: 1;
}

@keyframes cursor-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}

.world-map-overlay .map-nodes,
.world-map-overlay .map-node,
.world-map-overlay .node-hit {
  pointer-events: auto;
}

.map-vignette {
  fill: rgba(9, 35, 61, 0.15);
  pointer-events: none;
}

.map-route-shadow {
  fill: none;
  stroke: rgba(197, 154, 74, 0.28);
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke 0.4s ease, stroke-width 0.4s ease, opacity 0.4s ease;
}

.map-route-shadow.is-active {
  stroke: rgba(197, 154, 74, 0.42);
  stroke-width: 4.5;
}

.map-route {
  fill: none;
  stroke: rgba(197, 154, 74, 0.88);
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: stroke 0.4s ease, stroke-width 0.4s ease, opacity 0.4s ease;
  filter: drop-shadow(0 0 3px rgba(197, 154, 74, 0.55));
}

.map-route.is-drawn,
.map-route-shadow.is-drawn {
  stroke-dasharray: none;
}

.map-route.is-active {
  stroke: #e8c078;
  stroke-width: 2;
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(197, 154, 74, 0.75));
}

.map-route-shadow.is-active {
  stroke: rgba(232, 192, 120, 0.38);
  stroke-width: 5;
}

.node-hit {
  fill: transparent;
  cursor: pointer;
}

.node-dot {
  fill: var(--gold);
  stroke: var(--white);
  stroke-width: 2;
  pointer-events: none;
  opacity: 0.9;
  filter: drop-shadow(0 0 4px rgba(197, 154, 74, 0.6));
  transition: opacity 0.3s ease, fill 0.3s ease;
}

.world-map-wrap.is-cursor-active .node-dot {
  opacity: 0.7;
}

.map-node.is-active .node-dot {
  fill: #e8c078;
  opacity: 1;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(197, 154, 74, 0.9));
}

.hub-marker {
  fill: var(--gold);
  stroke: var(--white);
  stroke-width: 2.5;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(197, 154, 74, 0.85));
}

.hub-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: var(--gold);
  pointer-events: none;
  paint-order: stroke fill;
  stroke: rgba(9, 35, 61, 0.85);
  stroke-width: 4px;
}

.map-ui {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 5;
  max-width: none;
  width: max-content;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, rgba(9, 35, 61, 0.94) 0%, rgba(9, 35, 61, 0.82) 100%);
  border: 1px solid rgba(197, 154, 74, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.map-stat {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.25rem;
  white-space: nowrap;
}

.map-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.map-tooltip {
  position: absolute;
  z-index: 5;
  padding: 0.45rem 0.75rem;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-soft);
  pointer-events: none;
  white-space: nowrap;
  transform: translate(-50%, -120%);
}

.export-chips {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.export-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 154, 74, 0.25);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  transform: translateZ(0);
  transition: transform var(--transition), border-color var(--transition);
}

.export-chip:hover {
  transform: translateY(-4px) translateZ(12px);
  border-color: var(--gold);
}

.export-chip h4 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.export-chip p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Journey - pinned viewport, 4 scroll steps, then release */
.journey-section {
  background: var(--white);
  position: relative;
  padding: 0;
}

.journey-scroll-track {
  height: 520vh;
}

.journey-pin {
  position: sticky;
  top: 88px;
  height: calc(100vh - 88px);
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
}

.journey-pin > .container {
  width: var(--container);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.journey-section .section-label {
  margin-bottom: 0.75rem;
}

.journey-section .section-title {
  max-width: none;
  margin-bottom: 0.65rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.journey-section-head .journey-tagline {
  max-width: none;
  margin: 0 0 1.5rem;
  font-size: clamp(0.92rem, 1.35vw, 1.05rem);
  line-height: 1.5;
  color: var(--text-soft);
  white-space: nowrap;
}

.journey-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: center;
}

.journey-media {
  position: relative;
}

.journey-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 6;
  max-height: min(58vh, 480px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grey-light);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.journey-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.75s ease, transform 1s ease;
}

.journey-visual img.is-active {
  opacity: 1;
  transform: scale(1);
}

.journey-flow {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 1rem;
  align-items: stretch;
  min-height: min(58vh, 480px);
}

.journey-rail {
  position: relative;
  align-self: stretch;
  min-height: 100%;
}

.journey-rail-track,
.journey-rail-fill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  border-radius: 2px;
}

.journey-rail-track {
  top: 0;
  bottom: 0;
  background: var(--border);
}

.journey-rail-fill {
  top: 0;
  height: 0;
  background: var(--gold);
  transition: height 0.35s ease;
  z-index: 1;
}

.journey-rail-icon {
  position: absolute;
  left: 50%;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  box-shadow: 0 4px 14px rgba(23, 33, 43, 0.08);
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.journey-rail-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.journey-rail-icon.is-passed {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.journey-rail-icon.is-active {
  border-color: var(--gold);
  background: var(--white);
  color: var(--gold);
  transform: scale(1.08);
  box-shadow: 0 0 0 5px rgba(197, 154, 74, 0.18), 0 8px 20px rgba(23, 33, 43, 0.1);
}

.journey-steps {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(58vh, 480px);
}

.journey-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
}

.journey-step.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.journey-step.is-passed {
  opacity: 0;
  visibility: hidden;
}

.journey-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
  line-height: 1.3;
}

.journey-step p {
  color: var(--text-soft);
  max-width: 52ch;
  font-size: 0.95rem;
  line-height: 1.65;
}

.journey-num {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

/* Why choose - premium interactive panels */
.why-section {
  background: var(--grey-light);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.why-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem 3rem;
  align-items: end;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.why-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--gold);
}

.why-header .section-title {
  max-width: none;
  margin-bottom: 0;
}

.why-header-lead {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 42ch;
  margin: 0;
  align-self: center;
}

.why-panels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

a.why-panel {
  text-decoration: none;
  color: inherit;
}

.why-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 260px;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  isolation: isolate;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

/* Animated border around entire card on hover */
.why-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    90deg,
    var(--gold),
    var(--navy-secondary),
    var(--gold),
    var(--navy-secondary),
    var(--gold)
  );
  background-size: 300% 100%;
  -webkit-mask:
    linear-gradient(var(--white) 0 0) content-box,
    linear-gradient(var(--white) 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(var(--white) 0 0) content-box,
    linear-gradient(var(--white) 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.why-panel:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(9, 35, 61, 0.12);
  border-color: transparent;
}

.why-panel:hover::before {
  opacity: 1;
  animation: why-border-flow 2.2s linear infinite;
}

@keyframes why-border-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.why-panel > * {
  position: relative;
  z-index: 1;
}

.why-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
  min-height: 52px;
}

.why-panel-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--grey-light);
  color: var(--navy);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.why-panel-icon svg {
  width: 26px;
  height: 26px;
}

.why-panel:hover .why-panel-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
  transform: scale(1.06) rotate(-3deg);
}

.why-panel-num {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  opacity: 0.7;
  transition: opacity var(--transition), transform var(--transition);
}

.why-panel:hover .why-panel-num {
  opacity: 1;
  transform: translateX(-2px);
}

.why-panel-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.why-panel-body h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  color: var(--navy);
  min-height: 2.7em;
}

.why-panel-body p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-soft);
  flex: 1;
  margin: 0;
}

.why-panel-arrow {
  display: inline-flex;
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition), transform var(--transition);
}

.why-panel:hover .why-panel-arrow {
  opacity: 1;
  transform: translateX(0);
}

.why-panel.reveal {
  transform: translateY(36px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease, border-color 0.45s ease;
}

.why-panel.reveal.is-visible {
  transform: translateY(0);
}

.why-panel.reveal.reveal-delay-1 { transition-delay: 0.12s, 0.12s, 0s, 0s; }
.why-panel.reveal.reveal-delay-2 { transition-delay: 0.24s, 0.24s, 0s, 0s; }
.why-panel.reveal.reveal-delay-3 { transition-delay: 0.36s, 0.36s, 0s, 0s; }
.why-panel.reveal.reveal-delay-4 { transition-delay: 0.48s, 0.48s, 0s, 0s; }

.why-header.reveal.is-visible {
  transition-duration: 0.9s;
}

/* Testimonials */
.testimonials-section {
  background: linear-gradient(180deg, var(--grey-light) 0%, var(--white) 42%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(480px, 50vw);
  height: 320px;
  background: radial-gradient(ellipse at 100% 0%, rgba(197, 154, 74, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-header {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.testimonials-lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.testimonials-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.testimonials-metrics:empty {
  display: none;
  margin: 0;
}

.testimonial-metric {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), transform var(--transition);
}

.testimonial-metric:hover {
  border-color: rgba(197, 154, 74, 0.45);
  transform: translateY(-2px);
}

.testimonial-metric-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.testimonial-metric-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.testimonials-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
  position: relative;
}

.testimonials-spotlight {
  position: relative;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(197, 154, 74, 0.3);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  min-height: 320px;
  height: 100%;
  align-self: stretch;
}

.testimonials-spotlight::after {
  content: "";
  position: absolute;
  bottom: -40%;
  right: -20%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(197, 154, 74, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.spotlight-panel {
  position: absolute;
  inset: 0;
  padding: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: calc(clamp(2rem, 4vw, 2.75rem) + 10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
  pointer-events: none;
}

.spotlight-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.spotlight-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.spotlight-quote-icon {
  width: 42px;
  height: auto;
  color: var(--gold);
  opacity: 0.9;
  flex-shrink: 0;
}

.spotlight-rating {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.spotlight-panel blockquote {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  font-style: normal;
  margin: 0 0 1.75rem;
}

.spotlight-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0;
}

.author-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(197, 154, 74, 0.2);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.author-meta {
  flex: 1;
  min-width: 160px;
}

.author-meta strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.author-meta span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.author-region {
  font-size: 0.78rem !important;
  color: rgba(197, 154, 74, 0.9) !important;
  margin-top: 0.15rem;
}

.spotlight-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(197, 154, 74, 0.12);
  border: 1px solid rgba(197, 154, 74, 0.35);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.spotlight-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.spotlight-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.15s linear;
}

.testimonials-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  align-self: stretch;
}

.testimonials-picker {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.testimonial-pick {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
  font-family: inherit;
  color: inherit;
}

.testimonial-pick:hover,
.testimonial-pick:focus-visible {
  border-color: rgba(197, 154, 74, 0.55);
  background: rgba(197, 154, 74, 0.04);
  transform: translateX(-4px);
}

.testimonial-pick.is-active {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(9, 35, 61, 0.1);
  border-right: 3px solid var(--gold);
}

.pick-industry {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
  text-align: right;
}

.pick-quote {
  display: block;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.pick-author {
  display: block;
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 500;
}

.testimonials-controls {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-shrink: 0;
}

.testimonials-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  box-shadow: var(--shadow-card);
}

.testimonials-btn svg {
  width: 20px;
  height: 20px;
}

.testimonials-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

.testimonials-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Final CTA */
.cta-banner {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 0;
  background: var(--navy);
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9, 35, 61, 0.7) 0%, rgba(9, 35, 61, 0.55) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--section-pad) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-tagline {
  color: rgba(255, 255, 255, 0.85);
  max-width: 62ch;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

.cta-content .btn {
  margin-bottom: 0;
}
