/* MedXpress modernization layer — loaded after style.css */

:root {
  --mx-celeste: #00b1e6;
  --mx-dorado: #d9a227;
  --mx-navy: #0b2d4a;
  --mx-gutter: clamp(1rem, 4vw, 2.5rem);
  --mx-step-0: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --mx-step-1: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  --mx-step-2: clamp(1.35rem, 1.1rem + 1.1vw, 2rem);
  --mx-step-3: clamp(1.9rem, 1.4rem + 2.4vw, 3.25rem);
  --mx-radius: 14px;
  --mx-radius-sm: 10px;
  --mx-tap: 44px;
  --mx-shadow: 0 8px 28px rgba(11, 45, 74, 0.08);
  --mx-card-bg: #ffffff;
  --mx-card-border: rgba(11, 45, 74, 0.12);
}

.container {
  width: min(100% - (2 * var(--mx-gutter)), 1265px);
  max-width: none;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  font-size: var(--mx-step-0);
  -webkit-tap-highlight-color: rgba(0, 177, 230, 0.15);
}

h1 {
  font-size: var(--mx-step-3);
}

h2 {
  font-size: var(--mx-step-2);
}

p,
li {
  font-size: var(--mx-step-0);
}

/* Mobile menu: Safari viewport fix */
section.menuMovilPage {
  height: 100vh;
  height: 100dvh;
  overscroll-behavior: contain;
}

body.scrollhidden {
  overflow: hidden;
}

/* WhatsApp floating button: safe area */
a.btnWzp {
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  right: calc(1.25rem + env(safe-area-inset-right, 0px));
}

/* Button system */
.mx-btn,
section.about .contentText > a,
section.aboutServicios .contentText > a,
section.homeHero .part2 > a,
section.aboutServicios .btnPop button,
.formulario input[type="submit"],
.formulario button[type="submit"],
.acond-botones .mx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: var(--mx-tap);
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--fuente-geologica, "Geologica", sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  background: var(--mx-btn-bg, var(--mx-celeste));
  color: var(--mx-btn-color, #fff);
  box-shadow: var(--mx-btn-shadow, none);
}

.mx-btn:hover,
section.about .contentText > a:hover,
section.aboutServicios .contentText > a:hover,
section.homeHero .part2 > a:hover,
section.aboutServicios .btnPop button:hover,
.formulario input[type="submit"]:hover,
.formulario button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 177, 230, 0.25);
}

.mx-btn:focus-visible,
section.about .contentText > a:focus-visible,
section.aboutServicios .contentText > a:focus-visible,
section.homeHero .part2 > a:focus-visible,
section.aboutServicios .btnPop button:focus-visible,
.formulario input[type="submit"]:focus-visible,
.formulario button[type="submit"]:focus-visible {
  outline: 3px solid rgba(0, 177, 230, 0.45);
  outline-offset: 3px;
}

.mx-btn--primary,
section.about .contentText > a,
section.aboutServicios .contentText > a,
section.homeHero .part2 > a,
.formulario input[type="submit"],
.formulario button[type="submit"] {
  --mx-btn-bg: var(--mx-celeste);
  --mx-btn-color: #fff;
}

.mx-btn--secondary {
  --mx-btn-bg: transparent;
  --mx-btn-color: var(--mx-celeste);
  border-color: var(--mx-celeste);
}

.mx-btn--secondary:hover {
  --mx-btn-bg: rgba(0, 177, 230, 0.08);
}

.mx-btn--ghost {
  --mx-btn-bg: rgba(255, 255, 255, 0.12);
  --mx-btn-color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

section.aboutServicios .btnPop button {
  --mx-btn-bg: #fff;
  --mx-btn-color: var(--mx-navy);
  border-color: rgba(11, 45, 74, 0.12);
  width: auto;
  padding-inline: 1.25rem;
}

section.aboutServicios .btnPop button div {
  display: inline-flex;
  align-items: center;
}

section.aboutServicios .btnPop button p {
  margin: 0;
  font-weight: 700;
}

.acond-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .mx-btn:hover,
  section.about .contentText > a:hover,
  section.aboutServicios .contentText > a:hover {
    transform: none;
  }
}

