/* ================================================================
   KCNZ — HOSSing Production Stylesheet
   ================================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  overscroll-behavior: none;
}

body {
  background: #000;
  color: #f5f5f7;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: #c9a227;
  color: #000;
}

:focus-visible {
  outline: 2px solid #c9a227;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Smooth scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.32); }

/* ── Slide System ─────────────────────────────────────────── */
.slide {
  position: relative;
  height: 100vh;
}

.slide__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 250vw;
}

.slide__content {
  position: absolute;
  inset: 20px;
  transform-style: preserve-3d;
  transform-origin: 50% 10%;
  padding: 40px 60px 60px 40px;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  color: #fff;
  will-change: transform, opacity;
}

.slide__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.slide__title-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.slide__bottom {
  margin-top: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.slide__actions {
  position: absolute;
  bottom: 60px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
}

/* ── Slide Photo Backgrounds ─────────────────────────────── */
.slide--hero .slide__content {
  background: linear-gradient(rgba(10,25,50,0.55), rgba(10,25,50,0.7)), url('../images/hero.jpg') center/cover no-repeat;
}
.slide--intro .slide__content {
  background: linear-gradient(rgba(10,25,50,0.55), rgba(10,25,50,0.7)), url('../images/intro.jpg') center/cover no-repeat;
}
.slide--media .slide__content {
  background: linear-gradient(rgba(10,25,50,0.55), rgba(10,25,50,0.7)), url('../images/logistics.jpg') center/cover no-repeat;
}
.slide--features .slide__content {
  background: linear-gradient(rgba(10,25,50,0.55), rgba(10,25,50,0.7)), url('../images/features.jpg') center/cover no-repeat;
}
.slide--trust .slide__content {
  background: linear-gradient(rgba(10,25,50,0.55), rgba(10,25,50,0.7)), url('../images/trust.jpg') center/cover no-repeat;
}
.slide--testimonials .slide__content {
  background: linear-gradient(rgba(10,25,50,0.55), rgba(10,25,50,0.7)), url('../images/testimonials.jpg') center/cover no-repeat;
}
.slide--map .slide__content {
  background: linear-gradient(rgba(10,25,50,0.55), rgba(10,25,50,0.7)), url('../images/map.jpg') center/cover no-repeat;
}

/* ── Payment Marquee ──────────────────────────────────────── */
.card-brands-section {
  margin-top: 24px;
  text-align: center;
}
.card-brands-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.card-brands-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.card-brands-track {
  display: flex;
  gap: 28px;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 12s linear infinite;
}
.card-brands-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-brands-item img {
  height: 28px;
  width: auto;
  opacity: 0.75;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.card-brands-item img:hover {
  opacity: 1;
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Typography ───────────────────────────────────────────── */
.display {
  font-size: 9vw;
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.03em;
  color: #fff;
}

.subtitle {
  font-size: max(11px, 1.5vw);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: linear-gradient(
    90deg,
    currentColor 0%,
    currentColor 40%,
    rgba(255,255,255,.8) 50%,
    currentColor 60%,
    currentColor 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: subtitle-shimmer 8s ease-in-out infinite;
}

@keyframes subtitle-shimmer {
  0%, 100% { background-position: 200% center; }
  50%       { background-position: -200% center; }
}

.body-text {
  font-size: max(14px, 1.8vw);
  line-height: 1.65;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.82);
  max-width: 550px;
}

.quote {
  font-size: max(16px, 2.2vw);
  font-weight: 500;
  line-height: 1.4;
  font-style: italic;
  color: #fff;
}

.author {
  font-size: max(12px, 1.3vw);
  font-weight: 600;
  margin-top: 16px;
  opacity: .7;
  color: #fff;
  font-style: normal;
}

.icon {
  font-size: max(28px, 5vw);
  overflow: hidden;
  max-width: 1.2em;
  max-height: 1.2em;
  display: block;
  flex-shrink: 0;
  color: rgba(255,255,255,.7);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: max(11px, .9vw);
  font-weight: 500;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  width: fit-content;
  border: 1px solid rgba(255,255,255,.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 32px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: max(13px, 1.1vw);
  font-family: inherit;
  background: #fff;
  color: #1d1d1f;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s;
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.btn:active {
  transform: scale(.95);
}

/* ── Feature List ─────────────────────────────────────────── */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: max(14px, 1.6vw);
  line-height: 1.6;
  color: rgba(255,255,255,.9);
}

.feature-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-list__item::before {
  content: '✓';
  font-weight: 700;
  color: #c9a227;
  flex-shrink: 0;
  font-size: 1.1em;
}

/* ── Testimonial Carousel ─────────────────────────────────── */
.testimonial-carousel {
  position: relative;
  min-height: 120px;
}

.testimonial-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .5s ease;
}

.testimonial-item.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.testimonial-controls .btn {
  margin-left: auto;
}

.testimonial-nav {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.testimonial-nav__btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
}

.testimonial-nav__btn:hover {
  background: rgba(255,255,255,.12);
}

.testimonial-nav__btn svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255,255,255,.7);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  transition: all .25s;
  border: none;
  padding: 0;
}

.dot:hover {
  background: rgba(255,255,255,.5);
}

.dot.active {
  background: #fff;
  width: 18px;
  border-radius: 4px;
}

/* ── Map ──────────────────────────────────────────────────── */
.map-container {
  position: relative;
  flex: 1;
  min-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
}

.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.15);
  transition: opacity .3s;
}

