/* =========================
   SERVICES PAGE - FULL PREMIUM
   File: assets/services.css
========================= */

/* =========================
   PAGE BASE
========================= */
.page-main {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.container.narrow {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.section {
  position: relative;
  padding: 100px 20px;
  z-index: 2;
}

.section-tight {
  padding-top: 10px;
  padding-bottom: 40px;
}

.section-dark {
  position: relative;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.06), transparent 35%),
    radial-gradient(circle at 85% 75%, rgba(249, 115, 22, 0.05), transparent 35%);
  pointer-events: none;
  z-index: 0;
}

.section-cta {
  padding-top: 30px;
  padding-bottom: 110px;
}

/* =========================
   COMMON TYPOGRAPHY
========================= */
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  background: rgba(245, 158, 11, 0.08);
  color: #f59e0b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.06);
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 46px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.section-heading h2 {
  margin: 18px 0 16px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.section-heading p {
  margin: 0 auto;
  max-width: 760px;
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.85;
}

/* =========================
   BUTTONS
========================= */
.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  justify-content: center;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    color 0.28s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  will-change: transform;
}

.btn i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #0b1120;
  box-shadow:
    0 14px 30px rgba(245, 158, 11, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.btn-primary:hover {
  box-shadow:
    0 20px 42px rgba(245, 158, 11, 0.3),
    0 0 28px rgba(245, 158, 11, 0.14);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.72);
  color: #e5edf8;
  border-color: rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: rgba(245, 158, 11, 0.26);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(245, 158, 11, 0.06);
}

/* =========================
   HERO
========================= */
.page-hero.services-hero {
  position: relative;
  padding: 155px 20px 95px;
  overflow: hidden;
}

.page-hero.services-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -110px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12), transparent 70%);
  pointer-events: none;
}

.page-hero.services-hero::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.1), transparent 70%);
  pointer-events: none;
}

.page-hero.services-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero.services-hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.page-hero.services-hero p {
  max-width: 820px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.9;
}

/* =========================
   VALUE STRIP
========================= */
.value-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(8, 17, 31, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.value-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.06), transparent 35%, rgba(249, 115, 22, 0.03));
  pointer-events: none;
}

.value-item {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.08);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.22);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.value-item i {
  width: 22px;
  height: 22px;
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.value-item span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cbd5e1;
}

/* =========================
   SERVICES GRID
========================= */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid-premium {
  position: relative;
  z-index: 2;
}

.service-card.premium {
  position: relative;
  padding: 28px 26px 24px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(8, 17, 31, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card.premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(245, 158, 11, 0.08), transparent 40%, rgba(249, 115, 22, 0.03));
  pointer-events: none;
}

.service-card.premium::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12), transparent 70%);
  opacity: 0.8;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}

.service-card.premium:hover {
  transform: translateY(-10px);
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(245, 158, 11, 0.07);
}

.service-card.premium:hover::after {
  transform: scale(1.12);
  opacity: 1;
}

.service-icon {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.16);
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.service-icon i {
  width: 24px;
  height: 24px;
  color: #f59e0b;
}

.service-badge {
  position: absolute;
  top: 24px;
  right: 22px;
  z-index: 2;
  font-size: 0.82rem;
  font-weight: 800;
  color: rgba(245, 158, 11, 0.82);
  letter-spacing: 0.08em;
}

.service-card.premium h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  font-size: 1.32rem;
  line-height: 1.28;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.service-card.premium p {
  position: relative;
  z-index: 2;
  margin: 0 0 18px;
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.8;
}

.service-points {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.service-points li {
  position: relative;
  padding-left: 22px;
  color: #dbe5f3;
  font-size: 0.92rem;
  line-height: 1.55;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.22);
  transform: translateY(-50%);
}

