/**
 * Exponent — Services
 * Hero section
 */


/* =========================================================
   DIVI SECTION RESET
   ========================================================= */

.exp-services-hero-shell.et_pb_section {
  position: relative;

  width: 100%;
  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden;
  overflow: clip;

  border: 0 !important;
  background-color: var(--exp-color-gray-light) !important;
}

.exp-services-hero-shell,
.exp-services-hero-shell *,
.exp-services-hero-shell *::before,
.exp-services-hero-shell *::after {
  box-sizing: border-box;
}


/* =========================================================
   DIVI CONTAINER
   Same width used throughout the Home page
   ========================================================= */

.exp-services-hero-shell .exp-services-hero-row {
  width: min(
    calc(100% - var(--exp-container-spacing)),
    var(--exp-container-max-width)
  ) !important;

  max-width: var(--exp-container-max-width) !important;

  margin-right: auto !important;
  margin-left: auto !important;
  padding: 0 !important;

  border: 0 !important;
}

.exp-services-hero-shell .exp-services-hero-row::before,
.exp-services-hero-shell .exp-services-hero-row::after {
  display: none !important;
}

.exp-services-hero-shell .exp-services-hero-row .et_pb_column,
.exp-services-hero-shell .exp-services-hero-row .et_pb_code,
.exp-services-hero-shell .exp-services-hero-row .et_pb_code_inner {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
}


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

.exp-services-hero {
  position: relative;

  width: 100%;
  margin: 0;

  padding:
    clamp(10rem, 12vw, 14.5rem)
    0
    clamp(5.5rem, 8vw, 9rem);

  color: var(--exp-color-navy);
}


/* =========================================================
   MAIN GRID
   ========================================================= */

.exp-services-hero__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.36fr)
    minmax(28rem, 1fr);

  grid-template-areas:
    "heading intro"
    "media relationships";

  align-items: start;

  column-gap: clamp(5rem, 11vw, 13.5rem);
  row-gap: clamp(4rem, 5vw, 6rem);

  width: 100%;
}


/* =========================================================
   HEADING
   ========================================================= */

.exp-services-hero__heading {
  grid-area: heading;

  align-self: start;

  width: 100%;
  min-width: 0;
}

.exp-services-hero__title {
  width: 100%;
  max-width: 52rem;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--exp-color-navy);

  text-wrap: balance;
}

.exp-services-hero__title-line {
  display: block;
}

.exp-services-hero__title-editorial {
  display: block;

  margin-top: 0.04em;

  color: inherit;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.exp-services-hero__intro {
  grid-area: intro;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: 100%;
  max-width: 36rem;
  min-width: 0;

  padding-top: 0.75rem;
}

.exp-services-hero__copy.exp-section-copy {
  width: 100%;
  max-width: 35rem;

  margin: 0 !important;
  padding: 0 !important;

  color: rgba(var(--exp-color-navy-rgb), 0.72);

  text-wrap: pretty;
}


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

.exp-services-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  min-height: 3.35rem;

  margin-top: clamp(2rem, 2.75vw, 2.75rem);
  padding:
    0.85rem
    clamp(1.75rem, 2.5vw, 2.5rem);

  border: 1px solid var(--exp-color-gold);
  border-radius: 999px;

  color: var(--exp-color-navy) !important;
  background-color: var(--exp-color-gold);

  font-family: var(--exp-font-primary);
  font-size: var(--exp-eyebrow-font-size);
  font-style: var(--exp-font-style-regular);
  font-weight: var(--exp-eyebrow-font-weight);
  line-height: var(--exp-eyebrow-line-height);
  letter-spacing: 0;

  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: nowrap;

  box-shadow:
    0 0.75rem 2rem
    rgba(var(--exp-color-navy-rgb), 0.08);

  transition:
    color var(--exp-transition-fast) ease,
    background-color var(--exp-transition-fast) ease,
    border-color var(--exp-transition-fast) ease,
    box-shadow var(--exp-transition-normal) ease,
    transform var(--exp-transition-normal) var(--exp-ease-premium);
}

