/* ============================================================
   OUR SERVICES SECTION | MOVINA VALUES
   Designed for the mv-services-* HTML component
   ============================================================ */


/* ─────────────────────────────────────────────────────────────
   1. SECTION SHELL
   ───────────────────────────────────────────────────────────── */

.mv-services {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(109, 133, 168, 0.10),
      transparent 26%
    ),
    radial-gradient(
      circle at 92% 82%,
      rgba(250, 198, 10, 0.08),
      transparent 24%
    ),
    #f8fafc;
  overflow: hidden;
}

.mv-services::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(74, 94, 122, 0.06);
  border-radius: 50%;
  top: -210px;
  right: -130px;
  pointer-events: none;
}

.mv-services::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(250, 198, 10, 0.10);
  border-radius: 50%;
  bottom: -180px;
  left: -100px;
  pointer-events: none;
}

.mv-services .container {
  position: relative;
  z-index: 2;
}


/* ─────────────────────────────────────────────────────────────
   2. SECTION HEADER
   ───────────────────────────────────────────────────────────── */

.mv-services-header {
  max-width: 760px;
  margin: 0 auto clamp(48px, 7vw, 76px);
  text-align: center;
}

.mv-services-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 17px;
  margin-bottom: 20px;
  border: 1px solid rgba(74, 94, 122, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #4A5E7A;
  font-family: Lato, Poppins, Verdana;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(74, 94, 122, 0.05);
}

.mv-services-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FAC60A;
  box-shadow: 0 0 0 5px rgba(250, 198, 10, 0.13);
  animation: mv-service-dot-pulse 2.2s ease-in-out infinite;
}

@keyframes mv-service-dot-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(250, 198, 10, 0.13);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 9px rgba(250, 198, 10, 0.03);
  }
}


.mv-services-header .brand-title {
  display: block;
  margin-bottom: 17px;
  color: #4A5E7A;
  font-family: Lato, Poppins, Verdana;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


.mv-services-tagline {
  margin: 0 auto 20px;
  color: #1e293b;
  font-family: Lato, Poppins, Verdana;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: -0.045em;
}


.mv-services-description {
  max-width: 660px;
  margin: 0 auto;
  color: #64748b;
  font-family: Lato, Poppins, Verdana;
  font-size: clamp(0.96rem, 1.5vw, 1.08rem);
  line-height: 1.8;
}


/* ─────────────────────────────────────────────────────────────
   3. SERVICES GRID
   ───────────────────────────────────────────────────────────── */

.mv-services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}


/* First three cards */

.mv-service-card:nth-child(1),
.mv-service-card:nth-child(2),
.mv-service-card:nth-child(3) {
  grid-column: span 2;
}


/* Last two cards */

.mv-service-card:nth-child(4),
.mv-service-card:nth-child(5) {
  grid-column: span 3;
}


/* ─────────────────────────────────────────────────────────────
   4. SERVICE CARD
   ───────────────────────────────────────────────────────────── */