/* Header: underline on links, celeste pill CTA, rounded hamburger */
header .navigation .part2 ul.menu > li.current-menu-item::before,
header .navigation .part2 ul.menu > li:hover::before,
header .navigation .part2 ul li.btncontactomenu::before,
header .navigation .part2 ul li.btncontactomenu:hover::before {
  content: none;
  background-image: none;
  display: none;
  width: 0;
  height: 0;
}

header .navigation .part2 ul.menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--mx-tap);
  padding: 0.35rem 0.2rem;
  transition: color 0.2s ease;
}

header .navigation .part2 ul.menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.35rem;
  height: 2px;
  background: var(--mx-celeste);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

header .navigation .part2 ul.menu > li:hover > a::after,
header .navigation .part2 ul.menu > li.current-menu-item > a::after,
header .navigation .part2 ul.menu > li.current_page_item > a::after {
  transform: scaleX(1);
}

header .navigation .part2 ul.menu > li > a:focus-visible {
  outline: 3px solid rgba(0, 177, 230, 0.45);
  outline-offset: 4px;
  border-radius: 4px;
}

header .navigation .part2 ul.menu > li:last-child > a {
  background: var(--mx-celeste);
  color: #fff;
  border-radius: 999px;
  min-height: var(--mx-tap);
  padding: 0.55rem 1.25rem;
  box-shadow: 0 6px 16px rgba(0, 177, 230, 0.28);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

header .navigation .part2 ul.menu > li:last-child > a::after {
  content: none;
}

header .navigation .part2 ul.menu > li:last-child:hover > a {
  background: #0095c4;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 149, 196, 0.32);
}

header .navigation .part2 ul.menu > li:last-child > a:focus-visible {
  outline: 3px solid rgba(0, 177, 230, 0.45);
  outline-offset: 3px;
}

body.page-template-empresa header .navigation .part2 ul.menu > li:last-child > a,
body.page-template-blog header .navigation .part2 ul.menu > li:last-child > a,
body.page-template-contactanos header .navigation .part2 ul.menu > li:last-child > a,
body.single-post header .navigation .part2 ul.menu > li:last-child > a,
body.page-template-empresa header .navigation .part2 ul.menu > li:last-child:hover > a,
body.page-template-blog header .navigation .part2 ul.menu > li:last-child:hover > a,
body.page-template-contactanos header .navigation .part2 ul.menu > li:last-child:hover > a,
body.single-post header .navigation .part2 ul.menu > li:last-child:hover > a {
  color: #fff;
}

header .navigation .part2 ul li.btncontactomenu button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--mx-tap);
  height: var(--mx-tap);
  min-width: var(--mx-tap);
  min-height: var(--mx-tap);
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

header .navigation .part2 ul li.btncontactomenu button:hover {
  background: rgba(255, 255, 255, 0.26);
}

header .navigation .part2 ul:last-child li.btncontactomenu button svg,
header .navigation .part2 ul li.btncontactomenu button svg {
  width: 22px;
  height: auto;
  display: block;
}

header .navigation .part2 ul li.btncontactomenu button:focus-visible {
  outline: 3px solid rgba(0, 177, 230, 0.45);
  outline-offset: 3px;
}

body.page-template-blog header .navigation .part2 ul li.btncontactomenu button,
body.page-template-contactanos header .navigation .part2 ul li.btncontactomenu button,
body.single-post header .navigation .part2 ul li.btncontactomenu button {
  background: rgba(41, 49, 66, 0.08);
  border-color: rgba(41, 49, 66, 0.18);
}

body.page-template-blog header .navigation .part2 ul li.btncontactomenu button:hover,
body.page-template-contactanos header .navigation .part2 ul li.btncontactomenu button:hover,
body.single-post header .navigation .part2 ul li.btncontactomenu button:hover {
  background: rgba(41, 49, 66, 0.14);
}

