@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap");

:root {
  --purple: #2c257f;
  --purple-dark: #28207d;
  --purple-soft: #403d96;
  --blue-bg: #dfe7f7;
  --white: #ffffff;
  --text-dark: #17142d;
  --muted: rgba(42, 36, 84, 0.72);
  --red: #f04b3d;
  --orange: #f18a08;
  --gold: #f3ad43;
  --green: #078d4a;
  --footer: #2c2490;
  --max: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: #dfe7f7;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button {
  border: 0;
  font-family: inherit;
}

/* ============================= */
/* HEADER */
/* ============================= */

.site-header {
  width: 100%;
  min-height: 90px;
  padding: 0 12%;
  display: grid;
  grid-template-columns: 230px 1fr 150px;
  align-items: center;
  gap: 28px;
  background: linear-gradient(90deg, #2b257f 0%, #4334b3 48%, #2a257e 100%);
  color: var(--white);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-self: start;
  color: var(--white);
}

.brand-name {
  font-size: 1.62rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.brand-subtitle {
  margin-top: 6px;
  font-size: 0.67rem;
  line-height: 1;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  transition: color 0.22s ease, transform 0.22s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #ffb22b;
  transform: translateX(-50%);
  transition: width 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  transform: translateY(-1px);
  font-weight: 700;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-button {
  justify-self: end;
  min-width: 126px;
  height: 28px;
  padding: 0 18px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  color: #29215f;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.header-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

/* ============================= */
/* HERO SERVICIOS */
/* ============================= */

.services-hero {
  background: #dfe7f7;
  padding: 58px 0 92px;
  overflow: hidden;
}

.services-container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.services-heading {
  text-align: center;
}

.services-heading h1 {
  font-family: "Playfair Display", Georgia, serif;
  color: #403d96;
  font-size: clamp(2.8rem, 4.2vw, 4.65rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.services-heading p {
  margin-top: 18px;
  color: #201b42;
  font-size: clamp(1.2rem, 1.8vw, 1.78rem);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.055em;
}

.services-carousel {
  position: relative;
  width: 100%;
  margin-top: 56px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
}

.services-track-wrapper {
  position: relative;
  overflow: hidden;
  padding: 12px 4px 26px;
}

.services-track-wrapper::before,
.services-track-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 3;
  width: 76px;
  height: 100%;
  pointer-events: none;
}

.services-track-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #dfe7f7 0%, rgba(223, 231, 247, 0) 100%);
}

.services-track-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, #dfe7f7 0%, rgba(223, 231, 247, 0) 100%);
}

.services-track {
  display: flex;
  align-items: stretch;
  gap: 32px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 92px;
}

.services-track::-webkit-scrollbar {
  display: none;
}

.service-card {
  position: relative;
  flex: 0 0 202px;
  width: 202px;
  height: 384px;
  overflow: hidden;
  scroll-snap-align: center;
  border-radius: 0 0 18px 18px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 34px rgba(49, 47, 113, 0.13);
  transition: transform 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 46px rgba(49, 47, 113, 0.2);
}

.service-image {
  height: 112px;
  overflow: hidden;
  background: #eef2fb;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-body {
  position: relative;
  min-height: calc(100% - 112px);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-purple .service-body {
  background: #c9cdf8;
  color: #9ea5ef;
}

.service-card-orange .service-body {
  background: #eadfce;
  color: #f18a08;
}

.service-card-green .service-body {
  background: #add2cb;
  color: #078d4a;
}

.service-card-indigo .service-body {
  background: #aeb9dd;
  color: #383e9a;
}

.service-card-gold .service-body {
  background: #eadfce;
  color: #e5bd77;
}

.service-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.05rem;
  line-height: 0.94;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.01em;
}

.service-card-orange h2 {
  font-size: 1.9rem;
}

.service-card-green h2,
.service-card-indigo h2,
.service-card-gold h2 {
  font-size: 2rem;
}

.service-actions {
  display: grid;
  gap: 13px;
}

.info-button,
.service-button {
  min-height: 30px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  font-size: 0.82rem;
  line-height: 1.08;
  font-weight: 800;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.info-button {
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.78);
}

.info-button:hover,
.service-button:hover {
  transform: translateY(-2px);
}

.service-button {
  color: #ffffff;
}

.service-card-purple .service-button {
  background: #514fe2;
}

.service-card-orange .service-button {
  background: #f18a08;
}

.service-card-green .service-button {
  background: #078d4a;
}

.service-card-indigo .service-button {
  background: #34368d;
}

.service-card-gold .service-button {
  background: #e5bd77;
}

.carousel-arrow {
  position: relative;
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: transparent;
  color: rgba(57, 57, 145, 0.74);
  font-size: 3.3rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
}

.carousel-arrow:hover {
  color: #393991;
  transform: scale(1.08);
}

.carousel-arrow.is-disabled {
  opacity: 0.32;
  pointer-events: none;
}

.carousel-arrow-left {
  justify-self: start;
}

.carousel-arrow-right {
  justify-self: end;
}

/* ============================= */
/* CTA PROCESO */
/* ============================= */

.process-cta {
  background: #ffffff;
  padding: 74px 0 86px;
}

.process-container {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-areas:
    "title copy"
    "button button";
  column-gap: 86px;
  row-gap: 34px;
  align-items: center;
}

.process-title {
  grid-area: title;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
}

.process-dot {
  width: 40px;
  height: 40px;
  margin-top: 10px;
  border-radius: 999px;
  background: #f04b3d;
}

.process-title h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: #403d96;
  font-size: clamp(2.65rem, 4vw, 4rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.process-copy {
  grid-area: copy;
}

.process-copy p {
  color: #2d245e;
  font-size: clamp(1.02rem, 1.4vw, 1.34rem);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.process-copy strong {
  font-weight: 800;
}

.advisor-button {
  grid-area: button;
  justify-self: center;
  min-width: 410px;
  height: 58px;
  padding: 0 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #edf1f8;
  color: #2d245e;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.74rem;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(45, 36, 94, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.advisor-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(45, 36, 94, 0.14);
}

.advisor-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #31bd59;
  color: #ffffff;
  flex: 0 0 auto;
}

.advisor-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

/* ============================= */
/* MODAL SERVICIOS - COMPACTO */
/* ============================= */

.service-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 22px;
  display: grid;
  place-items: center;
  background: rgba(18, 20, 36, 0.48);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.service-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.service-modal-close {
  position: fixed;
  top: 14px;
  right: 28px;
  z-index: 1002;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 2.45rem;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.service-modal-close:hover {
  transform: rotate(8deg) scale(1.06);
  opacity: 0.88;
}

.service-modal {
  width: min(860px, calc(100vw - 48px));
  border-radius: 26px;
  overflow: hidden;
  background: #2f278c;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  transform: translateY(12px) scale(0.985);
  transition: transform 0.24s ease;
}

.service-modal-overlay.is-open .service-modal {
  transform: translateY(0) scale(1);
}

.service-modal-header {
  min-height: 82px;
  padding: 20px 28px 18px;
  display: grid;
  place-items: center;
  background: #ffffff;
}

.service-modal-header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  line-height: 1;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.02em;
  color: var(--modal-accent);
}

.service-modal-body {
  padding: 28px 44px 26px;
  background: #2f278c;
  overflow: visible;
}

.service-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: stretch;
}

.service-modal-card {
  min-height: 0;
  padding: 24px 28px;
  border-radius: 24px;
  background: #eef7f1;
  color: #59605f;
}

.service-modal-description {
  font-size: 0.82rem;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.service-modal-description strong {
  font-weight: 800;
}

.service-modal-card h3 {
  margin-top: 20px;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--modal-accent);
  font-size: 1.45rem;
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
}

.service-modal-pills {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.modal-pill {
  min-height: 34px;
  padding: 8px 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--modal-soft);
  color: #1f4234;
  font-size: 0.8rem;
  line-height: 1.15;
  font-weight: 500;
  text-align: center;
}

.service-modal-list {
  margin-top: 16px;
  padding-left: 17px;
  color: #5c6362;
}

.service-modal-list li {
  margin-bottom: 6px;
  font-size: 0.78rem;
  line-height: 1.32;
}

.service-modal-list strong {
  font-weight: 800;
}

.benefits-title {
  margin-top: 20px !important;
  font-size: 2rem !important;
  line-height: 1 !important;
  text-align: left !important;
}

.service-modal-benefits {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.modal-benefit {
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--modal-soft);
  color: #1f4234;
  font-size: 0.78rem;
  line-height: 1.12;
  font-weight: 500;
  text-align: center;
}

.service-modal-footer {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.service-modal-footer p {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.18;
  font-weight: 800;
  text-align: center;
}

.modal-service-button {
  min-width: 280px;
  height: 40px;
  padding: 0 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #069244;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.modal-service-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(6, 146, 68, 0.25);
}

.modal-wa-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.modal-wa-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* Colores dinámicos del modal */
.modal-theme-green {
  --modal-accent: #078d4a;
  --modal-soft: #b9ddce;
}

.modal-theme-orange {
  --modal-accent: #f18a08;
  --modal-soft: #f1d4a9;
}

.modal-theme-purple {
  --modal-accent: #514fe2;
  --modal-soft: #cbd0ff;
}

.modal-theme-indigo {
  --modal-accent: #34368d;
  --modal-soft: #c2caea;
}

.modal-theme-gold {
  --modal-accent: #d49b39;
  --modal-soft: #ecd5ac;
}

/* ============================= */
/* FOOTER GLOBAL */
/* ============================= */

.global-footer {
  background: #2c2490;
  border-top: 2px solid rgba(255, 255, 255, 0.9);
  color: var(--white);
  padding: 0;
}

.footer-container {
  width: min(var(--max), calc(100% - 48px));
  min-height: 205px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  align-items: center;
  gap: 56px;
}

.footer-links {
  display: grid;
  gap: 18px;
  justify-self: start;
}

.footer-links a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-brand {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  text-align: center;
  color: #ffffff;
}

.footer-brand img {
  width: 128px;
  max-width: none;
  height: auto;
  margin-bottom: 8px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.2));
}

.footer-brand strong {
  display: block;
  margin-top: 0;
  color: #ffffff;
  font-size: 1.26rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.footer-brand span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.46rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-social {
  justify-self: end;
  width: min(100%, 360px);
}

.footer-social p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 400;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-social a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.social-icon {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #eef1ff;
  color: #5547ba;
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
  flex: 0 0 auto;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1180px) {
  .site-header {
    padding: 0 6%;
    grid-template-columns: 230px 1fr 145px;
  }

  .main-nav {
    gap: 26px;
  }

  .services-track {
    gap: 26px;
    padding: 0 70px;
  }

  .service-card {
    flex-basis: 194px;
    width: 194px;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 116px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand button"
      "nav nav";
    gap: 12px;
    padding: 20px 5% 16px;
  }

  .brand {
    grid-area: brand;
  }

  .header-button {
    grid-area: button;
  }

  .main-nav {
    grid-area: nav;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    flex: 0 0 auto;
    font-size: 0.78rem;
  }

  .services-hero {
    padding: 48px 0 74px;
  }

  .services-carousel {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 6px;
  }

  .services-track {
    gap: 22px;
    padding: 0 32px;
  }

  .service-card {
    flex-basis: 188px;
    width: 188px;
    height: 374px;
  }

  .service-image {
    height: 108px;
  }

  .carousel-arrow {
    width: 42px;
    height: 42px;
    font-size: 2.8rem;
  }

  .process-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "copy"
      "button";
    text-align: center;
    row-gap: 28px;
  }

  .process-title {
    justify-content: center;
    text-align: left;
  }

  .process-copy {
    max-width: 680px;
    margin: 0 auto;
  }

  .service-modal {
    width: min(760px, calc(100vw - 36px));
  }

  .service-modal-body {
    padding: 32px 28px 28px;
  }

  .service-modal-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-modal-card {
    min-height: auto;
  }

  .service-modal-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modal-service-button {
    justify-self: center;
  }

  .footer-container {
    width: min(100% - 40px, var(--max));
    min-height: auto;
    padding: 42px 0;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 34px;
  }

  .footer-links,
  .footer-social,
  .footer-brand {
    justify-self: center;
  }

  .footer-brand {
    order: 1;
  }

  .footer-links {
    order: 2;
  }

  .footer-social {
    order: 3;
  }

  .footer-links a {
    margin: 0 auto;
  }

  .footer-social a {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "button"
      "nav";
    text-align: center;
  }

  .brand,
  .header-button {
    justify-self: center;
  }

  .header-button {
    width: 100%;
    max-width: 220px;
    height: 34px;
    border-radius: 8px;
  }

  .services-container {
    width: min(100% - 28px, var(--max));
  }

  .services-heading h1 {
    font-size: 2.55rem;
  }

  .services-heading p {
    font-size: 1.08rem;
    letter-spacing: 0.025em;
  }

  .services-carousel {
    margin-top: 42px;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
  }

  .services-track-wrapper::before,
  .services-track-wrapper::after {
    width: 34px;
  }

  .services-track {
    gap: 18px;
    padding: 0 18px;
  }

  .service-card {
    flex-basis: 178px;
    width: 178px;
    height: 360px;
  }

  .service-image {
    height: 102px;
  }

  .service-body {
    min-height: calc(100% - 102px);
    padding: 18px 17px 16px;
  }

  .service-card h2 {
    font-size: 1.78rem;
  }

  .service-card-orange h2 {
    font-size: 1.68rem;
  }

  .info-button,
  .service-button {
    font-size: 0.76rem;
  }

  .carousel-arrow {
    width: 34px;
    height: 42px;
    font-size: 2.6rem;
  }

  .process-cta {
    padding: 56px 0 68px;
  }

  .process-container {
    width: min(100% - 32px, 900px);
  }

  .process-title {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .process-dot {
    margin: 0 auto;
  }

  .advisor-button {
    width: 100%;
    min-width: 0;
    height: 52px;
    font-size: 1.34rem;
  }

  .service-modal-overlay {
    padding: 24px 14px;
  }

  .service-modal-close {
    top: 10px;
    right: 16px;
  }

  .service-modal {
    width: min(100%, calc(100vw - 28px));
    border-radius: 24px;
  }

  .service-modal-header {
    min-height: 86px;
    padding: 22px 18px;
  }

  .service-modal-header h2 {
    font-size: 2rem;
  }

  .service-modal-body {
    padding: 24px 18px 24px;
  }

  .service-modal-card {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .service-modal-description {
    font-size: 0.86rem;
  }

  .service-modal-benefits {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .benefits-title {
    font-size: 2rem !important;
    text-align: center !important;
  }

  .modal-service-button {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 1.42rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
  }

  .services-heading h1 {
    font-size: 2.22rem;
  }

  .services-carousel {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
  }

  .services-track {
    padding: 0 10px;
  }

  .service-card {
    flex-basis: 170px;
    width: 170px;
    height: 352px;
  }

  .service-image {
    height: 98px;
  }

  .footer-container {
    width: min(100% - 32px, var(--max));
    padding: 36px 0;
  }

  .footer-brand {
    min-width: 0;
  }

  .footer-brand img {
    width: 108px;
  }

  .footer-brand strong {
    font-size: 1.12rem;
  }

  .footer-brand span {
    font-size: 0.42rem;
  }

  .footer-links {
    gap: 14px;
  }

  .footer-links a {
    font-size: 0.95rem;
  }
}

/* ========================================================= */
/* SERVICIOS MOBILE DEFINITIVO - HEDMONT LÓPEZ */
/* Reemplaza TODOS los bloques móviles anteriores por este. */
/* No afecta escritorio porque solo corre en max-width: 720px */
/* ========================================================= */

@media (max-width: 720px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    background: #dfe7f7 !important;
  }

  body.menu-open,
  body.modal-open {
    overflow: hidden !important;
  }

  .services-page {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    background: #dfe7f7 !important;
  }

  .services-container,
  .process-container,
  .footer-container {
    width: min(100% - 32px, 430px) !important;
    max-width: 430px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  /* ============================= */
  /* HEADER MOBILE */
  /* ============================= */

  .site-header {
    position: relative !important;
    z-index: 90 !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 6px 28px 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    background: linear-gradient(90deg, #2b257f 0%, #4435b5 52%, #2a257e 100%) !important;
    color: #ffffff !important;
    overflow: visible !important;
  }

  .brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
  }

  .brand-name {
    color: #ffffff !important;
    font-size: 1.03rem !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: 0.015em !important;
  }

  .brand-subtitle {
    margin-top: 3px !important;
    color: #ffffff !important;
    font-size: 0.43rem !important;
    line-height: 1 !important;
    font-weight: 700 !important;
  }

  .main-nav,
  .header-button {
    display: none !important;
  }

  .mobile-menu-toggle {
    position: absolute !important;
    right: 29px !important;
    top: 12px !important;
    z-index: 120 !important;
    width: 27px !important;
    height: 27px !important;
    border: 0 !important;
    padding: 0 !important;
    display: grid !important;
    gap: 7px !important;
    background: transparent !important;
    cursor: pointer !important;
  }

  .mobile-menu-toggle span {
    display: block !important;
    width: 27px !important;
    height: 1px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    transition: transform 0.25s ease, opacity 0.25s ease !important;
  }

  .mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }

  .mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0 !important;
  }

  .mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }

  .mobile-menu {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100 !important;
    display: grid !important;
    place-items: start center !important;
    padding: 68px 22px 22px !important;
    background: rgba(21, 17, 72, 0.42) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .mobile-menu.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mobile-menu-panel {
    width: min(100%, 360px) !important;
    border-radius: 22px !important;
    padding: 26px 24px 24px !important;
    background: linear-gradient(180deg, #33299b 0%, #2c2490 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 24px 60px rgba(11, 10, 35, 0.35) !important;
  }

  .mobile-menu-brand {
    display: grid !important;
    gap: 5px !important;
    text-align: center !important;
    margin-bottom: 24px !important;
  }

  .mobile-menu-brand strong {
    font-size: 1.25rem !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
  }

  .mobile-menu-brand span {
    font-size: 0.55rem !important;
    line-height: 1 !important;
    font-weight: 700 !important;
  }

  .mobile-menu-nav {
    display: grid !important;
    gap: 14px !important;
    text-align: center !important;
  }

  .mobile-menu-nav a {
    min-height: 40px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    background: rgba(255, 255, 255, 0.07) !important;
    text-decoration: none !important;
  }

  .mobile-menu-nav a.active {
    color: #2c2490 !important;
    background: #ffb22b !important;
  }

  .mobile-menu-cta {
    height: 42px !important;
    margin-top: 18px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    background: #ffffff !important;
    color: #2c2490 !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    text-decoration: none !important;
  }

  /* ============================= */
  /* HERO SERVICIOS MOBILE */
  /* ============================= */

  .services-hero {
    position: relative !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 38px 0 45px !important;
    margin: 0 !important;
    background: #dfe7f7 !important;
    overflow: visible !important;
  }

  .services-heading {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .services-heading h1 {
    width: min(100%, 350px) !important;
    margin: 0 auto 8px !important;
    padding: 0 !important;
    color: #3f3d97 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.62rem !important;
    line-height: 1.02 !important;
    font-weight: 900 !important;
    letter-spacing: 0.01em !important;
    text-align: center !important;
  }

  .services-heading p {
    width: min(100%, 330px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    color: #201a41 !important;
    font-size: 0.78rem !important;
    line-height: 1.16 !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
    text-align: center !important;
  }

  .mobile-services-search,
  .services-search-wrap {
    display: block !important;
    width: min(100%, 329px) !important;
    height: 39px !important;
    margin: 30px auto 41px !important;
    border-radius: 8px !important;
    background: #cdd9f1 !important;
    overflow: hidden !important;
  }

  .mobile-services-search input,
  .services-search-wrap input {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #24204d !important;
    padding: 0 20px !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
  }

  .mobile-services-search input::placeholder,
  .services-search-wrap input::placeholder {
    color: rgba(36, 32, 77, 0.78) !important;
    opacity: 1 !important;
  }

  /* ============================= */
  /* CARDS MOBILE - CORRECCIÓN CLAVE */
  /* ============================= */

  .services-carousel {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    clip-path: none !important;
    contain: none !important;
  }

  .services-track-wrapper {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    clip-path: none !important;
    contain: none !important;
  }

  .services-track {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: min(100% - 92px, 340px) !important;
    min-width: 0 !important;
    max-width: 340px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 18px 20px !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    clip-path: none !important;
    contain: none !important;
    scroll-behavior: auto !important;
  }

  .carousel-arrow {
    display: none !important;
  }

  .services-track > .service-card,
  .services-track > [data-service-card],
  .service-card[data-service-card] {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    display: grid !important;
    grid-template-rows: 95px 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 275px !important;
    min-height: 275px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    clip-path: none !important;
    contain: none !important;
    box-shadow: none !important;
    flex: none !important;
  }

  .service-card.is-filtered-out {
    display: none !important;
  }

  .service-image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 95px !important;
    min-height: 95px !important;
    max-height: 95px !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .service-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .service-body {
    width: 100% !important;
    height: auto !important;
    min-height: 180px !important;
    padding: 15px 12px 13px !important;
    display: grid !important;
    grid-template-rows: 1fr auto !important;
    align-items: stretch !important;
    justify-items: center !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .service-card h2 {
    align-self: start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.58rem !important;
    line-height: 0.9 !important;
    font-weight: 900 !important;
    letter-spacing: 0.005em !important;
    text-align: center !important;
  }

  .service-card-orange h2 {
    font-size: 1.35rem !important;
    line-height: 0.9 !important;
  }

  .service-card-indigo h2,
  .service-card-gold h2 {
    font-size: 1.42rem !important;
    line-height: 0.92 !important;
  }

  .service-actions {
    width: 100% !important;
    display: grid !important;
    gap: 10px !important;
    justify-items: center !important;
    align-self: end !important;
  }

  .info-button,
  .service-button {
    width: 100% !important;
    height: 25px !important;
    min-height: 25px !important;
    border-radius: 4px !important;
    border: 0 !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 7px !important;
    font-size: 0.75rem !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-align: center !important;
    cursor: pointer !important;
    text-decoration: none !important;
  }

  .service-button {
    height: 38px !important;
    min-height: 38px !important;
    color: #ffffff !important;
    font-size: 0.74rem !important;
    line-height: 0.98 !important;
  }

  /* ============================= */
  /* COLORES CARDS MOBILE */
  /* ============================= */

  .service-card-purple,
  .service-card-purple .service-body {
    background: #999dee !important;
  }

  .service-card-purple h2,
  .service-card-purple .info-button {
    color: #0013c5 !important;
  }

  .service-card-purple .info-button {
    background: #f2f5ff !important;
  }

  .service-card-purple .service-button {
    background: #0013d8 !important;
  }

  .service-card-orange,
  .service-card-orange .service-body {
    background: #eadfcb !important;
  }

  .service-card-orange h2,
  .service-card-orange .info-button {
    color: #f48600 !important;
  }

  .service-card-orange .info-button {
    background: #ffffff !important;
  }

  .service-card-orange .service-button {
    background: #fb8500 !important;
  }

  .service-card-green,
  .service-card-green .service-body {
    background: #aed5cd !important;
  }

  .service-card-green h2,
  .service-card-green .info-button {
    color: #078a46 !important;
  }

  .service-card-green .info-button {
    background: #eaf8f4 !important;
  }

  .service-card-green .service-button {
    background: #078f46 !important;
  }

  .service-card-indigo,
  .service-card-indigo .service-body {
    background: #999dee !important;
  }

  .service-card-indigo h2,
  .service-card-indigo .info-button {
    color: #0013c5 !important;
  }

  .service-card-indigo .info-button {
    background: #f2f5ff !important;
  }

  .service-card-indigo .service-button {
    background: #0013d8 !important;
  }

  .service-card-gold,
  .service-card-gold .service-body {
    background: #eadfcb !important;
  }

  .service-card-gold h2,
  .service-card-gold .info-button {
    color: #f48600 !important;
  }

  .service-card-gold .info-button {
    background: #ffffff !important;
  }

  .service-card-gold .service-button {
    background: #fb8500 !important;
  }

  /* ============================= */
  /* CTA INFERIOR MOBILE */
  /* ============================= */

  .process-cta {
    width: 100% !important;
    background: #ffffff !important;
    padding: 48px 0 54px !important;
    margin: 0 !important;
  }

  .process-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "title"
      "copy"
      "button" !important;
    gap: 22px !important;
    text-align: center !important;
  }

  .process-title {
    grid-area: title !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .process-dot {
    display: none !important;
  }

  .process-title h2 {
    color: #3f3d97 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.85rem !important;
    line-height: 0.93 !important;
    font-weight: 900 !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .process-copy {
    grid-area: copy !important;
    text-align: center !important;
  }

  .process-copy p {
    max-width: 345px !important;
    margin: 0 auto !important;
    color: #3e3892 !important;
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    text-align: center !important;
  }

  .process-copy strong {
    font-weight: 900 !important;
  }

  .advisor-button {
    grid-area: button !important;
    justify-self: center !important;
    width: min(100%, 257px) !important;
    min-width: 0 !important;
    height: 32px !important;
    min-height: 32px !important;
    border-radius: 999px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #eef2f8 !important;
    color: #2d245e !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  .advisor-icon {
    width: 20px !important;
    height: 20px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    background: #28c760 !important;
    color: #ffffff !important;
    flex: 0 0 auto !important;
  }

  .advisor-icon svg {
    width: 15px !important;
    height: 15px !important;
    fill: currentColor !important;
  }

  /* ============================= */
  /* MODAL MOBILE */
  /* ============================= */

  .service-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1000 !important;
    background: rgba(28, 31, 42, 0.48) !important;
    display: none !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 118px 0 0 !important;
    overflow-y: auto !important;
  }

  .service-modal-overlay.is-open {
    display: flex !important;
  }

  .service-modal-close {
    position: fixed !important;
    top: 116px !important;
    right: 31px !important;
    z-index: 1005 !important;
    width: 34px !important;
    height: 34px !important;
    border: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 2.2rem !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    cursor: pointer !important;
  }

  .service-modal {
    width: min(100% - 74px, 331px) !important;
    max-height: none !important;
    border-radius: 17px 17px 0 0 !important;
    overflow: hidden !important;
    background: #2c2490 !important;
    box-shadow: 0 26px 70px rgba(17, 13, 52, 0.32) !important;
  }

  .service-modal-header {
    min-height: 65px !important;
    padding: 18px 18px 13px !important;
    background: #ffffff !important;
    display: grid !important;
    place-items: center !important;
    text-align: center !important;
  }

  .service-modal-header h2 {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.74rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: 0.01em !important;
    color: #0013c5 !important;
  }

  .modal-theme-orange .service-modal-header h2,
  .modal-theme-gold .service-modal-header h2 {
    color: #f48600 !important;
  }

  .modal-theme-green .service-modal-header h2 {
    color: #078a46 !important;
  }

  .modal-theme-indigo .service-modal-header h2,
  .modal-theme-purple .service-modal-header h2 {
    color: #0013c5 !important;
  }

  .service-modal-body {
    background: #2c2490 !important;
    padding: 20px 40px 32px !important;
  }

  .service-modal-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .service-modal-card {
    border-radius: 12px !important;
    background: #fff2df !important;
    padding: 21px 12px 19px !important;
    text-align: center !important;
  }

  .service-modal-description {
    color: #6e6e73 !important;
    font-size: 0.62rem !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
    text-align: left !important;
    margin: 0 auto 16px !important;
  }

  .service-modal-card h3 {
    color: #0013c5 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-align: center !important;
    margin: 0 0 16px !important;
  }

  .modal-theme-orange .service-modal-card h3,
  .modal-theme-orange .benefits-title,
  .modal-theme-gold .service-modal-card h3,
  .modal-theme-gold .benefits-title {
    color: #f48600 !important;
  }

  .modal-theme-green .service-modal-card h3,
  .modal-theme-green .benefits-title {
    color: #078a46 !important;
  }

  .service-modal-pills {
    display: grid !important;
    gap: 12px !important;
  }

  .modal-pill {
    min-height: 30px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    background: #f3d3a3 !important;
    color: #2e493b !important;
    padding: 6px 10px !important;
    font-size: 0.62rem !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
    text-align: center !important;
  }

  .service-modal-list {
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
    padding-left: 15px !important;
    text-align: left !important;
  }

  .service-modal-list li {
    color: #6e6e73 !important;
    font-size: 0.56rem !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
  }

  .benefits-title {
    margin-top: 18px !important;
    font-size: 1.35rem !important;
  }

  .service-modal-benefits {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .modal-benefit {
    min-height: 29px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    background: #f3d3a3 !important;
    color: #2e493b !important;
    padding: 5px 10px !important;
    font-size: 0.62rem !important;
    line-height: 1.1 !important;
    font-weight: 500 !important;
    text-align: center !important;
  }

  .service-modal-footer {
    margin-top: 26px !important;
    display: grid !important;
    justify-items: center !important;
    gap: 18px !important;
    text-align: center !important;
  }

  .service-modal-footer p {
    max-width: 210px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    text-align: center !important;
  }

  .modal-service-button {
    width: min(100%, 204px) !important;
    height: 29px !important;
    min-height: 29px !important;
    border-radius: 999px !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #078f46 !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  .modal-theme-orange .modal-service-button,
  .modal-theme-gold .modal-service-button {
    background: #fb8500 !important;
  }

  .modal-theme-green .modal-service-button {
    background: #078f46 !important;
  }

  .modal-theme-indigo .modal-service-button,
  .modal-theme-purple .modal-service-button {
    background: #0013d8 !important;
  }

  .modal-wa-icon {
    width: 16px !important;
    height: 16px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    color: #ffffff !important;
    flex: 0 0 auto !important;
  }

  .modal-wa-icon svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
  }

  /* ============================= */
  /* FOOTER MOBILE */
  /* ============================= */

  .global-footer {
    background: #2c2490 !important;
    padding: 31px 0 31px !important;
    border-top: 0 !important;
  }

  .footer-container {
    width: min(100% - 80px, 360px) !important;
    max-width: 360px !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "links brand"
      "social social" !important;
    gap: 29px 18px !important;
    align-items: center !important;
    text-align: left !important;
  }

  .footer-links {
    grid-area: links !important;
    justify-self: start !important;
    display: grid !important;
    gap: 17px !important;
  }

  .footer-links a {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.94rem !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: 0.03em !important;
    text-decoration: none !important;
  }

  .footer-brand {
    grid-area: brand !important;
    justify-self: end !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  .footer-brand img {
    width: 122px !important;
    height: auto !important;
    margin-bottom: 5px !important;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.2)) !important;
  }

  .footer-brand strong {
    color: #ffffff !important;
    font-size: 1rem !important;
    line-height: 1 !important;
  }

  .footer-brand span {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.36rem !important;
    line-height: 1 !important;
  }

  .footer-social {
    grid-area: social !important;
    justify-self: stretch !important;
    width: 100% !important;
    padding-top: 28px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.72) !important;
    text-align: center !important;
  }

  .footer-social p {
    margin-bottom: 22px !important;
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: 0.03em !important;
  }

  .footer-social a {
    justify-content: center !important;
    margin-top: 12px !important;
    gap: 11px !important;
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 0.72rem !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  .social-icon {
    width: 22px !important;
    height: 22px !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 420px) {
  .services-container,
  .process-container {
    width: min(100% - 28px, 390px) !important;
  }

  .services-track {
    width: min(100% - 78px, 330px) !important;
    max-width: 330px !important;
    gap: 18px 18px !important;
  }

  .services-track > .service-card,
  .services-track > [data-service-card],
  .service-card[data-service-card] {
    height: 275px !important;
    min-height: 275px !important;
  }

  .service-card h2 {
    font-size: 1.48rem !important;
  }

  .service-card-orange h2 {
    font-size: 1.3rem !important;
  }

  .service-card-indigo h2,
  .service-card-gold h2 {
    font-size: 1.34rem !important;
  }

  .info-button,
  .service-button {
    font-size: 0.72rem !important;
  }

  .service-button {
    height: 37px !important;
  }

  .service-modal {
    width: min(100% - 74px, 331px) !important;
  }

  .service-modal-body {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  .footer-container {
    width: min(100% - 56px, 340px) !important;
  }

  .footer-brand img {
    width: 112px !important;
  }
}