.mv-service-card {
  --service-color: #4A5E7A;
  --service-soft: rgba(74, 94, 122, 0.09);
  --service-border: rgba(74, 94, 122, 0.17);

  position: relative;

  min-height: 350px;
  padding: clamp(28px, 3vw, 38px);

  display: flex;
  flex-direction: column;

  background: rgba(255, 255, 255, 0.92);

  border: 1px solid #e8edf4;
  border-radius: 26px;

  overflow: hidden;

  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.02),
    0 14px 38px rgba(74, 94, 122, 0.07);

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.mv-service-card::before {
  content: "";

  position: absolute;
  width: 190px;
  height: 190px;

  top: -105px;
  right: -85px;

  border-radius: 50%;

  background: var(--service-soft);

  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.mv-service-card::after {
  content: "";

  position: absolute;
  width: 95px;
  height: 95px;

  top: -38px;
  right: -30px;

  border: 1px solid var(--service-border);
  border-radius: 50%;

  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mv-service-card:hover {
  transform: translateY(-9px);

  border-color: var(--service-border);

  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.04),
    0 28px 60px rgba(74, 94, 122, 0.15);
}

.mv-service-card:hover::before {
  transform: scale(1.35);
}

.mv-service-card:hover::after {
  transform: scale(1.2) rotate(20deg);
}


/* ─────────────────────────────────────────────────────────────
   5. SERVICE COLOUR VARIANTS
   ───────────────────────────────────────────────────────────── */

.mv-service-teal {
  --service-color: #0F766E;
  --service-soft: rgba(15, 118, 110, 0.09);
  --service-border: rgba(15, 118, 110, 0.22);
}

.mv-service-purple {
  --service-color: #6D5BD0;
  --service-soft: rgba(109, 91, 208, 0.09);
  --service-border: rgba(109, 91, 208, 0.22);
}

.mv-service-orange {
  --service-color: #D97706;
  --service-soft: rgba(217, 119, 6, 0.09);
  --service-border: rgba(217, 119, 6, 0.22);
}

.mv-service-blue {
  --service-color: #4A5E7A;
  --service-soft: rgba(74, 94, 122, 0.10);
  --service-border: rgba(74, 94, 122, 0.22);
}

.mv-service-gold {
  --service-color: #BA7517;
  --service-soft: rgba(250, 198, 10, 0.12);
  --service-border: rgba(250, 198, 10, 0.38);
}


/* ─────────────────────────────────────────────────────────────
   6. CARD TOP / NUMBER / ICON
   ───────────────────────────────────────────────────────────── */

.mv-service-top {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  margin-bottom: 48px;
}


.mv-service-number {
  color: rgba(30, 41, 59, 0.22);

  font-size: 0.78rem;
  font-family: Lato, Poppins, Verdana;
  font-weight: 800;
  line-height: 1;

  letter-spacing: 0.14em;

  transition: color 0.3s ease;
}

.mv-service-card:hover .mv-service-number {
  color: var(--service-color);
}


.mv-service-icon {
  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;

  background: var(--service-soft);
  border: 1px solid var(--service-border);

  color: var(--service-color);

  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease,
    color 0.3s ease;
}

.mv-service-icon svg {
  width: 27px;
  height: 27px;
}

.mv-service-card:hover .mv-service-icon {
  transform: translateY(-5px) rotate(-5deg) scale(1.08);

  background: var(--service-color);
  color: #ffffff;
}


/* ─────────────────────────────────────────────────────────────
   7. CARD CONTENT
   ───────────────────────────────────────────────────────────── */

.mv-service-content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  flex: 1;
}


.mv-service-content h3 {
  max-width: 360px;

  margin: 0 0 16px;

  color: #1e293b;
  font-family: Lato, Poppins, Verdana;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
}


.mv-service-content p {
  max-width: 440px;

  margin: 0 0 28px;

  color: #64748b;
  font-family: Lato, Poppins, Verdana;
  font-size: 0.95rem;
  line-height: 1.75;
}


.mv-service-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: auto;
  color: var(--service-color);
  font-family: Lato, Poppins, Verdana;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: default;
}

.mv-service-link span {
  display: inline-block;
  font-family: Lato, Poppins, Verdana;
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

.mv-service-card:hover .mv-service-link span {
  transform: translateX(6px);
}


/* ─────────────────────────────────────────────────────────────
   8. BOTTOM ACCENT
   ───────────────────────────────────────────────────────────── */

.mv-service-accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--service-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mv-service-card:hover .mv-service-accent {
  transform: scaleX(1);
}


/* ─────────────────────────────────────────────────────────────
   9. FEATURED WORKSHOPS CARD
   ───────────────────────────────────────────────────────────── */

.mv-service-featured {
  background:
    linear-gradient(
      135deg,
      rgba(250, 198, 10, 0.07),
      rgba(255, 255, 255, 0.96) 48%
    ),
    #ffffff;
}


.mv-service-featured-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(250, 198, 10, 0.15);
  border: 1px solid rgba(250, 198, 10, 0.30);
  color: #8A5808;
  font-family: Lato, Poppins, Verdana;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}


/* ─────────────────────────────────────────────────────────────
   10. SERVICES CTA
   ───────────────────────────────────────────────────────────── */

.mv-services-cta {
  position: relative;
  margin-top: clamp(40px, 6vw, 70px);
  padding: clamp(36px, 5vw, 58px);
  display: flex;
  align-items: center;
  font-family: Lato, Poppins, Verdana;
  justify-content: space-between;
  gap: 40px;
  background: #1e293b;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(30, 41, 59, 0.18);
}


.mv-services-cta::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  top: -240px;
  right: 4%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  font-family: Lato, Poppins, Verdana;
}


.mv-services-cta::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  bottom: -170px;
  font-family: Lato, Poppins, Verdana;
  right: 24%;
  border: 1px solid rgba(250, 198, 10, 0.14);
  border-radius: 50%;
}


.mv-services-cta-copy,
.mv-services-cta-actions {
  position: relative;
  z-index: 3;
}


.mv-services-cta-copy {
  max-width: 590px;
}


