/* ============================================
   NISTERN — Services Overview — Matches service.css aesthetic
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HERO
   ============================================ */
.services-hero {
  background: #050508;
  min-height: 80vh;
  padding-top: var(--navbar-height);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.services-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orb-float 8s ease-in-out infinite alternate;
}
.services-hero__orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(198,241,53,0.1);
  top: -150px;
  left: -150px;
  animation-duration: 10s;
}
.services-hero__orb--2 {
  width: 350px;
  height: 350px;
  background: rgba(100,150,255,0.08);
  bottom: -50px;
  right: 100px;
  animation-duration: 12s;
  animation-delay: 2s;
}
.services-hero__orb--3 {
  width: 250px;
  height: 250px;
  background: rgba(200,100,255,0.06);
  top: 20%;
  right: 25%;
  animation-duration: 8s;
  animation-delay: 4s;
}
@keyframes orb-float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.08); }
}

.services-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.services-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-9) 0;
}

.services-hero .container {
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.services-hero__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.services-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-green);
}

.services-hero__tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-green);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(198,241,53,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(198,241,53,0); }
}

.services-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.services-hero__headline em {
  font-style: normal;
  color: var(--color-green);
}

.services-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.45);
  line-height: var(--leading-loose);
  max-width: 520px;
}

/* Right glass card — service index */
.services-hero__card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: var(--space-5);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.services-hero__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.services-hero__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(198,241,53,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.services-hero__card-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.services-hero__card-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.services-hero__card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  border: 0.5px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.services-hero__card-item:hover {
  background: rgba(198,241,53,0.08);
  border-color: rgba(198,241,53,0.2);
}

.services-hero__card-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.services-hero__card-item-num {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: var(--weight-bold);
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
  width: 20px;
}

.services-hero__card-item-name {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: var(--weight-bold);
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.01em;
}

.services-hero__card-item:hover .services-hero__card-item-name {
  color: var(--color-green);
}

.services-hero__card-item-arrow {
  font-size: 12px;
  color: rgba(198,241,53,0.3);
  transition: transform 0.2s, color 0.2s;
}

.services-hero__card-item:hover .services-hero__card-item-arrow {
  color: var(--color-green);
  transform: translateX(3px);
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid-section {
  background: #050508;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  border-top: 0.5px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.services-grid-section::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.services-grid-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
  position: relative;
  z-index: 1;
}

.services-grid-headline {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.services-grid-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.4);
  line-height: var(--leading-loose);
  max-width: 560px;
  margin-top: var(--space-2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}

.service-overview-card {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.service-overview-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(198,241,53,0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-overview-card:hover {
  transform: translateY(-8px);
  border-color: rgba(198,241,53,0.3);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 0.5px rgba(198,241,53,0.15);
}

.service-overview-card:hover::before {
  opacity: 1;
}

.service-overview-card:hover .service-overview-card__arrow {
  opacity: 1;
  transform: translate(2px, -2px);
  color: var(--color-green);
}

.service-overview-card:hover .service-overview-card__num {
  color: var(--color-green);
}

.service-overview-card__num {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: var(--weight-bold);
  color: rgba(255,255,255,0.2);
  letter-spacing: var(--tracking-wider);
  position: relative;
  z-index: 1;
  transition: color 0.25s;
}

.service-overview-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  flex: 1;
}

.service-overview-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  line-height: var(--leading-loose);
  position: relative;
  z-index: 1;
}

.service-overview-card__tag {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: var(--weight-bold);
  color: var(--color-green);
  background: rgba(198,241,53,0.08);
  border: 0.5px solid rgba(198,241,53,0.2);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
  position: relative;
  z-index: 1;
}

.service-overview-card__arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 16px;
  color: rgba(198,241,53,0.25);
  opacity: 0;
  transition: all 0.25s ease;
  z-index: 1;
}

/* ============================================
   CTA
   ============================================ */
.services-cta {
  background: #050508;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  border-top: 0.5px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-green), transparent);
  animation: border-beam 3s linear infinite;
}
@keyframes border-beam {
  from { left: -60%; }
  to { left: 110%; }
}

.services-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

.services-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.services-cta__headline--accent {
  color: var(--color-green);
}

.services-cta__sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.4);
  line-height: var(--leading-loose);
  max-width: 480px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
  .services-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .services-hero__card {
    transform: none;
    max-width: 100%;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-hero__headline {
    font-size: var(--text-5xl);
  }
  .services-grid-headline {
    font-size: var(--text-4xl);
  }
  .services-for__grid {
    grid-template-columns: 1fr;
  }
  .tcard {
    flex: 0 0 calc(50% - 8px);
  }
}