@media (max-width: 1239px) {
  header .navigation .part2 ul:last-child li.btncontactomenu button svg,
  header .navigation .part2 ul li.btncontactomenu button svg,
  header .navigation .part2 ul li:last-child.btncontactomenu button svg {
    width: 22px;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  header .navigation .part2 ul.menu > li:last-child:hover > a {
    transform: none;
  }
}

/* BPM block 6 — reuses aboutServicios layout */
section.aboutServicios.acondicionamiento .contentImg {
  opacity: 1;
}

section.aboutServicios.acondicionamiento .contentImg img {
  aspect-ratio: 510 / 400;
  object-fit: cover;
}

section.aboutServicios.acondicionamiento .acond-botones a::before {
  content: none;
  display: none;
}

section.aboutServicios.acondicionamiento .acond-botones a:hover,
section.aboutServicios.acondicionamiento .acond-botones a:hover span {
  animation: none;
  color: inherit;
}

section.aboutServicios.acondicionamiento .acond-botones .mx-btn--primary:hover,
section.aboutServicios.acondicionamiento .acond-botones .mx-btn--primary:hover span {
  color: #fff;
}

section.aboutServicios.acondicionamiento .acond-botones .mx-btn--secondary {
  border-color: var(--mx-celeste);
  color: var(--mx-celeste);
  background: transparent;
}

section.aboutServicios.acondicionamiento .acond-botones .mx-btn--secondary:hover,
section.aboutServicios.acondicionamiento .acond-botones .mx-btn--secondary:hover span {
  color: var(--mx-celeste);
}

section.aboutServicios.acondicionamiento .acond-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 240px;
  aspect-ratio: 3 / 2;
  border: 2px dashed rgba(11, 45, 74, 0.28);
  border-radius: var(--mx-radius);
  background: repeating-linear-gradient(
    -45deg,
    #f4f8fb,
    #f4f8fb 12px,
    #eef4f8 12px,
    #eef4f8 24px
  );
  color: var(--mx-navy);
  text-align: center;
  padding: 1.5rem;
}

section.aboutServicios.acondicionamiento .acond-placeholder p {
  margin: 0;
  font-weight: 700;
  font-size: var(--mx-step-1);
}

section.aboutServicios.acondicionamiento .acond-placeholder span {
  font-size: 0.85rem;
  color: rgba(11, 45, 74, 0.62);
}

/* 12 services grid */
section.servicios-bpm {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: #f7fafc;
  font-family: var(--fuente-geologica, "Geologica", sans-serif);
  color: #293142;
}

section.servicios-bpm .servicios-bpm__header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

section.servicios-bpm .servicios-bpm__header p {
  font-family: var(--fuente-geologica, "Geologica", sans-serif);
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #293142;
  margin-bottom: 0.35rem;
}

section.servicios-bpm .servicios-bpm__header h2 {
  margin: 0;
  font-family: var(--fuente-geologica, "Geologica", sans-serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 64px);
  color: #293142;
}

.servicios-bpm__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
  align-items: start;
}

.servicio-bpm-card {
  --accent: var(--mx-celeste);
  --card: var(--mx-card-bg);
  font-family: var(--fuente-geologica, "Geologica", sans-serif);
  color: #293142;
  background: var(--mx-card-bg);
  border: 1px solid var(--mx-card-border);
  border-radius: var(--mx-radius);
  box-shadow: var(--mx-shadow);
  overflow: hidden;
  height: auto;
  align-self: start;
}

.servicio-bpm-card summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto auto;
  row-gap: 0.35rem;
  align-items: start;
  justify-items: center;
  min-height: var(--mx-tap);
}

.servicio-bpm-card summary::-webkit-details-marker {
  display: none;
}

.servicio-bpm-card summary::after {
  content: "+";
  grid-column: 1;
  grid-row: 5;
  justify-self: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--mx-celeste);
  background: rgba(0, 177, 230, 0.1);
  transition: transform 0.2s ease;
}

.servicio-bpm-card[open] summary::after {
  content: "−";
}

