/* ============================================================
   Services Page — Redesigned (Mattered/Amir Baqian inspired)
   Tactile 3D CSS mockups, architectural split grid, giant
   editorial serif headings, and fully responsive dual-theme support.
   ============================================================ */

/* ─── Hero Section ────────────────────────────────────────────────────────── */
.svc-hero {
  position: relative;
  padding: 10rem 0 6rem;
  text-align: center;
  overflow: hidden;
}

.svc-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 77, 0, 0.08) 0%, rgba(232, 160, 32, 0.02) 50%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.svc-hero-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(255, 77, 0, 0.2);
  background: color-mix(in srgb, var(--primary) 4%, transparent);
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.svc-hero-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3.5rem, 11vw, 9rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 2rem;
  position: relative;
  z-index: 1;
}

.svc-hero-title em {
  font-style: italic;
  color: var(--primary);
  font-family: 'Instrument Serif', serif;
}

.svc-hero-desc {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.svc-hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.svc-stat {
  text-align: center;
}

.svc-stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--text);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.svc-stat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Services Grid Section ────────────────────────────────────────────────── */
.svc-grid-section {
  padding: 5rem 0 8rem;
  position: relative;
}

.svc-grid-section .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.svc-grid-header {
  text-align: center;
  margin-bottom: 5rem;
}

.svc-grid-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.svc-grid-title em {
  font-style: italic;
  color: var(--primary);
}

.svc-grid-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ─── Service Architectural Grid Layout ────────────────────────────────────── */
/* ─── Service alternating row structure ────────────────────────────────────── */
.svc-rows-container {
  position: relative;
  max-width: 1200px;
  margin: 10rem auto 0;
  padding: 0 1.5rem;
}

/* Vertical dividing axis line on desktop */
@media (min-width: 1024px) {
  .svc-rows-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 2rem;
    bottom: 2rem;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
  }
}

.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 7rem;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.svc-row:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .svc-row {
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    /* Wide gap to accommodate central layout padding */
    min-height: 480px;
  }

  /* Alternating order */
  .svc-row:nth-child(even) .svc-row-visual {
    order: 2;
  }

  .svc-row:nth-child(even) .svc-row-info {
    order: 1;
    text-align: right;
    padding-right: 4.5rem;
    padding-left: 0;
  }

  .svc-row:nth-child(odd) .svc-row-info {
    padding-left: 4.5rem;
    padding-right: 0;
  }

  .svc-row:nth-child(even) .svc-row-tags {
    justify-content: flex-end;
  }

  .svc-row:nth-child(even) .svc-row-link {
    justify-content: flex-end;
  }
}

/* The Centered Blueprint Number Badge */
.svc-row-number {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-transform: uppercase;
}

.svc-row-number::after {
  content: '';
  width: 30px;
  height: 1px;
  background: rgba(255, 77, 0, 0.2);
}

@media (min-width: 1024px) {
  .svc-row-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    letter-spacing: 0;
    box-shadow: 0 0 0 10px var(--bg);
    margin-bottom: 0;
    z-index: 5;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .svc-row-number::after {
    display: none;
    /* Hide line since axis is active */
  }

  .svc-row:hover .svc-row-number {
    border-color: var(--primary);
    box-shadow: 0 0 0 10px var(--bg), 0 0 25px rgba(255, 77, 0, 0.25);
    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* Card Content / Info */
.svc-row-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.svc-row-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  display: inline-block;
}

.svc-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.svc-row-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: color-mix(in srgb, var(--text) 3%, transparent);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  transition: all 0.4s ease;
}

.svc-row:hover .svc-row-tag {
  border-color: rgba(255, 77, 0, 0.2);
  color: var(--text);
  background: color-mix(in srgb, var(--primary) 4%, transparent);
}

.svc-row-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: gap 0.3s ease;
  padding-top: 1.25rem;
  margin-top: auto;
  text-transform: uppercase;
}

.svc-row-link:hover {
  gap: 0.9rem;
}

.svc-row-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.svc-row-link:hover svg {
  transform: translateX(4px);
}

.svc-row:nth-child(even) .svc-row-link:hover svg {
  transform: translateX(-4px) scaleX(-1);
}