.exp-services-hero__button span {
  pointer-events: none;
}

.exp-services-hero__button:focus-visible {
  outline: 2px solid var(--exp-color-navy);
  outline-offset: 4px;
}


/* =========================================================
   MAIN IMAGE
   ========================================================= */

.exp-services-hero__media {
  position: relative;
  grid-area: media;

  width: 100%;
  min-width: 0;

  aspect-ratio: 1 / 1;

  margin: 0;
  padding: 0;

  overflow: hidden;

  border-radius: clamp(1.25rem, 1.6vw, 1.875rem);

  background-color:
    rgba(var(--exp-color-navy-rgb), 0.08);

  isolation: isolate;
}

.exp-services-hero__media::after {
  position: absolute;
  inset: 0;
  z-index: 1;

  content: "";

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(var(--exp-color-navy-rgb), 0) 55%,
      rgba(var(--exp-color-navy-rgb), 0.08) 100%
    );
}

.exp-services-hero__image {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  object-fit: cover;
  object-position: center;

  transform: scale(1);
  transform-origin: center;

  transition:
    transform 900ms var(--exp-ease-premium),
    filter 500ms ease;
}


/* =========================================================
   CAUSE-AND-EFFECT PANEL
   ========================================================= */

.exp-services-hero__relationships {
  grid-area: relationships;

  width: 100%;
  min-width: 0;

  padding:
    clamp(1.25rem, 1.75vw, 1.75rem)
    clamp(1.5rem, 2.25vw, 2.5rem);

  overflow: hidden;

  border: 1px solid
    rgba(var(--exp-color-navy-rgb), 0.16);

  border-radius: clamp(1.25rem, 1.6vw, 1.875rem);

  background-color:
    rgba(var(--exp-color-white-rgb), 0.08);
}


/* =========================================================
   RELATIONSHIP LIST
   ========================================================= */

.exp-services-hero__relationship-list {
  width: 100%;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

.exp-services-hero__relationship-list::before,
.exp-services-hero__relationship-list::after,
.exp-services-hero__relationship-list > li::before,
.exp-services-hero__relationship-list > li::after,
.exp-services-hero__relationship-list > li::marker {
  display: none !important;
  content: "" !important;
}


/* =========================================================
   RELATIONSHIP ROW
   ========================================================= */

.exp-services-hero__relationship {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    2.5rem
    minmax(0, 1.08fr);

  align-items: center;

  gap: clamp(1rem, 1.5vw, 1.625rem);

  width: 100%;
  min-height: 4.25rem;

  margin: 0 !important;
  padding:
    clamp(1.1rem, 1.45vw, 1.5rem)
    0 !important;

  color: var(--exp-color-navy);

  border-bottom: 1px solid
    rgba(var(--exp-color-navy-rgb), 0.12);

  transition:
    color var(--exp-transition-fast) ease,
    background-color var(--exp-transition-fast) ease;
}

.exp-services-hero__relationship:first-child {
  padding-top: 0.75rem !important;
}

.exp-services-hero__relationship:last-child {
  padding-bottom: 0.75rem !important;
  border-bottom: 0;
}


/* =========================================================
   RELATIONSHIP TEXT
   ========================================================= */

.exp-services-hero__relationship-source,
.exp-services-hero__relationship-result {
  min-width: 0;

  color: rgba(var(--exp-color-navy-rgb), 0.72);

  font-family: var(--exp-font-primary);
  font-size: var(--exp-body-font-size);
  font-style: var(--exp-font-style-regular);
  font-weight: var(--exp-font-weight-regular);
  line-height: 1.35;
  letter-spacing: var(--exp-body-letter-spacing);

  text-wrap: pretty;
}


/* =========================================================
   RELATIONSHIP ARROW
   ========================================================= */

.exp-services-hero__relationship-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 2.5rem;
  height: 2.5rem;

  border-radius: 50%;

  color: var(--exp-color-navy);

  background-color:
    rgba(var(--exp-color-blue-gray-rgb), 0.22);

  transition:
    color var(--exp-transition-fast) ease,
    background-color var(--exp-transition-fast) ease,
    transform var(--exp-transition-normal) var(--exp-ease-premium);
}