.mv-services-cta-label {
  display: block;
  margin-bottom: 11px;
  font-family: Lato, Poppins, Verdana;
  color: #FAC60A;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}


.mv-services-cta-copy h3 {
  margin: 0 0 13px;
  color: #ffffff;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 800;
  font-family: Lato, Poppins, Verdana;
  line-height: 1.16;
  letter-spacing: -0.035em;
}


.mv-services-cta-copy p {
  max-width: 530px;
  margin: 0;
  font-family: Lato, Poppins, Verdana;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.94rem;
  line-height: 1.7;
}


.mv-services-cta-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}


/* Ensure yellow primary button remains strong inside CTA */

.mv-services-cta .btn-nav-primary {
  min-height: 50px;
  padding: 15px 25px;
  color: #1e293b !important;
  box-shadow: 0 10px 26px rgba(250, 198, 10, 0.18);
}

.mv-services-cta .btn-nav-primary:hover {
  color: #1e293b !important;
  box-shadow: 0 15px 34px rgba(250, 198, 10, 0.30);
}


/* Secondary chat button */

.mv-services-chat {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: Lato, Poppins, Verdana;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.mv-services-chat:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.28);
}

.mv-services-chat span {
  transition: transform 0.25s ease;
}

.mv-services-chat:hover span {
  transform: translate(3px, -3px);
}


/* ─────────────────────────────────────────────────────────────
   11. EXISTING REVEAL ANIMATION COMPATIBILITY
   ───────────────────────────────────────────────────────────── */

.mv-service-card[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.mv-service-card[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mv-service-card[data-reveal].is-visible:hover {
  transform: translateY(-9px);
}


/* ─────────────────────────────────────────────────────────────
   12. TABLET
   ───────────────────────────────────────────────────────────── */

@media (max-width: 960px) {

  .mv-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mv-service-card:nth-child(1),
  .mv-service-card:nth-child(2),
  .mv-service-card:nth-child(3),
  .mv-service-card:nth-child(4) {
    grid-column: span 1;
  }

  .mv-service-card:nth-child(5) {
    grid-column: 1 / -1;
  }


  .mv-service-card {
    min-height: 340px;
  }


  .mv-services-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .mv-services-cta-actions {
    width: 70%;
    justify-content: flex-start;
  }

}


/* ─────────────────────────────────────────────────────────────
   13. MOBILE
   ───────────────────────────────────────────────────────────── */

@media (max-width: 640px) {

  .mv-services {
    padding: 72px 0;
  }


  .mv-services-header {
    margin-bottom: 42px;
  }


  .mv-services-tagline {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }


  .mv-services-description {
    font-size: 0.94rem;
    line-height: 1.7;
  }


  .mv-services-grid {
    grid-template-columns: 1fr;

    gap: 17px;
  }


  .mv-service-card:nth-child(1),
  .mv-service-card:nth-child(2),
  .mv-service-card:nth-child(3),
  .mv-service-card:nth-child(4),
  .mv-service-card:nth-child(5) {
    grid-column: auto;
  }


  .mv-service-card {
    min-height: 320px;
    padding: 27px 25px;
    border-radius: 22px;
  }


  .mv-service-top {
    margin-bottom: 38px;
  }


  .mv-service-icon {
    width: 54px;
    height: 54px;

    border-radius: 16px;
  }


  .mv-service-icon svg {
    width: 25px;
    height: 25px;
  }


  .mv-service-content h3 {
    font-size: 1.38rem;
  }


  .mv-service-content p {
    margin-bottom: 24px;

    font-size: 0.92rem;
  }


  .mv-services-cta {
    margin-top: 38px;
    padding: 36px 26px;
    border-radius: 23px;
  }


  .mv-services-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 70%;
  }


  .mv-services-cta .btn-nav-primary,
  .mv-services-chat {
    width: 100%;
    min-height: 52px;
    margin: 0;
    text-align: center;
  }

}


/* ─────────────────────────────────────────────────────────────
   14. SMALL MOBILE
   ───────────────────────────────────────────────────────────── */

@media (max-width: 390px) {

  .mv-services-tagline {
    font-family: Lato, Poppins, Verdana;
    font-size: 2rem;
  }


  .mv-service-card {
    min-height: 300px;
    padding: 24px 21px;
  }


  .mv-service-content h3 {
    font-size: 1.25rem;
  }


  .mv-services-cta {
    padding: 32px 22px;
  }

}


/* ─────────────────────────────────────────────────────────────
   15. REDUCED MOTION
   ───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {

  .mv-services-eyebrow-dot {
    animation: none;
  }


  .mv-service-card,
  .mv-service-card::before,
  .mv-service-card::after,
  .mv-service-icon,
  .mv-service-link span,
  .mv-service-accent,
  .mv-services-chat,
  .mv-services-chat span {
    transition: none !important;
  }


  .mv-service-card:hover,
  .mv-service-card[data-reveal].is-visible:hover {
    transform: none;
  }

}