:root {
  --accent: #3fa1ff;
  --accent-soft: rgba(63, 161, 255, 0.18);
  --bg: #0f0f10;
  --panel: #111;
}
.services-page { background: #000; overflow: hidden; }

/* ─── Intro section ─── */
.services-intro {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 3rem;
  padding: 140px 2rem 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.services-intro .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: #6d7cff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-family: "Sohne", sans-serif;
}
.intro-title {
  font-family: "Bebas Neue", system-ui, Arial;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.96;
  margin: 0 0 1.5rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.intro-copy-body p {
  margin: 0 0 1rem;
  color: #d1d1d1;
  font-family: "Sohne", sans-serif;
  font-size: 1.08rem;
  line-height: 1.85;
  text-transform: none;
}
.intro-aside {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 2.25rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  border-radius: 28px;
  backdrop-filter: blur(20px);
  align-self: center;
}
.intro-aside .aside-note {
  font-family: "Sohne", sans-serif;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.75;
  text-transform: none;
}
.intro-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.intro-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #d4d5dd;
  font-family: "Sohne", sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.intro-list li::after { content: "→"; opacity: 0.35; }
.intro-list li:last-child { border-bottom: none; }
.aside-footer {
  font-family: "Sohne", sans-serif;
  color: #9ca3b6;
  font-size: 0.88rem;
  line-height: 1.85;
  text-transform: none;
}

/* ─── Horizontal panel container ─── */
.horizontal-container {
  overflow: hidden;
  position: relative;
  width: 100vw;
  height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.panel-wrapper { display: flex; flex-wrap: nowrap; width: auto; height: 100%; }
.panel-card {
  scroll-snap-align: center;
  flex: 0 0 100vw;
  max-width: 100vw;
  width: 100vw;
  display: flex;
  flex-direction: column;
  min-height: 60vh;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  background: #000000;
  transition: border-color 0.5s ease;
}
.panel-heading-bar { padding: 28px 0 0; display: flex; justify-content: center; }
.panel-heading {
  font-family: "Bebas Neue", system-ui, Arial;
  font-size: clamp(1.4rem, 1.8vw, 2.2rem);
  letter-spacing: 0.14em;
  color: #ffffff;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.5s ease;
}
.panel-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 1rem;
  padding: 0 40px 40px;
  flex: 1;
}
.panel-left {
  width: 420px;
  min-width: 340px;
  background: rgba(255,255,255,0.02);
  padding: 32px;
  box-sizing: border-box;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.5s ease;
}
.panel-right {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  position: relative;
}
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  min-height: 52px;
}
.service-row.active {
  background: rgba(255,255,255,0.04);
  border-color: rgba(63,161,255,0.35);
  box-shadow: inset 0 0 0 1px rgba(63,161,255,0.12);
}
.service-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}
.service-row button.label {
  background: transparent;
  border: none;
  color: #fff;
  text-align: left;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
  font-family: "Sohne", sans-serif;
  text-transform: none;
}
.service-row button.toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  font-family: monospace;
}
.service-row.active button.toggle { transform: rotate(45deg); }
.service-desc {
  margin: 0;
  color: #dcdcdc;
  font-size: 0.93rem;
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  padding-left: 2px;
  font-family: "Sohne", sans-serif;
  text-transform: none;
}
.service-row.active .service-desc { max-height: 260px; opacity: 1; }
.left-footer {
  margin-top: 18px;
  font-size: 0.85rem;
  color: #888;
  font-family: "Sohne", sans-serif;
  text-transform: none;
  line-height: 1.7;
}
.panels-pinned { border-color: rgba(63,161,255,0.16) !important; }

/* ─── Service detail panel (right side) ─── */
.svc-detail[hidden] { display: none !important; }
.svc-detail {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.svc-detail--empty {
  align-items: center;
  justify-content: center;
  flex: 1;
}
.svc-detail__prompt {
  font-family: "Sohne", sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  line-height: 2;
}
.svc-detail--active {
  justify-content: center;
}
.svc-detail__service-title {
  font-family: "Sohne", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(63,161,255,0.7);
  margin: 0 0 1.5rem;
}
.svc-detail__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1;
}
.svc-detail__close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.panel-card.has-active .svc-detail__close { display: flex; }
.svc-detail__stat {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.svc-detail__stat-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4.5rem, 8vw, 8rem);
  color: #fff;
  line-height: 0.88;
  letter-spacing: -0.03em;
}
.svc-detail__stat-label {
  font-family: "Sohne", sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.38);
  margin-top: 0.75rem;
  text-transform: none;
  line-height: 1.55;
  max-width: 340px;
}
.svc-detail__delivers-label {
  font-family: "Sohne", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin: 0 0 1.25rem;
}
.svc-detail__delivers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.svc-detail__delivers li {
  font-family: "Sohne", sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  padding-left: 1.6rem;
  position: relative;
  text-transform: none;
  line-height: 1.5;
}
.svc-detail__delivers li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #3fa1ff;
  font-size: 0.82rem;
  top: 0.15em;
}