.exp-services-hero__relationship-arrow svg {
  display: block;

  width: 1rem;
  height: 1rem;

  overflow: visible;
}


/* =========================================================
   DESKTOP HOVER EFFECTS
   ========================================================= */

@media (hover: hover) and (pointer: fine) {
  .exp-services-hero__button:hover {
    color: var(--exp-color-white) !important;

    border-color: var(--exp-color-navy);
    background-color: var(--exp-color-navy);

    box-shadow:
      0 1rem 2.5rem
      rgba(var(--exp-color-navy-rgb), 0.15);

    transform: translateY(-3px);
  }

  .exp-services-hero__media:hover
    .exp-services-hero__image {
    transform: scale(1.018);
  }

  .exp-services-hero__relationship:hover
    .exp-services-hero__relationship-arrow {
    color: var(--exp-color-navy);

    background-color:
      rgba(var(--exp-color-gold-rgb), 0.38);

    transform: translateX(0.2rem);
  }

  .exp-services-hero__relationship:hover
    .exp-services-hero__relationship-source,
  .exp-services-hero__relationship:hover
    .exp-services-hero__relationship-result {
    color: var(--exp-color-navy);
  }
}


/* =========================================================
   ENTRANCE ANIMATION
   JS will add .is-enhanced and .is-visible
   ========================================================= */

.exp-services-hero.is-enhanced
  .exp-services-hero__heading,
.exp-services-hero.is-enhanced
  .exp-services-hero__intro,
.exp-services-hero.is-enhanced
  .exp-services-hero__relationships {
  opacity: 0;

  transform: translate3d(0, 1.5rem, 0);

  transition:
    opacity var(--exp-transition-slow) ease,
    transform var(--exp-transition-slow)
      var(--exp-ease-premium);
}

.exp-services-hero.is-enhanced
  .exp-services-hero__media {
  opacity: 0;

  transform: translate3d(0, 1.75rem, 0);

  transition:
    opacity 750ms ease,
    transform 850ms var(--exp-ease-premium);
}

.exp-services-hero.is-enhanced
  .exp-services-hero__image {
  transform: scale(1.035);
}

.exp-services-hero.is-enhanced.is-visible
  .exp-services-hero__heading,
.exp-services-hero.is-enhanced.is-visible
  .exp-services-hero__intro,
.exp-services-hero.is-enhanced.is-visible
  .exp-services-hero__media,
