/* ============================================================
   Gemisa Studio V3 — Services Section
   ============================================================ */

.services { padding-top: calc(var(--section-gap) + 40px); position: relative; z-index: 1; }
.services .container { position: relative; }
.services .container::before {
  content: '';
  position: absolute;
  top: calc(-1 * var(--section-gap) + 34px);
  bottom: calc(-1 * var(--section-gap) + 20px);
  left: 0;
  right: 0;
  background: radial-gradient(ellipse at 55% 40%, #ffffff 0%, #faf9f7 50%, #f2f1ee 100%);
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, white 5%, white 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, white 3%, white 97%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0%, white 5%, white 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, white 3%, white 97%, transparent 100%);
  mask-composite: intersect;
  z-index: -1;
  pointer-events: none;
}

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.services-head-left { flex-shrink: 0; }
.services-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  margin: 0;
}
.services-head-desc {
  max-width: 380px;
  color: var(--ink-muted);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 4px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.service-card:hover {
  box-shadow: 0 24px 60px -12px rgba(26,26,26,0.10);
  transform: translateY(-4px);
}
.service-card-visual {
  flex: 1;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 220px;
  border-bottom: 1px solid var(--border);
}
.service-card-body { padding: 28px 32px 32px; }
.service-card-body h3 { font-size: 1.15rem; font-weight: 600; color: var(--teal); margin: 0 0 10px; }
.service-card-body p { font-size: 0.95rem; color: var(--ink-muted); line-height: 1.6; margin: 0; }

/* Browser mockup (service card visual) */
.svc-browser {
  width: 100%;
  max-width: 280px;
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 8px 24px -4px rgba(26,26,26,0.08);
}
.svc-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f0efec;
  border-bottom: 1px solid var(--border);
}
.svc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-dark); }
.svc-url-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--border); margin-left: 6px; }
.svc-browser-body { padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.svc-wire { border-radius: 4px; background: var(--border); }
.svc-wire--hero { height: 56px; background: linear-gradient(135deg, rgba(75,142,141,0.15), rgba(75,142,141,0.05)); border: 1px solid rgba(75,142,141,0.2); }
.svc-wire-row { display: flex; gap: 8px; }
.svc-wire--block { flex: 1; height: 32px; }
.svc-wire--text { height: 8px; }
.svc-wire--short { width: 60%; }

/* Server rack (service card visual) */
.svc-server { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.svc-server-rack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  padding: 16px 20px;
  width: 200px;
  box-shadow: 0 4px 16px -4px rgba(26,26,26,0.07);
}
.svc-rack-unit { display: flex; align-items: center; gap: 10px; height: 28px; }
.svc-rack-led { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.svc-rack-led--on { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.svc-rack-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--border); }
.svc-uptime { display: flex; align-items: center; gap: 8px; }
.svc-uptime-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.svc-uptime-label { font-size: 0.8rem; font-weight: 500; color: var(--ink-muted); }

/* Checklist (service card visual) */
.svc-checklist { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 260px; }
.svc-check {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
}
.svc-check-icon { width: 20px; text-align: center; font-weight: 600; flex-shrink: 0; }
.svc-check-text { color: var(--ink); }
.svc-check--done .svc-check-icon { color: var(--teal); }
.svc-check--done .svc-check-text { color: var(--ink-muted); text-decoration: line-through; text-decoration-color: var(--border-dark); }
.svc-check--pending .svc-check-icon { color: var(--border-dark); }

/* Bar chart (service card visual) */
.svc-chart { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 220px; }
.svc-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  width: 100%;
  padding: 0 4px;
  border-bottom: 1px solid var(--border);
}
.svc-bar { flex: 1; height: var(--h); background: var(--teal); border-radius: 4px 4px 0 0; opacity: 0.75; }
.svc-bar:nth-child(4) { opacity: 1; }
.svc-chart-label { font-size: 0.78rem; color: var(--ink-muted); font-weight: 500; }