.map-overlay__hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}

.map-overlay__hint .material-symbols-outlined {
  font-size: 2rem;
}

.map-container.map-active .map-overlay {
  display: none;
}

.map-container__iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: none;
  filter: grayscale(20%);
  display: block;
}

.map-address {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.map-address__icon {
  font-size: 1.2rem;
  opacity: .65;
}

.map-address__text {
  font-size: .9rem;
  opacity: .85;
  flex: 1;
}

/* ── Scroll Hint ──────────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .5;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: #fff;
  pointer-events: none;
  text-transform: uppercase;
  transition: opacity .6s ease;
}

.scroll-hint.hidden {
  opacity: 0;
}

.scroll-hint__icon {
  width: 22px;
  height: 22px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ── Finale Section ───────────────────────────────────────── */
.finale-section {
  position: relative;
  min-height: 100vh;
  background: #000;
  z-index: 100;
}

.finale__wrapper {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  position: relative;
}

.finale__content {
  position: absolute;
  inset: 20px;
  padding: 48px 60px 60px 40px;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  background: #f5f5f7;
  color: #1d1d1f;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  will-change: transform, opacity;
}

.finale__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.finale__title-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.finale__subtitle {
  color: #1e3a5f !important;
  background: none !important;
  -webkit-text-fill-color: #1e3a5f !important;
  animation: none !important;
  letter-spacing: .1em;
  font-size: max(11px, 1.5vw);
  font-weight: 600;
  text-transform: uppercase;
}

.finale__icon {
  color: #1e3a5f;
  opacity: .8;
  font-size: max(28px, 5vw);
  max-width: 1.2em;
  max-height: 1.2em;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}

.finale__content .display {
  color: #1d1d1f;
}

.finale__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}

.finale__body {
  width: 45vw;
  color: rgba(0,0,0,.65);
  font-size: max(14px, 1.8vw);
  line-height: 1.65;
}

.finale__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.finale__badge {
  background: rgba(0,0,0,.08);
  color: #1d1d1f;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: rgba(0,0,0,.1);
}

.finale__cta {
  background: #1e3a5f;
  color: #fff;
}

.finale__cta:hover {
  background: #2d5a8a;
  box-shadow: 0 8px 30px rgba(30,58,95,.35);
}

.finale__footer {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
}

.finale__footer-text {
  color: rgba(0,0,0,.4);
  font-size: .8rem;
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-aspect-ratio: 1/1) {
  .slide__content {
    padding: 20px;
  }

  .slide--intro .slide__content {
    padding: 24px;
    overflow: visible;
  }

  .slide__actions {
    position: static;
    align-items: flex-start;
    margin-top: 24px;
  }

  .display {
    font-size: clamp(2rem, 11vw, 3.5rem);
  }

  .subtitle {
    font-size: clamp(10px, 2.5vw, 13px);
  }

  .body-text {
    font-size: clamp(13px, 4vw, 16px);
    max-width: 100%;
  }

  .icon {
    font-size: 32px;
  }

  .badge {
    font-size: 11px;
  }

  .btn {
    font-size: 13px;
    padding: 0 24px;
  }

  .scroll-hint {
    bottom: 24px;
  }

  .testimonial-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .testimonial-controls .btn {
    margin-left: 0;
  }

  .finale__content {
    padding: 20px 20px 80px;
  }

  .finale__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .finale__body {
    width: 100%;
  }

  .finale__actions {
    align-items: flex-start;
  }
}

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .subtitle { animation: none; }
  .scroll-hint__icon { animation: none; }
  .btn { transition: none; }
  .dot { transition: none; }
  .testimonial-item { transition: none; }
}