.exp-services-hero.is-enhanced.is-visible
  .exp-services-hero__relationships {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.exp-services-hero.is-enhanced.is-visible
  .exp-services-hero__image {
  transform: scale(1);
}


/* Animation sequence */

.exp-services-hero.is-enhanced
  .exp-services-hero__intro {
  transition-delay: 90ms;
}

.exp-services-hero.is-enhanced
  .exp-services-hero__media {
  transition-delay: 160ms;
}

.exp-services-hero.is-enhanced
  .exp-services-hero__relationships {
  transition-delay: 240ms;
}


/* =========================================================
   MEDIUM DESKTOP
   ========================================================= */

@media (max-width: 75rem) {
  .exp-services-hero {
    padding-top: clamp(9rem, 13vw, 11rem);
  }

  .exp-services-hero__grid {
    grid-template-columns:
      minmax(0, 1.2fr)
      minmax(25rem, 0.95fr);

    column-gap: clamp(3.5rem, 6vw, 5rem);
    row-gap: clamp(3.5rem, 5vw, 4.5rem);
  }

  .exp-services-hero__relationships {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .exp-services-hero__relationship {
    grid-template-columns:
      minmax(0, 1fr)
      2.25rem
      minmax(0, 1.05fr);

    gap: 1rem;
  }

  .exp-services-hero__relationship-arrow {
    width: 2.25rem;
    height: 2.25rem;
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 61.99rem) {
  .exp-services-hero {
    padding:
      clamp(8.5rem, 16vw, 10rem)
      0
      clamp(5rem, 9vw, 7rem);
  }

  .exp-services-hero__grid {
    grid-template-columns: minmax(0, 1fr);

    grid-template-areas:
      "heading"
      "intro"
      "media"
      "relationships";

    row-gap: 0;
  }

  .exp-services-hero__heading {
    max-width: 44rem;
  }

  .exp-services-hero__intro {
    max-width: 36rem;
    margin-top: 2rem;
    padding-top: 0;
  }

  .exp-services-hero__media {
    aspect-ratio: 16 / 10;
    margin-top: clamp(4rem, 8vw, 5rem);
  }

  .exp-services-hero__relationships {
    max-width: 100%;
    margin-top: clamp(1.75rem, 4vw, 2.5rem);
  }

  .exp-services-hero__relationship {
    grid-template-columns:
      minmax(0, 1fr)
      2.5rem
      minmax(0, 1fr);

    gap: clamp(1rem, 3vw, 2rem);
  }
}


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

@media (max-width: 47.99rem) {
  .exp-services-hero {
    padding:
      clamp(7.5rem, 27vw, 9rem)
      0
      clamp(4.5rem, 14vw, 6rem);
  }

  .exp-services-hero__title {
    max-width: 22rem;
  }

  .exp-services-hero__intro {
    width: 100%;
    max-width: 32rem;

    margin-top: 1.75rem;
  }

  .exp-services-hero__copy.exp-section-copy {
    max-width: 30rem;
  }

  .exp-services-hero__button {
    width: min(100%, 23rem);
    min-height: 3.25rem;

    margin-top: 2rem;
    padding:
      0.85rem
      1.5rem;

    white-space: normal;
  }

  .exp-services-hero__media {
    aspect-ratio: 4 / 5;

    margin-top: clamp(3.25rem, 12vw, 4.25rem);

    border-radius: 1.25rem;
  }

  .exp-services-hero__relationships {
    margin-top: 1.5rem;
    padding:
      0.75rem
      clamp(1rem, 5vw, 1.375rem);

    border-radius: 1.25rem;
  }

  .exp-services-hero__relationship {
    grid-template-columns:
      minmax(0, 1fr)
      2rem
      minmax(0, 1.08fr);

    gap: clamp(0.65rem, 3vw, 1rem);

    min-height: 4.5rem;

    padding:
      1.25rem
      0 !important;
  }

  .exp-services-hero__relationship:first-child {
    padding-top: 1rem !important;
  }

  .exp-services-hero__relationship:last-child {
    padding-bottom: 1rem !important;
  }

  .exp-services-hero__relationship-source,
  .exp-services-hero__relationship-result {
    font-size: 0.875rem;
    line-height: 1.4;
    letter-spacing: -0.008em;
  }

  .exp-services-hero__relationship-arrow {
    width: 2rem;
    height: 2rem;
  }

  .exp-services-hero__relationship-arrow svg {
    width: 0.875rem;
    height: 0.875rem;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 30rem) {
  .exp-services-hero__title {
    max-width: 19rem;
  }

  .exp-services-hero__relationship {
    grid-template-columns:
      minmax(0, 1fr)
      1.875rem
      minmax(0, 1.08fr);

    gap: 0.55rem;
  }

  .exp-services-hero__relationship-source,
  .exp-services-hero__relationship-result {
    font-size: 0.8125rem;
  }

  .exp-services-hero__relationship-arrow {
    width: 1.875rem;
    height: 1.875rem;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .exp-services-hero__button,
  .exp-services-hero__media,
  .exp-services-hero__image,
  .exp-services-hero__relationship,
  .exp-services-hero__relationship-arrow,
  .exp-services-hero__relationship-source,
  .exp-services-hero__relationship-result,
  .exp-services-hero.is-enhanced
    .exp-services-hero__heading,
  .exp-services-hero.is-enhanced
    .exp-services-hero__intro,
  .exp-services-hero.is-enhanced
    .exp-services-hero__media,
  .exp-services-hero.is-enhanced
    .exp-services-hero__relationships {
    transition: none !important;
  }

  .exp-services-hero.is-enhanced
    .exp-services-hero__heading,
  .exp-services-hero.is-enhanced
    .exp-services-hero__intro,
  .exp-services-hero.is-enhanced
    .exp-services-hero__media,
  .exp-services-hero.is-enhanced
    .exp-services-hero__relationships {
    opacity: 1 !important;
    transform: none !important;
  }

  .exp-services-hero.is-enhanced
    .exp-services-hero__image {
    transform: none !important;
  }
}

/* =========================================================
   Services Hero — Desktop viewport composition
   Mantiene todo el hero visible dentro de una pantalla
   ========================================================= */

@media (min-width: 62rem) {
  .exp-services-hero-shell.et_pb_section,
  .exp-services-hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .exp-services-hero {
    display: flex;
    align-items: center;

    /*
     * Deja espacio para el navbar, pero elimina
     * el exceso de aire vertical.
     */
    padding-top: clamp(5.75rem, 10svh, 8rem);
    padding-bottom: clamp(1.5rem, 3.5svh, 3rem);
  }

  .exp-services-hero__grid {
    width: 100%;

    /* Reduce la distancia entre la cabecera y la imagen */
    row-gap: clamp(1.5rem, 3svh, 2.75rem);
  }

  .exp-services-hero__media {
    /*
     * Impide que una pantalla ancha pero baja genere
     * una imagen demasiado grande verticalmente.
     */
    width: 100%;
    max-width: min(100%, calc(100svh - 21rem));
    justify-self: start;
    aspect-ratio: 1 / 1;
  }

  .exp-services-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* =========================================================
   SERVICE CATEGORIES
   Page: Our Services
   ========================================================= */

/* ---------- Divi 5 section reset ---------- */

.exp-service-categories-shell.et_pb_section {
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  overflow: clip;
  border: 0 !important;
  background-color: var(--exp-color-navy) !important;
}

.exp-service-categories-shell,
.exp-service-categories-shell *,
.exp-service-categories-shell *::before,
.exp-service-categories-shell *::after {
  box-sizing: border-box;
}

.exp-service-categories-shell .exp-service-categories-row {
  display: block !important;

  width: min(
    calc(100% - var(--exp-container-spacing)),
    var(--exp-container-max-width)
  ) !important;

  max-width: var(--exp-container-max-width) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 0 !important;
  border: 0 !important;
}

.exp-service-categories-shell .exp-service-categories-row::before,
.exp-service-categories-shell .exp-service-categories-row::after {
  display: none !important;
}

.exp-service-categories-shell
  .exp-service-categories-row
  .et_pb_column,
.exp-service-categories-shell
  .exp-service-categories-row
  .et_pb_code,
.exp-service-categories-shell
  .exp-service-categories-row
  .et_pb_code_inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}


/* ---------- Section ---------- */

.exp-service-categories {
  --exp-section-text-color: var(--exp-color-white);
  --exp-section-muted-color: rgba(
    var(--exp-color-white-rgb),
    0.72
  );
  --exp-section-border-color: rgba(
    var(--exp-color-white-rgb),
    0.18
  );

  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;

  padding:
    clamp(6rem, 7vw, 8rem)
    0
    clamp(6rem, 8vw, 9rem);

  color: var(--exp-section-text-color);
}


/* ---------- Header ---------- */

.exp-service-categories__header {
  width: 100%;
  margin: 0 0 clamp(6rem, 8vw, 9rem);
  padding: 0;
}

.exp-service-categories__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--exp-eyebrow-gap);

  width: fit-content;
  margin: 0 0 var(--exp-eyebrow-title-gap) !important;
  padding: 0 !important;

  color: var(--exp-color-white);

  font-family: var(--exp-font-primary);
  font-size: var(--exp-eyebrow-font-size);
  font-style: var(--exp-font-style-regular);
  font-weight: var(--exp-eyebrow-font-weight);
  line-height: var(--exp-eyebrow-line-height);
  letter-spacing: var(--exp-eyebrow-letter-spacing);
  text-transform: uppercase;
}

.exp-service-categories__eyebrow-dot {
  display: block;
  flex: 0 0 auto;

  width: var(--exp-eyebrow-dot-size);
  height: var(--exp-eyebrow-dot-size);

  border-radius: 50%;
  background-color: var(--exp-color-gold);
}

.exp-service-categories__title.exp-section-title {
  width: 100%;
  max-width: 48rem;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--exp-color-white);
}

.exp-service-categories__title-line {
  display: block;
}

.exp-service-categories__title-editorial {
  display: block;
  margin-top: 0.08em;
  color: inherit;
}


/* ---------- Grid ---------- */

.exp-service-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  column-gap: clamp(1.25rem, 1.75vw, 1.75rem);
  row-gap: clamp(1.25rem, 1.5vw, 1.5rem);

  width: 100%;
  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

.exp-service-categories__grid::before,
.exp-service-categories__grid::after,
.exp-service-categories__item::before,
.exp-service-categories__item::after,
.exp-service-categories__item::marker {
  display: none !important;
  content: "" !important;
}

.exp-service-categories__item {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}


/* ---------- Category card ---------- */

.exp-service-category-card {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: 100%;
  min-height: clamp(13.5rem, 13.25vw, 16rem);

  margin: 0;
  padding: clamp(1.75rem, 2.2vw, 2rem);

  overflow: hidden;
  border: 1px solid var(--exp-section-border-color);
  border-radius: clamp(
    var(--exp-radius-large),
    1.6vw,
    1.875rem
  );

  background-color: transparent;
  color: var(--exp-color-white) !important;

  text-decoration: none !important;
  touch-action: manipulation;

  transition:
    transform var(--exp-transition-normal)
      var(--exp-ease-premium),
    border-color var(--exp-transition-normal) ease,
    background-color var(--exp-transition-normal) ease,
    box-shadow var(--exp-transition-normal)
      var(--exp-ease-premium);
}


/* ---------- Card icon ---------- */

.exp-service-category-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  width: clamp(3.75rem, 3.8vw, 4.5rem);
  height: clamp(3.75rem, 3.8vw, 4.5rem);

  border-radius: 50%;

  color: var(--exp-color-white);
  background-color: rgba(
    var(--exp-color-blue-gray-rgb),
    0.16
  );

  transition:
    color var(--exp-transition-normal) ease,
    background-color var(--exp-transition-normal) ease,
    transform var(--exp-transition-normal)
      var(--exp-ease-premium);
}

.exp-service-category-card__icon svg {
  display: block;

  width: clamp(1.35rem, 1.5vw, 1.75rem);
  height: clamp(1.35rem, 1.5vw, 1.75rem);

  overflow: visible;

  transition:
    transform var(--exp-transition-normal)
      var(--exp-ease-premium);
}


/* ---------- Card title ---------- */

.exp-service-category-card__title {
  width: 100%;
  max-width: 22rem;

  margin:
    clamp(1.875rem, 2vw, 2.25rem)
    0
    0 !important;

  padding: 0 !important;

  color: var(--exp-color-white) !important;

  font-family: var(--exp-font-primary);
  font-size: clamp(1.25rem, 1.55vw, 1.75rem);
  font-style: var(--exp-font-style-regular);
  font-weight: var(--exp-font-weight-medium);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: pretty;

  transition:
    transform var(--exp-transition-normal)
      var(--exp-ease-premium);
}


/* ---------- Hover and focus ---------- */

.exp-service-category-card:focus-visible {
  outline: 2px solid var(--exp-color-gold);
  outline-offset: 4px;
}

.exp-service-category-card:active {
  transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
  .exp-service-category-card:hover {
    border-color: rgba(
      var(--exp-color-gold-rgb),
      0.72
    );

    background-color: rgba(
      var(--exp-color-white-rgb),
      0.045
    );

    box-shadow:
      0 1.5rem 3.5rem
      rgba(0, 0, 0, 0.14);

    transform: translateY(-4px);
  }

  .exp-service-category-card:hover
    .exp-service-category-card__icon {
    color: var(--exp-color-navy);
    background-color: var(--exp-color-gold);
    transform: scale(1.045);
  }

  .exp-service-category-card:hover
    .exp-service-category-card__icon
    svg {
    transform: scale(1.04);
  }

  .exp-service-category-card:hover
    .exp-service-category-card__title {
    transform: translateX(0.2rem);
  }
}


/* =========================================================
   ENTRANCE ANIMATION
   Only activated when JavaScript adds .is-enhanced
   ========================================================= */

.exp-service-categories.is-enhanced
  .exp-service-categories__header {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);

  transition:
    opacity var(--exp-transition-slow) ease,
    transform var(--exp-transition-slow)
      var(--exp-ease-premium);
}

