/* Avorino — Services Page (scroll-locked showcase + process timeline) */

/* ── Showcase Container ── */
.sv-showcase {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background: #111111;
  color: #f0ede8;
}

/* ── Three.js Canvas (right half, desktop only) ── */
.sv-canvas-wrap {
  position: absolute;
  top: 0;
  right: 0;
  left: auto !important;
  width: 50%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.sv-canvas-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(to right, #111111, transparent);
  z-index: 2;
  pointer-events: none;
}
.sv-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Showcase Content Grid ── */
.sv-showcase-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 96px;
  align-items: center;
}

/* ── Left Column: Service Info ── */
.sv-showcase-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  min-height: 420px;
}

.sv-service-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.sv-service-panel.is-active {
  opacity: 1;
  pointer-events: auto;
}

.sv-service-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c9a96e;
  opacity: 0.8;
}

.sv-service-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #f0ede8;
}

.sv-service-desc {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #f0ede8;
  opacity: 0.55;
  max-width: 480px;
}

.sv-service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.sv-service-feature {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  color: #f0ede8;
  opacity: 0.7;
  padding-left: 20px;
  position: relative;
}

.sv-service-feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9a96e;
  opacity: 0.6;
}

.sv-service-cta {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9a96e;
  text-decoration: none;
  margin-top: 16px;
  transition: gap 0.3s ease;
}

.sv-service-cta:hover {
  gap: 14px;
}

/* ── Counter (large faint number) ── */
.sv-counter {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 120px;
  font-weight: 400;
  line-height: 1;
  color: #f0ede8;
  opacity: 0.08;
  position: absolute;
  bottom: 80px;
  left: 80px;
  z-index: 2;
}

/* ── Progress Bar (bottom) ── */
.sv-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  z-index: 10;
  pointer-events: none;
}

.sv-bar-track {
  position: absolute;
  top: 50%;
  left: 80px;
  right: 80px;
  height: 1px;
  background: rgba(240, 237, 232, 0.06);
  transform: translateY(-50%);
}

.sv-bar-fill {
  position: absolute;
  top: 50%;
  left: 80px;
  right: 80px;
  height: 1px;
  background: rgba(201, 169, 110, 0.5);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
}

.sv-bar-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 237, 232, 0.15);
  background: transparent;
  z-index: 1;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.sv-bar-dot.is-active {
  background: #c9a96e;
  border-color: #c9a96e;
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.12);
}

/* ── Navigation Arrows ── */
.sv-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.sv-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(240, 237, 232, 0.15);
  background: transparent;
  color: #f0ede8;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  padding: 0;
  line-height: 1;
}

.sv-arrow:hover {
  border-color: #c9a96e;
  color: #c9a96e;
  transform: scale(1.08);
}

/* ═══════════════════════════════════════════════
   PROCESS TIMELINE
   ═══════════════════════════════════════════════ */

.sv-process {
  position: relative;
  padding: 120px 80px;
  background: #f0ede8;
}

.sv-process-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #111111;
  opacity: 0.4;
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.sv-process-label-line {
  flex-grow: 1;
  height: 1px;
  background: rgba(17, 17, 17, 0.15);
}

.sv-process-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #111111;
  margin-bottom: 96px;
}

.sv-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.sv-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(201, 169, 110, 0.3);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
}

.sv-timeline-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 80px;
  position: relative;
}

.sv-timeline-step:last-child {
  margin-bottom: 0;
}

.sv-timeline-step:nth-child(odd) {
  flex-direction: row;
  justify-content: flex-start;
}

.sv-timeline-step:nth-child(even) {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.sv-timeline-marker {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #c9a96e;
  border: 3px solid #f0ede8;
  z-index: 2;
  flex-shrink: 0;
}

.sv-timeline-card {
  width: calc(50% - 40px);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 40px;
  border-top: 2px solid rgba(201, 169, 110, 0.3);
}

.sv-timeline-num {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 16px;
  color: #111111;
}

.sv-timeline-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 14px;
  color: #111111;
}

.sv-timeline-desc {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.55;
  color: #111111;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 991px) {
  .sv-canvas-wrap {
    display: none !important;
  }
  .sv-showcase-content {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 40px;
    height: 100vh;
    align-content: center;
  }
  .sv-counter {
    font-size: 80px;
    bottom: 60px;
    left: 40px;
  }
  .sv-progress-bar {
    padding: 0 40px;
  }
  .sv-bar-track,
  .sv-bar-fill {
    left: 40px;
    right: 40px;
  }
  .sv-process {
    padding: 80px 40px;
  }
  .sv-timeline-line {
    left: 24px;
  }
  .sv-timeline-step,
  .sv-timeline-step:nth-child(odd),
  .sv-timeline-step:nth-child(even) {
    flex-direction: row !important;
  }
  .sv-timeline-marker {
    left: 24px;
  }
  .sv-timeline-card {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
}

@media (max-width: 767px) {
  .sv-showcase-content {
    padding: 0 24px;
    gap: 32px;
  }
  .sv-showcase-info {
    min-height: 360px;
  }
  .sv-service-title {
    font-size: clamp(28px, 7vw, 40px);
  }
  .sv-counter {
    font-size: 56px;
    bottom: 40px;
    left: 24px;
  }
  .sv-progress-bar {
    padding: 0 24px;
  }
  .sv-bar-track,
  .sv-bar-fill {
    left: 24px;
    right: 24px;
  }
  .sv-process {
    padding: 64px 24px;
  }
  .sv-process-heading {
    margin-bottom: 64px;
  }
  .sv-timeline-card {
    padding: 28px;
    width: calc(100% - 50px);
    margin-left: 50px;
  }
  .sv-timeline-step {
    margin-bottom: 48px;
  }
  .sv-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

@media (max-width: 479px) {
  .sv-showcase-content {
    padding: 0 16px;
  }
  .sv-showcase-info {
    min-height: 320px;
  }
  .sv-service-title {
    font-size: clamp(24px, 8vw, 32px);
  }
  .sv-counter {
    font-size: 40px;
    bottom: 32px;
    left: 16px;
  }
  .sv-progress-bar {
    padding: 0 16px;
  }
  .sv-bar-track,
  .sv-bar-fill {
    left: 16px;
    right: 16px;
  }
  .sv-process {
    padding: 48px 16px;
  }
  .sv-process-heading {
    margin-bottom: 48px;
  }
  .sv-timeline-card {
    padding: 20px;
    width: calc(100% - 44px);
    margin-left: 44px;
  }
  .sv-timeline-marker {
    left: 16px;
    width: 20px;
    height: 20px;
  }
  .sv-timeline-step {
    margin-bottom: 36px;
  }
}