@media (max-width: 767px) {
  .services-hero {
    min-height: auto;
    padding-top: calc(60px + var(--space-5));
    padding-bottom: var(--space-7);
  }
  .services-hero__headline {
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.0;
  }
  .services-hero__actions {
    flex-direction: column;
    gap: var(--space-2);
  }
  .services-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-grid-headline {
    font-size: clamp(24px, 6vw, 32px);
  }
  .services-grid-section {
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
  }
  .services-problem {
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
  }
  .services-problem__inner {
    max-width: 100%;
  }
  .services-problem__headline {
    font-size: clamp(22px, 5vw, 28px);
    line-height: 1.1;
  }
  .services-for {
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
  }
  .services-for__headline {
    font-size: clamp(22px, 5vw, 30px);
  }
  .services-cta__headline {
    font-size: clamp(24px, 6vw, 36px);
  }
  .services-cta__actions {
    flex-direction: column;
    gap: var(--space-2);
    align-items: stretch;
  }
  .services-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .tcard {
    flex: 0 0 100%;
  }
  .testimonials__header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonials__headline {
    font-size: clamp(22px, 5vw, 28px);
  }
  .srow__name {
    font-size: clamp(18px, 5vw, 24px);
  }
  .srow__tag {
    display: none;
  }
  .srow__num {
    width: 40px;
    padding: var(--space-4) var(--space-3);
  }
}

/* HERO ACTIONS */
.services-hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

/* PROBLEM SECTION */
.services-problem {
  background: #050508;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}
.services-problem__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 760px;
}
.services-problem__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.services-problem__headline {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
.services-problem__body {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.5);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-3);
}
.services-problem__highlight {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
  padding: var(--space-5);
  background: rgba(198,241,53,0.05);
  border: 0.5px solid rgba(198,241,53,0.2);
  border-radius: var(--radius-lg);
  margin-top: var(--space-5);
}

/* SERVICES GRID SUB */
.services-grid-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.4);
  line-height: var(--leading-loose);
  max-width: 560px;
  margin-top: var(--space-2);
}

/* SERVICE CARD FOOTER */
.service-overview-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.service-overview-card__stat {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: var(--weight-bold);
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
  text-align: right;
}
.service-overview-card {
  min-height: 280px;
}

/* WHO THIS IS FOR */
.services-for {
  background: #050508;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}
.services-for__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}
.services-for__headline {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
.services-for__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.services-for__card {
  background: rgba(255,255,255,0.03);
  padding: var(--space-7) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: background var(--transition-base);
}
.services-for__card:hover {
  background: rgba(198,241,53,0.06);
}
.services-for__card-icon {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  color: var(--color-green);
  line-height: 1;
}
.services-for__card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
}
.services-for__card-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: var(--leading-loose);
}

/* CTA ACTIONS */
.services-cta__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

/* TESTIMONIAL WRAP */
.sv-testimonial-wrap {
  background: #050508;
  border-top: 0.5px solid rgba(255,255,255,0.06);
}


/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: #050508;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  overflow: hidden;
}
.testimonials__header {
  margin-bottom: var(--space-6);
}
.testimonials__header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-5);
  margin-top: var(--space-3);
}
.testimonials__headline {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
.testimonials__nav {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
  padding-bottom: var(--space-1);
}
.testimonials__nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
  line-height: 1;
}
.testimonials__nav-btn:hover {
  border-color: var(--color-green);
  color: var(--color-green);
  background: rgba(198,241,53,0.06);
}
.testimonials__track-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.testimonials__track {
  display: flex;
  gap: 16px;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
}
.tcard {
  flex: 0 0 calc(33.333% - 11px);
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-base);
  box-sizing: border-box;
}
.tcard::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  color: rgba(198,241,53,0.07);
  font-weight: 900;
  pointer-events: none;
  user-select: none;
}
.tcard:hover {
  border-color: rgba(198,241,53,0.18);
}
.tcard__quote {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  flex: 1;
  position: relative;
  z-index: 1;
}
.tcard__footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 0.5px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}
.tcard__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(198,241,53,0.1);
  border: 1px solid rgba(198,241,53,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: var(--weight-bold);
  color: var(--color-green);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.tcard__info {
  flex: 1;
  min-width: 0;
}
.tcard__name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tcard__role {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.tcard__service {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: var(--weight-bold);
  color: var(--color-green);
  background: rgba(198,241,53,0.08);
  border: 0.5px solid rgba(198,241,53,0.2);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
}
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-5);
}
.testimonials__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  padding: 0;
  outline: none;
}
.testimonials__dot.active {
  background: var(--color-green);
  width: 24px;
  border-radius: 3px;
}
@media (max-width: 1023px) {
  .tcard { flex: 0 0 calc(50% - 8px); }
  .testimonials__headline { font-size: var(--text-4xl); }
}
@media (max-width: 767px) {
  .tcard { flex: 0 0 100%; }
  .testimonials__headline { font-size: var(--text-3xl); }
  .testimonials__header-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .services-hero .container,
  .services-grid-section .container,
  .services-problem .container,
  .services-for .container,
  .services-cta .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
