/* DayTronX — services.css
   Alternating-row layout with strong visual rhythm.
   - Odd rows (01, 03, 05): icon+heading LEFT, content RIGHT, white bg,
     watermark on the RIGHT (opposite side from icon).
   - Even rows (02, 04): content LEFT, icon+heading RIGHT, light-gray bg,
     watermark on the LEFT.
   - Service 6 (.svc-section--dark): full-bleed #424B54 finale with white
     copy, teal-bordered closing blockquote, and a teal CTA. */

.svc-list {
  background: var(--dt-white);
}

.svc-section {
  position: relative;
  padding: 120px 40px;
  background: var(--dt-white);
  border-left: 4px solid var(--dt-teal);
  overflow: hidden;
}

/* === ALTERNATION === */
.svc-section:nth-of-type(even) {
  background: var(--dt-gray-bg);
}

.svc-section-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

/* === Huge watermark number ===
   Sits behind content on the OPPOSITE side from the icon.
   opacity: 0.06 guarantees it can never obscure readable text. */
.svc-watermark {
  position: absolute;
  top: -64px;
  right: -24px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 360px;
  color: var(--dt-teal);
  line-height: 0.85;
  letter-spacing: -14px;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.svc-section:nth-of-type(even) .svc-watermark {
  right: auto;
  left: -24px;
}

/* === LAYOUT GRID === */
.svc-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 100px;
  align-items: start;
}
.svc-section:nth-of-type(even) .svc-grid {
  grid-template-columns: 1fr 360px;
}
.svc-section:nth-of-type(even) .svc-side {
  grid-column: 2;
  grid-row: 1;
}
.svc-section:nth-of-type(even) .svc-content {
  grid-column: 1;
  grid-row: 1;
}

/* Belt-and-suspenders: every text container is explicitly positioned
   above the watermark, no matter what containing block CSS picks. */
.svc-side,
.svc-content,
.svc-headline,
.svc-subheading,
.svc-intro,
.svc-content-label,
.svc-bullets,
.svc-quote,
.svc-cta-inline {
  position: relative;
  z-index: 1;
}

/* === SIDE COLUMN: icon + headline === */
.svc-icon-box {
  width: 88px;
  height: 88px;
  background: var(--dt-teal);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 12px 28px rgba(77, 191, 200, 0.32);
  position: relative;
  z-index: 1;
}
.svc-icon-box i {
  font-size: 44px;
  color: var(--dt-white);
}
.svc-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 34px;
  color: var(--dt-dark);
  letter-spacing: -1px;
  line-height: 1.15;
}
.svc-subheading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin-top: 12px;
}

/* === CONTENT COLUMN === */
.svc-content {
  font-family: var(--font-body);
}
.svc-intro {
  font-size: 17px;
  color: var(--dt-text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.svc-intro:last-child {
  margin-bottom: 0;
}
.svc-content-label {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: var(--dt-dark);
  margin: 6px 0 18px;
}

/* Teal-dash bullets */
.svc-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}
.svc-bullets li {
  position: relative;
  z-index: 1;
  padding-left: 38px;
  margin-bottom: 14px;
  font-size: 15.5px;
  color: var(--dt-dark);
  line-height: 1.55;
}
.svc-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 26px;
  height: 2px;
  background: var(--dt-teal);
}

/* Italic teal-rule closing quote */
.svc-quote {
  border-left: 3px solid var(--dt-teal);
  padding: 6px 0 6px 22px;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--dt-dark);
  line-height: 1.45;
  margin-top: 8px;
}

/* Inline CTA used inside service 6 */
.svc-cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dt-teal);
  color: var(--dt-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 4px;
  margin-top: 28px;
  box-shadow: 0 12px 32px rgba(77, 191, 200, 0.35);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.svc-cta-inline:hover {
  background: var(--dt-teal-dark);
  color: var(--dt-white);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(77, 191, 200, 0.45);
}

/* === SERVICE 6 — full-bleed dark FINALE ===
   Doubled-up class selector (.svc-section.svc-section--dark) so specificity
   ties with .svc-section:nth-of-type(even) — source order then makes the
   dark bg win, instead of being overridden by the light-gray alternation. */
.svc-section.svc-section--dark {
  background: #424B54;
  padding: 140px 40px;
  border-left-color: var(--dt-teal);
  position: relative;
}
.svc-section.svc-section--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(77, 191, 200, 0) 0%,
    var(--dt-teal) 40%,
    var(--dt-teal) 60%,
    rgba(77, 191, 200, 0) 100%);
  z-index: 2;
}
.svc-section.svc-section--dark .svc-headline {
  color: var(--dt-white);
}
.svc-section.svc-section--dark .svc-intro {
  color: rgba(255, 255, 255, 0.78);
}
.svc-section.svc-section--dark .svc-content-label {
  color: var(--dt-white);
}
.svc-section.svc-section--dark .svc-bullets li {
  color: rgba(255, 255, 255, 0.92);
}
.svc-section.svc-section--dark .svc-quote {
  color: var(--dt-white);
  border-left-color: var(--dt-teal);
  font-size: 20px;
}
.svc-section.svc-section--dark .svc-icon-box {
  background: var(--dt-teal);
  box-shadow: 0 12px 36px rgba(77, 191, 200, 0.5);
}

/* === BOTTOM CTA === */
.svc-cta {
  background: var(--dt-dark-deep);
  color: var(--dt-white);
  text-align: center;
  padding: 90px 40px;
}
.svc-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.svc-cta p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 20px;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.4;
}

/* === Responsive === */
@media (max-width: 900px) {
  .svc-section { padding: 80px 24px; }
  .svc-section.svc-section--dark { padding: 100px 24px; }
  .svc-grid,
  .svc-section:nth-of-type(even) .svc-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .svc-section:nth-of-type(even) .svc-side,
  .svc-section:nth-of-type(even) .svc-content {
    grid-column: 1;
  }
  .svc-section:nth-of-type(even) .svc-side { grid-row: 1; }
  .svc-section:nth-of-type(even) .svc-content { grid-row: 2; }
  .svc-headline { font-size: 26px; }
  .svc-subheading { font-size: 16px; }
  .svc-icon-box { width: 72px; height: 72px; }
  .svc-icon-box i { font-size: 36px; }
  .svc-cta { padding: 60px 24px; }
  .svc-cta p { font-size: 17px; }
}

/* Watermark causes layout problems on small viewports — kill it entirely */
@media (max-width: 768px) {
  .svc-watermark { display: none; }
}