.exp-service-categories.is-enhanced
  .exp-service-categories__item {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);

  transition:
    opacity var(--exp-transition-slow) ease,
    transform var(--exp-transition-slow)
      var(--exp-ease-premium);
}

.exp-service-categories.is-enhanced.is-visible
  .exp-service-categories__header,
.exp-service-categories.is-enhanced.is-visible
  .exp-service-categories__item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.exp-service-categories.is-enhanced
  .exp-service-categories__item:nth-child(1) {
  transition-delay: 70ms;
}

.exp-service-categories.is-enhanced
  .exp-service-categories__item:nth-child(2) {
  transition-delay: 120ms;
}

.exp-service-categories.is-enhanced
  .exp-service-categories__item:nth-child(3) {
  transition-delay: 170ms;
}

.exp-service-categories.is-enhanced
  .exp-service-categories__item:nth-child(4) {
  transition-delay: 220ms;
}

.exp-service-categories.is-enhanced
  .exp-service-categories__item:nth-child(5) {
  transition-delay: 270ms;
}

.exp-service-categories.is-enhanced
  .exp-service-categories__item:nth-child(6) {
  transition-delay: 320ms;
}


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

/* Tablet landscape */

@media (max-width: 75rem) {
  .exp-service-categories {
    min-height: auto;
    padding:
      var(--exp-section-padding-block)
      0;
  }

  .exp-service-categories__header {
    margin-bottom: clamp(4.5rem, 7vw, 6rem);
  }

  .exp-service-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exp-service-category-card {
    min-height: 14rem;
  }
}


