/* =========================================
   CRAFTY MAMMIES — Services Page
   ========================================= */

/* ── HERO ── */
.services-hero {
  background: var(--black);
  padding: 80px 80px 56px;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: 'CM';
  position: absolute;
  font-family: var(--serif);
  font-size: 500px;
  font-weight: 600;
  color: rgba(234, 114, 164, 0.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  letter-spacing: -20px;
  line-height: 1;
}

.services-hero-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.services-hero-content .section-eyebrow { color: var(--pink); }

.services-hero-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
  margin: 12px 0 20px;
}

.services-hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  font-weight: 300;
}

.services-nav-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.service-pill {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.service-pill:hover {
  border-color: var(--pink);
  color: var(--pink);
}

/* ── SERVICE DETAIL SECTIONS ── */
.service-detail {
  padding: var(--space-2xl) 80px;
  background: var(--white);
}

.service-detail--alt {
  background: var(--grey-light);
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.service-detail-img {
  position: relative;
}

.service-detail-num {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 600;
  color: var(--pink-light);
  line-height: 1;
  margin-bottom: -16px;
}

.service-detail-title {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 20px;
}

.service-detail-intro {
  font-size: 15.5px;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 28px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--black);
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
}

/* ── COMPARISON TABLE ── */
.comparison-section {
  padding: var(--space-2xl) 80px;
  background: var(--pink-pale);
}

.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 48px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}

.comparison-table thead tr {
  background: var(--pink);
}

.comparison-table thead th {
  padding: 16px 24px;
  text-align: left;
  color: var(--white);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.comparison-table tbody tr {
  border-bottom: 1px solid #f0ebe8;
  transition: background var(--transition);
}

.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:hover { background: var(--pink-pale); }

.comparison-table tbody td {
  padding: 16px 24px;
  color: var(--black);
  vertical-align: middle;
}

.comparison-table tbody td:first-child {
  font-family: var(--serif);
  font-size: 16px;
}

.comparison-note {
  text-align: center;
  font-size: 14px;
  color: var(--grey);
  margin-top: 28px;
}

.inline-link {
  color: var(--pink);
  font-weight: 500;
  text-decoration: none;
}

.inline-link:hover {
  color: var(--pink-dark);
  text-decoration: underline;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-hero { padding: 64px 48px 48px; }

  .service-detail,
  .comparison-section { padding: var(--space-xl) 48px; }

  .service-detail-inner { gap: 48px; }
}

@media (max-width: 768px) {
  .services-hero { padding: 48px 24px 36px; }

  .service-detail,
  .comparison-section { padding: 56px 20px; }

  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Always image on top for mobile */
  .service-detail--alt .service-detail-inner {
    direction: ltr;
  }

  .service-detail--alt .service-detail-content { order: 2; }
  .service-detail--alt .service-detail-img { order: 1; }

  .service-detail-num { font-size: 56px; }

  .comparison-table thead th,
  .comparison-table tbody td { padding: 12px 16px; }
}