.servicio-bpm-card__num {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  font-family: var(--fuente-geologica, "Geologica", sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  color: #293142;
}

.servicio-bpm-card__icon {
  grid-column: 1;
  grid-row: 2;
  width: 72px;
  height: 72px;
  margin: 0.15rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.servicio-bpm-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.servicio-bpm-card__title {
  grid-column: 1;
  grid-row: 3;
  text-align: center;
  font-family: var(--fuente-geologica, "Geologica", sans-serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  color: #293142;
  margin: 0;
  min-height: calc(1.25em * 2);
}

.servicio-bpm-card__teaser {
  grid-column: 1;
  grid-row: 4;
  text-align: center;
  font-family: var(--fuente-geologica, "Geologica", sans-serif);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.45;
  color: #293142;
  margin: 0;
  min-height: calc(1.45em * 4);
}

.servicio-bpm-card__body,
.servicio-bpm-card__body p {
  font-family: var(--fuente-geologica, "Geologica", sans-serif);
  font-weight: 300;
  font-size: 18px;
  line-height: 200%;
  color: #293142;
}

.servicio-bpm-card__body {
  padding: 1rem 1rem 1.15rem;
  border-top: 1px solid var(--mx-card-border);
}

.servicio-bpm-card summary:focus-visible {
  outline: 3px solid rgba(0, 177, 230, 0.45);
  outline-offset: -3px;
}

/* Certification seals */
.mx-certificaciones {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.mx-certificaciones__item {
  flex: 1 1 140px;
  max-width: 200px;
  text-align: center;
}

.mx-certificaciones__item img {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  aspect-ratio: 1;
}

.mx-certificaciones__item p {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}

footer .mx-certificaciones__item p {
  color: rgba(11, 45, 74, 0.75);
}

section.empresa-certificaciones {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

section.empresa-certificaciones .mx-certificaciones {
  justify-content: center;
  margin-bottom: 1rem;
}

section.empresa-certificaciones .mx-certificaciones__item {
  max-width: 220px;
}

section.empresa-certificaciones .empresa-certificaciones__linea {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
  font-size: var(--mx-step-0);
  line-height: 1.55;
}

section.empresa-certificaciones .empresa-certificaciones__linea a {
  color: var(--mx-celeste);
}

/* 404 */
section.homeHero .part2 > p {
  margin: 1rem 0 1.25rem;
}

section.equipo .sliderEquipo .itemSliderEquipo img {
  z-index: 0;
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .servicios-bpm__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 500px) {
  .servicios-bpm__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mx-certificaciones__item {
    flex: 1 1 calc(50% - 0.5rem);
    max-width: none;
  }

  .acond-botones {
    flex-direction: column;
  }

  .acond-botones .mx-btn {
    width: 100%;
  }
}

/* Oferta banner (home) */
.mx-oferta {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  color: #fff;
  text-decoration: none;
  background: var(--mx-navy);
}

.mx-oferta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 58% 68% at 50% 52%, rgba(9, 38, 66, 0.72) 0%, rgba(9, 38, 66, 0.45) 55%, rgba(9, 38, 66, 0.08) 100%);
}

.mx-oferta__inner {
  padding: clamp(2rem, 5vw, 4rem) var(--mx-gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}







.mx-oferta__cta {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--mx-tap);
  padding: 0.75rem 2rem;
  border-radius: 999px;
  background: var(--mx-celeste);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mx-oferta:hover .mx-oferta__cta,
.mx-oferta:focus-visible .mx-oferta__cta {
  background: #0092c0;
  transform: translateY(-2px);
}

.mx-oferta:focus-visible {
  outline: 3px solid #ffe600;
  outline-offset: -3px;
}

section.home {
  position: relative;
}

.mx-oferta__inner {
  padding-top: calc(144px + 1.5rem);
}

@media (max-width: 768px) {
  .mx-oferta__inner {
    padding-top: calc(100px + 1.5rem);
  }
}

.mx-oferta {
  font-family: var(--fuente-geologica, system-ui, sans-serif);
}

/* Empresa: galería de fotos */
section.mx-galeria {
  padding: 0 0 100px;
}

.mx-galeria__title {
  margin-bottom: 2.5rem;
}

.mx-galeria__title p {
  color: #00b1e6;
  font-family: var(--fuente-geologica);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 10px;
  text-transform: uppercase;
  margin: 0;
}

.mx-galeria__title h2 {
  color: #00b1e6;
  font-family: var(--fuente-geologica);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  font-weight: 600;
  margin: 0;
}

.mx-galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mx-galeria__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--mx-radius);
  aspect-ratio: 1 / 1;
  box-shadow: var(--mx-shadow);
}

.mx-galeria__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mx-galeria__item:hover img {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .mx-galeria__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  section.mx-galeria {
    padding-bottom: 60px;
  }

  .mx-galeria__grid {
    gap: 0.6rem;
  }
}

/* Oferta: warehouse background photo */
.mx-oferta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.mx-oferta__bg span {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 55%;
}

#servicios-bpm {
  scroll-margin-top: 150px;
}


/* Inicio: sello enlazado (e.g. BPM -> 12 servicios) */
section.about .container .part2 .logos a.mx-logo-link {
  all: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: inherit;
}



section.about .container .part2 .logos div img {
  width: 71px;
  height: auto;
}

section.about .container .part2 .logos a.mx-logo-link {
  background-color: transparent !important;
  width: 100%;
}

section.about .container .part2 .logos {
  align-items: flex-start;
  gap: 1.5rem;
}

section.about .container .part2 .logos > div {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 600px) {
  section.about .container .part2 .logos {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 2rem;
  }

  section.about .container .part2 .logos > div {
    flex: 0 0 calc(50% - 0.75rem);
  }

  section.about .container .part2 .logos div p {
    font-size: 16px;
  }
}

/* Inicio: simple hover for certificate seals */
section.about .container .part2 .logos div img {
  transition: transform 0.25s ease;
}

section.about .container .part2 .logos div:hover img {
  transform: scale(1.06);
}

section.about .container .part2 .logos a.mx-logo-link:focus-visible {
  outline: 2px solid var(--mx-navy);
  outline-offset: 6px;
  border-radius: 8px;
}

section.aboutServicios[id^="servicio-"] {
  scroll-margin-top: 150px;
}

@media (prefers-reduced-motion: reduce) {
  section.about .container .part2 .logos div:hover img {
    transform: none;
  }
}

section.about .container .part2 .logos a.mx-logo-link::before,
section.about .container .part2 .logos a.mx-logo-link:hover::before {
  content: none;
  display: none;
}

section.about .container .part2 .logos a.mx-logo-link:hover {
  animation: none;
}

section.about .container .part2 .logos a.mx-logo-link img {
  margin-left: 0;
}






/* Oferta banner: advertising hierarchy */
.mx-oferta__inner {
  gap: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.mx-oferta__tag {
  margin: 0 0 1.1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  background: #ffe600;
  color: var(--mx-navy);
  text-shadow: none;
  font-size: clamp(1.15rem, 0.9rem + 1vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
}

.mx-oferta__headline {
  margin: 0;
  max-width: 18ch;
  color: #fff;
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.mx-oferta__sub {
  margin: 0.9rem 0 0;
  color: #ffe600;
  font-size: clamp(1.1rem, 0.95rem + 0.8vw, 1.6rem);
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}

.mx-oferta__divider {
  display: block;
  width: 56px;
  height: 3px;
  margin: 1.6rem auto 1.4rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.55);
}

.mx-oferta__services {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 0.85rem + 0.9vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-wrap: balance;
}

.mx-oferta__services span {
  color: var(--mx-celeste);
}

.mx-oferta__certs {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.9rem, 0.82rem + 0.35vw, 1.1rem);
  font-weight: 400;
  text-wrap: balance;
}

.mx-oferta__certs strong {
  color: #fff;
  font-weight: 700;
}

.mx-oferta__cta {
  margin-top: 1.9rem;
  padding: 0.95rem 2.4rem;
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.1rem);
  letter-spacing: 0.06em;
  text-shadow: none;
  box-shadow: 0 10px 28px rgba(0, 177, 230, 0.35);
}

/* Gentle staggered entrance */
.mx-oferta__inner > * {
  animation: mxOfertaRise 0.7s ease-out backwards;
}

.mx-oferta__inner > :nth-child(2) { animation-delay: 0.1s; }
.mx-oferta__inner > :nth-child(3) { animation-delay: 0.2s; }
.mx-oferta__inner > :nth-child(4) { animation-delay: 0.3s; }
.mx-oferta__inner > :nth-child(5) { animation-delay: 0.35s; }
.mx-oferta__inner > :nth-child(6) { animation-delay: 0.45s; }
.mx-oferta__inner > :nth-child(7) { animation-delay: 0.55s; }

@keyframes mxOfertaRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mx-oferta__inner > * {
    animation: none;
  }
}

/* Home slider: let photos keep their designed width (global img max-width squeezed them) */
section.home .itemSlider img {
  max-width: none;
}

/* Slide captions are not used in the design (old rule targeted ".titulo") */
section.home .div .sliderHome .itemSlider .title {
  display: none;
}

/* Match the other service photos, whose source files are 510px wide */
section.aboutServicios.acondicionamiento .container .part2 .content .contentImg {
  max-width: 500px;
}