/* Mobile and tablet portrait */

@media (max-width: 47.99rem) {
  .exp-service-categories {
    padding: var(--exp-section-padding-block) 0;
  }

  .exp-service-categories__header {
    margin-bottom: 4rem;
  }

  .exp-service-categories__title.exp-section-title {
    max-width: 26rem;
  }

  .exp-service-categories__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
  }

  .exp-service-category-card {
    min-height: 12rem;
    padding: 1.75rem;
    border-radius: var(--exp-radius-large);
  }

  .exp-service-category-card__icon {
    width: 3.75rem;
    height: 3.75rem;
  }

  .exp-service-category-card__icon svg {
    width: 1.4rem;
    height: 1.4rem;
  }

  .exp-service-category-card__title {
    max-width: 20rem;
    margin-top: 1.75rem !important;
    font-size: clamp(1.25rem, 5.8vw, 1.5rem);
  }
}


/* Small mobile */

@media (max-width: 30rem) {
  .exp-service-category-card {
    min-height: 11.5rem;
    padding: 1.5rem;
  }

  .exp-service-category-card__icon {
    width: 3.5rem;
    height: 3.5rem;
  }

  .exp-service-category-card__title {
    margin-top: 1.5rem !important;
  }
}


/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .exp-service-category-card,
  .exp-service-category-card__icon,
  .exp-service-category-card__icon svg,
  .exp-service-category-card__title,
  .exp-service-categories.is-enhanced
    .exp-service-categories__header,
  .exp-service-categories.is-enhanced
    .exp-service-categories__item {
    transition: none !important;
  }

  .exp-service-categories.is-enhanced
    .exp-service-categories__header,
  .exp-service-categories.is-enhanced
    .exp-service-categories__item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   SERVICE CATEGORIES — COMPACT SCALE
   Consistente con las cards de Challenges del Home
   ========================================================= */

