/* Main Service Page Styles - advanced, cohesive with existing brand */
:root {
  --ms-radius: 20px;
  --ms-gradient: linear-gradient(45deg, #e93196, #9414b9, #ff7403);
}

.ms-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: clamp(60px, 10vh, 120px) 6% 80px;
  background: radial-gradient(circle at 30% 40%, rgba(233, 49, 150, .55), transparent 55%),
    linear-gradient(110deg, #1e0f26 0%, #331c49 40%, #140a1c 75%);
}

.ms-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .55));
  mix-blend-mode: multiply;
}

.ms-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ms-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(.82) saturate(1.1);
  opacity: .42;
}

.ms-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.ms-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  letter-spacing: .12em;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(4px);
  border-radius: 999px;
}

.ms-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 24px 0 28px;
  background: var(--ms-gradient);
  -webkit-background-clip: text;
  color: transparent;
}

.ms-sub {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.5;
  color: #f3e9f8;
  max-width: 740px;
}

.ms-hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.ms-hero-actions .btn {
  font-size: 1rem;
  padding: 16px 30px;
}

/* Tabbed services section */
.ms-tabs-section {
  position: relative;
  padding: 80px 6% 100px;
  background: #fff;
}

.ms-tabs-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.ms-tabs-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin: 0 0 16px;
}

.ms-tabs-sub {
  font-size: 1.15rem;
  color: #5b5664;
  margin: 0;
}

.ms-tablist {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 46px;
}

.ms-tablist button {
  position: relative;
  font: 600 14px/1 'Inter', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: #f2edf7;
  color: #4c3d58;
  transition: .25s;
}

.ms-tablist button:hover {
  background: #eaddf4;
}

.ms-tablist button[aria-selected='true'] {
  background: var(--ms-gradient);
  color: #fff;
  box-shadow: 0 8px 28px -6px rgba(148, 20, 185, .45);
}

.ms-tabpanel {
  display: none;
  animation: msPanel .55s cubic-bezier(.4, .12, .2, 1);
}

.ms-tabpanel.is-active {
  display: block;
}

@keyframes msPanel {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ms-cards {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ms-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px 26px;
  box-shadow: 0 14px 40px -10px rgba(45, 17, 55, .18);
  display: flex;
  flex-direction: column;
}

.ms-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 18px;
  background: var(--ms-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.ms-card h3 {
  margin: 4px 0 10px;
  font: 600 1.15rem 'Inter', sans-serif;
  letter-spacing: .02em;
}

.ms-card p {
  flex: 1;
  margin: 0 0 18px;
  color: #5a5661;
  font-size: .95rem;
  line-height: 1.55;
}

.ms-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ms-chip {
  background: #faf7ff;
  border: 1px solid #e3d6f1;
  color: #5b4c67;
  font-size: .65rem;
  letter-spacing: .09em;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* Signature packages */
.ms-packages {
  padding: 40px 0 10px;
}

.ms-pack-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.ms-pack {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 50px -12px rgba(50, 18, 70, .22);
}

.ms-pack-inner {
  position: relative;
  padding: 32px 30px 34px;
}

.ms-pack-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--ms-gradient);
  color: #fff;
  font: 600 12px/1 'Inter', sans-serif;
  padding: 8px 14px;
  border-radius: 14px;
  letter-spacing: .09em;
  box-shadow: 0 6px 20px -4px rgba(233, 49, 150, .45);
}

.ms-pack h4 {
  margin: 0 0 16px;
  font: 600 1.3rem 'Inter';
}

.ms-pack p {
  margin: 0 0 20px;
  font-size: .95rem;
  line-height: 1.55;
  color: #4f4a55;
}

.ms-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.ms-price {
  font: 700 1.9rem 'Playfair Display', serif;
  background: var(--ms-gradient);
  -webkit-background-clip: text;
  color: transparent;
}

.ms-price-note {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #6a6174;
}

.ms-pack-actions {
  margin-top: 24px;
  display: flex;
  gap: 14px;
}

/* Technology section */
.ms-tech {
  margin: 90px auto 60px;
  max-width: 1050px;
  background: #fff;
  padding: 70px 60px 80px;
  border-radius: 34px;
  box-shadow: 0 24px 70px -18px rgba(42, 14, 58, .28);
  position: relative;
}

.ms-tech::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 34px;
  padding: 3px;
  background: linear-gradient(110deg, #e93196, #9414b9 55%, #ff7403);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.ms-tech h3 {
  margin: 0 0 24px;
  font: 600 2.2rem 'Playfair Display', serif;
}

.ms-tech-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ms-tech-item {
  background: #faf8fc;
  border: 1px solid #eddeff;
  padding: 20px 20px 24px;
  border-radius: 18px;
  font-size: .9rem;
  line-height: 1.55;
  position: relative;
}

.ms-tech-item h5 {
  margin: 0 0 10px;
  font: 600 .95rem 'Inter';
  letter-spacing: .03em;
}

/* Final CTA */
.ms-cta {
  text-align: center;
  padding: 110px 6% 140px;
  position: relative;
  background: linear-gradient(135deg, #fde0ef 0%, #ffffff 40%, #f7f3ff 100%);
}

.ms-cta h3 {
  font: 600 2.6rem 'Playfair Display', serif;
  margin: 0 0 20px;
}

.ms-cta p {
  max-width: 760px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
  color: #524b58;
}

/* Responsive */
@media (max-width:860px) {
  .ms-title {
    font-size: clamp(2.4rem, 8vw, 3.4rem);
  }

  .ms-tabs-title {
    font-size: 2.3rem;
  }

  .ms-tech {
    padding: 50px 34px 60px;
  }

  .ms-cta {
    padding: 90px 6% 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ms-tabpanel {
    animation: none;
  }
}