/* ─── 3D CSS Portal (Half Visible/Half Hidden & Scroll Reveal) ────────── */
.svc-row-visual {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--text) 2%, transparent) 0%, color-mix(in srgb, var(--text) 4%, transparent) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  /* Clips the 3D scene so it starts "half hidden" */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  perspective: 1000px;
  transform-style: preserve-3d;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  transition: border-color 0.6s ease, box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-row:hover .svc-row-visual {
  border-color: rgba(255, 77, 0, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
  .svc-row-visual {
    height: 420px;
  }
}

.svc-visual-overlay {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.18;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.svc-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  filter: blur(5px);
  opacity: 0.1;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.4s ease,
    filter 1.4s ease;
}

/* Half hidden/clipped defaults based on alternating sides on desktop */
@media (min-width: 1024px) {

  /* Visual is on Left: shift left, rotate, hide partially */
  .svc-row:nth-child(odd) .svc-3d-scene {
    transform: translateX(-35%) rotateY(18deg) scale(0.95);
  }

  /* Visual is on Right: shift right, rotate, hide partially */
  .svc-row:nth-child(even) .svc-3d-scene {
    transform: translateX(35%) rotateY(-18deg) scale(0.95);
  }
}

    /* ─── 3D Image Scene Styling ──────────────────────────────────────────────── */
    .svc-scene-img {
      width: 135%;
      /* Wider than container so that it clips and allows slide reveal */
      height: 100%;
      object-fit: cover;
      pointer-events: none;
      filter: saturate(0.95) contrast(1.02);
      transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), filter 1.6s ease;
      z-index: 2;
    }

    /* Alternate Default Shifts for the Clipped Image Portal */
    @media (min-width: 1024px) {

      /* When visual is on Left (odd rows): hide the right side of the wide image */
      .svc-row:nth-child(odd) .svc-scene-img {
        transform: translateX(-18%) scale(1.05);
      }

      /* When visual is on Right (even rows): hide the left side of the wide image */
      .svc-row:nth-child(even) .svc-scene-img {
        transform: translateX(18%) scale(1.05);
      }
    }

    @media (max-width: 1023px) {
      .svc-scene-img {
        width: 100%;
        transform: scale(1.05);
      }
    }

    /* Revealed Scroll-Active State for Image */
    .svc-row.reveal-active .svc-scene-img {
      transform: translateX(0) scale(1);
      filter: saturate(1.05) contrast(1);
    }

    /* Subtle mouse hover depth expansion */
    .svc-row:hover .svc-scene-img {
      transform: scale(1.03) translateZ(10px);
    }

    /* ─── Animations Keyframes ────────────────────────────────────────────────── */
    @keyframes floatWeb {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-10px);
      }
    }

    @keyframes floatPhone {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-14px);
      }
    }

    @keyframes pulseCore {

      0%,
      100% {
        transform: scale(1);
        box-shadow: 0 0 35px rgba(255, 77, 0, 0.4);
      }

      50% {
        transform: scale(1.08);
        box-shadow: 0 0 55px rgba(255, 77, 0, 0.6);
      }
    }

    @keyframes spinRing {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }

    @keyframes floatParticle {

      0%,
      100% {
        transform: translateY(0) scale(1);
      }

      50% {
        transform: translateY(-12px) scale(0.9);
        opacity: 0.6;
      }
    }

    @keyframes growBar {

      0%,
      100% {
        transform: scaleY(1);
      }

      50% {
        transform: scaleY(1.12);
      }
    }

    @keyframes spinDial {
      0% {
        transform: rotate(-60deg);
      }

      100% {
        transform: rotate(120deg);
      }
    }

    @keyframes blinkLight {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.3;
      }
    }

    @keyframes growProgress {
      0% {
        width: 30%;
      }

      100% {
        width: 85%;
      }
    }

/* ─── Process Section — Compact Timeline ──────────────────── */
.svc-process {
  padding: 4rem 0 3rem;
  position: relative;
}

.svc-process .container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.svc-process-header {
  text-align: center;
  margin-bottom: 3rem;
}

.svc-process-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
}

.svc-process-title em {
  font-style: italic;
  color: var(--primary);
}

.svc-process-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svc-process-line {
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom,
    var(--primary) 0%,
    rgba(255, 77, 0, 0.3) 60%,
    rgba(255, 77, 0, 0.06) 100%);
  z-index: 0;
}

.svc-tl-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 0 0 2.25rem 0;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.svc-tl-step:last-child {
  padding-bottom: 0;
}

.svc-tl-step:hover {
  transform: translateX(4px);
}

.svc-tl-dot {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.svc-tl-dot span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.svc-tl-step:hover .svc-tl-dot {
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(255, 77, 0, 0.08);
  transform: scale(1.1);
}

.svc-tl-step:hover .svc-tl-dot span {
  color: #fff;
}

.svc-tl-content {
  padding-top: 0.6rem;
  flex: 1;
}

.svc-tl-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
  transition: color 0.3s ease;
}

.svc-tl-step:hover .svc-tl-title {
  color: var(--primary);
}