.exp-service-categories {
  min-height: auto;
  padding: var(--exp-section-padding-block) 0;
}

.exp-service-categories__header {
  margin-bottom: var(--exp-section-header-bottom-gap);
}

.exp-service-categories__grid {
  column-gap: clamp(0.875rem, 1.25vw, 1.25rem);
  row-gap: clamp(0.875rem, 1.25vw, 1.25rem);
}


/* ---------- Compact card ---------- */

.exp-service-category-card {
  min-height: 11.5rem;

  padding:
    1.375rem
    1.375rem
    1.5625rem;

  border-radius: 1.25rem;
}


/* ---------- Compact icon ---------- */

.exp-service-category-card__icon {
  width: 3rem;
  height: 3rem;
}

.exp-service-category-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}


/* ---------- Compact title ---------- */

.exp-service-category-card__title {
  max-width: 18rem;

  margin: 1.5rem 0 0 !important;

  font-size: clamp(
    0.9375rem,
    1.05vw,
    1.0625rem
  );

  font-weight: var(--exp-font-weight-medium);
  line-height: 1.3;
  letter-spacing: -0.015em;
}


/* ---------- More restrained hover ---------- */

@media (hover: hover) and (pointer: fine) {
  .exp-service-category-card:hover {
    transform: translateY(-3px);
  }

  .exp-service-category-card:hover
    .exp-service-category-card__icon {
    transform: scale(1.025);
  }

  .exp-service-category-card:hover
    .exp-service-category-card__icon
    svg {
    transform: scale(1.02);
  }

  .exp-service-category-card:hover
    .exp-service-category-card__title {
    transform: translateX(0.125rem);
  }
}


/* ---------- Tablet ---------- */

@media (max-width: 75rem) {
  .exp-service-category-card {
    min-height: 11.5rem;
  }
}


/* ---------- Mobile ---------- */

@media (max-width: 47.99rem) {
  .exp-service-categories__header {
    margin-bottom: 3.5rem;
  }

  .exp-service-categories__grid {
    row-gap: 0.875rem;
  }

  .exp-service-category-card {
    min-height: 10.5rem;
    padding: 1.375rem;
    border-radius: 1.25rem;
  }

  .exp-service-category-card__icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .exp-service-category-card__icon svg {
    width: 1.125rem;
    height: 1.125rem;
  }

  .exp-service-category-card__title {
    margin-top: 1.25rem !important;
    font-size: 1rem;
  }
}


/* ---------- Small mobile ---------- */

@media (max-width: 30rem) {
  .exp-service-category-card {
    min-height: 10rem;
    padding: 1.25rem;
  }
}