/* ─── Services CTA ─── */
.services-cta {
  background: #000;
  padding: 7rem 2rem 9rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.services-cta-inner { max-width: 760px; margin: 0 auto; }
.services-cta-eyebrow {
  font-family: "Sohne", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.services-cta-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.98;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.services-cta-copy {
  font-family: "Sohne", sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #d1d1d1;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  text-transform: none;
}
.services-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; }
.services-stats-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.services-stat-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  color: #fff;
  margin: 0;
  line-height: 1;
  text-transform: none;
}
.services-stat-label {
  font-family: "Sohne", sans-serif;
  font-size: 0.78rem;
  color: #6b6b6b;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0.4rem 0 0;
}

/* ─── Responsive ─── */
@media screen and (max-width: 980px) {
  .services-intro { grid-template-columns: 1fr; min-height: auto; padding-top: 120px; padding-bottom: 3rem; }
  .intro-title { font-size: clamp(3rem, 9vw, 4.5rem); }
  .intro-aside { padding: 1.75rem; }
}
@media screen and (max-width: 768px) {
  .horizontal-container { height: auto !important; overflow: visible !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
  .panel-wrapper { flex-direction: column !important; height: auto !important; }
  .panel-card { flex: 0 0 auto !important; width: 100% !important; max-width: 100% !important; min-height: auto !important; border-radius: 0 !important; border-left: none !important; border-right: none !important; margin-bottom: 2px; }
  .panel-inner { flex-direction: column; padding: 0 1.25rem 1.5rem; gap: 1rem; }
  .panel-left { width: 100% !important; min-width: 0 !important; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; }
  .panel-right { padding: 1.25rem 0; display: none; }
  .svc-detail__stat-num { font-size: clamp(3.5rem, 12vw, 5rem); }
  .services-stats-row { gap: 2.5rem; }
}
@media screen and (max-width: 640px) {
  .services-intro { padding-left: 1.25rem; padding-right: 1.25rem; }
  .intro-title { font-size: clamp(2.8rem, 10vw, 3.6rem); }
  .services-cta { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ─── Bottom sheet (mobile only) ─── */
.svc-sheet-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 200;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.svc-sheet {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 201;
  background: #141414;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px 20px 0 0;
  padding: 0 1.5rem 3rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media screen and (max-width: 768px) {
  .svc-sheet-backdrop { display: block; }
  .svc-sheet-backdrop.open { opacity: 1; pointer-events: auto; }
  .svc-sheet { display: block; }
  .svc-sheet.open { transform: translateY(0); }
  .svc-sheet__handle-wrap { padding: 1rem 0 0.25rem; display: flex; justify-content: center; }
  .svc-sheet__handle { width: 36px; height: 4px; background: rgba(255,255,255,0.18); border-radius: 2px; }
  .svc-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0 1.5rem;
  }
  .svc-sheet__title {
    font-family: "Sohne", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(63,161,255,0.8);
    margin: 0;
  }
  .svc-sheet__close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
  }
  .svc-sheet__stat {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .svc-sheet__stat-num {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(3.5rem, 15vw, 5rem);
    color: #fff;
    line-height: 0.88;
    letter-spacing: -0.03em;
  }
  .svc-sheet__stat-label {
    font-family: "Sohne", sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.38);
    margin-top: 0.6rem;
    text-transform: none;
    line-height: 1.55;
  }
  .svc-sheet__delivers-label {
    font-family: "Sohne", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    margin: 0 0 1rem;
  }
  .svc-sheet__delivers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }
  .svc-sheet__delivers li {
    font-family: "Sohne", sans-serif;
    font-size: 0.97rem;
    color: rgba(255,255,255,0.72);
    padding-left: 1.6rem;
    position: relative;
    text-transform: none;
    line-height: 1.5;
  }
  .svc-sheet__delivers li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3fa1ff;
    font-size: 0.82rem;
    top: 0.15em;
  }
}
