/* ManjuLAB services.php — cosmic portal layout */
.cosmic-php-page .cosmic-php-main {
  max-width: 1100px;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 72px;
}

.cosmic-php-page .reveal {
  opacity: 1;
  transform: none;
}

.svc-cosmic-intro {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%;
}

.svc-cosmic-intro .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-light, #67e8f9);
  margin-bottom: 8px;
}

.svc-cosmic-intro h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.75rem;
}

.svc-cosmic-intro p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 0.95rem;
}

.svc-cosmic-hero {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 2.5rem;
  padding: 0 12px;
}

.svc-cosmic-hero .portal--featured {
  width: min(320px, 78vw);
  height: min(320px, 78vw);
}

.svc-cosmic-hero .portal--featured .portal-title {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
}

.svc-cosmic-hero .portal--featured .portal-sub {
  font-size: 0.78rem;
}

.svc-live-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.svc-cosmic-section {
  width: 100%;
  margin-bottom: 2.5rem;
}

.svc-cosmic-section h2 {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-light, #67e8f9);
  margin-bottom: 1.5rem;
}

.cosmic-php-page .portal-grid.svc-portal-row {
  display: flex !important;
  flex-flow: row wrap;
  justify-content: center !important;
  align-items: center !important;
  gap: clamp(28px, 5vw, 56px);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.cosmic-php-page .portal-grid.svc-portal-row .portal {
  width: min(220px, 40vw);
  height: min(220px, 40vw);
}

.cosmic-php-page .portal-grid.svc-portal-row button.portal {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  text-align: inherit;
}

.svc-promo-strip {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.svc-contact-cta {
  text-align: center;
  margin-top: 1.5rem;
}

.svc-contact-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--panel);
  transition: border-color 0.2s, color 0.2s;
}

.svc-contact-cta a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 899px) {
  .cosmic-php-page .portal-grid.svc-portal-row {
    flex-direction: column !important;
  }
}