.svc-tl-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Connector pulse dot that rides the line */
.svc-tl-step:first-child .svc-tl-dot::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 767px) {
  .svc-process {
    padding: 2rem 0 1.5rem;
  }

  .svc-process-header {
    margin-bottom: 1.75rem;
  }

  .svc-process-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .svc-process-line {
    left: 17px;
  }

  .svc-tl-dot {
    width: 36px;
    height: 36px;
  }

  .svc-tl-step {
    gap: 1rem;
    padding-bottom: 1.75rem;
  }

  .svc-tl-step:hover {
    transform: none;
  }
}

    /* ─── FAQ Section ──────────────────────────────────────────────────────────── */
    .svc-faq {
      padding: 6rem 0 5rem;
    }

    .svc-faq .container {
      max-width: 850px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .svc-faq-header {
      text-align: center;
      margin-bottom: 4rem;
    }

    .svc-faq-title {
      font-family: 'Instrument Serif', serif;
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 400;
      color: var(--text);
      letter-spacing: -0.02em;
    }

    .svc-faq-title em {
      font-style: italic;
      color: var(--primary);
    }

    .svc-faq-list {
      display: flex;
      flex-direction: column;
    }

    .svc-faq-item {
      border-top: 1px solid var(--border);
    }

    .svc-faq-item:last-child {
      border-bottom: 1px solid var(--border);
    }

    .svc-faq-q {
      width: 100%;
      background: none;
      border: none;
      padding: 1.75rem 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      text-align: left;
      font-family: 'Outfit', sans-serif;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text);
      transition: color 0.3s ease;
      gap: 1.5rem;
    }

    .svc-faq-q:hover {
      color: var(--primary);
    }

    .svc-faq-icon {
      width: 32px;
      height: 32px;
      min-width: 32px;
      border-radius: 50%;
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      font-size: 1.1rem;
      color: var(--text-muted);
    }

    .svc-faq-item.open .svc-faq-icon {
      background: var(--primary);
      border-color: var(--primary);
      color: #fff;
      transform: rotate(45deg);
      box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
    }

    .svc-faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.4s ease;
    }

    .svc-faq-item.open .svc-faq-a {
      max-height: 400px;
      padding-bottom: 1.75rem;
    }

    .svc-faq-a p {
      font-family: 'Outfit', sans-serif;
      font-size: 0.95rem;
      line-height: 1.7;
      color: var(--text-muted);
      max-width: 95%;
    }

    /* ─── CTA Band ─────────────────────────────────────────────────────────────── */
    .svc-cta-band {
      padding: 6rem 0 8rem;
      text-align: center;
    }

    .svc-cta-band .container {
      max-width: 750px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .svc-cta-title {
      font-family: 'Instrument Serif', serif;
      font-size: clamp(2.5rem, 6vw, 4.8rem);
      font-weight: 400;
      color: var(--text);
      line-height: 1.05;
      margin-bottom: 1.75rem;
    }

    .svc-cta-title em {
      font-style: italic;
      color: var(--primary);
    }

    .svc-cta-desc {
      font-family: 'Outfit', sans-serif;
      font-size: 1.1rem;
      color: var(--text-muted);
      margin-bottom: 3rem;
      line-height: 1.65;
    }

    .svc-cta-btns {
      display: flex;
      justify-content: center;
      gap: 1.25rem;
      flex-wrap: wrap;
    }

    .svc-btn-primary {
      font-family: 'Outfit', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      padding: 1rem 2.25rem;
      border-radius: 999px;
      border: none;
      background: var(--primary);
      color: #fff;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 4px 15px rgba(255, 77, 0, 0.15);
    }

    .svc-btn-primary:hover {
      background: #e04400;
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(255, 77, 0, 0.35);
    }

    .svc-btn-outline {
      font-family: 'Outfit', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      padding: 1rem 2.25rem;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text);
      text-decoration: none;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .svc-btn-outline:hover {
      border-color: var(--primary);
      color: var(--primary);
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(255, 77, 0, 0.06);
    }

    /* ─── Responsive Polish ────────────────────────────────────────────────────── */
    @media (max-width: 1023px) {
      .svc-step {
        padding: 2.25rem;
        border-radius: 28px;
      }
    }

@media (max-width: 767px) {
  .svc-hero {
    padding: 6rem 0 2.5rem;
  }

  .svc-hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 0.9;
  }

  .svc-hero-desc {
    font-size: 0.85rem;
    margin-bottom: 2rem;
  }

  .svc-hero-stats {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .svc-stat-num {
    font-size: 1.8rem;
  }

  .svc-rows-container {
    margin-top: 3rem;
    padding: 0 1rem;
  }

  .svc-row {
    margin-bottom: 2.5rem;
    gap: 1.25rem;
  }

  .svc-row-visual {
    height: 200px;
    border-radius: 1rem;
  }

  /* Hide the visual overlay text — too small to read */
  .svc-visual-overlay {
    display: none;
  }

  .svc-row-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
  }

  .svc-row-desc {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
  }

  .svc-row-tags {
    gap: 0.4rem;
    margin-bottom: 1.25rem;
  }

  .svc-row-tag {
    font-size: 0.68rem;
    padding: 0.3rem 0.65rem;
  }

  .svc-frame-label,
  .svc-frame-corner {
    display: none;
  }

  .svc-grid-section {
    padding: 2.5rem 0 4rem;
  }

  .svc-grid-header {
    margin-bottom: 2rem;
  }

  .svc-grid-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .svc-step {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }
}

