/**
 * Muvesta Capital — full-box services grid
 */

body.wp-muvesta .mv-services-boxes {
  background: #030303 !important;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

body.wp-muvesta .mv-services-boxes__thread {
  display: block;
  width: 100%;
  height: 36px;
  margin-bottom: 2rem;
  opacity: 0.4;
}

body.wp-muvesta .mv-services-boxes .mv-gold-thread {
  fill: none;
  stroke: rgba(201, 154, 61, 0.28);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

body.wp-muvesta .mv-services-boxes .mv-gold-thread.is-drawn {
  animation: mvSvcThreadDraw 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mvSvcThreadDraw {
  to { stroke-dashoffset: 0; }
}

body.wp-muvesta .mv-services-boxes__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E8C875;
}

body.wp-muvesta .mv-services-boxes__title {
  margin: 0;
  max-width: 36rem;
  font-family: var(--wp-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #F5F2EA;
}

body.wp-muvesta .mv-services-boxes__title span {
  display: block;
}

body.wp-muvesta .mv-services-boxes__lead {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #96928A;
}

body.wp-muvesta .mv-services-boxes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.5rem;
  background: rgba(201, 154, 61, 0.12);
  border: 1px solid rgba(201, 154, 61, 0.14);
}

body.wp-muvesta .mv-service-box {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: clamp(1.5rem, 3vw, 2rem);
  text-decoration: none;
  color: #F5F2EA;
  background: #0c0c0c !important;
  transition:
    background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.wp-muvesta .mv-service-box:hover {
  background: #141210 !important;
}

body.wp-muvesta .mv-service-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

body.wp-muvesta .mv-service-box__num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #E8C875;
}

body.wp-muvesta .mv-service-box__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  transition: opacity 0.35s ease;
}

body.wp-muvesta .mv-service-box__icon .wp-icon {
  width: 1.35rem;
  height: 1.35rem;
  color: #C99A3D;
}

body.wp-muvesta .mv-service-box:hover .mv-service-box__icon {
  opacity: 0.85;
}

body.wp-muvesta .mv-service-box__title {
  margin: 0 0 0.75rem;
  font-family: var(--wp-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: inherit;
}

body.wp-muvesta .mv-service-box__body {
  flex: 1;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #96928A;
  max-width: 36ch;
}

body.wp-muvesta .mv-service-box:hover .mv-service-box__body {
  color: #b8b4ac;
}

body.wp-muvesta .mv-service-box__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #E8C875;
  border-top: 1px solid rgba(201, 154, 61, 0.2);
  padding-top: 1rem;
  width: 100%;
  transition: gap 0.3s ease, color 0.3s ease;
}

body.wp-muvesta .mv-service-box:hover .mv-service-box__cta {
  color: #F5F2EA;
  gap: 0.5rem;
}

body.wp-muvesta .mv-service-box__cta .wp-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

body.wp-muvesta .mv-service-box:hover .mv-service-box__cta .wp-icon {
  transform: translateX(5px);
}

body.wp-muvesta .mv-services-boxes__compare {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.wp-muvesta .mv-services-boxes__compare-lead {
  margin: 0 0 0.5rem;
  font-family: var(--wp-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #F5F2EA;
}

body.wp-muvesta .mv-services-boxes__compare-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: #E8C875;
  text-decoration: none;
}

body.wp-muvesta .mv-services-boxes__bridge {
  margin: 2rem 0 0;
  text-align: center;
  font-family: var(--wp-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: #F5F2EA;
}

@media (max-width: 780px) {
  body.wp-muvesta .mv-services-boxes__grid {
    grid-template-columns: 1fr;
  }

  body.wp-muvesta .mv-service-box {
    min-height: 0;
  }
}

@media (min-width: 900px) {
  body.wp-muvesta .mv-services-boxes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.wp-muvesta .mv-service-box {
    min-height: 280px;
  }
}