/* =========================
   BENEFITS
========================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  position: relative;
  z-index: 2;
}

.benefit-card {
  position: relative;
  padding: 26px 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(8, 17, 31, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.11);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.05), transparent 50%);
  pointer-events: none;
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.24);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(245, 158, 11, 0.05);
}

.benefit-card i {
  width: 26px;
  height: 26px;
  color: #f59e0b;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.benefit-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
}

.benefit-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* =========================
   PROCESS
========================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  position: relative;
  z-index: 2;
}

.process-step {
  position: relative;
  padding: 28px 22px 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(8, 17, 31, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

.process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(245, 158, 11, 0.06), transparent 45%);
  pointer-events: none;
}

.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.24);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(245, 158, 11, 0.05);
}

.process-number {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.16);
  color: #f59e0b;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.process-step h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
}

.process-step p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #cbd5e1;
}

/* =========================
   CTA PANEL
========================= */
.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 34px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(8, 17, 31, 0.98));
  border: 1px solid rgba(245, 158, 11, 0.16);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14), transparent 70%);
  pointer-events: none;
}

.cta-panel::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-content,
.cta-actions {
  position: relative;
  z-index: 2;
}

.cta-content {
  flex: 1 1 620px;
}

.cta-content h2 {
  margin: 18px 0 14px;
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.cta-content p {
  margin: 0;
  max-width: 720px;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.85;
}

.cta-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

/* =========================
   REVEAL SUPPORT
   (radi sa tvojim updated JS .active)
========================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1199px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 991px) {
  .section {
    padding: 80px 20px;
  }

  .section-cta {
    padding-top: 20px;
    padding-bottom: 90px;
  }

  .page-hero.services-hero {
    padding: 135px 20px 75px;
  }

  .page-hero.services-hero h1 {
    font-size: clamp(2rem, 7vw, 3.8rem);
  }

  .page-hero.services-hero p,
  .section-heading p,
  .cta-content p {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .value-strip {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .service-card.premium {
    padding: 26px 22px 22px;
  }

  .cta-panel {
    padding: 30px 26px;
    border-radius: 24px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 65px 16px;
  }

  .section-tight {
    padding-top: 0;
    padding-bottom: 28px;
  }

  .section-cta {
    padding-top: 10px;
    padding-bottom: 70px;
  }

  .page-hero.services-hero {
    padding: 115px 16px 55px;
  }

  .page-hero.services-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.8rem);
    margin: 16px 0 16px;
    line-height: 1.12;
  }

  .page-hero.services-hero p {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    border-radius: 14px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: clamp(1.6rem, 7vw, 2.3rem);
    margin: 14px 0 12px;
  }

  .section-heading p {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .card-grid.cols-3,
  .benefits-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .value-strip {
    gap: 14px;
    border-radius: 22px;
  }

  .value-item {
    padding: 16px;
    border-radius: 18px;
  }

  .service-card.premium,
  .benefit-card,
  .process-step {
    border-radius: 22px;
  }

  .service-card.premium {
    padding: 22px 18px 20px;
  }

  .service-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    margin-bottom: 16px;
  }

  .service-icon i {
    width: 22px;
    height: 22px;
  }

  .service-badge {
    top: 20px;
    right: 18px;
    font-size: 0.76rem;
  }

  .service-card.premium h3 {
    font-size: 1.1rem;
  }

  .service-card.premium p,
  .service-points li,
  .benefit-card p,
  .process-step p {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .benefit-card,
  .process-step {
    padding: 22px 18px;
  }

  .benefit-card h3,
  .process-step h3 {
    font-size: 1rem;
  }

  .process-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 14px;
  }

  .cta-panel {
    gap: 22px;
    padding: 24px 18px;
    border-radius: 24px;
  }

  .cta-content h2 {
    font-size: clamp(1.45rem, 7vw, 2.1rem);
    margin: 14px 0 12px;
  }

  .cta-content p {
    font-size: 0.94rem;
    line-height: 1.75;
  }
}

@media (max-width: 480px) {
  .page-hero.services-hero {
    padding: 105px 14px 46px;
  }

  .section {
    padding: 55px 14px;
  }

  .section-cta {
    padding-bottom: 55px;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.7rem;
    padding: 7px 13px;
    letter-spacing: 0.13em;
  }

  .page-hero.services-hero h1 {
    font-size: 1.65rem;
  }

  .page-hero.services-hero p,
  .section-heading p,
  .cta-content p {
    font-size: 0.9rem;
  }

  .service-card.premium {
    padding: 20px 16px 18px;
  }

  .service-card.premium h3 {
    font-size: 1rem;
  }

  .service-points {
    gap: 8px;
  }

  .service-points li {
    padding-left: 18px;
  }

  .cta-panel {
    padding: 20px 16px;
    border-radius: 20px;
  }
}