/* ═══════════════════════════════════════════════════
   SERVICES — MOBILE HORIZONTAL SNAP CARDS
   Only active below 768px. Desktop untouched.
═══════════════════════════════════════════════════ */
@media (max-width: 767px) {

  .svc-frame-corner,
  .svc-frame-label {
    display: none;
  }

  .svc-grid-section {
    padding: 2rem 0 3rem;
    overflow: hidden;
  }

  .svc-grid-header {
    margin-bottom: 1.5rem;
    padding: 0 1.25rem;
    text-align: left;
  }

  .svc-grid-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .svc-grid-sub {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    margin-left: 0;
    text-align: left;
  }

  .svc-mobile-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
  }

  .svc-mobile-counter span {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
  }

  .svc-rows-container {
    margin-top: 0;
    padding: 0 1.25rem 1rem;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
    scrollbar-width: none;
  }

  .svc-rows-container::-webkit-scrollbar {
    display: none;
  }

  .svc-row {
    flex: 0 0 82vw;
    width: 82vw;
    margin-bottom: 0;
    margin-left: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    background: var(--bg-card);
    perspective: none;
    transform-style: flat;
    min-height: unset;
    position: relative;
    transition: box-shadow 0.3s ease;
  }

  .svc-row:last-child {
    margin-right: 0;
  }

  .svc-row-number {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10;
    width: auto;
    height: auto;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 0.2rem 0.65rem;
    border: none;
    box-shadow: none;
    transform: none !important;
    margin-bottom: 0;
    display: inline-block;
    line-height: 1.6;
  }

  .svc-row-number::after {
    display: none;
  }

  .svc-row-visual {
    width: 100%;
    height: 260px;
    border-radius: 0;
    border: none;
    flex-shrink: 0;
    perspective: none;
    transform-style: flat;
    box-shadow: none;
  }

  .svc-3d-scene {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }

  .svc-scene-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center 15%;
    transform: none !important;
    filter: none !important;
    transition: none;
  }

  .svc-row-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-card) 100%);
    pointer-events: none;
    z-index: 2;
  }

  [data-theme="light"] .svc-row-visual::after {
    background: linear-gradient(to bottom, transparent, #ffffff);
  }

  .svc-visual-overlay {
    display: none;
  }

  .svc-row-info {
    padding: 1rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: left !important;
    padding-right: 1.25rem !important;
    padding-left: 1.25rem !important;
  }

  .svc-row-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
  }

  .svc-row-desc {
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 0.875rem;
    max-width: none;
    display: block;
  }

  .svc-row-tags {
    gap: 0.35rem;
    margin-bottom: 1rem;
    justify-content: flex-start !important;
    flex-wrap: wrap;
  }

  .svc-row-tag {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
  }

  .svc-row-link {
    justify-content: flex-start !important;
    font-size: 0.78rem;
    padding-top: 0.5rem;
    margin-top: 0;
  }

  .svc-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .svc-swipe-dots {
    display: flex;
    gap: 5px;
    align-items: center;
  }

  .svc-swipe-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s ease;
  }

  .svc-swipe-dot.active {
    width: 18px;
    border-radius: 3px;
    background: var(--primary);
  }

  .svc-hero {
    padding: 5.5rem 0 2rem;
  }

  .svc-hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 0.9;
  }

  .svc-hero-desc {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .svc-hero-stats {
    gap: 1.5rem;
    margin-top: 1.25rem;
  }

  .svc-stat-num {
    font-size: 1.8rem;
  }


  .svc-faq {
    padding: 2.5rem 0 2rem;
  }

  .svc-faq-header {
    margin-bottom: 1.5rem;
  }

  .svc-faq-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .svc-faq-q {
    font-size: 0.9rem;
    padding: 1.25rem 0;
    gap: 1rem;
  }

  .svc-cta-band {
    padding: 2.5rem 0 3rem;
  }

  .svc-cta-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .svc-cta-desc {
    font-size: 0.875rem;
    margin-bottom: 1.75rem;
  }

  .svc-cta-btns {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .svc-btn-primary,
  .svc-btn-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 0.875rem 1.5rem;
  }
}
