/* ============================================================================
   SERVICES PAGE — Markcon layout + Himon-inspired interactions
   Builds on css/home-markcon.css (the `.markcon-home` design tokens are in
   scope because the content is wrapped in `.markcon-home`). Keeps the brand
   colours/fonts while borrowing the himon.framer.website services structure:
   a numbered interactive service reveal, a 2-up process grid, and a quote
   slider.
   ============================================================================ */

/* ----- Hero tuning ----- */
.services-markcon .mc-hero {
  min-height: 720px;
}

.services-markcon .mc-hero__inner {
  align-items: center;
}

.svc-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.svc-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.25s ease;
}

.svc-breadcrumb a:hover {
  color: var(--mc-gold-2);
}

.svc-breadcrumb span {
  color: var(--mc-gold-2);
}

.svc-breadcrumb__icon {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===================== INTERACTIVE SERVICES ===================== */
.svc-explore {
  padding: clamp(90px, 10vw, 160px) 0;
  background: var(--mc-cream);
  color: var(--mc-ink);
}

.svc-explore .mc-section-head h2 {
  color: var(--mc-ink);
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1.02;
}

.svc-explore .mc-section-head--split > p:not(.mc-section-tag) {
  max-width: 440px;
  align-self: end;
  margin: 0;
  color: var(--mc-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.svc-explore__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

/* ----- Numbered list ----- */
.svc-explore__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(11, 16, 32, 0.14);
}

.svc-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 26px 8px;
  font: inherit;
  text-align: left;
  color: var(--mc-ink);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(11, 16, 32, 0.14);
  cursor: pointer;
  transition: padding-left 0.3s ease, color 0.3s ease;
}

.svc-item__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--mc-muted);
  transition: color 0.3s ease;
}

.svc-item__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: rgba(11, 16, 32, 0.55);
  transition: color 0.3s ease;
}

.svc-item__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #07111f;
  background: transparent;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.svc-item__arrow-icon {
  width: 20px;
  height: 20px;
}

.svc-item:hover {
  padding-left: 18px;
}

.svc-item:hover .svc-item__title {
  color: var(--mc-ink);
}

.svc-item.is-active .svc-item__num {
  color: var(--mc-gold);
}

.svc-item.is-active .svc-item__title {
  color: var(--mc-ink);
}

.svc-item.is-active {
  padding-left: 18px;
}

.svc-item.is-active .svc-item__arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--mc-gold-2);
}

/* ----- Reveal panels ----- */
.svc-explore__panels {
  position: relative;
}

.svc-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--mc-radius);
  background: #fff;
  box-shadow: 0 26px 70px rgba(11, 16, 32, 0.1);
}

.svc-panel[hidden] {
  display: none;
}

.svc-panel.is-animating {
  animation: svc-panel-in 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes svc-panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.svc-panel__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--mc-blue);
}

.svc-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-panel__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  place-items: center;
  min-width: 54px;
  height: 54px;
  padding: 0 14px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: #07111f;
  background: var(--mc-gold-2);
  border-radius: 14px;
}

.svc-panel__body {
  padding: clamp(28px, 3.4vw, 44px);
}

.svc-panel__body h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  color: var(--mc-ink);
}

.svc-panel__desc {
  margin: 0 0 24px;
  color: var(--mc-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.svc-panel__list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.svc-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--mc-ink);
  line-height: 1.6;
}

.svc-panel__list strong {
  font-weight: 800;
}

.svc-panel__check {
  flex-shrink: 0;
  color: var(--mc-gold);
  margin-top: 1px;
}

.svc-panel__check-icon {
  width: 20px;
  height: 20px;
}

.svc-panel__cta {
  display: inline-flex;
}

/* ===================== PROCESS / FEATURES ===================== */
.svc-process {
  padding: clamp(90px, 10vw, 160px) 0;
  color: #fff;
  background: #030812;
}

.svc-process .mc-section-head h2 {
  color: #fff;
}

.svc-process .mc-section-head--split > p:not(.mc-section-tag) {
  max-width: 420px;
  align-self: end;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.05rem;
  line-height: 1.7;
}

.svc-process__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.svc-feature {
  display: flex;
  gap: 24px;
  padding: clamp(30px, 3.6vw, 52px) clamp(8px, 2vw, 40px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

/* right-column divider */
.svc-feature:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 0;
}

.svc-feature:hover {
  background: rgba(217, 173, 69, 0.05);
}

.svc-feature__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--mc-gold-2);
  line-height: 1;
}

.svc-feature__body h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
}

.svc-feature__body p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.7;
}

/* ===================== CLIENT VOICES ===================== */
.svc-voice {
  padding: clamp(90px, 10vw, 160px) 0;
  background: var(--mc-cream);
  color: var(--mc-ink);
}

.svc-voice__card {
  position: relative;
  padding: clamp(40px, 6vw, 90px);
  border-radius: var(--mc-radius);
  background: var(--mc-ink);
  color: #fff;
  overflow: hidden;
}

.svc-voice__quote-mark {
  position: absolute;
  top: -40px;
  right: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18rem;
  line-height: 1;
  color: rgba(217, 173, 69, 0.12);
  pointer-events: none;
}

.svc-voice__viewport {
  position: relative;
  margin-top: 30px;
  min-height: 200px;
}

.svc-voice__slide {
  margin: 0;
}

.svc-voice__slide[hidden] {
  display: none;
}

.svc-voice__slide.is-animating {
  animation: svc-voice-in 0.5s ease;
}

@keyframes svc-voice-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.svc-voice__slide blockquote {
  margin: 0;
  max-width: 940px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-wrap: balance;
}

.svc-voice__slide figcaption {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.svc-voice__slide figcaption strong {
  color: var(--mc-gold-2);
  font-size: 1.05rem;
  font-weight: 900;
}

.svc-voice__slide figcaption span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  font-weight: 600;
}

.svc-voice__controls {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.svc-voice__pager {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}

.svc-voice__nav {
  display: flex;
  gap: 12px;
}

.svc-voice__btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.svc-voice__btn:hover {
  color: #07111f;
  background: var(--mc-gold-2);
  border-color: var(--mc-gold-2);
  transform: translateY(-3px);
}

.svc-voice__btn-icon {
  width: 20px;
  height: 20px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .svc-explore__grid {
    grid-template-columns: 1fr;
  }

  .svc-explore__panels {
    order: -1;
  }
}

@media (max-width: 720px) {
  .services-markcon .mc-hero {
    min-height: auto;
  }

  .svc-process__grid {
    grid-template-columns: 1fr;
  }

  .svc-feature:nth-child(odd) {
    border-right: none;
    padding-left: 0;
  }

  .svc-feature {
    padding-left: 0;
    padding-right: 0;
  }

  .svc-item__title {
    font-size: 1.4rem;
  }
}
