/* =========================================================
   CORMAGO - CSS ÚNICO CONSOLIDADO
   Sustituye main.css, responsive.css y layout.css por este archivo.
   ========================================================= */

:root {
  --color-black: #000;
  --color-dark: #111111;
  --color-yellow: #FFF200;
  --color-orange: #f5a400;
  --color-white: #ffffff;
  --color-gray: #f4f4f4;
  --color-text: #1d1d1d;

  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

@font-face {
  font-family: "Futura PT Extra Bold";
  src: url("../fonts/FuturaPT-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT Heavy";
  src: url("../fonts/FuturaPT-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT Demi";
  src: url("../fonts/FuturaPT-Demi.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT Book";
  src: url("../fonts/FuturaPT-Book.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

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

/* =========================================================
   TIPOGRAFÍA GLOBAL DE TÍTULOS
   h1: Futura PT Extra Bold
   h2: Futura PT Heavy
   Mantener este bloque al final para sobrescribir reglas previas.
   ========================================================= */
h1 {
  font-family: "Futura PT Extra Bold";
  font-weight: 800 !important;
  font-size: 60px;
}

h2 {
  font-family: "Futura PT Heavy";
  font-weight: 900 !important;
  font-size: 40px;
}

p{
  font-family: "Futura PT Book";
  font-size: 21px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.container-services {
  width: min(100% - 32px, 1100px);
  margin-inline: auto;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================= */
/* HEADER / NAVBAR GLOBAL */
/* ============================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 150px;
  overflow: visible;
  isolation: isolate;
  background: var(--color-black);
}

/*
  Extensión derecha de la franja naranja.
  Se dibuja dentro del header para no aumentar el ancho del documento.
*/
.site-header::after {
  content: "";
  position: absolute;
  top: 42px;
  right: 0;
  z-index: 0;
  width: max(16px, calc((100% - var(--container)) / 2));
  height: 108px;
  background: var(--color-orange);
  pointer-events: none;
}

/* Redes sociales superiores */

.header-social {
   position: absolute;
  top: 15px;
  left: 50%;
  width: min(100% - 32px, var(--container));
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  justify-content: flex-end;
}

.header-social__icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-social__icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-social__icons img {
  width: 20px;
  height: 20px;
  display: block;
}

/* Navbar principal */

.navbar {
  width: min(100% - 32px, var(--container));
  height: 150px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
  background: var(--color-black);
  padding-bottom: 10px;
}

/* Logo */

.navbar__logo {
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 24px;
  padding-bottom: 10px;
  background: var(--color-black);
}

.navbar__logo img {
  width: 210px;
  height: auto;
  max-height: 98px;
  object-fit: contain;
}

/* Franja amarilla */

.navbar__content {
  height: 108px;
  transform: translateY(21px);
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-left: 18px;
  position: relative;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));

}

.navbar__content::after {
  content: none;
}

/* Menú */

.navbar__menu {
  --nav-item-width: 116px;
  --nav-item-height: 74px;

  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .navbar .navbar__menu > li > a {
  width: var(--nav-item-width);
  height: var(--nav-item-height);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.navbar__menu a {
  color: var(--color-black);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.navbar__menu a:hover,
.services-megamenu a[aria-current="page"] {
  opacity: 0.65;
}

/* Estado de página actual: sólo enlaces principales, sin alterar el mega menú. */
.site-header .navbar .navbar__menu > li > a[aria-current="page"] {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.10),
    inset 0px 0px 20px 0px rgba(0, 0, 0, 0.30);
  color: var(--color-black);
  font-weight: 700;
  opacity: 1;
  transition: background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.site-header .navbar .navbar__menu > li > a[aria-current="page"]:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-header .navbar .navbar__menu > li > a[aria-current="page"]::before {
  content: none;
}

.site-header .navbar .navbar__menu > li > a[aria-current="page"]::after {
  content: none;
}

/* Botón Cotiza */

.navbar__cta {
  min-width: 206px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 26px;
  border-radius: 8px;
  background: var(--color-black);
  color: var(--color-yellow);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  z-index: 2;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    color 0.28s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* Brillo diagonal */
.navbar__cta::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 65%
  );
  transform: translateX(-120%) rotate(8deg);
  transition: transform 0.65s ease;
}

/* Resplandor interno */
.navbar__cta::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -2;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 217, 0, 0.35),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.28s ease;
}

/* Hover desktop */
.navbar__cta:hover {
  transform: translateY(-3px) scale(1.035);
  background: var(--color-yellow);
  color: var(--color-black);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.32),
    0 0 0 4px rgba(255, 217, 0, 0.22);
}

.navbar__cta:hover::before {
  transform: translateX(120%) rotate(8deg);
}

.navbar__cta:hover::after {
  opacity: 1;
}

/* Click */
.navbar__cta:active {
  transform: translateY(-1px) scale(0.98);
}

/* Accesibilidad con teclado */
.navbar__cta:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 4px;
}

/* Animación sutil constante */
@keyframes ctaPulse {
  0% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.22),
      0 0 0 0 rgba(255, 217, 0, 0.32);
  }

  70% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.22),
      0 0 0 10px rgba(255, 217, 0, 0);
  }

  100% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.22),
      0 0 0 0 rgba(255, 217, 0, 0);
  }
}

.navbar__cta {
  animation: ctaPulse 2.8s ease-out infinite;
}

.navbar__cta:hover {
  animation: none;
}

/* Respeta usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .navbar__cta,
  .navbar__cta::before,
  .navbar__cta::after,
  .service-card > a,
  .service-card > a::before,
  .service-card > a::after {
    animation: none;
    transition: none;
  }
}



/* Botón móvil */

.navbar__toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--color-yellow);
  cursor: pointer;
}

.navbar__toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  border-radius: 8px;
  background: var(--color-black);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 0;
  font-weight: 600;
  cursor: pointer;
  font-family: "Futura PT Demi";
  font-size: 21px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease,
    background-position 0.35s ease;

  background-size: 200% 100%;
  background-position: left center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  filter: brightness(1.05);
  background-position: right center;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.btn--primary {
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  color: var(--color-black);
}



.btn--dark {
  background: var(--color-black);
  color: var(--color-white);
}

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

.hero-home {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 50% 50%;
  --hero-position-mobile: 50% 50%;
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.86) 0%,
      rgba(0, 0, 0, 0.58) 38%,
      rgba(0, 0, 0, 0.16) 100%
    ),
    url("../img/hero/hero-inicio.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.88) 100%
  );
  pointer-events: none;
}

.hero-home__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 46px;
  align-items: center;
  padding-block: 82px;
}

.hero-home__content {
  max-width: 700px;
}

.hero-home .eyebrow {
  margin-bottom: 12px;
  color: var(--color-white);

}

.hero-home h1 {
  margin: 0 0 18px;
  color: var(--color-white);
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-weight: 900;
}

.hero-home__content p:not(.eyebrow) {
  margin: 0 0 28px;
  color: var(--color-white);
  line-height: 1.55;
  text-align: justify;
}

.hero-home__actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  column-gap: 46px;
  justify-items: start;
}

.hero-home__attributes-panel {
  min-width: 0;
}

@media (min-width: 981px) {
  .hero-home__grid {
    align-items: stretch;
    row-gap: 0;
  }

  .hero-home__content,
  .hero-home__attributes-panel {
    display: flex;
    flex-direction: column;
  }

  .hero-home__attributes-panel {
    padding-bottom: 18px;
  }

  .hero-home__actions > .btn + .btn {
    margin-left: 20px;
  }
}

@media (max-width: 980px) {
  .hero-home__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    justify-items: stretch;
    align-items: stretch;
  }

  .hero-home__actions > .btn.btn--primary {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }
}

.hero-home .btn--primary {
  min-width: 280px;
  min-height: 48px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  color: var(--color-black);
  font-weight: 800;
}

/* ============================= */
/* ATRIBUTOS OPERATIVOS DEL HERO */
/* ============================= */

.hero-home__attributes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 8px 20px;
  list-style: none;
  color: var(--color-white);
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.18) 16%, rgba(0, 0, 0, 0.18) 84%, transparent);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.hero-home__attributes li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding-block: 22px;
  font-family: "Futura PT Demi", var(--font-main);
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  line-height: 1.25;
}

.hero-home__attributes li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-home__attribute-number {
  color: var(--color-yellow);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

@media (min-width: 641px) and (max-width: 980px) {
  .hero-home__attributes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .hero-home__attributes li:nth-child(2) {
    border-top: 0;
  }
}

@media (max-width: 640px) {
  .hero-home__attributes {
    padding: 0 12px;
  }

  .hero-home__attributes li {
    gap: 12px;
    padding-block: 14px;
    font-size: 1.05rem;
  }
}



.eyebrow--dark {
  color: var(--color-black);
}



.form-field {
  display: grid;
  gap: 4px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--color-black);
  font-size: 0.86rem;
  line-height: 1;
  font-weight: 800;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--color-white);
  color: var(--color-black);
  font: inherit;
  outline: none;
  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease,
    color 0.22s ease;
}

.form-field input,
.form-field select {
  height: 36px;
  padding: 7px 12px;
}

.form-field textarea {
  min-height: 76px;
  padding: 9px 10px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.38),
    0 8px 18px rgba(0, 0, 0, 0.14);
}

#project-servicio {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 38px;
  border-radius: 12px;
  background-color: var(--color-white);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-black) 50%),
    linear-gradient(135deg, var(--color-black) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  font-family: "Futura PT Book", var(--font-main);
  font-weight: 700;
}

#project-servicio:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

#project-servicio:has(option:not([value=""]):checked) {
  background-color: var(--color-orange);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-black) 50%),
    linear-gradient(135deg, var(--color-black) 50%, transparent 50%),
    linear-gradient(90deg, var(--color-orange), var(--color-yellow));
  color: var(--color-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-weight: 900;
}

#project-servicio option {
  background: var(--color-white);
  color: var(--color-black);
  font-family: "Futura PT Book", var(--font-main);
}

#project-servicio option:checked {
  background: var(--color-orange);
  color: var(--color-black);
  font-weight: 900;
}


/* ============================= */
/* SERVICIOS HOME */
/* ============================= */



.services-section {
  padding: 88px 0;
  background: var(--color-black);
  color: var(--color-white);
}

.services-section .eyebrow {
  color: var(--color-white);
}

.services-section h2 {
  margin: 0;
  color: var(--color-orange);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: capitalize;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 20px 26px;
  border: 3px solid var(--color-orange);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(245, 164, 0, 0.78) 100%
    );
  opacity: 0;
  transition: opacity 0.28s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
  box-shadow: 0 18px 36px rgba(245, 164, 0, 0.18);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  align-items: start;
}


.service-card__icon {
  width: 84px;
  height: 84px;
  object-fit: contain;

}

.service-card__content {
  min-width: 0;
}

.service-card h3 {
  margin: 0 0 4px;
  color: var(--color-orange);
  font-size: 21px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: var(--color-white);
  font-size: 021px;
  line-height: 1.45;
}

.services-section .service-card__description-mobile {
  display: none;
}

.service-card > a {
  position: relative;
  z-index: 1;
  width: fit-content;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-left: 90px;
  margin-top: 14px;
  padding: 7px 2px 10px 0;

  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.035em;
  text-transform: uppercase;

  opacity: 0.86;

  transition:
    color 0.28s ease,
    opacity 0.28s ease,
    transform 0.28s ease;
}

.service-card:hover > a,
.service-card:focus-within > a,
.service-card > a:hover,
.service-card > a:focus-visible {
  color: var(--color-white);
  opacity: 1;
  transform: translateX(2px);
}

/* Línea inferior animada, inspirada en el CTA de referencia */
.service-card > a::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--color-yellow),
    var(--color-orange)
  );

  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;

  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease;
}

/* Flecha construida sin imágenes ni cambios en el HTML */
.service-card > a::after {
  content: "\2192";
  color: var(--color-yellow);
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 0.8;

  transition:
    color 0.35s ease,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover > a,
.service-card > a:hover,
.service-card > a:focus-visible {
  color: var(--color-white);
  opacity: 1;
  transform: translateY(-1px);
}

.service-card:hover > a::before,
.service-card > a:hover::before,
.service-card > a:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.service-card:hover > a::after,
.service-card > a:hover::after,
.service-card > a:focus-visible::after {
  color: var(--color-yellow);
  transform: translateX(7px);
}

.service-card > a:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 5px;
  border-radius: 2px;
}

.service-card:hover h3 {
  color: var(--color-white);
}

.services-section__button-wrap {
  min-height: 152px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: 0;
}

.services-section__button-wrap .btn {
  min-width: 230px;
  min-height: 48px;
  border-radius: 10px;
  color: var(--color-black);
  font-weight: 900;
}

@media (max-width: 820px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .services-section__button-wrap {
    min-height: auto;
    justify-content: stretch;
  }

  .services-section__button-wrap .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 64px 0;
  }

  .service-card {
    padding: 22px 20px;
  }

  .service-card a {
    margin-left:58px;
  }

  .service-card__inner {
    grid-template-columns: 46px 1fr;
    gap: 10px;
  }

  .service-card__icon {
    width: 46px;
    height: 46px;
  }
}

/* ============================= */
/* INDUSTRIAS ATENDIDAS */
/* ============================= */

.industries-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0 92px;
  color: var(--color-white);
  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.66),
      rgba(5, 5, 5, 0.78)
    ),
    url("../img/industrias/bg-industrias.webp") center / cover no-repeat;
}

.industries-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 217, 0, 0.18),
      transparent 32%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.38),
      rgba(0, 0, 0, 0.12)
    );
  pointer-events: none;
}

.industries-section .container {
  position: relative;
  z-index: 2;
}

.industries-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.industries-header h2 {
  margin: 0;
  color: var(--color-white);
  letter-spacing: 2px;
}

.industries-header .eyebrow {
  color: var(--color-white);
}

.industries-header__button {
  min-width: 200px;
  flex-shrink: 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.industry-card {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border: 3px solid var(--color-yellow);
  border-radius: 22px;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.32);
  isolation: isolate;
}



.industry-card img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  height: 54%;
background: #fffcfc;
background: linear-gradient(180deg, rgba(255, 252, 252, 0) 0%, rgba(5, 5, 5, 0.88) 35%, rgba(0, 0, 0, 1) 100%);
}

.industry-card__content {
  position: absolute;
  
  bottom: 25px;
  z-index: 2;
  max-width: 390px;
  padding: 10px;
  border-radius: 14px;
}

.industry-card__content h3 {
  margin: 0 0 6px;
  color: var(--color-white);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.05;
  font-weight: 900;
}

.industry-card__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.3vw, 21px);
  text-align: justify;
  line-height: 1.2;
}

.industry-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}
/* ============================= */
/* SERVICIOS - SECCIONES NUEVAS */
/* Plagas, Seguridad y Residuos */
/* ============================= */

.services-extra {
  background: #f5f5f5;
  color: var(--color-black);
}


.services-extra__eyebrow--light {
  color: var(--color-white);
}

.services-extra h2 {
  margin: 0;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.services-extra__button {
   min-width: 132px;
  min-height: 34px;
  padding: 8px 16px;
  border-radius: 5px;
}

/* Manejo integrado de plagas */
.services-extra--plagas {
  padding: 54px 0 74px;
}

.services-extra__plagas-grid {
  display: grid;
  grid-template-columns: minmax(340px, 530px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  width: 100%;
}

.services-extra__side-images {
  display: grid;
  gap: 10px;
  width: 100%;
}

.services-extra__side-images img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  border-radius: 22px;

}

.services-extra__side-images img:nth-child(2) {
  height: 265px;
  border-radius: 22px;
}

.services-extra__content {
  max-width: none;
  width: 100%;

}

.services-extra__content h2 {
 margin: 8px 0 14px;
  line-height: 1.08;
}

.services-extra__content > p {
  max-width: 670px;
  margin: 0 0 18px;
  line-height: 1.55;
  text-align: justify;
}

.services-extra__standards {
  margin-top: 18px;
}

.services-extra__standards h3 {
  margin: 0 0 18px;
  color: var(--color-black);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.services-extra__logos {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 32px;
}

.services-extra__logos img {
  width: 125px;
  height: 125px;
  object-fit: contain;
}

.services-extra--plagas .services-extra__button {
  margin-top: 24px;
}

/* Seguridad privada */
.services-extra--seguridad {
  padding: 42px 0 74px;
}

.services-extra--seguridad > .container > .eyebrow {
  color: var(--color-black);
}

.services-extra__seguridad-header {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin: 8px 0 28px;
}

.services-extra__seguridad-header h2 {
  max-width: 590px;
}

.services-extra__seguridad-content {
  width: 100%;
  max-width: 610px;
  display: flex;
  flex-direction: column;
  justify-self: end;
  align-items: flex-end;
  text-align: right;
}

.services-extra__seguridad-content p {
  max-width: 100%;
  margin: 0 0 18px;
  line-height: 1.45;
}

.services-extra__seguridad-content .services-extra__button {
  width: auto;
  align-self: flex-end;
}

.services-extra__security-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.services-extra__security-feature {
  min-height: 184px;
  padding: 20px;
  border: 2px solid var(--security-feature-border);
  border-radius: 20px;
  background: var(--security-feature-background);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.38s ease,
    border-color 0.38s ease,
    box-shadow 0.38s ease;
}

.services-extra__security-feature:nth-child(odd) {
  --security-feature-background: var(--color-black);
  --security-feature-border: var(--color-orange);
  --security-feature-title: var(--color-white);
  --security-feature-text: rgba(255, 255, 255, 0.82);
  --security-feature-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --security-feature-number-color: var(--color-black);
  --security-feature-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.services-extra__security-feature:nth-child(even) {
  --security-feature-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --security-feature-border: var(--color-yellow);
  --security-feature-title: var(--color-black);
  --security-feature-text: rgba(0, 0, 0, 0.76);
  --security-feature-number-background: var(--color-black);
  --security-feature-number-color: var(--color-yellow);
  --security-feature-hover-shadow: 0 14px 28px rgba(245, 164, 0, 0.14);
}

.services-extra__security-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--security-feature-hover-shadow);
}

.services-extra__security-feature span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--security-feature-number-background);
  color: var(--security-feature-number-color);
  font-family: "Futura PT Heavy";
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.services-extra__security-feature h3 {
  margin: 0 0 15px;
  color: var(--security-feature-title);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.services-extra__security-feature p {
  margin: 0;
  color: var(--security-feature-text);
  font-size: 18px;
  line-height: 1.35;
  text-align: justify;
}

.services-extra__security-gallery {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.services-extra__security-gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 22px;
}

.services-extra__security-gallery img:nth-child(2) {
  grid-column: span 2;
}

.services-extra__security-gallery img:nth-child(3) {
  grid-column: span 2;
  height: 220px;
}

.services-extra__security-gallery img:nth-child(4) {
  height: 220px;
}

/* Limpieza industrial */
.services-extra--limpieza {
  padding: 54px 0 78px;
  background: #f7f7f7;
  color: var(--color-black);
}

.services-extra__limpieza-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: clamp(28px, 5vw, 64px);
  width: 100%;
}

.services-extra__limpieza-content {
  min-width: 0;
}

.services-extra__limpieza-content .eyebrow {
  color: var(--color-black);
}

.services-extra__limpieza-content h2 {
  max-width: 690px;
  margin: 8px 0 16px;
  color: var(--color-black);
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.services-extra__limpieza-content > p {
  max-width: 700px;
  margin: 0 0 24px;
  color: var(--color-black);
  line-height: 1.55;
  text-align: justify;
}

.services-extra__limpieza-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.services-extra__limpieza-feature {
  min-height: 205px;
  padding: 22px 20px;
  border: 3px solid var(--limpieza-feature-border);
  border-radius: 22px;
  background: var(--limpieza-feature-background);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.38s ease,
    border-color 0.38s ease,
    box-shadow 0.38s ease;
}

.services-extra__limpieza-feature:nth-child(odd) {
  --limpieza-feature-background: var(--color-black);
  --limpieza-feature-border: var(--color-orange);
  --limpieza-feature-title: var(--color-white);
  --limpieza-feature-text: rgba(255, 255, 255, 0.82);
  --limpieza-feature-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --limpieza-feature-number-color: var(--color-black);
  --limpieza-feature-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.services-extra__limpieza-feature:nth-child(even) {
  --limpieza-feature-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --limpieza-feature-border: var(--color-yellow);
  --limpieza-feature-title: var(--color-black);
  --limpieza-feature-text: rgba(0, 0, 0, 0.76);
  --limpieza-feature-number-background: var(--color-black);
  --limpieza-feature-number-color: var(--color-yellow);
  --limpieza-feature-hover-shadow: 0 14px 28px rgba(245, 164, 0, 0.14);
}

.services-extra__limpieza-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--limpieza-feature-hover-shadow);
}

.services-extra__limpieza-feature span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--limpieza-feature-number-background);
  color: var(--limpieza-feature-number-color);
  font-family: "Futura PT Heavy";
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.services-extra__limpieza-feature h3 {
  margin: 0 0 8px;
  color: var(--limpieza-feature-title);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.services-extra__limpieza-feature p {
  margin: 0;
  color: var(--limpieza-feature-text);
  font-size: 18px;
  line-height: 1.36;
  text-align: justify;
}

.services-extra__limpieza-button {
  margin-top: 24px;
}

.services-extra__limpieza-media {
  position: relative;
  min-height: 500px;
}

.services-extra__limpieza-image {
  margin: 0;
  overflow: hidden;
  background: var(--color-black);
}

.services-extra__limpieza-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-extra__limpieza-image--main {
  width: 85%;
  height: 520px;
  margin-left: auto;
  border-radius: 30px;
}

.services-extra__limpieza-image--secondary {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56%;
  height: 355px;
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.services-extra__limpieza-badge {
  position: absolute;
  right: 20px;
  bottom: 300px;
  z-index: 2;
  max-width: 250px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  color: var(--color-black);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.services-extra__limpieza-badge strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Futura PT Heavy";
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.services-extra__limpieza-badge span {
  display: block;
  font-family: "Futura PT Demi";
  font-size: 0.98rem;
  line-height: 1.2;
}

/* Residuos */
.services-extra--residuos {
  padding: 30px 0 40px;
  color: var(--color-white);
}

.services-extra__residuos-card {
  display: grid;
  grid-template-columns: minmax(0, 0.99fr) minmax(320px, 1fr);
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background: var(--color-black);
}

.services-extra__residuos-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.services-extra__residuos-content h2 {
  margin-bottom: 16px;
  color: var(--color-white);
}

.services-extra__residuos-content p:not(.services-extra__eyebrow) {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  text-align: justify;
  max-width: 500px;
}

.services-extra__residuos-card .services-extra__button {
  min-width: 290px;
}

.services-extra__residuos-image {
  height: clamp(240px, 40vw, 320px);
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #101010;
}

.services-extra__residuos-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  height: 54%;
background: #fffcfc;
background: linear-gradient(180deg, rgba(255, 252, 252, 0) 0%, rgba(5, 5, 5, 0.88) 35%, rgba(0, 0, 0, 1) 100%);

}

.services-extra__residuos-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .services-extra__plagas-grid,
  .services-extra__seguridad-header,
  .services-extra__limpieza-grid,
  .services-extra__residuos-card {
    grid-template-columns: 1fr;
  }

  .services-extra__side-images {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-extra__side-images img,
  .services-extra__side-images img:nth-child(2) {
    height: 260px;
  }

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

  .services-extra__security-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-extra__security-gallery img:nth-child(3) {
    grid-column: span 1;
  }

  .services-extra__residuos-content {
    max-width: none;
  }

    .services-extra__limpieza-media {
    min-height: 440px;
  }

  .services-extra__limpieza-image--main {
    width: 100%;
    height: 360px;
  }

  .services-extra__limpieza-image--secondary {
    width: 42%;
    height: 220px;
  }

  .services-extra__limpieza-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-extra__seguridad-content {
    max-width: none;
    justify-self: start;
    align-items: flex-start;
    text-align: left;
  }

  .services-extra__seguridad-content p {
    text-align: left;
  }

  .services-extra__seguridad-content .services-extra__button {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .services-extra--plagas {
    padding: 58px 0 34px;
  }

  .services-extra__plagas-grid {
    gap: 28px;
  }

  .services-extra__side-images {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-extra__side-images img,
  .services-extra__side-images img:nth-child(2) {
    height: 190px;
    border-radius: 0 18px 18px 18px;
  }


  .services-extra__logos {
    justify-content: space-between;
    gap: 12px;
  }

  .services-extra__logos img {
    width: calc(25% - 12px);
    height: 58px;
  }

  .services-extra__button,
  .services-extra__residuos-card .services-extra__button {
    width: 100%;
    min-width: 0;
  }

  .services-extra--seguridad {
    padding: 34px 0 58px;
  }

  .services-extra__seguridad-header {
    gap: 18px;
    margin-bottom: 24px;
  }

  .services-extra__security-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
  }

  .services-extra__security-feature h3 {
    font-size: 19px;
  }

  .services-extra__security-feature {
    min-height: 170px;
    padding: 18px;
    border-radius: 18px;
  }

  .services-extra__security-feature span {
    width: 40px;
    height: 40px;
    font-size: 1.18rem;
    margin-bottom: 14px;
  }

  .services-extra__security-feature p {
    font-size: 16px;
  }

  .services-extra__security-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .services-extra__security-gallery img {
    width: 100%;
    height: 100%;
    min-width: 0;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    box-sizing: border-box;
  }

  .services-extra__security-gallery > img:nth-child(n) {
    grid-column: span 1;
  }

  .services-extra--residuos {
    padding-bottom: 64px;
  }

  .services-extra__residuos-card {
    gap: 24px;
    padding: 24px 18px;
    border-radius: 0 22px 22px 22px;
  }

  .services-extra__residuos-image,
  .services-extra__residuos-image img {
    min-height: 260px;
  }

    .services-extra--limpieza {
    padding: 44px 0 58px;
  }

  .services-extra__limpieza-features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-extra__limpieza-feature {
    min-height: auto;
    padding: 20px;
    border-radius: 18px;
  }

  .services-extra__limpieza-feature span {
    margin-bottom: 14px;
  }

  .services-extra__limpieza-media {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .services-extra__limpieza-image--main,
  .services-extra__limpieza-image--secondary {
    position: static;
    width: 100%;
    height: 230px;
    border-radius: 18px;
    box-shadow: none;
  }

  .services-extra--limpieza .services-extra__limpieza-badge {
    position: static;
    max-width: none;
    min-width: 0;
    padding: 10px 12px;
    border-left: 3px solid var(--color-orange);
    border-radius: 2px;
    background: rgba(245, 164, 0, 0.08);
    color: var(--color-dark);
    box-shadow: none;
    text-align: left;
  }

  .services-extra--limpieza .services-extra__limpieza-badge strong {
    margin-bottom: 3px;
    font-size: 0.85rem;
    line-height: 1.15;
  }

  .services-extra--limpieza .services-extra__limpieza-badge span {
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.3;
  }

  .services-extra__limpieza-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .services-extra__logos img {
    height: 48px;
  }

  .services-extra__security-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 14px;
  }

  .services-extra__security-feature {
    min-height: auto;
  }

  .services-extra__residuos-image,
  .services-extra__residuos-image img {
    min-height: 230px;
  }

    .services-extra__limpieza-content h2 {
    font-size: clamp(1.95rem, 10vw, 2.5rem);
  }

  .services-extra__limpieza-content > p {
    font-size: 18px;
  }

  .services-extra__limpieza-image--main,
  .services-extra__limpieza-image--secondary {
    height: 210px;
  }
}


/* ============================= */
/* BENEFICIOS + CLIENTES */
/* ============================= */

.trust-section {
  padding: 52px 0 52px;
  background: #f7f7f7;
  color: var(--color-black);
}

.trust-block + .trust-block {
  margin-top: 76px;
}

.trust-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 28px;
}

.trust-header h2 {
  margin: 0;
  color: var(--color-black);
  line-height: 1.12;
  letter-spacing: 0.025em;
  font-weight: 900;
}

.eyebrow--dark {
  color: var(--color-black);
}

.trust-header__button {
  min-width: 260px;
  flex-shrink: 0;
}

/* BENEFICIOS / DIFERENCIADORES HOME */

.trust-block--benefits .trust-header {
  display: block;
  max-width: 1120px;
  margin-bottom: 34px;
}

.trust-header__description {
  max-width: 1050px;
  margin: 14px 0 0;
  color: #555;
  font-size: 20px;
  line-height: 1.45;
}

/*
 * Mosaico inspirado en la sección de resultados de Diferenciadores.
 * En desktop cada columna conserva dos piezas separadas; al pasar el mouse
 * o enfocar con teclado, la tarjeta negra se expande y ocupa ambas piezas.
 * No depende de gráficas ni de JavaScript.
 */
.home-diff-mosaic-shell {
  --home-diff-yellow: var(--color-yellow, #fff200);
  --home-diff-orange: var(--color-orange, #f5a400);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 10px;
  padding: clamp(14px, 1.6vw, 20px);
  border-radius: clamp(20px, 2.3vw, 30px);
  background:
    radial-gradient(circle at 94% 8%, rgba(255, 242, 0, 0.2), transparent 18%),
    radial-gradient(circle at 3% 80%, rgba(245, 164, 0, 0.17), transparent 23%),
    linear-gradient(180deg, #080808 0%, #000 100%);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
}

.home-diff-mosaic-shell::before,
.home-diff-mosaic-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(86px);
  pointer-events: none;
}

.home-diff-mosaic-shell::before {
  left: -19%;
  bottom: -28%;
  background: rgba(245, 164, 0, 0.18);
}

.home-diff-mosaic-shell::after {
  right: -18%;
  top: -34%;
  background: rgba(255, 242, 0, 0.16);
}

.home-diff-mosaic {
  --home-diff-gap: clamp(12px, 1.35vw, 18px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--home-diff-gap);
  align-items: stretch;
}

.home-diff-item {
  --home-diff-accent: var(--home-diff-yellow);
  --home-diff-active-background:
      radial-gradient(
        circle at 78% 38%,
        color-mix(in srgb, var(--home-diff-accent) 17%, transparent),
        transparent 34%
      ),
      linear-gradient(145deg, rgba(18, 18, 18, 0.99), rgba(0, 0, 0, 0.98));
  --home-diff-active-shadow:
      inset 0 0 0 1px color-mix(in srgb, var(--home-diff-accent) 30%, transparent),
      0 18px 44px rgba(0, 0, 0, 0.42),
      0 0 38px color-mix(in srgb, var(--home-diff-accent) 22%, transparent);
  position: relative;
  min-width: 0;
  min-height: 450px;
}

.home-diff-item--orange {
  --home-diff-accent: var(--home-diff-orange);
}

.home-diff-item--yellow {
  --home-diff-accent: var(--home-diff-yellow);
}

.home-diff-card,
.home-diff-decoration {
  position: absolute;
  left: 0;
  right: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: clamp(14px, 1.7vw, 20px);
}

.home-diff-item--text-top .home-diff-card,
.home-diff-item--text-bottom .home-diff-decoration {
  top: 0;
  bottom: calc(50% + (var(--home-diff-gap) / 2));
}

.home-diff-item--text-bottom .home-diff-card,
.home-diff-item--text-top .home-diff-decoration {
  top: calc(50% + (var(--home-diff-gap) / 2));
  bottom: 0;
}

.home-diff-card {
  z-index: 2;
  display: flex;
  align-items: center;
  padding: clamp(20px, 2vw, 28px);
  border: 2px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 48%),
    rgba(0, 0, 0, 0.93);
  color: var(--color-white, #fff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  cursor: default;
  outline: 0;
  transition:
    top 0.42s cubic-bezier(0.2, 0.75, 0.2, 1),
    bottom 0.42s cubic-bezier(0.2, 0.75, 0.2, 1),
    margin-right 0.42s cubic-bezier(0.2, 0.75, 0.2, 1),
    padding 0.35s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.home-diff-card::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--home-diff-accent), rgba(255, 255, 255, 0.92));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s ease;
}

.home-diff-card__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-diff-card h3 {
  margin: 0;
  color: var(--color-white, #fff);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 900;
  line-height: 1.06;
  text-transform: uppercase;
  text-align: center
}

.home-diff-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.94rem, 1.22vw, 1.05rem);
  line-height: 1.38;
  text-align: justify;
}

.home-diff-card__watermark {
  position: absolute;
  z-index: 0;
  right: -18%;
  bottom: -12%;
  width: clamp(170px, 16vw, 238px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translate(18px, 18px) scale(0.84);
  transform-origin: center;
  pointer-events: none;
  transition:
    opacity 0.36s ease,
    transform 0.48s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.home-diff-card__watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.home-diff-decoration {
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  isolation: isolate;
  transition:
    opacity 0.28s ease,
    transform 0.34s ease;
}

.home-diff-decoration::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  opacity: 0.58;
}

.home-diff-decoration--yellow {
  background: linear-gradient(145deg, #fff600 0%, #f4df00 52%, #c8a900 100%);
  box-shadow: 0 0 36px rgba(255, 242, 0, 0.16);
}

.home-diff-decoration--orange {
  background: linear-gradient(145deg, #ffb400 0%, #f39a00 52%, #b96c00 100%);
  box-shadow: 0 0 34px rgba(245, 164, 0, 0.16);
}

.home-diff-decoration__icon {
  position: relative;
  z-index: 2;
  width: clamp(82px, 8.7vw, 116px);
  height: clamp(82px, 8.7vw, 116px);
  display: grid;
  place-items: center;
  transition: transform 0.34s ease, opacity 0.28s ease;
}

.home-diff-decoration__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.16));
  opacity: 0.96;
}

/*
 * Estado unificado: se activa con hover en desktop y también con foco de teclado.
 * La tarjeta negra ocupa la altura completa de su columna y la pieza de color se desvanece.
 */
@media (min-width: 641px) and (hover: hover) and (pointer: fine) {
  .home-diff-card__content {
    gap: 0;
  }

  .home-diff-card p {
    display: none;
  }

  .home-diff-item:hover .home-diff-card,
  .home-diff-item:focus-within .home-diff-card {
    top: 0;
    bottom: 0;
    z-index: 3;
    padding: clamp(28px, 2.6vw, 40px);
    border-color: var(--home-diff-accent);
    background: var(--home-diff-active-background);
    box-shadow: var(--home-diff-active-shadow);
  }

  .home-diff-item:hover .home-diff-decoration,
  .home-diff-item:focus-within .home-diff-decoration {
    opacity: 0;
    transform: scale(0.97);
  }

  .home-diff-item:hover .home-diff-card::before,
  .home-diff-item:focus-within .home-diff-card::before {
    transform: scaleX(1);
  }

  .home-diff-item:hover .home-diff-card__watermark,
  .home-diff-item:focus-within .home-diff-card__watermark {
    opacity: 0.14;
    transform: translate(0, 0) scale(1);
  }

  .home-diff-item:hover .home-diff-card__content,
  .home-diff-item:focus-within .home-diff-card__content {
    width: min(100%, 340px);
    gap: 18px;
  }

  .home-diff-item:hover .home-diff-card h3,
  .home-diff-item:focus-within .home-diff-card h3 {
    text-align: left;
  }

  .home-diff-item:hover .home-diff-card p,
  .home-diff-item:focus-within .home-diff-card p {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.32vw, 1.1rem);
  }
}

.home-diff-card:focus-visible {
  outline: 3px solid var(--color-white, #fff);
  outline-offset: -7px;
}

.benefits-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.benefits-actions .btn {
  min-width: 290px;
}

/* Tablet: dos columnas, conservando el efecto de unificación. */
@media (max-width: 992px) {
  .home-diff-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-diff-item {
    min-height: 410px;
  }
}

/*
 * Móvil/touch: no dependemos del hover. Cada diferenciador se vuelve una pieza
 * horizontal estable, con el texto negro y el icono de color al lado.
 */
@media (max-width: 640px), (hover: none) {
  .home-diff-mosaic-shell {
    padding: 12px;
    border-radius: 20px;
  }

  .home-diff-mosaic {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-diff-item {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(92px, 0.34fr);
    gap: 10px;
  }

  .home-diff-card,
  .home-diff-decoration,
  .home-diff-item--text-top .home-diff-card,
  .home-diff-item--text-bottom .home-diff-card,
  .home-diff-item--text-top .home-diff-decoration,
  .home-diff-item--text-bottom .home-diff-decoration {
    position: relative;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    min-height: 176px;
  }

  .home-diff-card {
    grid-column: 1;
    grid-row: 1;
    padding: 20px 18px;
  }

  .home-diff-decoration {
    grid-column: 2;
    grid-row: 1;
  }

  .home-diff-card h3 {
    font-size: 1rem;
  }

  .home-diff-card p {
    font-size: 0.88rem;
    line-height: 1.36;
    text-align: left;
  }

  .home-diff-card__watermark {
    display: none;
  }

  .home-diff-decoration__icon {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 420px) {
  .home-diff-item {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 8px;
  }

  .home-diff-card,
  .home-diff-decoration,
  .home-diff-item--text-top .home-diff-card,
  .home-diff-item--text-bottom .home-diff-card,
  .home-diff-item--text-top .home-diff-decoration,
  .home-diff-item--text-bottom .home-diff-decoration {
    min-height: 164px;
    border-radius: 12px;
  }

  .home-diff-card {
    padding: 17px 14px;
  }

  .home-diff-card__content {
    gap: 9px;
  }

  .home-diff-card h3 {
    font-size: 0.88rem;
  }

  .home-diff-card p {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .home-diff-decoration::after {
    inset: 16%;
    border-radius: 11px;
  }

  .home-diff-decoration__icon {
    width: 58px;
    height: 58px;
  }
}

/* Mobile shares the desktop paint, watermark and transition timings.
   The grid keeps its original columns; only the text card expands over both. */
@media (max-width: 640px) {
  .home-diff-card {
    grid-column: 1 / -1;
    margin-right: calc(max(92px, (100% - 10px) * 0.34 / 1.34) + 10px);
  }

  .home-diff-card__watermark {
    display: grid;
    right: 0;
    bottom: 0;
    width: min(62%, 238px);
  }

  .home-diff-item.is-active .home-diff-card {
    margin-right: 0;
    z-index: 3;
    border-color: var(--home-diff-accent);
    background: var(--home-diff-active-background);
    box-shadow: var(--home-diff-active-shadow);
  }

  .home-diff-item.is-active .home-diff-decoration {
    opacity: 0;
    transform: scale(0.97);
    pointer-events: none;
  }

  .home-diff-item.is-active .home-diff-card::before {
    transform: scaleX(1);
  }

  .home-diff-item.is-active .home-diff-card__watermark {
    opacity: 0.14;
    transform: translate(0, 0) scale(1);
  }

  .home-diff-item.is-active .home-diff-card h3 {
    text-align: left;
  }

  .home-diff-item.is-active .home-diff-card p {
    color: rgba(255, 255, 255, 0.92);
  }
}

@media (max-width: 420px) {
  .home-diff-card {
    margin-right: 94px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-diff-card,
  .home-diff-card::before,
  .home-diff-card__watermark,
  .home-diff-decoration,
  .home-diff-decoration__icon {
    transition: none;
  }
}

/* CLIENTES */

.clients-showcase {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 30px;
  padding: 34px 72px;
  background:
    
    url("../img/clientes/clientes-bg.webp") center / cover no-repeat;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.clients-showcase__viewport {
  width: 100%;
  overflow: hidden;
}

.clients-showcase__track {
  display: flex;
  align-items: center;
  transition: transform 0.45s ease;
  will-change: transform;
}

.clients-showcase__item {
  flex: 0 0 calc(100% / 3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(18px, 3.6vw, 52px);
}

.clients-showcase__item img {
  width: 100%;
  max-width: 200px;
  max-height: 160px;
  object-fit: contain;
  
}

.clients-showcase__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 5px;
  background: var(--color-white);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.clients-showcase__arrow--prev {
  left: 16px;
}

.clients-showcase__arrow--next {
  right: 16px;
}

.clients-showcase__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
}

/* Triángulo izquierdo */
.clients-showcase__arrow--prev::before {
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 12px solid var(--color-black);
  margin-left: -1px;
}

/* Triángulo derecho */
.clients-showcase__arrow--next::before {
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--color-black);
  margin-left: 1px;
}

.clients-showcase__arrow:hover {
  transform: translateY(-50%) scale(1.08);
}

.clients-showcase__arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.clients-showcase__arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}


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

.site-footer {
  padding: 56px 0 20px;
  background: var(--color-black);
  color: var(--color-white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 40px;
}

.footer__grid img {
  width: 150px;
}

.footer__grid h2 {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--color-yellow);
}

.footer__grid ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer__legal {
  width: min(100% - 32px, var(--container));
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: .85rem;
}

/* ============================= */
/* HEADER / NAVBAR RESPONSIVE */
/* ============================= */

@media (max-width: 1180px) {
  .site-header {
    height: 138px;
  }

  .site-header::after {
    top: 48px;
    height: 84px;
  }

  .header-social {
    right: 34px;
  }

  .navbar {
    height: 138px;
    grid-template-columns: 260px 1fr;
  }

  .navbar__logo {
    height: 138px;
    padding-left: 0;
  }

  .navbar__logo img {
    width: 195px;
  }

  .navbar__content {
    height: 84px;
    padding-right: 34px;
  }

  .navbar__menu {
    --nav-item-width: 98px;
    --nav-item-height: 70px;
    gap: 12px;
  }

  .navbar__menu a,
  .navbar__cta {
    font-size: 1.25rem;
  }

  .navbar__cta {
    min-width: 190px;
    height: 60px;
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 104px;
  }

  .site-header::after {
    content: none;
  }

  .header-social {
    display: none;
  }

  .header-social__icons img {
    width: 17px;
    height: 17px;
  }

  .navbar {
    width: min(100% - 28px, 1120px);
    height: 104px;
    display: flex;
    justify-content: space-between;
    position: relative;
  }

  .navbar__logo {
    height: 104px;
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
  }

  .navbar__logo img {
    width: 170px;
  }

  .navbar__toggle {
    display: block;
    margin-top: 26px;
  }

  .navbar__content {
    position: absolute;
    top: 104px;
    left: 0;
    right: 0;
    z-index: 200;
    display: none;
    height: auto;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border-radius: 0 0 16px 16px;
    background: linear-gradient(180deg, var(--color-yellow), var(--color-orange));
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.35);
  }

  .navbar__content.is-active {
    display: flex;
  }

  .navbar__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .navbar__menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  }

  .navbar__menu a {
    display: block;
    padding: 16px 4px;
    font-size: 1.15rem;
  }

  .navbar__cta {
    width: 100%;
    min-width: auto;
    height: 54px;
    margin-top: 18px;
    font-size: 1.15rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 96px;
  }

  .header-social {
    display: flex;
  }

  .navbar {
    width: min(100% - 24px, 1120px);
    height: 96px;
  }

  .navbar__logo {
    height: 96px;
  }

  .navbar__logo img {
    width: 150px;
  }

  .navbar__toggle {
    margin-top: 24px;
  }

  .navbar__content {
    top: 96px;
  }
}

@media (max-width: 420px) {
  .navbar__logo img {
    width: 138px;
  }

  .navbar__toggle {
    width: 42px;
    height: 40px;
  }
}

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

@media (max-width: 992px) {
  .industries-section {
    padding: 68px 0 76px;
  }

  .industries-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .industries-header__button {
    min-width: 50%;
    width: 50%;
  }

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

   .industry-card:nth-child(n + 4) {
    display: block;
  }

  .industry-card {
    min-height: 330px;
  }

  .industry-card img {
    min-height: 330px;
  }
}

@media (max-width: 640px) {
  .industries-section {
    padding: 56px 0 64px;
  }

  .industries-header__button {
    width: 50%;
  }

  .industries-grid {
    gap: 22px;
  }

  .industry-card {
    min-height: 150px;
    border-radius: 18px;
  }

  .industry-card img {
    min-height: 150px;
  }

  .industry-card__content p{
    line-height: 1;
    font-size: 12px;
  }

  .industry-card__content {
    left: 1px;
    right: 1px;
    bottom: 1px;
    padding: 10px;
  }
}

@media (max-width: 420px) {

   .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  
  }
  .industry-card {
    min-height: 150px;
  }

  .industry-card img {
    min-height: 150px;
  }

  .industry-card__content {
    left: 1px;
    right: 1px;
    bottom: 1px;
  }

  .industry-card__content p {
    font-size: 12px;
    line-height: 1;
  }
}

/* ============================= */
/* BENEFICIOS + CLIENTES RESPONSIVE */
/* ============================= */

@media (max-width: 992px) {
  .trust-section {
    padding: 68px 0 76px;
  }

  .trust-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-header__button {
    min-width: auto;
    width: auto;
  }

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

  .benefit-card {
    min-height: 280px;
    padding: 26px 30px 30px;
  }

  .benefit-card + .benefit-card {
    border-left: 0;
  }

  .benefit-card:nth-child(even) {
    border-left: 1px solid rgba(0, 0, 0, 0.18);
  }

  .benefit-card:nth-child(n + 3) {
    border-top: 1px solid rgba(0, 0, 0, 0.18);
  }

  .clients-showcase__logos {
    gap: 44px;
  }

  .clients-showcase__logos img {
    max-width: 160px;
  }
}

@media (max-width: 640px) {
  .trust-section {
    padding: 56px 0 64px;
  }

  .trust-block + .trust-block {
    margin-top: 62px;
  }

  .trust-block--benefits .trust-header {
    margin-bottom: 22px;
  }

  .trust-header__description {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .trust-header__button {
    width: 100%;
  }

  .benefit-card {
    min-height: 0;
    padding: 22px 16px 24px;
  }

  .benefit-card__icon {
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
  }

  .benefit-card__icon img {
    width: 52px;
    height: 52px;
  }

  .benefit-card h3 {
    margin-bottom: 12px;
    font-size: 1.05rem;
  }

  .benefit-card p {
    font-size: 0.86rem;
    line-height: 1.42;
    text-align: left;
  }

  .benefits-actions {
    margin-top: 24px;
  }

  .benefits-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .clients-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 30px 18px;
  }

  .clients-showcase__arrow {
    display: none;
  }

  .clients-showcase__logos {
    flex-wrap: wrap;
    gap: 34px;
  }

  .clients-showcase__logos img {
    max-width: 145px;
    max-height: 82px;
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .benefit-card:nth-child(even) {
    border-left: 0;
  }

  .benefit-card:nth-child(n + 3) {
    border-top: 0;
  }

  .benefit-card + .benefit-card {
    border-top: 1px solid rgba(0, 0, 0, 0.18);
  }
}

@media (max-width: 420px) {
  .trust-header h2 {
    font-size: clamp(1.95rem, 10vw, 2.5rem);
  }

  .clients-showcase__logos {
    gap: 28px;
  }

  .clients-showcase__logos img {
    max-width: 125px;
  }
}

/* ============================= */
/* PÁGINA EMPRESA */
/* Agregar al final de /assets/css/main.css o a layout.css */
/* ============================= */

.btn--outline {
  border: 2px solid currentColor;
  background: transparent;
  color: var(--color-white);
}


.company-certifications,
.company-compliance,
.company-values,
.company-cta {
  position: relative;
  overflow: hidden;
}

.company-certifications,
.company-compliance,
.company-values {
  background:#f3f3f3;
}

.company-hero {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 50% 50%;
  --hero-position-mobile: 50% 50%;
position: relative;
  min-height: 565px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.76) 0%,
      rgba(5, 5, 5, 0.48) 40%,
      rgba(5, 5, 5, 0.08) 100%
    ),
    url("../img/servicios/hero-empresa.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.company-hero::after {
   content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.company-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 52px;
  align-items: center;
  padding-block: 86px;
}

.company-hero__content {
  max-width: 680px;
}

.company-hero .eyebrow {
  color: var(--color-white);
}

.company-hero h1 {
 max-width: 750px;
  margin: 0 0 18px;
  color: var(--color-white);
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-weight: 900;
}

.company-hero p:not(.eyebrow) {
  max-width: 850px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.55;
}

.company-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.company-hero__actions .btn {
  min-width: 190px;
}

.company-hero__panel {
  padding: 30px;
  border-radius: 0 22px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 217, 0, .94), rgba(245, 164, 0, .94));
  color: var(--color-black);
  box-shadow: 0 28px 50px rgba(0, 0, 0, .34);
}

.company-hero__panel h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.05;
  font-weight: 900;
}

.company-hero__panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-hero__panel li {
  position: relative;
  padding-left: 24px;
  font-weight: 800;
}

.company-hero__panel li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 1.4rem;
  line-height: 1;
}

.company-certifications {
  padding: 30px 0 42px;
  color: var(--color-black);
}

.company-certifications h2 {
  margin: 0 0 8px;
  color: var(--color-black);
  letter-spacing: 2px
}

.company-section-header--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 36px;
}



.company-section-header p {
  margin: 0;
  font-size: 21px;
  color: rgba(0, 0, 0, .72);
}

.certifications-grid {
 display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: center;
}

.certification-card {
   min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 30px;
  background: transparent;
  text-align: center;
}

.certification-card:hover {
 transform: none;
  box-shadow: none;
}

.certification-card img {
   width: min(250px, 100%);
  height: 250px;
  object-fit: contain;
}

.company-certifications__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 42px;
}

.company-compliance {
  padding: 48px 0 64px;
  background: #f3f3f3;
}

.company-compliance__header {
  margin-bottom: 22px;
}

.company-compliance h2 {
  margin: 0 0 18px;
  color: var(--color-black);
  line-height: 1.08;
}

.company-compliance__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.75fr);
  gap: 34px;
  align-items: start;
  width: 100%;
}

.compliance-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  height: auto;
}

.compliance-list article {
  padding: 12px 24px;
  border-radius: 25px;
  border: 3px solid var(--service-feature-border);
  background: var(--service-feature-background);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.compliance-list article:nth-child(odd) {
  --service-feature-background: var(--color-black);
  --service-feature-border: var(--color-orange);
  --service-feature-title: var(--color-white);
  --service-feature-text: rgba(255, 255, 255, 0.82);
  --service-feature-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --service-feature-number-color: var(--color-black);
  --service-feature-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.compliance-list article:nth-child(even) {
  --service-feature-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --service-feature-border: var(--color-yellow);
  --service-feature-title: var(--color-black);
  --service-feature-text: rgba(0, 0, 0, 0.76);
  --service-feature-number-background: var(--color-black);
  --service-feature-number-color: var(--color-yellow);
  --service-feature-hover-shadow: 0 14px 28px rgba(245, 164, 0, 0.14);
}

.compliance-list article:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.09);
}




.compliance-list span {
 display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--service-feature-number-background);
  color: var(--service-feature-number-color);
  font-family: "Futura PT Heavy";
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.compliance-list h3 {
   margin: 0 0 2px;
  color: var(--service-feature-title);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.compliance-list p {
 margin: 0;
  color: var(--service-feature-text);
  font-size: 19px;
  line-height: 1.35;
  text-align: justify;
}

.company-compliance__image {
 width: 100%;
  height: 380px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--color-black);
  box-shadow: none;
}

.company-compliance__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.company-purpose {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0;
  background:
    radial-gradient(circle at top right, rgba(255, 217, 0, .18), transparent 34%),
    linear-gradient(180deg, #050505 0%, #f3f3f3 100%);
  color: var(--color-white);
}

.company-purpose::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--color-yellow), var(--color-orange));
}

.company-purpose__header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .72fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 30px;
}

.company-purpose .eyebrow {
  color: var(--color-yellow);
}

.company-purpose h2 {
  margin: 0;
  color: var(--color-white);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.company-purpose__intro {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 1.06rem;
  line-height: 1.65;
  text-align: justify;
}

.company-purpose__nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.company-purpose__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 217, 0, .42);
  border-radius: 999px;
  color: var(--color-white);
  background: rgba(255, 255, 255, .055);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.company-purpose__nav a:hover,
.company-purpose__nav a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--color-yellow);
  background: var(--color-yellow);
  color: var(--color-black);
}

.company-purpose__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.purpose-story {
  scroll-margin-top: 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .85fr);
  gap: 34px;
  align-items: start;
  min-height: 460px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255, 217, 0, .35);
  border-radius: 34px;
  background:
   var(--color-black);
}

.purpose-story__content {
  max-width: 720px;
}

.purpose-story h3 {
  max-width: 720px;
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .98;
  letter-spacing: -0.025em;
  font-weight: 900;
}

.purpose-story p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  line-height: 1.68;
  text-align: justify;
}

.purpose-story__timeline {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 26px;
  background: rgba(44, 44, 44, 0.48);
  backdrop-filter: blur(10px);
}

.purpose-story__timeline div {
  position: relative;
  padding-left: 52px;
}

.purpose-story__timeline span {
  position: absolute;
  left: 0;
  top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-black);
  font-size: .82rem;
  font-weight: 900;
}

.purpose-story__timeline strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.purpose-story__timeline p {
  color: rgba(255, 255, 255, .72);
  font-size: .94rem;
  line-height: 1.45;
  text-align: justify;
}

.purpose-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.purpose-card {
  --service-feature-background: var(--color-black);
  --service-feature-border: var(--color-orange);
  --service-feature-title: var(--color-white);
  --service-feature-text: rgba(255, 255, 255, 0.82);
  --purpose-card-number-color: var(--color-yellow);

  scroll-margin-top: 120px;
  position: relative;
  min-height: 290px;
  padding: 30px;
  border: 3px solid var(--service-feature-border);
  border-radius: 30px;
  background: var(--service-feature-background);
  color: var(--service-feature-title);
  box-shadow: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.purpose-card:nth-child(even) {
  --service-feature-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --service-feature-border: var(--color-yellow);
  --service-feature-title: var(--color-black);
  --service-feature-text: rgba(0, 0, 0, 0.76);
  --purpose-card-number-color: var(--color-black);
}

.purpose-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.09);
}

/* .purpose-card--featured conserva su distribución en las reglas responsive. */

.purpose-card__number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--purpose-card-number-color);
  font-size: 1.25rem;
  font-weight: 900;
}

.purpose-card h3 {
  margin: 0 0 12px;
  color: var(--service-feature-title);
  font-size: 1.45rem;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.purpose-card p {
  margin: 0;
  color: var(--service-feature-text);
  line-height: 1.62;
  text-align: justify;
}

.purpose-story:target,
.purpose-card:target {
  outline: 3px solid rgba(255, 217, 0, .72);
  outline-offset: 6px;
}

.company-values {
  padding: 82px 0 90px;
}

.company-values h2 {
  max-width: 760px;
  margin-bottom: 34px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.values-grid article {
  padding: 28px 24px;
 border-radius:25px;
  border: 3px solid var(--service-feature-border);
  background: var(--service-feature-background);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.values-grid article:nth-child(odd) {
  --service-feature-background: var(--color-black);
  --service-feature-border: var(--color-orange);
  --service-feature-title: var(--color-white);
  --service-feature-text: rgba(255, 255, 255, 0.82);
  --service-feature-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --service-feature-number-color: var(--color-black);
  --service-feature-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.values-grid article:nth-child(even) {
  --service-feature-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --service-feature-border: var(--color-yellow);
  --service-feature-title: var(--color-black);
  --service-feature-text: rgba(0, 0, 0, 0.76);
  --service-feature-number-background: var(--color-black);
  --service-feature-number-color: var(--color-yellow);
  --service-feature-hover-shadow: 0 14px 28px rgba(245, 164, 0, 0.14);
}


.values-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.09);
}

.values-grid span {
 display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 50%;
 background: var(--service-feature-number-background);
  color: var(--service-feature-number-color);
  font-family: "Futura PT Heavy";
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.values-grid h3 {
  margin: 0 0 10px;
   color: var(--service-feature-title);
  font-size: 1.25rem;
  font-weight: 900;
}

.values-grid p {
  margin: 0;
 color: var(--service-feature-text);
  text-align: justify;
}

.company-cta {
  padding: 72px 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.58)),
    url("../img/empresa/cta-empresa.webp") center / cover no-repeat;
  color: var(--color-white);
}

.company-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.company-cta h2 {
  max-width: 740px;
  color: var(--color-white);
}

.company-cta p:not(.eyebrow) {
  margin: 14px 0 0;
  color: rgba(255,255,255,.88);
}

.company-cta .btn {
  min-width: 210px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .company-hero__grid,
  .company-compliance__grid,
  .company-section-header--split {
    grid-template-columns: 1fr;
  }

  .company-hero__panel {
    max-width: 620px;
  }

  .certifications-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .purpose-card--wide {
    grid-template-columns: 1fr;
  }

  .company-purpose__header {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .purpose-story {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
  }

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

  .purpose-card--featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .company-hero__grid,
  .company-compliance__grid,
  .company-section-header--split {
    grid-template-columns: 1fr;
  }

  .company-compliance h2 {
    max-width: 100%;
  }

  .company-compliance__image {
  height: 420px;
  min-height: 0;
}

.company-compliance__image img {
  min-height: 0;
}

  .company-hero__panel {
    max-width: 620px;
  }

  .certifications-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .purpose-card--wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .company-hero {
    min-height: auto;
  }

  .company-hero__grid {
    padding-block: 68px;
    gap: 34px;
  }

  .company-certifications,
  .company-compliance,
  .company-purpose,
  .company-values,
  .company-cta {
    padding-block: 60px;
  }

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

  .company-values .values-grid {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .company-values .values-grid article {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    min-height: 0;
    padding: 24px 21px;
  }

  .company-values .values-grid span {
    width: 40px;
    height: 40px;
    margin-bottom: 24px;
    font-size: 1.2rem;
  }

  .company-values .values-grid h3,
  .company-values .values-grid p {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .company-values .values-grid h3 {
    font-size: 1.125rem;
    line-height: 1.2;
  }

  .company-values .values-grid p {
    font-size: 19px;
    line-height: 1.35;
    text-align: justify;
  }

  .company-purpose__header {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 24px;
  }

  .company-purpose__intro {
    max-width: none;
    text-align: left;
  }

  .company-purpose__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
  }

  .company-purpose__nav a {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
  }

  .purpose-story {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    padding: 28px;
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .94) 100%),
      url("../img/empresa/historia-cormago.webp") center / cover no-repeat;
  }

  .purpose-story__content {
    max-width: none;
  }

  .purpose-story h3 {
    max-width: none;
    font-size: clamp(1.9rem, 8vw, 2.75rem);
    line-height: 1.02;
  }

  .purpose-story__content > p:not(.eyebrow),
  .purpose-card p {
    font-size: 1rem;
    line-height: 1.55;
    text-align: left;
  }

  .purpose-story__timeline {
    padding: 22px;
    border-radius: 22px;
  }

  .purpose-story__timeline p {
    text-align: left;
  }

  .purpose-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .purpose-card,
  .purpose-card--featured {
    grid-column: auto;
    min-height: 0;
  }

  .company-compliance__image,
  .company-compliance__image img {
    height: 360px;
  min-height: 0;
  }

  .company-cta__box {
    align-items: flex-start;
    flex-direction: column;
  }

  .company-cta .btn,
  .company-hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .company-values .values-grid p {
    font-size: 16.3px;
  }
}

@media (max-width: 480px) {
  .company-hero__grid {
    padding-block: 54px;
  }

  .company-hero__panel,
  .values-grid article {
    padding: 22px;
  }

  .company-values .values-grid article {
    padding: 12px;
  }

  .company-purpose {
    padding-block: 48px;
  }

  .company-purpose::before {
    width: 4px;
  }

  .company-purpose__header {
    gap: 16px;
    margin-bottom: 20px;
  }

  .company-purpose h2 {
    font-size: clamp(2rem, 10.5vw, 2.65rem);
    line-height: 1.02;
  }

  .company-purpose__intro {
    font-size: 1rem;
    line-height: 1.5;
  }

  .company-purpose__nav {
    gap: 8px;
    margin-bottom: 20px;
  }

  .company-purpose__nav a {
    min-height: 40px;
    padding: 8px 10px;
    font-size: .92rem;
  }

  .purpose-story {
    gap: 20px;
    padding: 22px;
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .96) 100%),
      url("../img/empresa/historia-cormago.webp") center / cover no-repeat;
  }

  .purpose-story h3 {
    margin-bottom: 14px;
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

  .purpose-story__timeline {
    gap: 18px;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .purpose-story__timeline div {
    padding-left: 44px;
  }

  .purpose-story__timeline span {
    width: 30px;
    height: 30px;
    font-size: .75rem;
  }

  .purpose-story__timeline strong {
    font-size: .9rem;
    line-height: 1.2;
  }

  .purpose-story__timeline p {
    font-size: .88rem;
    line-height: 1.4;
  }

  .purpose-cards {
    gap: 16px;
  }

  .purpose-card {
    min-height: 0;
    padding: 22px;
    border-radius: 22px;
  }

  .purpose-card h3 {
    font-size: 1.25rem;
  }

  .certification-card {
    min-height: 120px;
  }

  .certification-card img {
    height: 120px;
  }

  .company-compliance__image{
    height: 300px;
    min-height: 0;
  }
  .company-compliance__image img {
    min-height: 0;
  }
  .compliance-list article {
  min-height: auto;
  padding: 18px 22px;
}
}

/* ============================= */
/* CONTACTO EMPRESA */
/* ============================= */

.company-contact {
  padding: 58px 0 72px;
  background-color: #f5f5f5;
}

.company-contact-form {
  margin-inline: auto;
  padding: 28px 48px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--color-orange) 0%, var(--color-yellow) 100%);
  color: var(--color-black);
}

.company-contact-form .eyebrow {
  margin: 0 0 10px;
}

.company-contact-form h2 {
  margin: 0 0 20px;
  color: var(--color-black);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  font-weight: 900;
}

.company-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 34px;
}

.company-contact-form .form-field label {
  font-size: 0.92rem;
  font-weight: 600;
}

.company-contact-form .form-field input,
.company-contact-form .form-field textarea {
  border-radius: 6px;
  background: #f1f1f1;
}

.company-contact-form .form-field input {
  height: 40px;
}

.company-contact-form .form-field textarea {
  min-height: 112px;
}

.company-contact-form__button {
  width: min(100%, 360px);
  min-height: 44px;
  display: flex;
  margin: 28px auto 0;
  border-radius: 8px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .company-contact {
    padding: 48px 0 60px;
  }

  .company-contact-form {
    padding: 28px 22px;
  }

  .company-contact-form__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .company-contact-form__button {
    width: 100%;
  }
}
/* ============================= */
/* PÁGINA SERVICIOS */
/* ============================= */

.services-hero {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 82% 50%;
  --hero-position-mobile: 100% 50%;
  position: relative;
  min-height: 565px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.76) 0%,
      rgba(5, 5, 5, 0.48) 40%,
      rgba(5, 5, 5, 0.08) 100%
    ),
    url("../img/servicios/hero-servicios.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.services-hero__content {
  position: relative;
  z-index: 2;
  padding-block: 92px;
}

.services-hero .eyebrow {
  margin: 0 0 12px;
  color: var(--color-white);
}

.services-hero h1 {
  max-width: 750px;
  margin: 0 0 18px;
  color: var(--color-white);
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-weight: 900;
}

.services-hero h1 span {
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.services-hero p:not(.eyebrow) {
  max-width: 850px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.55;
}

.services-hero .btn--primary {
  min-width: 288px;
  min-height: 52px;
  color: var(--color-black);
  font-weight: 900;
}

.service-detail {
  padding: 42px 0 70px;
  background: #f7f7f7;
  color: var(--color-black);
}

.service-detail__header {
  margin-bottom: 18px;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.95fr);
  gap: 54px;
}

.service-detail .eyebrow {
  margin: 0 0 20px;
  color: var(--color-black);
}



.service-detail h2 {
  margin: 0 0 26px;
  color: var(--color-black);
  line-height: 1.1;
  letter-spacing: 0.02em;
  font-weight: 950;
}

.service-feature-list {
  display: grid;
  gap: 15px;
}

.service-feature-card {
  padding: 12px 24px;
  border-radius: 25px;
  border: 3px solid var(--service-feature-border);
  background: var(--service-feature-background);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.38s ease,
    border-color 0.38s ease,
    box-shadow 0.38s ease;
}

.service-feature-card:nth-child(odd) {
  --service-feature-background: var(--color-black);
  --service-feature-border: var(--color-orange);
  --service-feature-title: var(--color-white);
  --service-feature-text: rgba(255, 255, 255, 0.82);
  --service-feature-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --service-feature-number-color: var(--color-black);
  --service-feature-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.service-feature-card:nth-child(even) {
  --service-feature-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --service-feature-border: var(--color-yellow);
  --service-feature-title: var(--color-black);
  --service-feature-text: rgba(0, 0, 0, 0.76);
  --service-feature-number-background: var(--color-black);
  --service-feature-number-color: var(--color-yellow);
  --service-feature-hover-shadow: 0 14px 28px rgba(245, 164, 0, 0.14);
}

.service-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--service-feature-hover-shadow);
}

.service-feature-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--service-feature-number-background);
  color: var(--service-feature-number-color);
  font-family: "Futura PT Heavy";
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.service-feature-card h3 {
  margin: 0 0 2px;
  color: var(--service-feature-title);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.service-feature-card p {
  margin: 0;
  color: var(--service-feature-text);
  font-size: 19px;
  line-height: 1.35;
  text-align: justify;
}

.service-detail__button {
    min-width: 172px;
  min-height: 34px;
  margin-top: 14px;
  padding: 8px 18px;
  border-radius: 5px;
  color: var(--color-black);
  
}

.service-detail__media {
   position: relative;
}

.service-detail__media img {
  width: 80%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: none;
}

.service-detail__media img:nth-child(1) {
  box-shadow: 6px -7px 20px -5px rgba(0,0,0,0.75);
  margin-left: 0;
}

.service-detail__media img:nth-child(2) {
  position: absolute;
  bottom: 0;
  width: 350px;
  height: 350px;
  border-radius: 22px;
  right:  0;
  z-index: 2;
  box-shadow: 6px -7px 20px -5px rgba(0,0,0,0.75);

}

@media (max-width: 1180px) {
  .services-hero {
    min-height: 520px;
  }

 
}

@media (max-width: 980px) {
  .services-hero {
    min-height: 500px;
  }

  .services-hero__content {
    padding-block: 78px;
  }

  .service-detail {
    padding: 54px 0 64px;
  }

  .service-detail__grid,
  .services-extra__plagas-grid {
    grid-template-columns: 1fr;
  }

  .service-feature-list {
    max-width: none;
  }

  .service-detail__media {
    min-height: auto;
  }

 
   .service-detail__media img:nth-child(1),
  .service-detail__media img:nth-child(2) {
    position: static;
    width: 100%;
    height: 280px;
    margin: 0;
  }

  .service-detail__media {
    display: grid;
    gap: 18px;
  }

  .services-extra__side-images {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-extra__side-images img,
  .services-extra__side-images img:nth-child(2) {
    height: 240px;
  }
}

@media (max-width: 640px) {
  .services-hero {
    min-height: 470px;
    align-items: flex-end;
  }

  .services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    pointer-events: none;
  }

  .services-hero__content {
    padding-block: 70px 58px;
  }

  .services-hero .btn--primary {
    width: 50%;
    min-width: 0;
    padding: 15px 0;
  }

  .service-detail {
    padding: 54px 0 64px;
  }

  .service-detail h2 {
    margin-bottom: 22px;
  }

  .service-feature-card {
    padding: 20px 20px 21px;
  }

  .service-detail__button {
    width: 100%;
  }

  .service-detail__media {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-detail__media img,
.service-detail__media img:nth-child(1),
.service-detail__media img:nth-child(2) {
  position: static;
  width: 100%;
  height: 240px;
  border-radius: 20px;
}
.services-extra__side-images {
  grid-template-columns: 1fr;
  gap: 12px;
}

.services-extra__side-images img,
.services-extra__side-images img:nth-child(2) {
  height: 230px;
  border-radius: 20px;
}

}

/* Certificaciones mobile: misma escala y separación que Limpieza Industrial. */
@media (max-width: 768px) {
  .services-extra__logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    place-items: center;
    gap: clamp(18px, 3vw, 34px);
  }

  .services-extra__logos img {
    min-width: 0;
    width: clamp(150px, 16vw, 230px);
    max-width: 100%;
    height: clamp(150px, 16vw, 230px);
    object-fit: contain;
    border-radius: 50%;
  }
}

@media (max-width: 420px) {
  .services-extra__logos img {
    width: 135px;
    height: 135px;
  }

  .services-hero {
    min-height: 440px;
  }

  .services-hero p:not(.eyebrow) {
    font-size: 0.96rem;
  }

  .service-feature-card h3 {
    font-size: 1.12rem;
  }

  .service-detail__media img {
    height: 245px;
  }
}

/* ============================= */
/* LAYOUT GLOBAL */
/* NAVBAR + FOOTER */
/* ============================= */

:root {
  --cormago-black: #050505;
  --cormago-dark: #0a0a0a;
  --cormago-yellow: #fff200;
  --cormago-orange: #f5a400;
  --cormago-white: #ffffff;
  --cormago-gray: #858585;
  --cormago-footer-line: #6f6a00;
  --container-width: 1280px;
}



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

.site-footer {
  background: var(--cormago-black);
  color: var(--cormago-white);
  padding-top: 38px;
  padding-bottom: 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr 1.65fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
}

.footer-brand__logo img {
  width: 205px;
  max-width: 100%;
  height: auto;
}

.footer-brand{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-brand p {
  max-width: 245px;
  text-align: center;
  margin: 0;
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.footer-social {
  display: flex;
  align-items: center;
  
  gap: 18px;
  margin-top: 30px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #747474;
  border-radius: 12px;
  opacity: 0.85;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.footer-social a:hover {
  opacity: 1;
  border-color: var(--cormago-yellow);
}

.footer-column h2,
.footer-contact h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 20px;
  color: var(--cormago-white);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-column h2::before,
.footer-contact h2::before {
  content: "";
  width: 78px;
  height: 2px;
  background: var(--cormago-footer-line);
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li + li {
  margin-top: 7px;
}

.footer-column a {
  color: #8a8a8a;
  font-size: 1.05rem;
  line-height: 1.1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--cormago-yellow);
}

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

.footer-contact__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact__item + .footer-contact__item {
  margin-top: 20px;
}

.footer-contact__icon {
  width: 28px;
  height: 28px;
  padding: 2px;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(245, 164, 0, 0.24);
}



.footer-contact p {
  margin: 0;
  color: #858585;
  font-size: 1rem;
  line-height: 1.15;
}

.footer-contact a,
.footer-contact strong {
  color: var(--cormago-white);
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-contact small {
  display: inline-block;
  margin-top: 4px;
  color: #727272;
  font-size: 0.98rem;
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  padding-top: 14px;
  border-top: 2px solid var(--cormago-footer-line);
  color: #858585;
}

.footer-bottom p {
  justify-self: start;
  margin: 0;
  font-size: 0.92rem;
}

.footer-developer {
  display: inline-flex;
  justify-self: center;
  opacity: 0.78;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-developer:hover,
.footer-developer:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-developer img {
  display: block;
  width: 160px;
  height: auto;
}

.footer-bottom__links {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.footer-bottom__links a {
  color: #858585;
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-bottom__links a:hover {
  color: var(--cormago-yellow);
}

.footer-bottom__links span {
  width: 4px;
  height: 20px;
  background: var(--cormago-footer-line);
  border-radius: 2px;
}

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

@media (max-width: 1100px) {


  .footer-main {
    grid-template-columns: 1.1fr 0.8fr 0.8fr 1.4fr;
    gap: 34px;
  }

  .footer-column h2::before,
  .footer-contact h2::before {
    width: 58px;
  }
}

@media (max-width: 900px) {
 

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 42px 34px;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-contact__item {
    max-width: 520px;
  }
}

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

  .top-social-bar__label {
    font-size: 0.72rem;
  }

  .top-social-bar__icons img {
    width: 16px;
    height: 16px;
  }

  .main-navbar__inner {
    width: min(100% - 28px, 1120px);
  }

  .main-navbar__logo img {
    width: 150px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand__logo img {
    width: 185px;
  }

  .footer-column h2,
  .footer-contact h2 {
    font-size: 1.08rem;
  }

  .footer-column h2::before,
  .footer-contact h2::before {
    width: 54px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-contact__item {
    grid-template-columns: 24px 1fr;
  }

  .footer-contact__icon {
    width: 24px;
    height: 24px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .footer-bottom__links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom__links span {
    display: none;
  }
}

@media (max-width: 900px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }

  .footer-developer {
    order: -1;
  }

  .footer-bottom p,
  .footer-bottom__links {
    justify-self: center;
  }
}

@media (max-width: 420px) {


  .footer-brand__logo img {
    width: 165px;
  }

  .footer-contact a,
  .footer-contact strong {
    font-size: 1rem;
  }
}

/* =========================================================
   FIX FINAL NAVBAR RESPONSIVE
   Mantener al final del archivo para que sobrescriba reglas duplicadas.
   El JS activa .navbar__content.is-active, no .navbar__menu.is-active.
   ========================================================= */
@media (max-width: 980px) {
  .site-header {
    height: 104px;
  }

  .navbar {
    width: min(100% - 28px, 1120px);
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .navbar__logo {
    height: 104px;
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
  }

  .navbar__logo img {
    width: 170px;
  }

  .navbar__toggle {
    display: block;
    margin-top: 0;
    flex: 0 0 auto;
  }

  .navbar__content {
    position: absolute;
    top: 104px;
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
    height: auto;
    min-height: auto;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin-top: 0;
    padding: 18px;
    border-radius: 0 0 16px 16px;
    background: linear-gradient(180deg, var(--color-yellow), var(--color-orange));
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.35);
  }

  .navbar__content.is-active {
    display: flex;
  }

  .navbar__menu {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    position: static;
    background: transparent;
  }

  .navbar__menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  }

  .navbar__menu a {
    display: block;
    padding: 16px 4px;
    color: var(--color-black);
    font-size: 1.15rem;
  }

  .navbar__cta {
    width: 100%;
    min-width: auto;
    height: 54px;
    margin-top: 18px;
    font-size: 1.15rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 96px;
  }

  .navbar {
    width: min(100% - 24px, 1120px);
    height: 96px;
  }

  .navbar__logo {
    height: 96px;
  }

  .navbar__logo img {
    width: 150px;
  }

  .navbar__content {
    top: 96px;
  }
}

@media (max-width: 420px) {
  .navbar__logo img {
    width: 138px;
  }

  .navbar__toggle {
    width: 42px;
    height: 40px;
  }
}

/* ============================= */
/* FOOTER MOBILE - BRAND, SERVICIOS / EMPRESA, CONTACTO Y REDES */
/* ============================= */

@media (max-width: 640px) {
  .footer-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: start;
  }

  /* Expone logo, descripción y redes al grid sin duplicar ni mover el HTML. */
  .footer-main > .footer-brand {
    display: contents;
  }

  .footer-brand > .footer-brand__logo {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
  }

  .footer-brand > p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-bottom: 32px;
  }

  /* Servicios y Empresa comparten la primera fila de enlaces. */
  .footer-main > .footer-column {
    grid-row: 3;
    min-width: 0;
    padding-inline: 10px;
    align-self: stretch;
    text-align: center;
  }

  .footer-main > .footer-column > h2 {
    justify-content: center;
  }

  .footer-column__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
  }

  .footer-column__toggle::after {
    content: "";
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 200ms ease;
  }

  .footer-column__toggle[aria-expanded="true"]::after {
    transform: translateY(2px) rotate(225deg);
  }

  .footer-column__toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
  }

  .footer-main > .footer-column > ul[hidden] {
    display: none;
  }

  .footer-main > .footer-column {
    grid-column: 1;
  }

  .footer-main > .footer-column + .footer-column {
    grid-column: 2;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer-main > .footer-contact {
    grid-column: 1 / -1;
    grid-row: 4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 32px;
  }

  .footer-contact > h2 {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .footer-brand > .footer-social {
    grid-column: 1 / -1;
    grid-row: 5;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
  }

  .footer-brand__logo img {
    width: 185px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-column h2,
  .footer-contact h2 {
    margin-bottom: 16px;
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .footer-column h2::before,
  .footer-contact h2::before {
    content: none;
  }

  .footer-column a {
    font-size: 13px;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .footer-column li + li {
  margin-top: 0;
}

  .footer-contact__item {
    min-width: 0;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 18px auto;
    align-content: start;
    gap: 4px;
    padding-right: 10px;
  }

  .footer-contact__item + .footer-contact__item {
    margin-top: 0;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer-contact__item:last-child {
    padding-right: 0;
  }

  .footer-contact__icon {
    width: 18px;
    height: 18px;
    margin-top: 0;
  }

  .footer-contact__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .footer-contact p,
  .footer-contact a,
  .footer-contact strong {
    min-width: 0;
    font-size: 13px;
    line-height: 1.35;
  }

  .footer-contact a,
  .footer-contact strong {
    overflow-wrap: anywhere;
  }

  .footer-contact small {
    font-size: 12px;
    line-height: 1.35;
  }

  /* Legal centrado */
  .footer-bottom {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-bottom__links {
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-bottom__links span {
    display: inline-block;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .footer-column__toggle::after {
    transition: none;
  }
}

/* =========================================================
   PÁGINA SERVICIO: SEGURIDAD PRIVADA
   Estilos integrados en /assets/css/styles.css
   ========================================================= */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 700;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--color-yellow);
}

.security-hero {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 64% 50%;
  --hero-position-mobile: 76% 50%;
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.88) 0%,
      rgba(5, 5, 5, 0.64) 42%,
      rgba(5, 5, 5, 0.18) 100%
    ),
    url("../img/servicios/seguridad-privada/hero-seguridad-privada.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.security-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.88));
  pointer-events: none;
}

.security-hero__content {
  position: relative;
  z-index: 2;
  padding-block: 88px;
}

.security-hero .eyebrow {
  margin: 0 0 10px;
  color: var(--color-white);
}



.security-hero h1 {
  margin: 0 0 18px;
  color: var(--color-white);
  line-height: 0.98;
  letter-spacing: -0.01em;
  max-width: 950px;
}

.security-hero p:not(.eyebrow) {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.58;
  max-width: 1040px;
}

.security-hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  max-width: 680px;
}

.security-hero__actions .btn {
  min-height: 52px;
  font-weight: 950;
}

.security-hero__actions .btn--primary {
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
}

.btn--outline-security {
  border: 2px solid var(--color-yellow);
  background: rgba(0, 0, 0, 0.24);
  color: var(--color-yellow);
}

.security-solution,
.security-capabilities,
.security-industries,
.security-faq {
  background: #f4f4f4;
  color: var(--color-black);
}

.security-solution {
  padding: 42px 0 78px;
}

.security-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  min-height: 74px;
  margin-bottom: 34px;
}

.security-tabs__item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-self: end;
  width: 100%;
  height: 58px;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  background-color: transparent;
  color: var(--color-black);
  box-shadow: none;
  transform: translateY(0);
  will-change: height, transform, background-color, color, box-shadow;
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  transition:
    height 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.42s ease,
    border-color 0.42s ease,
    color 0.34s ease,
    box-shadow 0.48s ease;
}

/* Resplandor naranja que nace desde la línea inferior. */
.security-tabs__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(245, 164, 0, 0.34) 0%,
    rgba(245, 164, 0, 0.16) 38%,
    rgba(245, 164, 0, 0.05) 68%,
    rgba(245, 164, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Línea inferior: negra en reposo y amarillo/naranja al interactuar. */
.security-tabs__item::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(
    90deg,
    var(--color-yellow),
    var(--color-orange)
  );
  filter: grayscale(1) brightness(0);
  transform: scaleX(1);
  transform-origin: center;
  transition:
    filter 0.3s ease,
    height 0.3s ease;
}

.security-tabs__item:hover,
.security-tabs__item:focus-visible {
  border-color: rgba(245, 164, 0, 0.62);
  color: var(--color-black);
  box-shadow: 0 10px 22px rgba(245, 164, 0, 0.09);
}

.security-tabs__item:hover::before,
.security-tabs__item:focus-visible::before {
  opacity: 1;
}

.security-tabs__item:hover::after,
.security-tabs__item:focus-visible::after {
  filter: none;
}

.security-tabs__item.is-active,
.security-tabs__item[aria-selected="true"] {
  z-index: 2;
  height: 74px;
  border-color: var(--color-black);
  background-color: var(--color-black);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.security-tabs__item.is-active::before,
.security-tabs__item[aria-selected="true"]::before {
  opacity: 0.12;
}

.security-tabs__item.is-active::after,
.security-tabs__item[aria-selected="true"]::after {
  height: 4px;
  filter: none;
}

.security-tabs__item.is-active:hover,
.security-tabs__item.is-active:focus-visible,
.security-tabs__item[aria-selected="true"]:hover,
.security-tabs__item[aria-selected="true"]:focus-visible {
  color: var(--color-white);
  border-color: var(--color-black);
}

.security-tabs__item:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .security-tabs__item,
  .security-tabs__item::before,
  .security-tabs__item::after,
  .security-solution__media img {
    transition: none;
  }
}

.security-solution__grid {
  display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 26px;
    align-items: start;
    width: 100%;
}

.security-solution__media {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  isolation: isolate;
}

.security-solution__media img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transform: scale(1);
  will-change: opacity, transform;
  transition:
    opacity 0.18s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.security-solution__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start
}

.security-solution__content .eyebrow {
  margin: 0 0 12px;
  color: var(--color-black);
}

.security-solution h2,
.security-section-heading h2,
.security-process h2,
.security-faq h2,
.security-cta h2 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
  letter-spacing: 2px;
}

.security-solution__highlight {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 30px;
  background: var(--color-yellow);
}

.security-solution__highlight p {
  margin: 0;
  color: var(--color-black);
  line-height: 1.62;
  text-align: justify;
}

.security-solution__button {
  width: min(50%, 360px);
  min-height: 48px;
  margin-top: 24px;
  border-radius: 6px;
  color: var(--color-yellow);
}

.security-capabilities {
  padding: 82px 0 90px;
}

.security-section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.security-section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.security-section-heading .eyebrow {
  margin: 0 0 12px;
}

.security-capabilities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.security-card {
  min-height: 290px;
  padding: 28px 24px;
  border: 2px solid rgba(5, 5, 5, 0.12);
  border-radius: 0 20px 20px 20px;
  background: var(--color-white);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.security-card span {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--color-orange);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 950;
}

.security-card h3 {
  margin: 0 0 12px;
  color: var(--color-black);
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  line-height: 1.05;
  font-weight: 950;
  text-transform: uppercase;
}

.security-card p {
  margin: 0;
  color: rgba(0, 0, 0, 0.76);
  line-height: 1.55;
}

.security-process {
  padding: 82px 0 90px;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.64)),
    url("../img/servicios/seguridad-privada/bg-proceso-seguridad.webp") center / cover no-repeat;
  color: var(--color-white);
}

.security-process__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.security-process .eyebrow {
  margin: 0 0 12px;
  color: var(--color-yellow);
}

.security-process p {
  max-width: 560px;
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.65;
}

.security-process__steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.security-process__steps li {
  position: relative;
  min-height: 104px;
  padding: 22px 24px 22px 82px;
  border-left: 4px solid var(--color-yellow);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.08);
}

.security-process__steps li::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 22px;
  color: var(--color-yellow);
  font-size: 1.25rem;
  font-weight: 950;
}

.security-process__steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-white);
  font-size: 1.12rem;
  text-transform: uppercase;
}

.security-process__steps span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

.security-industries {
  padding: 82px 0 90px;
}

.security-industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.security-industries__grid article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  border-radius: 0 18px 18px 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.88)),
    var(--color-black);
  color: var(--color-white);
}

.security-industries__grid h3 {
  margin: 0 0 8px;
  color: var(--color-yellow);
  font-size: 1.18rem;
  line-height: 1.05;
  font-weight: 950;
  text-transform: uppercase;
}

.security-industries__grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.security-faq {
  padding: 80px 0 88px;
}

.security-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.security-faq__grid > div:first-child p:not(.eyebrow) {
  max-width: 480px;
  margin: 18px 0 0;
  color: rgba(0, 0, 0, 0.72);
  font-size: 1.05rem;
}

.security-faq__items {
  display: grid;
  gap: 14px;
}

.security-faq details {
  border-radius: 0 14px 14px 14px;
  background: var(--color-white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.security-faq summary {
  padding: 20px 24px;
  color: var(--color-black);
  font-weight: 950;
  cursor: pointer;
}

.security-faq details p {
  margin: 0;
  padding: 0 24px 22px;
  color: rgba(0, 0, 0, 0.74);
}

.security-cta {
  padding: 72px 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.62)),
    url("../img/servicios/seguridad-privada/cta-seguridad.webp") center / cover no-repeat;
  color: var(--color-white);
}

.security-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.security-cta .eyebrow {
  margin: 0 0 12px;
  color: var(--color-yellow);
}

.security-cta h2 {
  max-width: 820px;
}

.security-cta .btn {
  min-width: 240px;
  min-height: 52px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .security-tabs,
  .security-capabilities__grid,
  .security-industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-solution__grid,
  .security-process__grid,
  .security-faq__grid {
    grid-template-columns: 1fr;
  }

  .security-solution__content {
    max-width: none;
  }

  .security-solution__media img {
    height: 440px;
  }
}

@media (max-width: 768px) {
  .security-hero {
    min-height: auto;
    align-items: flex-end;
  }

  .security-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    pointer-events: none;
  }

  .security-hero__content {
    padding-block: 72px 60px;
  }

  .security-hero__actions {
    grid-template-columns: 1fr ;
    max-width: 200px;
  }

  .security-solution,
  .security-capabilities,
  .security-process,
  .security-industries,
  .security-faq {
    padding-block: 60px;
  }

  .security-solution {
    padding-top: 34px;
  }

  .security-cta {
    padding-block: 62px;
  }

  .security-cta__box {
    align-items: flex-start;
    flex-direction: column;
  }

  .security-cta .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .breadcrumb {
    font-size: 0.76rem;
  }

  .security-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 62px;
    gap: 10px;
  }

  .security-tabs__item {
    height: 50px;
    min-height: 0;
    gap: 0;
    padding: 9px 10px;
    border-radius: 11px;
    font-size: 0.9rem;
  }

  .security-tabs__item.is-active,
  .security-tabs__item[aria-selected="true"] {
    height: 62px;
    transform: translateY(-1px);
  }

  .security-solution__media img {
    height: 360px;
  }

  .security-capabilities__grid,
  .security-industries__grid {
    grid-template-columns: 1fr;
  }

  .security-card,
  .security-industries__grid article {
    min-height: auto;
  }

  .security-card span {
    margin-bottom: 24px;
  }

  .security-process__steps li {
    padding: 20px 20px 20px 68px;
  }

  .security-process__steps li::before {
    left: 20px;
  }

  .security-solution__button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .security-hero h1 {
    font-size: 26px;
  }

  .security-hero p:not(.eyebrow),
  .security-solution__highlight p,
  .security-process p {
    font-size: 0.96rem;
  }

  .security-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .security-solution__media img {
    height: 300px;
  }

  .security-solution__highlight,
  .security-card,
  .security-industries__grid article {
    padding: 22px;
  }
}


/* =========================================================
   SECCIONES ANEXAS DESPUÉS DE .security-cta
   ========================================================= */

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

.security-compliance,
.security-blog-preview,
.security-verticals,
.security-workflow,
.security-partnership {
  background: #f4f4f4;
  color: var(--color-black);
}

.security-compliance .eyebrow::before,
.security-blog-preview .eyebrow::before,
.security-verticals .eyebrow::before,
.security-workflow .eyebrow::before,
.security-partnership .eyebrow::before {
  content: "";
}

.security-compliance {
  overflow: hidden;
  padding-top: 0;
}

.security-compliance__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: clamp(34px, 6vw, 62px) clamp(24px, 5vw, 52px) clamp(30px, 5vw, 48px);
  border-radius: 28px 28px 0px 0px;
  background: #050505;
  color: var(--color-white);
}

.security-compliance__content {
  max-width: 1040px;
}

.security-compliance .eyebrow {
  margin: 0 0 18px;
  color: var(--color-yellow);
}

.security-compliance h2,
.security-blog-card h2,
.security-partnership h2 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0.04em;
  font-weight: 950;
}

.security-compliance h2 {
  color: var(--color-yellow);
}

.security-compliance__list {
  display: grid;
  gap: 11px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-compliance__list li {
  display: grid;
  grid-template-columns: minmax(160px, 250px) 1fr;
  align-items: center;
  height: 60px;
  min-height: 60px;
  overflow: hidden;
  border: 3px solid #f2b200;
  border-radius: 999px;
  color: var(--color-yellow);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.security-compliance__list li:hover,
.security-compliance__list li:focus-within {
  border: 3px solid #f2b200;
  background: linear-gradient(90deg, var(--color-yellow) 0 240px, var(--color-orange) 240px 100%);
  color: var(--color-black);
}

.security-compliance__list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 22px;
  border-radius: 999px;
  font-size: clamp(0.86rem, 1.5vw, 1.05rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.security-compliance__list li:not(:first-child) strong {
  border-radius: 4px solid #f2b200;
  
}

.security-compliance__list span {
  padding: 8px 22px;
  color: inherit;
  font-size: clamp(0.86rem, 1.4vw, 1.02rem);
  line-height: 1.25;
}

.security-compliance__hexagons {
  position: relative;
  width: 92px;
  min-height: 120px;
}

.security-compliance__hexagons span {
  position: absolute;
  width: 44px;
  height: 50px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}

.security-compliance__hexagons span:nth-child(1) {
  top: 0;
  right: 34px;
  background: #d9d9d9;
}

.security-compliance__hexagons span:nth-child(2) {
  top: 32px;
  right: 0;
  background: #f2a400;
}

.security-compliance__hexagons span:nth-child(3) {
  top: 66px;
  right: 34px;
  background: var(--color-yellow);
}

.security-compliance__media {
  position: relative;
  margin: 0;
  background: var(--color-black);
}

.security-compliance__media img {
  display: block;
  width: 100%;
  height: clamp(310px, 52vw, 620px);
  object-fit: cover;
  object-position: center;
}

.security-certificates {
  position: absolute;
  right: clamp(24px, 6vw, 86px);
  bottom: clamp(22px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(2, 112px);
  align-items: center;
  gap: 18px;
}

.security-certificates span {
  width: 132px;
  height: 132px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #1f65b7;
  font-size: 2.5rem;
  line-height: 0.9;
  font-weight: 950;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.security-certificates span:first-child {
  transform: translateY(-38px);
}

.security-certificates small {
  margin-top: 8px;
  color: #1f65b7;
  font-size: 0.78rem;
  font-weight: 950;
}

.security-blog-preview,
.security-verticals,
.security-workflow,
.security-partnership {
  padding: clamp(64px, 8vw, 108px) 0;
}

.security-blog-preview .eyebrow,
.security-verticals .eyebrow,
.security-workflow .eyebrow,
.security-partnership .eyebrow {
  margin: 0 0 18px;
  color: var(--color-black);
}

.security-blog-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 28px 28px;
  border-radius: 30px;
  background:
    url("../img/servicios/seguridad-privada/blog-monitoreo.webp") center / cover no-repeat;
  color: var(--color-white);
}

.security-blog-card__content {
  max-width: 790px;
}

.security-blog-card h2 {
  color: var(--color-white);
  letter-spacing: 0.08em;
}

.security-blog-card h3 {
  max-width: 720px;
  margin: 30px 0 12px;
  color: var(--color-white);
  line-height: 1.35;
  font-weight: 950;
  text-transform: uppercase;
}

.security-blog-card p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.98rem, 1.6vw, 1.22rem);
  line-height: 1.55;
}

.security-blog-card .btn {
  min-width: 168px;
  min-height: 56px;
  margin-top: auto;
  border-radius: 8px;
  color: var(--color-black);
}

.security-verticals__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 44px);
}

.security-vertical-card {
  min-height: clamp(128px, 18vw, 214px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  border: 0;
  border-radius: 0 16px 16px 16px;
  background: var(--color-yellow);
  color: var(--color-black);
  text-align: center;
}

.security-vertical-card svg {
  width: clamp(56px, 8vw, 96px);
  height: clamp(56px, 8vw, 96px);
  fill: currentColor;
}

.security-vertical-card h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(0.86rem, 1.35vw, 1.02rem);
  line-height: 1.1;
  font-weight: 950;
}

.security-vertical-card.is-active {
  box-shadow: inset 0 0 0 4px #08a7d4;
}

.security-vertical-card--more {
  background: #050505;
  color: var(--color-yellow);
  text-decoration: none;
}

.security-vertical-card--more span {
  position: relative;
  width: clamp(58px, 7vw, 88px);
  height: clamp(58px, 7vw, 88px);
}

.security-vertical-card--more span::before,
.security-vertical-card--more span::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.security-vertical-card--more span::after {
  width: 10px;
  height: 100%;
}

.security-workflow__panel {
  overflow: hidden;
  border-radius: 30px;
  background: #2f3032;
  color: var(--color-white);
}

.security-workflow__tabs {
  display: grid;
  grid-template-columns: 1.08fr 0.76fr 1fr;
  align-items: center;
  overflow: hidden;
  border-radius: 0 26px 0 0;
  background: #050505;
}

.security-workflow__tabs button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  background: transparent;
  color: var(--color-yellow);
  font-family: "Futura PT Demi";
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.security-workflow__tabs button:first-child {
  border-radius: 30px;
}

.security-workflow__tabs button:last-child {
  border-radius:  30px;
}

.security-workflow__tabs button.is-active {
  background: var(--color-yellow);
  color: var(--color-black);
  border-radius: 30px;
}

.security-workflow__tabs button:focus-visible {
  outline: 3px solid #0099ff;
  outline-offset: -3px;
}

.security-workflow__body {
  padding: 50px 24px;
}

.security-workflow__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.7vw, 1.34rem);
  line-height: 1.48;
  transition: opacity 0.18s ease;
  text-align: justify;
}

.security-partnership {
  padding-bottom: clamp(54px, 8vw, 100px);
}

.security-partnership h2 {
  letter-spacing: 2px;
  color: var(--color-black);
}

.security-partnership__logo {
  margin: clamp(24px, 5vw, 48px) 0 0;
  display: flex;
  justify-content: center;
}

.security-partnership__logo img {
  display: flex;
  width: min(100%, 1060px);
  height: auto;
  align-self: center;
}

@media (max-width: 1024px) {
  .security-compliance__inner {
    grid-template-columns: 1fr;
  }

  .security-compliance__hexagons {
    position: absolute;
    top: 34px;
    right: 30px;
  }

  .security-compliance h2 {
    padding-right: 108px;
  }

  .security-blog-card {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
  }

  .security-verticals__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .security-compliance__inner {
    padding-inline: 20px;
  }

  .security-compliance h2 {
    padding-right: 0;
  }

  .security-compliance__hexagons {
    display: none;
  }

  .security-compliance__list li {
    grid-template-columns: 1fr;
    border-radius: 18px;
    background: transparent;
  }

  .security-compliance__list strong {
    border-right: 0;
    border-bottom: 3px solid #f2b200;
  }

  .security-compliance__list li:hover,
  .security-compliance__list li:focus-within {
    background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
    color: var(--color-black);
  }

  .security-compliance__list li:hover strong,
  .security-compliance__list li:focus-within strong {
    background-color: #f2b200;
    color: var(--color-black);
  }

  .security-compliance__list span {
    text-align: center;
  }

  .security-certificates {
    right: 18px;
    bottom: 18px;
    grid-template-columns: repeat(3, 78px);
    gap: 8px;
  }

  .security-certificates span,
  .security-certificates span:first-child {
    width: 78px;
    height: 78px;
    font-size: 1.55rem;
    transform: none;
  }

  .security-certificates small {
    margin-top: 5px;
    font-size: 0.58rem;
  }

  .security-blog-card {
    min-height: 390px;
  }

  .security-blog-card .btn {
    width: 100%;
  }

  .security-verticals__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-workflow__tabs {
    grid-template-columns: 1fr;
    border-radius: 0;
  }

  .security-workflow__tabs span,
  .security-workflow__tabs span.is-active {
    justify-content: flex-start;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .security-verticals__grid {
    gap: 14px;
  }

  .security-vertical-card {
    min-height: 132px;
    padding: 16px 10px;
  }

  .security-certificates {
    position: static;
    display: flex;
    justify-content: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.9);
  }
}


/* =========================================================
   PÁGINA: Manejo Integrado de Plagas
   Agregar este bloque al final de /assets/css/styles.css
   ========================================================= */

.mip-page {
  background: #f7f7f7;
  color: var(--color-black);
}

.mip-hero {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 70% 50%;
  --hero-position-mobile: 82% 50%;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-black);
}

.mip-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.62) 38%, rgba(0,0,0,.18) 100%),
    url("/assets/img/servicios/manejo-integrado-plagas-hero.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.mip-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
}

.mip-hero__content {
  max-width: 750px;
  padding: 82px 0;
  color: var(--color-white);
}

.mip-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: .86rem;
  font-weight: 700;
  color: rgba(255,255,255,.84);
}

.mip-breadcrumb a {
  color: inherit;
}

.mip-eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .92rem;
  font-weight: 900;
  color: var(--color-yellow);
}

.mip-hero h1 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-shadow: 0 3px 12px rgba(0,0,0,.42);
}

.mip-hero__lead {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.5;
  color: rgba(255,255,255,.94);
}

.mip-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.mip-btn {
  min-width: 260px;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border-radius: 8px;
  border: 3px solid transparent;
  font-weight: 900;
  text-align: center;
  line-height: 1.1;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.mip-btn:hover {
  transform: translateY(-2px);
}

.mip-btn--primary {
  background: var(--color-yellow);
  color: var(--color-black);
}

.mip-btn--outline {
  background: rgba(0,0,0,.18);
  border-color: var(--color-yellow);
  color: var(--color-yellow);
}

.mip-section {
  padding: 72px 0;
}


.mip-section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--color-black);
}

.mip-section__label::before {
  content: "▶";
  font-size: .78rem;
}

.mip-section h2 {
  margin: 0;
}

.mip-section__intro {
  max-width: 780px;
  margin: 18px 0 0;
  font-size: 1.12rem;
  color: #3c3c3c;
}

.mip-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  min-height: 74px;
  margin-top: 0;
  margin-bottom: 22px;
}

.mip-tab {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-self: end;
  width: 100%;
  height: 58px;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  background-color: transparent;
  color: var(--color-black);
  box-shadow: none;
  transform: translateY(0);
  will-change: height, transform, background-color, color, box-shadow;
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  transition:
    height 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.42s ease,
    border-color 0.42s ease,
    color 0.34s ease,
    box-shadow 0.48s ease;
}

.mip-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(245, 164, 0, 0.34) 0%,
    rgba(245, 164, 0, 0.16) 38%,
    rgba(245, 164, 0, 0.05) 68%,
    rgba(245, 164, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mip-tab::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(
    90deg,
    var(--color-yellow),
    var(--color-orange)
  );
  filter: grayscale(1) brightness(0);
  transform: scaleX(1);
  transform-origin: center;
  transition:
    filter 0.3s ease,
    height 0.3s ease;
}

.mip-tab:hover,
.mip-tab:focus-visible {
  border-color: rgba(245, 164, 0, 0.62);
  color: var(--color-black);
  box-shadow: 0 10px 22px rgba(245, 164, 0, 0.09);
}

.mip-tab:hover::before,
.mip-tab:focus-visible::before {
  opacity: 1;
}

.mip-tab:hover::after,
.mip-tab:focus-visible::after {
  filter: none;
}

.mip-tab--active,
.mip-tab[aria-selected="true"] {
  z-index: 2;
  height: 74px;
  border-color: var(--color-black);
  background-color: var(--color-black);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.mip-tab--active::before,
.mip-tab[aria-selected="true"]::before {
  opacity: 0.12;
}

.mip-tab--active::after,
.mip-tab[aria-selected="true"]::after {
  height: 4px;
  filter: none;
}

.mip-tab--active:hover,
.mip-tab--active:focus-visible,
.mip-tab[aria-selected="true"]:hover,
.mip-tab[aria-selected="true"]:focus-visible {
  color: var(--color-white);
  border-color: var(--color-black);
}

.mip-tab:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 3px;
}

.mip-feature {
 display: grid;
  grid-template-columns: minmax(520px, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: center;
  width: 100%;
  max-width: none;
  margin-top: 0;
}

.mip-feature__image {
  position: relative;
  min-height: 270px;
  height: 390px;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
}

.mip-feature__image::after {
  display: none;
}

.mip-feature__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
  will-change: opacity, transform;
  transition:
    opacity 0.18s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}



.mip-note {
  margin: 0 0 20px;
 
  padding: clamp(24px, 4vw, 34px);
  border-radius: 30px;
  background: var(--color-yellow);
}

.mip-section--white .mip-btn {
  min-width: 180px;
  min-height: 40px;
  border-radius: 4px;
  border-width: 0;
  line-height: 1;
}

.mip-section--white .mip-btn--primary {
  background: var(--color-black);
  color: var(--color-yellow);
}

.mip-note p {
  margin: 0;
  text-align: justify;
}

.mip-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.mip-card {
  min-height: 260px;
  padding: 30px;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: 0 18px 48px rgba(0,0,0,.08);
}

.mip-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.12;
}

.mip-card p {
  margin: 0;
  color: #464646;
}

.mip-certifications {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin-top: 18px;
}

.mip-certification {
   min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.mip-certification img {
  width: clamp(150px, 16vw, 220px);
  height: clamp(150px, 16vw, 220px);
  object-fit: contain;
  border-radius: 50%;
}

.mip-certification span {
   display: none;
}

.mip-process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.mip-process__item {
  counter-increment: step;
  position: relative;
  padding: 74px 24px 28px;
  border-radius: 22px;
  background: var(--color-black);
  color: var(--color-white);
}

.mip-process__item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 24px;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 950;
  color: var(--color-yellow);
}

.mip-process__item h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.mip-process__item p {
  margin: 0;
  color: rgba(255,255,255,.78);
}

.mip-industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.mip-industry {
  min-height: 132px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  border: 2px solid rgba(0,0,0,.06);
  font-size: 1.12rem;
  font-weight: 950;
}

.mip-faq {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.mip-faq__list {
  display: grid;
  gap: 14px;
}

.mip-faq details {
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
  overflow: hidden;
}

.mip-faq summary {
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 950;
  list-style: none;
}

.mip-faq summary::-webkit-details-marker {
  display: none;
}

.mip-faq details p {
  margin: 0;
  padding: 0 26px 24px;
  color: #444;
}

.mip-cta {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background: var(--color-black);
  color: var(--color-white);
}

.mip-cta::before {
  content: "";
  position: absolute;
  inset: auto -10% -120px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--color-yellow);
  opacity: .16;
}

.mip-cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.mip-cta h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.mip-cta p {
  max-width: 670px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 1.1rem;
}

@media (prefers-reduced-motion: reduce) {
  .mip-tab,
  .mip-tab::before,
  .mip-tab::after,
  .mip-feature__image img {
    transition: none;
  }
}

@media (max-width: 1024px) {
  

  .mip-feature,
  .mip-faq,
  .mip-cta__grid {
    grid-template-columns: 1fr;
  }

  .mip-card-grid,
  .mip-process,
  .mip-industries {
    grid-template-columns: repeat(2, 1fr);
  }

  .mip-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
 

  .mip-hero::before {
    background:
      linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.64) 100%),
      url("/assets/img/servicios/manejo-integrado-plagas-hero.webp") var(--hero-position, 50% 50%) / cover no-repeat;
  }

  .mip-hero__content {
    padding: 58px 0;
  }

  .mip-hero h1 {
    font-size: 30px;
  }

  .mip-hero__actions,
  .mip-card-grid,
  .mip-process,
  .mip-industries {
    grid-template-columns: 1fr 1fr;
  }

  .mip-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 62px;
    gap: 10px;
  }

  .mip-hero__actions {
    display: grid;
  }

  .mip-btn {
    width: 100%;
    min-width: 0;
    font-size: 11px;
    padding: 0;
    min-height: 42px;
  }

  .mip-tab {
    height: 50px;
    min-height: 0;
    gap: 0;
    padding: 9px 10px;
    border-radius: 11px;
    font-size: 0.9rem;
  }

  .mip-tab--active,
  .mip-tab[aria-selected="true"] {
    height: 62px;
    transform: translateY(-1px);
  }

  .mip-section {
    padding: 56px 0;
  }

    .mip-certifications {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .mip-certification img {
    width: 180px;
    height: 180px;
  }

  .mip-note {
    padding: 28px;
    border-radius: 25px;
  }

  .mip-feature__content  h2{
    padding: 18px 0;
  }

  
}

@media (max-width: 520px) {
  .mip-certifications {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 14px;
  }

  .mip-certification img {
    width: 132px;
    height: 132px;
  }
}


@media (max-width: 420px) {
  .mip-certifications {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   SECCIONES NUEVAS - MANEJO INTEGRADO DE PLAGAS
   ========================================================= */

.mip-blog-preview,
.mip-verticals,
.mip-workflow {
  background: #f4f4f4;
}

.mip-blog-card {
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.72), rgba(18, 18, 18, 0.36)),
    url("/assets/img/blog/temporada-moscas-verano.webp") center / cover no-repeat;
}

.mip-blog-card h2 {
  letter-spacing: 0.02em;
}

.mip-blog-card h3 {
  max-width: 760px;
}

.mip-blog-card .btn {
  background: var(--color-yellow);
  color: var(--color-black);
  font-weight: 950;
}

.mip-verticals__grid {
 display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.mip-vertical-card {
  position: relative;
  z-index: 1;
  min-height: 166px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px 14px;
  border: 0;
  border-radius: 24px;
  background: var(--color-yellow);
  color: var(--color-black);
  text-align: center;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(245, 164, 0, 0.28);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

/* El contenido visual no captura el toque: todo el bloque sigue siendo el enlace. */
.mip-vertical-card > img,
.mip-vertical-card > h3,
.mip-vertical-card > span {
  pointer-events: none;
}

/* Evita que el primer toque en iOS/Android se utilice solamente para activar :hover. */
@media (hover: hover) and (pointer: fine) {
  .mip-vertical-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
  }
}

.mip-vertical-card:active {
  transform: scale(0.98);
}

.mip-vertical-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.mip-vertical-card h3 {
  margin: 0;
  color: inherit;
  font-family: "Futura PT Heavy";
  font-size: clamp(1rem, 1.4vw, 1.32rem);
  line-height: 1;
  font-weight: 900;

}

.mip-vertical-card--dark {
  background: #080808;
  color: var(--color-yellow);
}

.mip-vertical-card--dark span {
  position: relative;
  width: clamp(58px, 7vw, 88px);
  height: clamp(58px, 7vw, 88px);
}

.mip-vertical-card--dark span::before,
.mip-vertical-card--dark span::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.mip-vertical-card--dark span::after {
  width: 10px;
  height: 100%;
}


.mip-workflow {
  padding-bottom: clamp(52px, 7vw, 84px);
}

.security-workflow__body p {
  transition: opacity 0.18s ease;
}

/* Beneficios del servicio */
.mip-benefits {
  padding: clamp(42px, 5vw, 64px) 0 clamp(56px, 7vw, 78px);
  background: #f4f4f4;
  color: var(--color-black);
}

.mip-benefits__title {
  margin: 0 0 22px;
  line-height: 1.1;
  letter-spacing: 2px;
}

.mip-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.mip-benefit-card {
  min-height: 306px;
  display: grid;
  grid-template-rows: 46px 46px 1fr;
  row-gap: 22px;
  padding: 24px 22px;
  border: 3px solid var(--service-feature-border);
  border-radius: 22px;
  background: var(--service-feature-background);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.mip-benefit-card:nth-child(odd) {
  --service-feature-background: var(--color-black);
  --service-feature-border: var(--color-orange);
  --service-feature-title: var(--color-white);
  --service-feature-text: rgba(255, 255, 255, 0.82);
  --service-feature-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --service-feature-number-color: var(--color-black);
}

.mip-benefit-card:nth-child(even) {
  --service-feature-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --service-feature-border: var(--color-yellow);
  --service-feature-title: var(--color-black);
  --service-feature-text: rgba(0, 0, 0, 0.76);
  --service-feature-number-background: var(--color-black);
  --service-feature-number-color: var(--color-yellow);
}

.mip-benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.mip-benefit-card > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  background: var(--service-feature-number-background);
  color: var(--service-feature-number-color);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.mip-benefit-card h3 {
  align-self: start;
  margin: 0;
  color: var(--service-feature-title);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.mip-benefit-card p {
  align-self: start;
  margin: 0;
  color: var(--service-feature-text);
  font-size: 18px;
  line-height: 1.45;
  text-align: justify;
}

@media (max-width: 1180px) {
  .mip-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .mip-blog-card {
    min-height: 420px;
  }

  .mip-verticals__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mip-benefits__grid {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .mip-vertical-card {
    min-height: 126px;
  }

  .mip-vertical-card--dark span {
    font-size: 4.6rem;
  }

  .mip-benefit-card {
    min-height: 230px;
    padding: 20px 16px;
  }

  .mip-benefit-card h3 {
    font-size: 1.05rem;
  }

  .mip-benefit-card p {
    font-size: 15px;
  }
}

/* =========================================================
   PÁGINA SERVICIO: OBRA CIVIL
   Pegar al final de /assets/css/styles.css
   ========================================================= */

.btn--outline-light {
  border: 3px solid var(--color-yellow);
  background: rgba(0, 0, 0, 0.22);
  color: var(--color-yellow);
}

.oc-hero {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 82% 50%;
  --hero-position-mobile: 100% 50%;
  position: relative;
  min-height: clamp(520px, 64vw, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.82) 0%, rgba(5, 5, 5, 0.58) 48%, rgba(5, 5, 5, 0.1) 100%),
    url("../img/servicios/obra-civil/hero-obra-civil.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.oc-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.oc-hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 9vw, 120px);
}

.oc-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.oc-breadcrumb a:hover {
  color: var(--color-yellow);
}

.oc-hero .eyebrow,
.oc-compliance .eyebrow,
.oc-cta .eyebrow {
  margin: 0 0 12px;
  color: var(--color-white);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.oc-hero .eyebrow::before,
.oc-services .eyebrow::before,
.oc-capabilities .eyebrow::before,
.oc-process .eyebrow::before,
.oc-compliance .eyebrow::before,
.oc-cta .eyebrow::before {
  content: "";
}

.oc-hero h1 {
  max-width: 830px;
  margin: 0 0 18px;
  color: var(--color-white);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.oc-hero p:not(.eyebrow) {
  max-width: 790px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.58;
  text-align: justify;
}

.oc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.oc-hero__actions .btn {
  min-width: min(100%, 330px);
  min-height: 54px;
  font-weight: 900;
}


.oc-capabilities {
  padding: clamp(46px, 6vw, 78px) 0;
  background: #f3f3f3;
}
.oc-services {
  padding: 42px 0 64px;
  background: #f3f3f3;
  color: var(--color-black);
}

.eyebrow--dark {
  color: var(--color-black);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.oc-service-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  min-height: 74px;
  margin: 14px 0 30px;
}

.oc-service-tabs__item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-self: end;
  width: 100%;
  height: 58px;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  background-color: transparent;
  color: var(--color-black);
  box-shadow: none;
  transform: translateY(0);
  will-change: height, transform, background-color, color, box-shadow;
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  transition:
    height 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.42s ease,
    border-color 0.42s ease,
    color 0.34s ease,
    box-shadow 0.48s ease;
}

/* Resplandor naranja que nace desde la línea inferior. */
.oc-service-tabs__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(245, 164, 0, 0.34) 0%,
    rgba(245, 164, 0, 0.16) 38%,
    rgba(245, 164, 0, 0.05) 68%,
    rgba(245, 164, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* La línea siempre está visible: negra en reposo y en color al interactuar. */
.oc-service-tabs__item::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(
    90deg,
    var(--color-yellow),
    var(--color-orange)
  );
  filter: grayscale(1) brightness(0);
  transform: scaleX(1);
  transform-origin: center;
  transition:
    filter 0.3s ease,
    height 0.3s ease;
}

.oc-service-tabs__item:hover,
.oc-service-tabs__item:focus-visible {
  border-color: rgba(245, 164, 0, 0.62);
  color: var(--color-black);
  box-shadow: 0 10px 22px rgba(245, 164, 0, 0.09);
}

.oc-service-tabs__item:hover::before,
.oc-service-tabs__item:focus-visible::before {
  opacity: 1;
}

.oc-service-tabs__item:hover::after,
.oc-service-tabs__item:focus-visible::after {
  filter: none;
}

.oc-service-tabs__item.is-active,
.oc-service-tabs__item[aria-selected="true"] {
  z-index: 2;
  height: 74px;
  border-color: var(--color-black);
  background-color: var(--color-black);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.oc-service-tabs__item.is-active::before,
.oc-service-tabs__item[aria-selected="true"]::before {
  opacity: 0.12;
}

.oc-service-tabs__item.is-active::after,
.oc-service-tabs__item[aria-selected="true"]::after {
  height: 4px;
  filter: none;
}

.oc-service-tabs__item.is-active:hover,
.oc-service-tabs__item.is-active:focus-visible,
.oc-service-tabs__item[aria-selected="true"]:hover,
.oc-service-tabs__item[aria-selected="true"]:focus-visible {
  color: var(--color-white);
  border-color: var(--color-black);
}

.oc-service-tabs__item:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .oc-service-tabs__item,
  .oc-service-tabs__item::before,
  .oc-service-tabs__item::after,
  .oc-highlight__media img {
    transition: none;
  }
}

.oc-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(610px, 0.95fr);
  gap: 26px;
  align-items: start;
  width: 100%;
}

.oc-highlight__media {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  isolation: isolate;
}

.oc-highlight__media img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transform: scale(1);
  will-change: opacity, transform;
  transition:
    opacity 0.18s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.oc-highlight__content {
  width: 100%;
  padding-top: 4px;
}

.oc-highlight__content h2 {
  margin: 0 0 12px;
  color: var(--color-black);
  line-height: 1.18;
  letter-spacing: 2px;
  font-weight: 950;
}

.oc-highlight__box {
    max-width: 100%;
  padding: 18px 26px;
  border-radius: 30px;
  background: var(--color-yellow);
}

.oc-highlight__box p {
   margin: 0;
  color: var(--color-black);
  line-height: 1.48;
  text-align: justify;
}

.oc-highlight__button {
  min-height: 40px;
  margin-top: 22px;
  border-radius: 5px;
  background: var(--color-black);
  color: var(--color-yellow);
}

.oc-compliance {
  padding: clamp(44px, 7vw, 40px) 0;
  background: #f3f3f3;
}

.oc-compliance__card {
  position: relative;
  width: 100%;
  min-height: 390px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 0;
  background:
   
    url("/assets/img/servicios/obra-civil/bg-cumplimiento.webp") center / cover no-repeat;
}

.oc-compliance__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 36px;
  align-items: center;
  padding-block: 38px;
}



.oc-compliance h2 {
  margin: 0 0 18px;
  color: var(--color-white);
}

.oc-standards {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oc-standards li {
  min-height: 50px;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  overflow: hidden;
  border: 3px solid var(--color-white);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--color-white);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}



.oc-standards strong {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
  border-right: 3px solid var(--color-white);
}

.oc-standards li:first-child strong {
  border: 3px solid var(--color-yellow);
  z-index: 1;
}

.oc-standards span {
  padding: 8px 20px;
  color: var(--color-white);
  font-family: "Futura PT Book";
  font-size: 21px;
  line-height: 1.25;
  font-weight: 500;
}

.oc-compliance__logos {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, 112px);
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.oc-compliance__logos img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.oc-compliance__logos img:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
}




.oc-capabilities h2 {
  max-width: 860px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.oc-capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.oc-capability-card {
  min-height: 210px;
  padding: 28px;
  border: 3px solid var(--color-black);
  border-radius: 0 22px 22px 22px;
  background: var(--color-white);
}

.oc-capability-card h3 {
  margin: 0 0 12px;
  color: var(--color-black);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.08;
  font-weight: 950;
}

.oc-capability-card p {
  margin: 0;
  color: var(--color-text);
}

.oc-capability-card--featured {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
}


/* Beneficios del servicio de Obra Civil */
.oc-benefits {
  padding: clamp(54px, 7vw, 86px) 0;
  background: #f3f3f3;
  color: var(--color-black);
}

.oc-benefits .eyebrow {
  margin: 0 0 10px;
}

.oc-benefits__title {
  margin: 0 0 28px;
  color: var(--color-black);
  line-height: 1.08;
}

.oc-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.oc-benefit-card {
  min-height: 306px;
  display: grid;
  grid-template-rows: 46px 46px 1fr;
  row-gap: 22px;
  padding: 24px 22px;
  border: 3px solid var(--oc-benefit-border);
  border-radius: 22px;
  background: var(--oc-benefit-background);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.oc-benefit-card:nth-child(odd) {
  --oc-benefit-background: var(--color-black);
  --oc-benefit-border: var(--color-orange);
  --oc-benefit-title: var(--color-white);
  --oc-benefit-text: rgba(255, 255, 255, 0.82);
  --oc-benefit-number-background: linear-gradient(135deg, var(--color-orange), var(--color-yellow));
  --oc-benefit-number-color: var(--color-black);
}

.oc-benefit-card:nth-child(even) {
  --oc-benefit-background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-yellow) 100%);
  --oc-benefit-border: var(--color-yellow);
  --oc-benefit-title: var(--color-black);
  --oc-benefit-text: rgba(0, 0, 0, 0.76);
  --oc-benefit-number-background: var(--color-black);
  --oc-benefit-number-color: var(--color-yellow);
}

.oc-benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.oc-benefit-card > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 50%;
  background: var(--oc-benefit-number-background);
  color: var(--oc-benefit-number-color);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.oc-benefit-card h3 {
  align-self: start;
  margin: 0;
  color: var(--oc-benefit-title);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.oc-benefit-card p {
  align-self: start;
  margin: 0;
  color: var(--oc-benefit-text);
  font-size: 18px;
  line-height: 1.45;
  text-align: justify;
}

.oc-process {
  padding: clamp(52px, 7vw, 92px) 0;
  background: var(--color-white);
}

.oc-process__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.oc-process p {
  max-width: 590px;
  color: var(--color-text);
  font-size: 1.05rem;
}

.oc-process__steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.oc-process__steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 18px;
  padding: 22px;
  border-radius: 0 20px 20px 20px;
  background: #f3f3f3;
}

.oc-process__steps span {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-yellow);
  font-weight: 950;
}

.oc-process__steps strong {
  color: var(--color-black);
  font-size: 1.2rem;
}

.oc-process__steps p {
  margin: 6px 0 0;
  font-size: 0.98rem;
}

.oc-cta {
  padding: clamp(48px, 7vw, 86px) 0;
  background: #f3f3f3;
}

.oc-cta__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 0 30px 30px 30px;
  background: var(--color-black);
}

.oc-cta h2,
.oc-cta p {
  color: var(--color-white);
}

.oc-cta p:not(.eyebrow) {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.oc-cta .btn {
  min-width: 230px;
  background: var(--color-yellow);
  color: var(--color-black);
  font-weight: 950;
}
@media (max-width: 820px) {
  .oc-highlight {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .oc-highlight__content {
    max-width: none;
  }

  .oc-highlight__content h2 {
    max-width: none;
  }

  .oc-highlight__media img {
    height: 340px;
    min-height: 340px;
  }
}

@media (max-width: 520px) {
  .oc-highlight {
    gap: 20px;
  }

  .oc-highlight__media img {
    height: 300px;
    min-height: 300px;
    border-radius: 22px;
  }

  .oc-highlight__box {
    padding: 20px;
    border-radius: 0 20px 20px 20px;
  }

  .oc-highlight__button {
    min-height: 44px;
  }
}


@media (max-width: 980px) {

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

  
  .oc-process__grid,
  .oc-cta__card {
    grid-template-columns: 1fr;
  }

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

  .oc-cta .btn {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .oc-service-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .oc-service-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 62px;
    margin: 12px 0 24px;
  }

  .oc-service-tabs__item {
    height: 50px;
    min-height: 0;
    gap: 0;
    padding: 9px 10px;
    border-radius: 11px;
    font-size: 0.9rem;
  }

  .oc-service-tabs__item.is-active,
  .oc-service-tabs__item[aria-selected="true"] {
    height: 62px;
    transform: translateY(-1px);
  }

}

@media (max-width: 680px) {
  .oc-hero {
    align-items: flex-end;
  }

  .oc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
  }

  .oc-breadcrumb {
    margin-bottom: 26px;
    font-size: 0.82rem;
  }

  .oc-hero__actions,
  .oc-hero__actions .btn {
    width: 100%;
  }

  
  .oc-capabilities__grid {
    grid-template-columns: 1fr;
  }

  .oc-benefits {
    padding-block: 52px;
  }

  .oc-benefits__title {
    margin-bottom: 22px;
  }

  .oc-service-tabs__item {
    border-width: 1px;
  }

  

  .oc-compliance__card {
    border-radius: 24px;
  }

  .oc-standards li {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .oc-standards strong {
    justify-content: flex-start;
    border-radius: 14px 14px 0 0;
  }

  .oc-standards span {
    padding: 10px 18px 14px;
  }

  .oc-process__steps li {
    grid-template-columns: 1fr;
  }

  .oc-process__steps span {
    grid-row: auto;
    margin-bottom: 14px;
  }
}

@media (max-width: 420px) {
  

  .oc-capability-card {
    min-height: auto;
    padding: 22px;
  }

  .oc-benefits__grid {
    gap: 14px;
  }

  .oc-benefit-card {
    min-height: 245px;
    grid-template-rows: 42px 44px 1fr;
    row-gap: 16px;
    padding: 19px 15px;
    border-radius: 20px;
  }

  .oc-benefit-card > span {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .oc-benefit-card h3 {
    font-size: 0.98rem;
  }

  .oc-benefit-card p {
    font-size: 14px;
    line-height: 1.38;
  }
}

@media (max-width: 480px) {
  .oc-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 14px;
  }

  .oc-benefit-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 245px;
    grid-template-rows: 46px auto 1fr;
    row-gap: 14px;
    padding: 19px 14px;
    box-sizing: border-box;
  }

  .oc-benefit-card > * {
    min-width: 0;
    max-width: 100%;
  }

  .oc-benefit-card h3 {
    font-size: 16px;
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .oc-benefit-card p {
    font-size: 14px;
    line-height: 1.38;
    text-align: justify;
    overflow-wrap: break-word;
  }
}

/* =========================================================
   PÁGINA SERVICIO: RESIDUOS DE MANEJO ESPECIAL
   Pegar al final de /assets/css/styles.css
   ========================================================= */

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

.rme-page {
  background: #f4f4f4;
  color: var(--color-black);
}

.rme-hero {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 64% 50%;
  --hero-position-mobile: 76% 50%;
  position: relative;
min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.62) 46%, rgba(5, 5, 5, 0.16) 100%),
    url("/assets/img/servicios/residuos-manejo-especial/hero-residuos-manejo-especial.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.rme-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
}

.rme-hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 9vw, 118px);
}

.rme-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
}

.rme-breadcrumb a:hover {
  color: var(--color-yellow);
}

.rme-eyebrow,
.rme-section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  font-weight: 950;
}

.rme-eyebrow {
  color: var(--color-white);
}

.rme-eyebrow::before,
.rme-section__label::before {
  content: "▶";
  font-size: 0.72rem;
}

.rme-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--color-white);
  line-height: 0.98;
    letter-spacing: -0.01em;
    max-width: 900px;
}

.rme-hero__lead {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.02rem, 1.75vw, 1.28rem);
  line-height: 1.55;
  text-align: justify;
}

.rme-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.rme-btn {
  min-width: 260px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 3px solid transparent;
  border-radius: 8px;
  font-weight: 950;
  text-align: center;
  line-height: 1.1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.rme-btn:hover {
  transform: translateY(-2px);
}

.rme-btn--primary {
  background: var(--color-yellow);
  color: var(--color-black);
}

.rme-btn--outline {
  border-color: var(--color-yellow);
  background: rgba(0, 0, 0, 0.22);
  color: var(--color-yellow);
}

.rme-section {
  padding: clamp(56px, 7vw, 78px) 0;
}

.rme-section--white,
.rme-certifications,

.rme-workflow {
  background: #f4f4f4;
}

.rme-compliance {
  padding: clamp(48px, 7vw, 78px) 0;
  background: var(--color-black);
  color: var(--color-white);
}

.rme-section h2 {
  margin: 0;
  color: var(--color-black);
  letter-spacing: 2px;
}
  
.rme-compliance__title {
  margin: 0;
  color: var(--color-white);
  letter-spacing: 2px;
}


.rme-waste-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  min-height: 74px;
  margin-bottom: 28px;
}

.rme-waste-tabs-items {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-self: end;
  width: 100%;
  height: 58px;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  background-color: transparent;
  color: var(--color-black);
  box-shadow: none;
  transform: translateY(0);
  will-change: height, transform, background-color, color, box-shadow;
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  transition:
    height 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.42s ease,
    border-color 0.42s ease,
    color 0.34s ease,
    box-shadow 0.48s ease;
}

/* Resplandor naranja que nace desde la línea inferior. */
.rme-waste-tabs-items::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(245, 164, 0, 0.34) 0%,
    rgba(245, 164, 0, 0.16) 38%,
    rgba(245, 164, 0, 0.05) 68%,
    rgba(245, 164, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Línea inferior: negra en reposo y amarillo/naranja al interactuar. */
.rme-waste-tabs-items::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(
    90deg,
    var(--color-yellow),
    var(--color-orange)
  );
  filter: grayscale(1) brightness(0);
  transform: scaleX(1);
  transform-origin: center;
  transition:
    filter 0.3s ease,
    height 0.3s ease;
}

.rme-waste-tabs-items:hover,
.rme-waste-tabs-items:focus-visible {
  border-color: rgba(245, 164, 0, 0.62);
  color: var(--color-black);
  box-shadow: 0 10px 22px rgba(245, 164, 0, 0.09);
}

.rme-waste-tabs-items:hover::before,
.rme-waste-tabs-items:focus-visible::before {
  opacity: 1;
}

.rme-waste-tabs-items:hover::after,
.rme-waste-tabs-items:focus-visible::after {
  filter: none;
}

.rme-waste-tabs-items.is-active,
.rme-waste-tabs-items[aria-selected="true"] {
  z-index: 2;
  height: 74px;
  border-color: var(--color-black);
  background-color: var(--color-black);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.rme-waste-tabs-items.is-active::before,
.rme-waste-tabs-items[aria-selected="true"]::before {
  opacity: 0.12;
}

.rme-waste-tabs-items.is-active::after,
.rme-waste-tabs-items[aria-selected="true"]::after {
  height: 4px;
  filter: none;
}

.rme-waste-tabs-items.is-active:hover,
.rme-waste-tabs-items.is-active:focus-visible,
.rme-waste-tabs-items[aria-selected="true"]:hover,
.rme-waste-tabs-items[aria-selected="true"]:focus-visible {
  color: var(--color-white);
  border-color: var(--color-black);
}

.rme-waste-tabs-items:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .rme-waste-tabs-items,
  .rme-waste-tabs-items::before,
  .rme-waste-tabs-items::after,
  .rme-feature__image img,
  .rme-benefit-card {
    transition: none;
  }
}

.rme-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.0fr) minmax(420px, 0.95fr);
    gap: 26px;
    align-items: start;
    width: 100%;
}

.rme-feature__image {
  margin: 0;
  min-height: 450px;
  overflow: hidden;
  border-radius: 30px;
  isolation: isolate;
}

.rme-feature__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
  will-change: opacity, transform;
  transition:
    opacity 0.18s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.rme-feature__content {
  width: 100%;
  margin: 0;
}

.rme-note {
  margin: 22px 0 22px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 30px;
  background: var(--color-yellow);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.55;
}

.rme-note p {
  margin: 0;
  transition: opacity 0.18s ease;
  text-align: justify;
}

.rme-download {
  width: min(50%, 420px);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--color-black);
  color: var(--color-yellow);
  font-weight: 950;
}

.rme-certifications__grid {
   display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin-top: 18px;

}

.rme-certification {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.rme-certification img {
  width: clamp(150px, 16vw, 230px);
  height: clamp(150px, 16vw, 230px);
  object-fit: contain;
  border-radius: 50%;
}

.rme-certification span {
  display: none;

}
.rme-compliance__grid {
 position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.rme-compliance__list {
  display: grid;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rme-compliance__list article {
 min-height: 49px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  min-height: 50px;
  overflow: hidden;
  border: 3px solid #f2b200;
  border-radius: 999px;
  background: transparent;
  color: var(--color-yellow);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.rme-compliance__list article:hover {
  background: linear-gradient(
    90deg,
    var(--color-yellow),
    var(--color-orange)
  );
  color: var(--color-black);
}

.rme-compliance__list strong {
 display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 8px 18px;
  font-family: "Futura PT Demi";
  font-size: 21px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.035em;
  white-space: nowrap;
  border-right: 3px solid #f2b200;
    border-radius: 999px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.rme-compliance__list article:hover strong {
  background: var(--color-yellow);
  
}

.rme-compliance__list span {
  padding: 8px 18px;
  color: inherit;
  font-family: "Futura PT Book";
  font-size: 21px;
}

.rme-compliance__image {
  width: 100%;
  height: 255px;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--color-black);
}

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

.rme-workflow {
  padding-bottom: clamp(62px, 8vw, 96px);
}

.rme-workflow__panel {
  overflow: hidden;
  border-radius: 30px;
  background: #2b2b2b;
}

.rme-workflow__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--color-black);
   border-radius: 30px;
}

.rme-workflow__tabs button {
  min-height: 58px;
  padding: 14px 22px;
  border: 0;
  background: transparent;
  color: var(--color-yellow);
  font-family: "Futura PT Demi";
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.22s ease,
    color 0.22s ease;
}

.rme-workflow__tabs button:first-child {
  border-radius: 30px;
}

.rme-workflow__tabs button:last-child {
  border-radius:  30px;
}

.rme-workflow__tabs button.is-active {
  background: var(--color-yellow);
  color: var(--color-black);
  border-radius: 30px;
}

.rme-workflow__tabs button:focus-visible {
  outline: 3px solid #0099ff;
  outline-offset: -3px;
}

.rme-workflow__body {
  padding: clamp(28px, 5vw, 44px) clamp(24px, 5vw, 62px);
  min-height: 192px;
}

.rme-workflow__body p {
  margin: 0;
  color: var(--color-white);
  line-height: 1.65;
  transition: opacity 0.18s ease;
  text-align: justify;
}


/* Beneficios del servicio */
.rme-benefits {
  padding: clamp(42px, 5vw, 64px) 0 clamp(56px, 7vw, 78px);
  background: #f4f4f4;
  color: var(--color-black);
}

.rme-benefits__title {
  margin: 0 0 22px;
  line-height: 1.1;
  letter-spacing: 2px;
}

.rme-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.rme-benefit-card {
  min-height: 306px;
  display: grid;
  grid-template-rows: 46px 46px 1fr;
  row-gap: 22px;
  padding: 24px 22px;
  border: 3px solid var(--service-feature-border);
  border-radius: 22px;
  background: var(--service-feature-background);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.rme-benefit-card:nth-child(odd) {
  --service-feature-background: var(--color-black);
  --service-feature-border: var(--color-orange);
  --service-feature-title: var(--color-white);
  --service-feature-text: rgba(255, 255, 255, 0.82);
  --service-feature-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --service-feature-number-color: var(--color-black);
}

.rme-benefit-card:nth-child(even) {
  --service-feature-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --service-feature-border: var(--color-yellow);
  --service-feature-title: var(--color-black);
  --service-feature-text: rgba(0, 0, 0, 0.76);
  --service-feature-number-background: var(--color-black);
  --service-feature-number-color: var(--color-yellow);
}

.rme-benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.rme-benefit-card > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  background: var(--service-feature-number-background);
  color: var(--service-feature-number-color);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.rme-benefit-card h3 {
  align-self: start;
  margin: 0;
  color: var(--service-feature-title);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.rme-benefit-card p {
  align-self: start;
  margin: 0;
  color: var(--service-feature-text);
  font-size: 18px;
  line-height: 1.45;
  text-align: justify;
}

@media (max-width: 1180px) {
  .rme-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .rme-feature {
    grid-template-columns: 1fr;
  }

  .rme-feature__content,
  .rme-feature__content h2,
  .rme-note {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .rme-hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.66) 100%),
      url("/assets/img/servicios/residuos-manejo-especial/hero-residuos-manejo-especial.webp") var(--hero-position, 50% 50%) / cover no-repeat;
  }

  .rme-hero__content {
    padding-block: 62px;
  }

  .rme-hero__actions {
    display: grid;
  }

  .rme-btn,
  .rme-download {
    width: 100%;
    min-width: 0;
  }

  .rme-waste-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 62px;
    gap: 10px;
  }

  .rme-waste-tabs-items {
    height: 50px;
    min-height: 0;
    gap: 0;
    padding: 9px 10px;
    border-radius: 11px;
    font-size: 0.9rem;
  }

  .rme-waste-tabs-items.is-active,
  .rme-waste-tabs-items[aria-selected="true"] {
    height: 62px;
    transform: translateY(-1px);
  }

  .rme-workflow__tabs {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rme-workflow__tabs button {
    border-radius: 0;
    text-align: left;
    padding-inline: 20px;
    font-size: 22px;
  }

  .rme-feature__image,
  .rme-feature__image img {
    min-height: 410px;
  }

  .rme-certifications__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rme-compliance__list article {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .rme-compliance__list strong {
    justify-content: flex-start;
    border-radius: 0;
  }

  .rme-benefits__grid {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .rme-breadcrumb {
    font-size: 0.78rem;
  }



  .rme-waste-tabs-items {
    height: 48px;
    min-height: 0;
    border-width: 1px;
    font-size: 0.84rem;
  }

  .rme-waste-tabs-items.is-active,
  .rme-waste-tabs-items[aria-selected="true"] {
    height: 60px;
  }

  .rme-feature__image,
  .rme-feature__image img {
    min-height: 320px;
    border-radius: 24px;
  }

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

  .rme-certification {
    min-height: 140px;
  }

  .rme-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 14px;
  }

  .rme-benefit-card {
    grid-template-rows: 46px auto 1fr;
    row-gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 230px;
    padding: 20px 14px;
    box-sizing: border-box;
  }

  .rme-benefit-card > * {
    min-width: 0;
  }

  .rme-benefit-card h3 {
    font-size: 14px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .rme-benefit-card p {
    font-size: 13px;
    text-align: justify;
    overflow-wrap: break-word;
  }
}

 /* Secciones agregadas después de Nuestro proceso de trabajo */
    .rme-blog-sector {
      background: #f5f5f5;
      padding-top: 0;
    }

    .rme-blog-card {
      position: relative;
      overflow: hidden;
      min-height: 300px;
      border-radius: 28px;
      display: flex;
      align-items: center;
      background: #111;
      isolation: isolate;
    }

    .rme-blog-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(0, 0, 0, .68), rgba(0, 0, 0, .34)),
        url("/assets/img/servicios/residuos-manejo-especial/logistica-residuos.webp") center/cover no-repeat;
      z-index: -2;
    }

    .rme-blog-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 95, 115, .22);
      z-index: -1;
    }

    .rme-blog-card__content {
      max-width: 820px;
      padding: 44px 48px;
      color: #fff;
    }

    .rme-blog-card h2 {
      margin: 0 0 24px;
      color: #fff;
      
      line-height: 1;
      letter-spacing: 2px;
    }

    .rme-blog-card h3 {
      margin: 0 0 8px;
      color: #fff;
      max-width: 950px;
      
      line-height: 1.15;
      text-transform: uppercase;
      letter-spacing: .01em;
    }

    .rme-blog-card p {
      margin: 0;
      max-width: 790px;
      color: rgba(255, 255, 255, .92);
      font-size: 21px;
      line-height: 1.45;
    }

    .rme-blog-card__action {
      position: absolute;
      right: 36px;
      bottom: 24px;
      min-width: 150px;
      padding: 13px 24px;
      border-radius: 8px;
      background: #fff200;
      color: #000;
      font-weight: 800;
      text-align: center;
      text-decoration: none;
      transition: transform .2s ease, background-color .2s ease;
    }

    .rme-blog-card__action:hover {
      transform: translateY(-2px);
      background: #ffe500;
    }

    .rme-sector-grid {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 14px;
    }

    .rme-sector-card {
      position: relative;
      z-index: 1;
      min-height: 166px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 18px 12px 14px;
      border-radius: 24px;
      background: var(--color-yellow);
      color: var(--color-black);
      text-align: center;
      cursor: pointer;
      touch-action: manipulation;
      -webkit-tap-highlight-color: rgba(245, 164, 0, 0.28);
      transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
    }

    .rme-sector-card > img,
    .rme-sector-card > span {
      pointer-events: none;
    }

    @media (hover: hover) and (pointer: fine) {
      .rme-sector-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
      }
    }

    .rme-sector-card:active {
      transform: scale(0.98);
    }

   .rme-sector-card img {
      width: 96px;
      height: 96px;
      object-fit: contain;
    }

    .rme-sector-card span {
  display: block;
  color: inherit;
  font-family: "Futura PT Heavy";
  font-size: clamp(1rem, 1.4vw, 1.32rem);
  line-height: 1;
  font-weight: 900;
}

.rme-sector-card--more {
  background: #101010;
  color: var(--color-yellow);
}

.rme-sector-card__plus {
  position: relative;
  width: 82px;
  height: 82px;
}

.rme-sector-card__plus::before,
.rme-sector-card__plus::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.rme-sector-card__plus::after {
  width: 10px;
  height: 100%;
}
@media (max-width: 1180px) {
  .rme-sector-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rme-sector-card {
    min-height: 156px;
  }
}
@media (max-width: 760px) {
  .rme-sector-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .rme-sector-card {
    min-height: 148px;
    border-radius: 20px;
  }

  .rme-sector-card img {
    width: 82px;
    height: 82px;
  }

  .rme-sector-card__plus {
    width: 70px;
    height: 70px;
  }
}

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

      .rme-blog-card__content {
        padding: 34px 28px 88px;
      }

      .rme-blog-card__action {
        right: auto;
        left: 28px;
      }
    }

    @media (max-width: 520px) {
      .rme-sector-grid {
        gap: 16px;
      }

      .rme-sector-card {
        min-height: 132px;
      }

      .rme-sector-card svg {
        width: 64px;
        height: 64px;
      }
    }

    @media (max-width: 420px) {
  .rme-sector-card {
    min-height: 132px;
    padding: 16px 10px 12px;
  }

  .rme-sector-card img {
    width: 68px;
    height: 68px;
  }

  .rme-sector-card span {
    font-size: 1rem;
  }

  .rme-sector-card__plus {
    width: 58px;
    height: 58px;
  }
}


    .hidden {
  display: none;
}

.message {
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
}

.message.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #047857;
}

.message.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #b91c1c;
}
/* =========================================================
   HERO HOME RESPONSIVE FIX
   ========================================================= */

@media (max-width: 980px) {
  .hero-home {
    min-height: auto;
    align-items: stretch;
  }

  .hero-home__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 64px;
  }

  .hero-home__content {
    max-width: 680px;
  }

}

@media (max-width: 640px) {
  .hero-home {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.58) 42%,
        rgba(0, 0, 0, 0.88) 100%
      ),
      url("../img/hero/hero-inicio.png") var(--hero-position, 50% 50%) / cover no-repeat;
  }

  .hero-home::after {
    display: none;
  }

  .hero-home__grid {
    width: min(100% - 28px, var(--container));
    gap: 28px;
    padding-block: 44px 52px;
  }

  .hero-home__content {
    max-width: none;
  }

  .hero-home .eyebrow {
    margin: 0 0 10px;
    line-height: 1.25;
  }

  .hero-home h1 {
    max-width: 100%;
    margin-bottom: 16px;
    line-height: 0.95;
  }

  .hero-home__content p:not(.eyebrow) {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-home .btn--primary {
    width: 100%;
    min-width: 0;
  }




  .form-field input {
    height: 42px;
  }

  .form-field textarea {
    min-height: 104px;
  }

}

@media (max-width: 420px) {
  .hero-home__grid {
    width: min(100% - 24px, var(--container));
    padding-block: 38px 46px;
  }

 

}

/* ============================= */
/* EYEBROW GLOBAL */
/* ============================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: "Futura PT Demi", sans-serif;
}

.eyebrow::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid currentColor;
  flex: 0 0 auto;
}

.hero-home .eyebrow {
  color: var(--color-white);
}

.eyebrow--dark {
  color: var(--color-black);
}

/* ============================= */
/* CONTACTO + RESEÑAS HOME */
/* ============================= */

.contact-reviews-section {
  padding: 82px 0 92px;
  background-color: #f7f7f7;
  color: var(--color-black);
}

.contact-reviews-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
}

.project-contact {
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(
    180deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  color: var(--color-black);
}

.project-contact .eyebrow {
  margin-bottom: 34px;
}

.project-contact h2 {
  margin: 0 0 18px;
  color: var(--color-black);
  line-height: 1.15;
  letter-spacing: 0.035em;
}

.project-contact__form {
  display: grid;
  gap: 18px;
}

.project-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 34px;
}

/* Suscripción opcional al newsletter dentro del formulario de contacto */
.project-newsletter-optin {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.38);
  color: var(--color-black);
  cursor: pointer;
  user-select: none;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.project-newsletter-optin:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.42);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.project-newsletter-optin__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
}

.project-newsletter-optin__box {
  position: relative;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border: 2px solid var(--color-black);
  border-radius: 6px;
  background: var(--color-white);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.project-newsletter-optin__box::after {
  content: "";
  width: 6px;
  height: 11px;
  margin-top: -2px;
  border-right: 3px solid var(--color-yellow);
  border-bottom: 3px solid var(--color-yellow);
  opacity: 0;
  transform: rotate(45deg) scale(0.55);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.project-newsletter-optin__input:checked + .project-newsletter-optin__box {
  border-color: var(--color-black);
  background: var(--color-black);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.project-newsletter-optin__input:checked + .project-newsletter-optin__box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.project-newsletter-optin__input:focus-visible + .project-newsletter-optin__box {
  outline: 3px solid rgba(0, 0, 0, 0.3);
  outline-offset: 3px;
}

.project-newsletter-optin__input:active + .project-newsletter-optin__box {
  transform: scale(0.94);
}

.project-newsletter-optin__content {
  min-width: 0;
  display: grid;
  gap: 2px;
  line-height: 1.3;
}

.project-newsletter-optin__content strong {
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1rem;
  font-weight: 900;
}

.project-newsletter-optin__content span {
  color: rgba(0, 0, 0, 0.72);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.88rem;
}

/* Keep service-option checkboxes at their native Home size; text takes the shrink. */
.project-contact .project-service-details__choice input[type="checkbox"] {
  width: auto;
  height: auto;
  min-width: max-content;
  min-height: max-content;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.project-contact .project-service-details__choice input[type="checkbox"] + span {
  min-width: 0;
  flex: 1 1 auto;
}

.project-contact .form-field {
  position: relative;
  gap: 6px;
}

.project-contact .form-field label {
  font-family: "Futura PT Demi", sans-serif;
  color: var(--color-black);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 900;
}

.project-contact .form-field input,
.project-contact .form-field textarea,
.project-contact .form-field select {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-black);
  font: inherit;
  outline: none;
  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease,
    color 0.22s ease;
}

.project-contact .form-field input,
.project-contact .form-field select {
  height: 42px;
  padding: 8px 12px;
}

.project-contact .form-field textarea {
  min-height: 112px;
  padding: 12px;
  resize: vertical;
}

.project-contact .form-field input:focus,
.project-contact .form-field textarea:focus,
.project-contact .form-field select:focus {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
}

.project-contact .form-field.is-invalid input,
.project-contact .form-field.is-invalid textarea,
.project-contact .form-field.is-invalid select,
.project-contact .form-field.is-invalid .service-select__trigger {
  box-shadow: 0 0 0 2px #b91c1c;
}

.project-contact .form-field.is-valid input,
.project-contact .form-field.is-valid textarea,
.project-contact .form-field.is-valid select,
.project-contact .form-field.is-valid .service-select__trigger {
  box-shadow: 0 0 0 2px rgba(4, 120, 87, 0.45);
}

.field-hint {
  display: block;
  color: rgba(0, 0, 0, 0.68);
  font-size: 0.78rem;
  line-height: 1.2;
}

.form-error {
  min-height: 16px;
  display: block;
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.service-select {
  position: relative;
  z-index: 35;
}

/* El select real conserva el nombre, el valor y el envío del formulario. */
.service-select__trigger,
.service-options {
  display: none;
}

.service-select.is-enhanced .service-select__native {
  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;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.service-select.is-enhanced .service-select__trigger {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--color-white);
  box-shadow: none;
  color: rgba(0, 0, 0, 0.72);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.service-select__trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.service-select__trigger:focus-visible,
.service-select.is-open .service-select__trigger {
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.36),
    0 8px 18px rgba(0, 0, 0, 0.14);
}

.service-select.has-value .service-select__trigger {
  color: var(--color-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-weight: 900;
}

.service-select__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-select__chevron {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-right: 3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.service-select.is-open .service-select__chevron {
  transform: translateY(2px) rotate(225deg);
}

.service-select.is-enhanced .service-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 55;
  display: grid;
  gap: 4px;
  max-height: 292px;
  padding: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.08);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.34) transparent;
}

.service-select.is-enhanced .service-options[hidden] {
  display: none;
}

.service-options::-webkit-scrollbar {
  width: 7px;
}

.service-options::-webkit-scrollbar-track {
  background: transparent;
}

.service-options::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
}

.service-option {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  box-shadow: none;
  color: var(--color-black);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}



.service-option:hover,
.service-option:focus,
.service-option[aria-selected="true"] {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 242, 0, 0.52);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transform: translateX(2px);
}

.service-option[aria-selected="true"] {
  font-family: "Futura PT Demi", var(--font-main);
  font-weight: 900;
}

.service-option[aria-selected="true"]::before {
  content: "✓";
  font-size: 0.82rem;
}

.service-option:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: -2px;
}

.service-option:active {
  transform: translateX(1px) scale(0.99);
}

.project-contact .form-field.is-invalid .service-select__trigger {
  box-shadow: 0 0 0 2px #b91c1c;
}

.project-contact .form-field.is-valid .service-select__trigger {
  box-shadow: 0 0 0 2px rgba(4, 120, 87, 0.45);
}

.email-suggest {
  position: relative;
  z-index: 40;
}

.email-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  gap: 4px;
  max-height: 250px;
  padding: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.08);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.34) transparent;
}

.email-suggestions::-webkit-scrollbar {
  width: 7px;
}

.email-suggestions::-webkit-scrollbar-track {
  background: transparent;
}

.email-suggestions::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
}

.email-suggestions[hidden] {
  display: none;
}

.email-suggestion,
.email-suggestions button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  box-shadow: none;
  color: var(--color-black);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.email-suggestion::before,
.email-suggestions button::before {
  content: "›";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-yellow);
  font-family: Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.email-suggestion:hover,
.email-suggestion:focus,
.email-suggestions button:hover,
.email-suggestions button:focus {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 242, 0, 0.52);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  outline: none;
  transform: translateX(2px);
}

.email-suggestion:focus-visible,
.email-suggestions button:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: -2px;
}

.email-suggestion:active,
.email-suggestions button:active {
  transform: translateX(1px) scale(0.99);
}

.project-contact__button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--color-black);
  color: var(--color-white);
  font-family: "Futura PT Demi", sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.project-contact__button:hover {
  transform: translateY(-2px);
}

.project-contact__button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.client-reviews {
  padding: clamp(34px, 4.6vw, 52px);
  background: var(--color-black);
  color: var(--color-white);
}

.client-reviews__eyebrow {
  color: var(--color-yellow);
  margin-bottom: 22px;
}

.client-reviews h2 {
  max-width: 440px;
  margin: 0 0 14px;
  color: var(--color-yellow);
  line-height: 1.12;
  letter-spacing: 0.035em;
}

.client-reviews__carousel {
  position: relative;
  --reviews-carousel-speed: 54;
  --reviews-carousel-pause: 2000;
  --reviews-carousel-fade-space: 54px;
}

.client-reviews__viewport {
  position: relative;
  height: auto;
  overflow: hidden;
  padding-block: var(--reviews-carousel-fade-space);

  -webkit-mask-image: none;
  mask-image: none;
}

.client-reviews__viewport::before,
.client-reviews__viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  height: var(--reviews-carousel-fade-space);
  pointer-events: none;
}

.client-reviews__viewport::before {
  top: 0;
  background: linear-gradient(
    180deg,
    #000 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.client-reviews__viewport::after {
  bottom: 0;
  background: linear-gradient(
    0deg,
    #000 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.client-reviews__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  will-change: transform;
  transition: none;
}

.client-review {
  flex: 0 0 auto;
  padding: 20px 22px;
  border: 1px solid rgba(255, 242, 0, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.client-review__rating {
  display: block;
  margin-bottom: 10px;
  color: var(--color-yellow);
  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0.16em;
}

.client-review h3 {
  margin: 0 0 8px;
  color: var(--color-white);
  font-family: "Futura PT Demi", sans-serif;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 900;
}

.client-review p {
  margin: 0;
  color: var(--color-white);
  font-size: 18px;
  line-height: 1.45;
}
/* Sector y servicio de cada reseña */
.client-review p.client-review__sector {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.28rem;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.35;
}

.client-review__prefix {
  color: var(--color-yellow);
  font-weight: 900;
}

.client-review__industry {
  color: var(--color-white);
  font-family: "Futura PT Demi", sans-serif;
  font-weight: 900;
}

.client-review__separator {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.client-review__service {
  color: var(--color-yellow);
  font-family: "Futura PT Demi", sans-serif;
  font-weight: 900;
}

.client-reviews__arrow {
  position: relative;
  width: 42px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 0;
  border-radius: 10px;
  background: var(--color-yellow);
  color: var(--color-black);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.client-reviews__arrow:hover {
  transform: translateY(-2px);
}

.client-reviews__arrow::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}

.client-reviews__arrow--up {
  display: flex;
  margin-bottom: 14px;
}

.client-reviews__arrow--up::before {
  border-bottom: 10px solid currentColor;
}

.client-reviews__arrow--down {
  display: flex;
  margin-top: 14px;
}

.client-reviews__arrow--down::before {
  border-top: 10px solid currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .client-reviews__list,
  .project-contact__button,
  .project-newsletter-optin,
  .project-newsletter-optin__box,
  .project-newsletter-optin__box::after,
  .client-reviews__arrow {
    transition: none;
  }
}

@media (max-width: 900px) {
  .contact-reviews-card {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .project-contact,
  .client-reviews {
    padding: 34px 28px;
  }

  .project-contact h2,
  .client-reviews h2 {
    max-width: none;
  }

  .client-review h3{
    font-size: 19px;
  }

  .client-review p {
    font-size: 16px;
    text-align: justify;
  }

  .client-reviews__carousel {
    max-width: none;
  }

  .client-reviews__viewport {
    height: auto;
  }

  .client-review {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .contact-reviews-section {
    padding: 58px 0 66px;
  }

  .contact-reviews-card {
    border-radius: 30px;
  }

  .project-contact,
  .client-reviews {
    padding: 30px 20px;
  }

  .project-contact .eyebrow {
    margin-bottom: 24px;
  }

  .project-contact__grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .service-options {
    max-height: 236px;
  }

  .service-option {
    min-height: 46px;
  }

  .project-newsletter-optin {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 13px;
  }

  .project-newsletter-optin__box {
    width: 22px;
    height: 22px;
  }

  .project-contact__button {
    min-height: 52px;
  }

  .client-reviews__viewport {
    height: auto;
  }
}

@media (max-width: 420px) {
  .project-contact,
  .client-reviews {
    padding: 26px 16px;
  }

  .project-contact .form-field label {
    font-size: 1rem;
  }

  .client-review {
    padding: 18px;
  }

  .client-review p {
    font-size: 1rem;
  }
  .client-review p.client-review__sector {
    gap: 0.2rem;
    margin-top: 12px;
    font-size: 0.88rem;
    line-height: 1.3;
  }
}


/* =========================================================
   SECCIONES NUEVAS - OBRA CIVIL
   Blog + experiencia vertical por sector
   ========================================================= */

.oc-blog-preview {
  background: #f4f4f4;
  padding: clamp(34px, 5vw, 58px) 0 clamp(32px, 5vw, 56px);
}



.oc-blog-preview .eyebrow {
  margin: 0 0 18px;
  color: var(--color-black);
}

.oc-blog-card {
  min-height: 310px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  padding: 28px 34px 34px;
  border: 3px solid #0099ff;
  border-radius: 30px;
  background:
    url("/assets/img/servicios/obra-civil/blog-materiales-primer-nivel.webp") center / cover no-repeat;
  color: var(--color-white);
}

.oc-blog-card__content {
  max-width: 900px;
  align-items: flex-start;
}

.oc-blog-card h2 {
  margin: 0 0 24px;
  color: var(--color-white);
  letter-spacing: 2px;
}

.oc-blog-card h3 {
  max-width: 760px;
  margin: 0 0 10px;
  font-family: "Futura PT Demi", sans-serif;
  color: var(--color-white);
  line-height: 1.2;

  text-transform: uppercase;
}

.oc-blog-card p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.45;
}

.oc-blog-card__button {
  min-width: 150px;
  min-height: 56px;
  margin-top: auto;
  border-radius: 8px;
  background: var(--color-yellow);
  color: var(--color-black);
  font-weight: 950;
}

.oc-sector-experience {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: clamp(64px, 8vw, 108px) 0;
  background: #050505;
  color: var(--color-white);
}

.oc-sector-experience::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -130px;
  z-index: -1;
  width: 430px;
  height: 430px;
  border: 58px solid rgba(255, 242, 0, 0.055);
  border-radius: 50%;
  pointer-events: none;
}

.oc-sector-experience::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
    circle at 82% 28%,
    rgba(245, 164, 0, 0.08),
    transparent 34%
  );
  pointer-events: none;
}

.oc-sector-experience__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}

.oc-sector-experience__content {
  max-width: 790px;
}

.oc-sector-experience__eyebrow {
  margin: 0 0 14px;
  color: var(--color-yellow);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.oc-sector-experience__content h2 {
  max-width: 790px;
  margin: 0 0 20px;
  color: var(--color-white);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.oc-sector-experience__text {
  max-width: 740px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.62;
  text-align: justify;
}

.oc-sector-experience__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  color: var(--color-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(245, 164, 0, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.oc-sector-experience__button span {
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .oc-sector-experience__button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 30px rgba(245, 164, 0, 0.26);
  }

  .oc-sector-experience__button:hover span {
    transform: translateX(5px);
  }
}

.oc-sector-experience__button:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 4px;
}

.oc-sector-experience__summary {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border-left: 3px solid var(--color-yellow);
  background: rgba(255, 255, 255, 0.045);
}

.oc-sector-experience__summary > p {
  margin: 0 0 18px;
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1rem;
  font-weight: 900;
}

.oc-sector-experience__summary ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oc-sector-experience__summary li {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.92);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.96rem;
  line-height: 1.2;
}

.oc-sector-experience__summary li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 0 4px rgba(255, 242, 0, 0.07);
}

/* Responsive del blog de Obra Civil */
@media (max-width: 1024px) {
  .oc-blog-card {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
  }
}

@media (max-width: 920px) {
  .oc-sector-experience__layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .oc-sector-experience__content,
  .oc-sector-experience__content h2,
  .oc-sector-experience__text {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .oc-blog-card {
    min-height: 420px;
  }

  .oc-blog-card__button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .oc-sector-experience {
    padding: 56px 0 62px;
  }

  .oc-sector-experience::before {
    top: -130px;
    right: -170px;
    width: 330px;
    height: 330px;
    border-width: 42px;
  }

  .oc-sector-experience__summary {
    padding: 22px 18px;
  }

  .oc-sector-experience__summary ul {
    grid-template-columns: 1fr;
  }

  .oc-sector-experience__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .oc-blog-card {
    min-height: 390px;
    border-radius: 22px;
  }
}

/* =========================================================
   OBRA CIVIL - PROCESO DE TRABAJO
   ========================================================= */

.oc-workflow {
  padding: clamp(64px, 8vw, 108px) 0;
  background: #f4f4f4;
  color: var(--color-black);
}

.oc-workflow .eyebrow {
  margin: 0 0 28px;
  color: var(--color-black);
}

.oc-workflow__panel {
  overflow: hidden;
  border-radius: 30px;
  background: #2f3032;
  color: var(--color-white);
}

.oc-workflow__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #050505;
  border-radius: 30px;
}

.oc-workflow__tabs button {
  min-height: 58px;
  padding: 14px 22px;
  border: 0;
  background: transparent;
  color: var(--color-yellow);
  font-family: "Futura PT Demi";
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.22s ease,
    color 0.22s ease;
}

.oc-workflow__tabs button:first-child {
  border-radius: 30px;
}

.oc-workflow__tabs button:last-child {
  border-radius:  30px;
}

.oc-workflow__tabs button.is-active {
  background: var(--color-yellow);
  color: var(--color-black);
  border-radius: 30px;
}

.oc-workflow__tabs button:focus-visible {
  outline: 3px solid #0099ff;
  outline-offset: -3px;
}

.oc-workflow__body {
  min-height: 230px;
  padding: clamp(30px, 5vw, 58px) clamp(28px, 6vw, 74px);
}

.oc-workflow__panel-content {
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.oc-workflow__panel-content.is-active {
  opacity: 1;
  transform: translateY(0);
}

.oc-workflow__panel-content p {
  margin: 0;
  color: var(--color-white);
  line-height: 1.38;
  text-align: justify;
}

/* Responsive */
@media (max-width: 900px) {
  .oc-workflow__tabs {
    grid-template-columns: 1fr;
  }

  .oc-workflow__tabs button,
  .oc-workflow__tabs button:first-child,
  .oc-workflow__tabs button:last-child,
  .oc-workflow__tabs button.is-active {

    text-align: left;
  }


  .oc-workflow__body {
    min-height: 260px;
  }
}

@media (max-width: 520px) {
  .oc-workflow__body {
    padding: 26px 22px 34px;
  }

  .oc-workflow__tabs button {
    font-size: 22px
  }

  .oc-workflow__panel-content p {
    font-size: 1.12rem;
    line-height: 1.45;
  }
}

/* =========================================================
   Seguridad privada / Cumplimiento normativo
   Header arriba + grid lista/imagen abajo
   ========================================================= */

.security-compliance {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px) 0 clamp(32px, 5vw, 56px);
  background: var(--color-black);
  color: var(--color-white);
}

.security-compliance__layout {
  position: relative;
}

.security-compliance__header {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(18px, 3vw, 30px);
}



.security-compliance h2 {
  margin: 0;
  color: var(--color-yellow);
 
}

.security-compliance__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(22px, 4vw, 48px);
}

.security-compliance__list {
  display: grid;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-compliance__list li {
  min-height: 49px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  min-height: 50px;
  overflow: hidden;
  border: 3px solid #f2b200;
  border-radius: 999px;
  background: transparent;
  color: var(--color-yellow);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.security-compliance__list li:hover,
.security-compliance__list li:focus-within {
  border-color: transparent;
  background: linear-gradient(90deg, rgba(255, 242, 0, 1) 0%, rgba(245, 164, 0, 1) 100%);
  color: var(--color-black);
}

.security-compliance__list strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 8px 18px;
  font-family: "Futura PT Demi";
  font-size: 21px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.035em;
  white-space: nowrap;
  border-right: 3px solid #f2b200;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.security-compliance__list li:hover strong,
.security-compliance__list li:focus-within strong {
  border: 3px solid #f2b200;
  background-color: #f2b200;
  color: var(--color-black);
}

.security-compliance__list span {
  padding: 8px 18px;
  font-family: "Futura PT Book";
  font-size: 21px;
  line-height: 1.15;
  color: inherit;
}

.security-compliance__media {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0;
  justify-self: start;
  border-radius: 18px;
  overflow: hidden;
  border-radius: 30px;
}

.security-compliance__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}



.security-compliance__hex--left {
  left: -120px;
  top: 8px;
  position: absolute;
  z-index: 1;
  width: 110px;
  height: auto;
  pointer-events: none;
}

.security-compliance__hex--right {
  right: -90px;
  bottom: 6px;
  position: absolute;
  z-index: 1;
  width: 90px;
  height: auto;
  pointer-events: none;
}

@media (max-width: 900px) {
  .security-compliance__body {
    grid-template-columns: 1fr;
  }

  .security-compliance__media {
    max-width: 280px;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .security-compliance {
    padding: 34px 0 40px;
  }

  .security-compliance h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .security-compliance__list {
    gap: 12px;
  }

  .security-compliance__list li {
    grid-template-columns: 1fr;
    border-radius: 18px;
    background: transparent;
  }

  .security-compliance__list strong {
    border-right: 0;
    border-bottom: 3px solid #f2b200;
  }

  .security-compliance__list li:hover,
  .security-compliance__list li:focus-within {
    background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
    color: var(--color-black);
  }

  .security-compliance__list li:hover strong,
  .security-compliance__list li:focus-within strong {
    background-color: #f2b200;
    color: var(--color-black);
  }

  .security-compliance__list span {
    text-align: center;
  }

  .security-compliance__media {
    max-width: 240px;
  }

  .security-compliance__hex {
    width: 58px;
  }
}


/* =========================================================
   Seguridad privada / Beneficios del servicio
   Réplica visual del bloque de beneficios de Limpieza Industrial
   ========================================================= */

.security-benefits {
  padding: clamp(42px, 5vw, 64px) 0 clamp(56px, 7vw, 78px);
  background: #f4f4f4;
  color: var(--color-black);
}

.security-benefits__title {
  margin: 0 0 22px;
  line-height: 1.1;
  letter-spacing: 2px;
}

.security-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.security-benefit-card {
  min-height: 306px;
  display: grid;
  grid-template-rows: 46px 40px 1fr;
  row-gap: 22px;
  padding: 24px 22px;
  border: 3px solid var(--service-feature-border);
  border-radius: 22px;
  background: var(--service-feature-background);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.security-benefit-card:nth-child(odd) {
  --service-feature-background: var(--color-black);
  --service-feature-border: var(--color-orange);
  --service-feature-title: var(--color-white);
  --service-feature-text: rgba(255, 255, 255, 0.82);
  --service-feature-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --service-feature-number-color: var(--color-black);
}

.security-benefit-card:nth-child(even) {
  --service-feature-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --service-feature-border: var(--color-yellow);
  --service-feature-title: var(--color-black);
  --service-feature-text: rgba(0, 0, 0, 0.76);
  --service-feature-number-background: var(--color-black);
  --service-feature-number-color: var(--color-yellow);
}

.security-benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.security-benefit-card > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  background: var(--service-feature-number-background);
  color: var(--service-feature-number-color);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.security-benefit-card h3 {
  align-self: start;
  margin: 0;
  color: var(--service-feature-title);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.security-benefit-card p {
  align-self: start;
  margin: 0;
  color: var(--service-feature-text);
  font-size: 18px;
  line-height: 1.45;
  text-align: justify;
}

@media (max-width: 1180px) {
  .security-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .security-benefits__grid {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .security-benefit-card {
    min-height: 230px;
    padding: 20px 16px;
  }

  .security-benefit-card h3 {
    font-size: 1.05rem;
  }

  .security-benefit-card p {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .security-benefit-card {
    transition: none;
  }
}

/* =========================================================
   OBRA CIVIL - Cumplimiento normativo
   Layout igual a referencia: header arriba + lista/logos abajo
   ========================================================= */

.oc-compliance {
  padding: clamp(34px, 6vw, 72px) 0 0;
  background: #f3f3f3;
}

.oc-compliance__card {
  position: relative;
  width: 100%;
  min-height: 390px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 0;
  background:
    
    url("/assets/img/servicios/obra-civil/bg-cumplimiento.webp") center / cover no-repeat;
  color: var(--color-white);
}

.oc-compliance__inner {
  position: relative;
  z-index: 3;
  display: block;
  padding-block: 34px 32px;
}

.oc-compliance__header {
  position: relative;
  z-index: 4;
  margin-bottom: 14px;
  padding-left: 120px;
}

.oc-compliance .eyebrow {
  margin: 0 0 6px;
  color: var(--color-white);
  font-family: "Futura PT Demi", sans-serif;
  font-size: 21px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 900;
}

.oc-compliance .eyebrow::before {
  content: "";
}

.oc-compliance h2 {
  margin: 0;
  color: var(--color-white);
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0.035em;
}

.oc-compliance__body {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  align-items: center;
  padding-left: 120px;
}

.oc-standards {
  display: grid;
  gap: 11px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oc-standards li {
  min-height: 49px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 3px solid var(--color-white);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--color-white);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.oc-standards strong {
  position: relative;
  min-height: 49px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-right: 3px solid var(--color-white);
  color: var(--color-white);
  font-family: "Futura PT Demi", sans-serif;
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

/* Borde degradado real para NOM-030-STPS */
.oc-standards li:first-child strong {
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-white);
  z-index: 3;
  transform: none;
}

/* Borde degradado transparente */
.oc-standards li:first-child strong::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(
    90deg,
    var(--color-yellow) 0%,
    var(--color-yellow) 38%,
    var(--color-orange) 100%
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.oc-standards span {
  padding: 8px 20px;
  color: var(--color-white);
  font-family: "Futura PT Book", sans-serif;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 500;
}

.oc-compliance__logos {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, 112px);
  gap: 10px;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.oc-compliance__logos img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.oc-compliance__logos img:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
}



.oc-compliance__diamonds--left {
  left: 188px;
  top: 54px;
  width: 118px;
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

.oc-compliance__diamonds--right {
  right: 130px;
  bottom: 24px;
  width: 92px;
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 980px) {
  .oc-compliance__header,
  .oc-compliance__body {
    padding-left: 0;
  }

  .oc-compliance__diamonds--left {
    opacity: 0.45;
  }

  .oc-compliance__body {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .oc-standards {
    max-width: none;
  }

  .oc-compliance__logos {
    grid-template-columns: repeat(3, 96px);
  }

  .oc-compliance__logos img,
  .oc-compliance__logos img:nth-child(3) {
    width: 96px;
    height: 96px;
  }

  .oc-compliance__logos img:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .oc-compliance__card {
    min-height: auto;
    border-radius: 24px;
  }

  .oc-compliance__inner {
    padding-block: 34px;
  }

  .oc-compliance h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .oc-standards li {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .oc-standards strong {
    justify-content: center;
    border-right: 0;
    border-bottom: 3px solid var(--color-white);
    border-radius: 14px 14px 0 0;
  }

  .oc-standards li:first-child strong {
    transform: none;
    border: 3px solid transparent;
    border-radius: 18px;
  }

  .oc-standards span {
    padding: 10px 18px 14px;
    text-align: center;
  }

  .oc-compliance__logos {
    grid-template-columns: repeat(3, 78px);
    gap: 8px;
  }

  .oc-compliance__logos img,
  .oc-compliance__logos img:nth-child(3) {
    width: 78px;
    height: 78px;
  }

  .oc-compliance__diamonds {
    display: none;
  }
}

/* =========================================================
   PÁGINA BLOG - CORMAGO
   Agregar este bloque al final de /assets/css/styles.css
   ========================================================= */

.blog-category-nav {
  position: relative;
  z-index: 50;
  background: var(--color-black);
  border-bottom: 2px solid rgba(255, 255, 255, 0.22);
}

.blog-category-nav__scroll {
   width: min(100% - 32px, 1280px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 10px 0;
}

.blog-category-nav__scroll::-webkit-scrollbar {
  display: none;
}

.blog-category-nav a {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  padding: 7px 18px;
  border: 3px solid var(--color-white);
  border-radius: 8px;
  color: var(--color-white);
  
  
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-category-nav a:hover,
.blog-category-nav a[aria-current="page"] {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
  color: var(--color-black);
}

.blog-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  color: var(--color-white);
  background:
    linear-gradient(
      180deg,
      rgba(121, 127, 130, 0.96) 0%,
      rgba(83, 86, 87, 0.96) 42%,
      rgba(108, 112, 115, 0.52) 68%,
      rgba(0, 0, 0, 0.24) 100%
    ),
    url("/assets/img/industrias/bg-industrias.webp") bottom center / 100% auto no-repeat;
}

.blog-page::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.34) 100%);
  pointer-events: none;
}

.blog-hero-list {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 52px) 0 clamp(72px, 8vw, 110px);
}

.blog-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.94);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
}

.blog-breadcrumb a {
  color: inherit;
}

.blog-breadcrumb span {
  opacity: 0.9;
}

.blog-kicker {
  margin: 0;
  color: var(--color-white);
  
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-title {
  margin: 6px 0 clamp(30px, 4vw, 46px);
  color: var(--color-white);
  line-height: 0.95;
  letter-spacing: 0.005em;
}

.blog-list {
  display: grid;
  gap: clamp(22px, 3vw, 30px);
}

.blog-card {
  --blog-card-overlay: linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.06) 100%);
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: var(--color-black);
  color: var(--color-white);
  isolation: isolate;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--blog-bg) center / cover no-repeat;
  transform: scale(1.01);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blog-card-overlay);
}

.blog-card:hover::before {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.blog-card__content {
  width: 100%;
  min-height: inherit;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 30px;
}



.blog-card h2 {
  margin: 0 0 10px;
  color: var(--color-white);
  
  letter-spacing: 02px;
  text-wrap: balance;
}

.blog-card__category {
  margin: 0 0 4px;
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 21px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-card p:not(.blog-card__category) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 21px;
  line-height: 1.25;
}

.blog-card__button {
  min-width: 150px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  margin-bottom: 2px;
  padding: 10px 24px;
  border-radius: 7px;
  background: var(--color-yellow);
  color: var(--color-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.blog-card__button:hover {
  transform: translateY(-2px);
  background: #ffe500;
}

@media (max-width: 980px) {
  .blog-category-nav__scroll {
    width: min(100% - 28px, 980px);
    justify-content: flex-start;
    padding-bottom: 12px;
  }

  .blog-page {
    background-size: auto 46%;
  }

  .blog-card {
    min-height: 230px;
    border-radius: 22px;
  }
}

@media (max-width: 700px) {
  .blog-hero-list {
    width: min(100% - 28px, 980px);
    padding-top: 30px;
  }

  .blog-title {
    max-width: 100%;
    margin-bottom: 28px;
  }

  .blog-card {
    min-height: 320px;
  }

  .blog-card__content {
    min-height: 320px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 26px 22px;
  }

  .blog-card::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.72) 100%);
  }

  .blog-card__button {
    width: 100%;
    align-self: stretch;
    margin-top: 6px;
    margin-bottom: 0;
  }
}

@media (max-width: 460px) {
  .blog-category-nav__scroll {
    gap: 7px;
  }

  .blog-category-nav a {
    min-width: 116px;
    min-height: 32px;
    padding-inline: 12px;
    font-size: 0.88rem;
  }

  .blog-hero-list {
    width: min(100% - 24px, 980px);
  }

  .blog-breadcrumb {
    font-size: 0.82rem;
  }

  .blog-card {
    min-height: 300px;
    border-radius: 18px;
  }

  .blog-card__content {
    min-height: 300px;
    padding: 22px 18px;
  }
}
/* ============================= */
/* MEGA MENÚ GLOBAL             */
/* ============================= */

.navbar__content {
  position: relative;
}

.navbar__menu,
.navbar__item,
.navbar__item--has-mega {
  position: static;
}

.navbar__link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-black);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.navbar__link--services {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--color-black);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  transition: opacity 0.2s ease;
}

/*
  No se usa puente invisible en desktop.
  El menú sólo se abre cuando el mouse entra al link real mediante JS
  y se mantiene abierto con la clase .is-mega-open.
*/
.navbar__link--services::after {
  content: none;
}

.navbar__link--services:hover,
.navbar__item--has-mega.is-mega-open > .navbar__link--services {
  opacity: 0.65;
}

.services-megamenu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  padding-top: 0;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0s linear 0.22s;
}

.navbar__item--has-mega.is-mega-open > .services-megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.services-megamenu__inner {
  display: block;
  width: 100%;
  padding: 28px 32px 32px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.services-megamenu__column,
.services-megamenu__column--main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.services-megamenu__label {
  margin-bottom: 14px;
  color: var(--color-white);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.92rem;
  line-height: 1;
}

.services-megamenu a {
  display: inline-flex;
  color: var(--color-white);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.services-megamenu a + a {
  margin-top: 12px;
}

.services-megamenu a:hover {
  opacity: 0.85;
  transform: translateX(4px);
  color: var(--color-orange);
}

@media (max-width: 1180px) {
  .navbar__link--services {
    font-size: 1.25rem;
  }
}

@media (max-width: 980px) {
  .navbar__menu,
  .navbar__item,
  .navbar__item--has-mega {
    position: relative;
  }

  .navbar__link--services {
    display: block;
    width: 100%;
    padding: 16px 4px;
    font-size: 1.15rem;
    text-align: left;
  }

  .navbar__link--services::after {
    content: none;
  }

  .services-megamenu {
    position: static;
    inset: auto;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: max-height 0.28s ease;
  }

  .navbar__item--has-mega > .navbar__link--services[aria-expanded="true"] + .services-megamenu {
    max-height: 540px;
  }

  .services-megamenu__inner {
    padding: 0 4px 18px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .services-megamenu__label {
    display: none;
  }

  .services-megamenu a {
    display: block;
    padding: 7px 0;
    color: var(--color-black);
    font-size: 1rem;
    line-height: 1.2;
  }

  .services-megamenu a + a {
    margin-top: 2px;
  }
}

/* =========================================================
   HOME MOBILE - DISEÑO EN 2 COLUMNAS COMO CAPTURA
   Pegar al final del CSS
   ========================================================= */

@media (max-width: 640px) {

  :root {
    --mobile-header-height: 74px;
  }

  /* Ajuste general */
  body {
    padding-top: var(--mobile-header-height);
    overflow-x: hidden;
  }

  html[data-cormago-mode="machine"] body {
    padding-top: 0;
  }

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

  h1 {
    font-size: 30px;
    line-height: 0.95;
  }

  h2 {
    font-size: 25px;
    line-height: 1.05;
  }

  p {
    font-size: 18px;
    line-height: 1.35;
  }

  .eyebrow {
    font-size: 0.68rem;
    line-height: 1.1;
    margin-bottom: 8px;
  }

  .btn {
    min-height: 38px;
    padding: 9px 14px;
    font-size: 0.78rem;
    border-radius: 6px;
  }

  /* ============================= */
  /* Header móvil como captura */
  /* ============================= */

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: var(--mobile-header-height);
    background: var(--color-black);
    overflow: visible;
    z-index: 9999;
  }

  .header-social {
    display: flex;
    top: 0px;
    right: 0px;
    left: auto;
    padding: 4px 0;
    transform: none;
    z-index: 9999;
    background-color: var(--color-black);
  }

  .header-social__icons {
    position: relative;
    right: 18px;
    gap: 8px;
  }

  .header-social__icons img {
    width: 13px;
    height: 13px;
  }

 .navbar {
  width: 100%;
  height: 74px;
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: stretch;
  background: var(--color-black);
  position: relative;
  overflow: visible;
}

  .navbar__logo {
    height: 74px;
    align-items: flex-end;
    justify-content: center;
  }

  .navbar__logo img {
    width: 78px;
    max-height: 48px;
  }

  .navbar__content {
  position: static;
  display: flex;
  height: 74px;
  min-height: 74px;
  transform: none;
  margin: 0;
  padding: 22px 58px 0 0;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
}

  .navbar__content::after {
    content: none;
  }

  .navbar__cta {
    width: auto;
    min-width: 96px;
    height: 31px;
    min-height: 31px;
    margin: 0;
    padding: 0 14px;
    border-radius: 5px;
    font-size: 0.72rem;
  }

 .navbar__toggle {
  display: block;
  position: absolute;
  top: 37px;
  right: 20px;
  width: 24px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  z-index: 10001;
}

  .navbar__toggle span {
    width: 17px;
    height: 2px;
    margin: 3px auto;
    background: var(--color-black);
  }

  /* ============================= */
  /* Hero en 2 columnas */
  /* ============================= */

  .hero-home {
    min-height: auto;
    align-items: stretch;
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.52) 42%,
        rgba(0, 0, 0, 0.12) 100%
      ),
      url("../img/hero/hero-inicio.webp") var(--hero-position, 50% 50%) / cover no-repeat;
  }

  .hero-home__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
    padding-block: 58px 44px;
  }

  .hero-home__content {
    max-width: none;
  }

  .hero-home h1 {
    margin-bottom: 9px;
  }

  .eyebrow::before {
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 6px solid currentColor;
    }
  

  .hero-home__content p:not(.eyebrow) {
    margin-bottom: 13px;
    font-size: 16px;
    line-height: 1.35;
  }

  .hero-home .btn--primary {
    width: 50%;
    min-width: 0;
    min-height: 34px;
    font-size: 0.72rem;
    border-radius: 10px;
  }




  .form-field label {
    font-size: 0.55rem;
  }

  .form-field input {
    height: 22px;
    padding: 4px 6px;
    border-radius: 3px;
    font-size: 0.72rem;
  }

  .form-field textarea {
    min-height: 34px;
    padding: 5px 6px;
    border-radius: 3px;
    font-size: 0.72rem;
  }


  /* ============================= */
  /* Servicios en 2 columnas */
  /* ============================= */

  .services-section {
    padding: 34px 0 38px;
  }

  .services-section h2 {
    font-size: clamp(1.25rem, 5.6vw, 1.75rem);
    line-height: 1.1;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
    align-items: stretch;
  }

  .service-card {
    padding: 10px 9px;
    border-width: 1.5px;
    border-radius: 9px;
  }

  .service-card__inner {
    grid-template-columns: 24px 1fr;
    gap: 6px;
  }

  .service-card__icon {
    width: 24px;
    height: 24px;
  }

  .service-card h3 {
    margin-bottom: 3px;
    font-size: 0.75rem;
    line-height: 1.05;
  }

  .services-section .service-card p {
    font-size: 0.70rem;
    line-height: 1.25;
    text-align: justify;
  }

  .services-section .service-card__description-desktop {
    display: none;
  }

  .services-section .service-card__description-mobile {
    display: inline;
  }

  /* Reuse the sole CTA as a full-card link; retain its accessible text. */
  .services-section .service-card > a {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: auto;
    margin: 0;
    padding: 0;
    font-size: 0;
    color: transparent;
    opacity: 1;
    transform: none;
  }

  .services-section .service-card > a::before,
  .services-section .service-card > a::after {
    content: none;
  }

  .services-section .service-card > a:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: -4px;
    border-radius: inherit;
  }

  .services-section__button-wrap {
    min-height: auto;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .services-section__button-wrap .btn {
    width: auto;
    min-width: 118px;
    min-height: 30px;
    padding: 7px 12px;
    font-size: 0.65rem;
    border-radius: 7px;
  }

  /* El botón ocupa la celda final, como en la captura */
  .services-grid .services-section__button-wrap {
    grid-column: 2;
  }

  /* ============================= */
  /* Beneficios / diferenciadores */
  /* La adaptación responsive se define junto al bloque base de beneficios. */
  /* ============================= */

  .trust-section {
    padding: 34px 0 42px;
  }

  .trust-block + .trust-block {
    margin-top: 32px;
  }

  /* Clientes: encabezado compacto */
  .trust-block--clients .trust-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
  }

  .trust-block--clients .trust-header h2 {
    font-size: clamp(1.35rem, 5.7vw, 1.85rem);
    letter-spacing: 0;
  }

  .trust-block--clients .trust-header__button {
    width: auto;
    min-width: 126px;
    min-height: 31px;
    padding: 7px 12px;
    font-size: 0.65rem;
    border-radius: 7px;
  }
}

/* Ajuste extra para celulares muy angostos */
@media (max-width: 380px) {
  .hero-home__grid {
    grid-template-columns: 1fr ;
    gap: 10px;
  }

  .services-grid {
    gap: 12px;
  }

  .service-card {
    padding: 9px 7px;
  }

  .service-card h3 {
    font-size: 0.66rem;
  }

  .service-card p {
    font-size: 0.72rem;
  }

  .services-section__button-wrap .btn {
    font-size: 0.58rem;
  }
}


/* =========================================================
   MENÚ MÓVIL TIPO PANEL LATERAL NEGRO
   ========================================================= */

@media (max-width: 640px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    overflow: visible;
  }

  .header-social {
    z-index: 10003;
  }

  .navbar__logo {
    position: relative;
    z-index: 10004;
  }

  .navbar__toggle {
    z-index: 10005;
  }

  .navbar__toggle[aria-expanded="true"] {
    background: transparent;
  }

  .navbar__toggle[aria-expanded="true"] span {
    background: var(--color-yellow);
  }

  .navbar__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .navbar__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .navbar__toggle span {
    transition:
      transform 0.22s ease,
      opacity 0.22s ease,
      background 0.22s ease;
  }

  .navbar__content.is-active .navbar__cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .navbar__menu {
    position: fixed;
    top: 0;
    right: 0;
    left: clamp(92px, 25vw, 112px);
    width: auto;
    height: 100vh;
    z-index: 10000;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    gap: clamp(42px, 8vh, 44px);
    margin: 0;
    padding: 70px 24px 40px;

    background: var(--color-black);
    border-left: 7px solid var(--color-yellow);
    box-shadow: -24px 0 40px rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease,
      transform 0.28s ease;
  }

  .navbar__content.is-active .navbar__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .navbar__menu li,
  .navbar__item--has-mega {
    width: 100%;
    border-bottom: 0;
    text-align: center;
  }

  .navbar__item--has-mega {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar__menu a,
  .navbar__link--services {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    padding: 4px 0;

    color: var(--color-yellow);
    font-family: "Futura PT Book", var(--font-main);
    font-size: clamp(1.25rem, 5vw, 1.45rem);
    font-weight: 400;
    line-height: 1;
    text-align: center;
    opacity: 1;
  }

  .navbar__link--services::after {
    content: none;
  }

  .navbar__menu a:hover,
  .services-megamenu a[aria-current="page"] {
    opacity: 1;
  }

  .services-megamenu a[aria-current="page"] {
    padding: 7px 15px;
    border: 2px solid var(--color-yellow);
    border-radius: 14px;
    font-family: "Futura PT Demi", var(--font-main);
    font-weight: 800;
  }

  .site-header .navbar .navbar__menu > li > a[aria-current="page"] {
    color: var(--color-orange);
  }

  .services-megamenu {
    position: static;
    inset: auto;
    display: block;
    width: min(100%, 270px);
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    transition:
      max-height 0.3s ease,
      opacity 0.22s ease,
      visibility 0.22s ease,
      margin-top 0.22s ease;
  }

  .navbar__item--has-mega > .navbar__link--services[aria-expanded="true"] + .services-megamenu {
    max-height: 420px;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .services-megamenu__inner {
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .services-megamenu__column,
  .services-megamenu__column--main {
    display: grid;
    padding: 0;
  }

  .services-megamenu__label {
    display: none;
  }

  .services-megamenu a {
    display: block;
    width: 100%;
    padding: 7px 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Futura PT Book", var(--font-main);
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
  }

  .services-megamenu a:first-of-type {
    color: var(--color-yellow);
    font-family: "Futura PT Demi", var(--font-main);
    font-weight: 800;
  }
}

/* Indicadores y estado de los submenús móviles. */
@media (max-width: 980px) {
  .site-header .navbar .navbar__menu > .navbar__item--has-mega > .navbar__link--services[aria-expanded] {
    /* Reserva simétrica para mantener el texto centrado en los tres triggers. */
    min-width: 146px;
  }

  .site-header .navbar .navbar__menu > .navbar__item--has-mega > .navbar__link--services[aria-expanded]::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 200ms ease;
    pointer-events: none;
  }

  .site-header .navbar .navbar__menu > .navbar__item--has-mega > .navbar__link--services[aria-expanded][aria-current="page"]::after {
    /* Compensa el borde activo de 1px sin desplazar el chevron. */
    right: 13px;
  }

  .site-header .navbar .navbar__menu > .navbar__item--has-mega > .navbar__link--services[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(225deg);
  }

  /* El foco o hover no deben mantener abierto un panel cerrado mediante tap. */
  .navbar__item--has-mega > .navbar__link--services[aria-expanded="false"] + .services-megamenu {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 980px) and (prefers-reduced-motion: reduce) {
  .site-header .navbar .navbar__menu > .navbar__item--has-mega > .navbar__link--services[aria-expanded]::after {
    transition: none;
  }
}

/* =========================================================
   AJUSTE AGREGADO - Carrusel de clientes
   Pegar este bloque AL FINAL de styles.css para no sobrescribir
   las reglas actuales. Corrige también que las flechas se oculten
   en móvil.
   ========================================================= */

.clients-showcase {
  isolation: isolate;
}

.clients-showcase__viewport {
  width: 100%;
  overflow: hidden;
}

.clients-showcase__track {
  display: flex;
  align-items: center;
  transform: translateX(0);
  transition: transform 0.45s ease;
  will-change: transform;
}

.clients-showcase__item {
  flex: 0 0 calc(100% / 3);
  min-width: 0;
}

.clients-showcase__item img {
  user-select: none;
  pointer-events: none;
}

@media (max-width: 992px) {
  .clients-showcase {
    min-height: 260px;
    padding-inline: 64px;
  }

  .clients-showcase__item {
    flex-basis: 50%;
  }

  .clients-showcase__item img {
    max-width: 220px;
    max-height: 150px;
  }
}

@media (max-width: 640px) {
  .clients-showcase {
    min-height: 185px;
    padding: 24px 42px;
    border-radius: 22px;
  }

  .clients-showcase__item {
    flex-basis: 50%;
    padding: 0 8px;
  }

  .clients-showcase__item img {
    max-width: 120px;
    max-height: 78px;
    margin-inline: auto;
  }

  .clients-showcase__arrow {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 7px;
  }

  .clients-showcase__arrow--prev {
    left: 8px;
  }

  .clients-showcase__arrow--next {
    right: 8px;
  }

  .clients-showcase__arrow--prev::before {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-right-width: 9px;
  }

  .clients-showcase__arrow--next::before {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 9px;
  }
}

@media (max-width: 420px) {
  .clients-showcase {
    min-height: 165px;
    padding: 22px 36px;
  }

  .clients-showcase__arrow {
    width: 30px;
    height: 30px;
  }

  .clients-showcase__arrow--prev {
    left: 6px;
  }

  .clients-showcase__arrow--next {
    right: 6px;
  }

  .clients-showcase__arrow--prev::before {
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-right-width: 8px;
  }

  .clients-showcase__arrow--next::before {
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 8px;
  }

  .clients-showcase__item {
    padding-inline: 6px;
  }

  .clients-showcase__item img {
    max-width: 104px;
    max-height: 68px;
  }
}

@media (max-width: 360px) {
  .clients-showcase {
    padding-inline: 32px;
  }

  .clients-showcase__item img {
    max-width: 92px;
    max-height: 62px;
  }
}
/* =========================================================
   AJUSTE AGREGADO - Botones flotantes tipo pirámide
   WhatsApp arriba, contacto abajo
   ========================================================= */

.floating-actions {
  position: fixed;
  right: 55px;
  bottom: 55px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.floating-actions__contact,
.floating-actions__whatsapp,
.mode-switcher__trigger,
.mode-switcher__option {
  text-decoration: none;
  box-shadow: -1px 1px 23px -2px rgba(0,0,0,0.84);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.floating-actions__contact {
  min-width: 132px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;

  /* El fondo ahora lo controlan ::before y ::after */
  background: transparent;
  color: var(--color-black);

  font-family: "Futura PT Demi";
  font-size: 19px;
  font-weight: 900;
  line-height: 1;

  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 1;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease,
    color 0.25s ease;
}

.floating-actions__contact::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  border-radius: inherit;
  z-index: -2;
}

.floating-actions__contact::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-orange), #c97800);
  border-radius: inherit;
  z-index: -1;
  transition: width 0.3s ease;
}

.floating-actions__contact:hover {
  color: var(--color-white);
}

.floating-actions__contact:hover::before {
  width: 100%;
}


/* Selector de modo: sólo se muestra donde exista su HTML (index). */
.floating-actions__mode {
  position: relative;
  width: 58px;
  height: 58px;
  pointer-events: auto;
}

.mode-switcher__trigger {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  padding: 0;
  border: 1px solid rgba(245, 164, 0, 0.78);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.84);
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  cursor: pointer;
  box-shadow: -1px 1px 23px -2px rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.mode-switcher__caption {
  display: block;
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--color-yellow);
}

.mode-switcher__current {
  display: block;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

.mode-switcher__trigger:hover,
.mode-switcher.is-open .mode-switcher__trigger {
  transform: translateY(-2px) scale(1.04);
  border-color: var(--color-yellow);
  background: var(--color-black);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.35),
    0 0 0 3px rgba(255, 242, 0, 0.14);
}

.mode-switcher__trigger:focus-visible,
.mode-switcher__option:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 4px;
}

.mode-switcher__menu {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  z-index: 5;
  width: max-content;
  min-width: 156px;
  padding: 7px;
  border: 1px solid rgba(245, 164, 0, 0.42);
  border-radius: 14px;
  background: rgba(17, 17, 17, 0.94);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.mode-switcher__menu[hidden] {
  display: none !important;
}

.mode-switcher__option {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.mode-switcher__option:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-2px);
}

.mode-switcher__option.is-active {
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  color: var(--color-black);
}

.mode-switcher__option-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

html[data-cormago-mode="machine"] .mode-switcher__trigger {
  background: linear-gradient(135deg, #171717, #343434);
  border-color: var(--color-orange);
}

.floating-actions__whatsapp {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
   backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(18px);

  position: relative;
  overflow: hidden;
  isolation: isolate;
  perspective: 700px;
}

/* Ocultamos la imagen original, pero seguimos usando el SVG como máscara */
.floating-actions__whatsapp img {
  display: none;
}

/* Fondo naranja que sube en hover */
.floating-actions__whatsapp::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-orange);
  border-radius: inherit;
  z-index: 1;
  transition: top 0.5s ease;
}

/* Ícono de WhatsApp */
.floating-actions__whatsapp::after {
  content: "";
  width: 31px;
  height: 31px;
  display: block;
  position: relative;
  z-index: 2;
  background: var(--color-orange);

  -webkit-mask: url("/assets/icons/whatsapp.svg") center / contain no-repeat;
  mask: url("/assets/icons/whatsapp.svg") center / contain no-repeat;

  transform-style: preserve-3d;
  transition:
    transform 0.5s ease,
    background 0.5s ease;
}

.floating-actions__whatsapp:hover::before {
  top: 0;
}

.floating-actions__whatsapp:hover::after {
  background: var(--color-white);
  
  transform: rotateY(360deg);
}

.floating-actions__contact:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  filter: brightness(1.05);
}



.floating-actions__contact:active,
.floating-actions__whatsapp:active {
  transform: translateY(-1px) scale(0.97);
}

.floating-actions__contact:focus-visible,
.floating-actions__whatsapp:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 4px;
}

#contact-reviews-section {
  scroll-margin-top: 130px;
}

@media (max-width: 640px) {
  .floating-actions {
    right: 14px;
    bottom: 25px;
    gap: 12px;
  }

  .floating-actions__contact {
    min-width: 118px;
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 18px;
  }

  .floating-actions__whatsapp {
    width: 70px;
    height: 70px;
  }

  .floating-actions__mode,
  .mode-switcher__trigger {
    width: 60px;
    height: 60px;
  }

  .mode-switcher__menu {
    right: calc(100% + 10px);
    min-width: 148px;
  }

  .floating-actions__whatsapp::after {
  width: 37px;
  height: 37px;
}

  #contact-reviews-section {
    scroll-margin-top: 105px;
  }
}

@media (max-width: 420px) {
  .floating-actions {
    right: 10px;
    bottom: 20px;
    gap: 10px; 
  }

  .floating-actions__contact {
    min-width: 108px;
    min-height: 38px;
    font-size: 17px;
  }

  .floating-actions__whatsapp {
    width: 66px;
    height: 66px;
  }

  .floating-actions__mode,
  .mode-switcher__trigger {
    width: 56px;
    height: 56px;
  }

  .mode-switcher__current {
    font-size: 21px;
  }

  .floating-actions__whatsapp::after {
  width: 35px;
  height: 35px;
}
}

.floating-actions {
  pointer-events: none;
}

.floating-actions__contact,
.floating-actions__whatsapp,
.floating-actions__mode {
  pointer-events: auto;
}

#contact-reviews-section {
  scroll-margin-top: 130px;
}

@media (max-width: 640px) {
  #contact-reviews-section {
    scroll-margin-top: 105px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .floating-actions__contact,
  .floating-actions__contact::before,
  .floating-actions__whatsapp,
  .floating-actions__whatsapp::before,
  .floating-actions__whatsapp::after,
  .mode-switcher__trigger,
  .mode-switcher__option {
    transition: none;
    animation: none;
  }

  .floating-actions__whatsapp:hover::after {
    transform: none;
  }
}

/* =========================================================
   PÁGINA SERVICIO: LIMPIEZA INDUSTRIAL
   Pegar al final de /assets/css/styles.css
   ========================================================= */

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

.li-page {
  background: #f7f7f7;
}

.li-hero {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 35% 50%;
  --hero-position-mobile: 20% 50%;
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.62) 46%, rgba(5, 5, 5, 0.16) 100%),
    url("/assets/img/servicios/limpieza-industrial/hero-limpieza-industrial.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.li-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
}

.li-hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 9vw, 118px);
}

.li-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
}

.li-breadcrumb a:hover {
  color: var(--color-yellow);
}

.li-hero h1 {
  margin: 0;
  color: var(--color-white);
  line-height: 0.98;
  letter-spacing: -0.01em;
  max-width: 980px;
}

.li-hero__lead {
  max-width: 1050px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.02rem, 1.75vw, 1.28rem);
  line-height: 1.55;
  text-align: justify;
}

.li-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.li-btn {
  min-width: 260px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 3px solid transparent;
  border-radius: 8px;
  font-weight: 950;
  text-align: center;
  line-height: 1.1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.li-btn:hover {
  transform: translateY(-2px);
}

.li-btn--primary {
  background: var(--color-yellow);
  color: var(--color-black);
}

.li-btn--outline {
  border-color: var(--color-yellow);
  background: rgba(0, 0, 0, 0.22);
  color: var(--color-yellow);
}

.li-section {
  padding: clamp(56px, 7vw, 78px) 0;
}

.li-section--white,
.li-certifications,
.li-benefits,
.li-workflow {
  background: #f4f4f4;
}

.li-section h2 {
  margin: 0;
  letter-spacing: 2px;
  line-height: 1.1;
}

.li-service-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  min-height: 74px;
  margin-bottom: 28px;
}

.li-service-tab {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-self: end;
  width: 100%;
  height: 58px;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  background-color: transparent;
  color: var(--color-black);
  box-shadow: none;
  transform: translateY(0);
  will-change: height, transform, background-color, color, box-shadow;
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  cursor: pointer;
  transition:
    height 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.42s ease,
    border-color 0.42s ease,
    color 0.34s ease,
    box-shadow 0.48s ease;
}

.li-service-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(245, 164, 0, 0.34) 0%,
    rgba(245, 164, 0, 0.16) 38%,
    rgba(245, 164, 0, 0.05) 68%,
    rgba(245, 164, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.li-service-tab::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(
    90deg,
    var(--color-yellow),
    var(--color-orange)
  );
  filter: grayscale(1) brightness(0);
  transform: scaleX(1);
  transform-origin: center;
  transition:
    filter 0.3s ease,
    height 0.3s ease;
}

.li-service-tab:hover,
.li-service-tab:focus-visible {
  border-color: rgba(245, 164, 0, 0.62);
  color: var(--color-black);
  box-shadow: 0 10px 22px rgba(245, 164, 0, 0.09);
}

.li-service-tab:hover::before,
.li-service-tab:focus-visible::before {
  opacity: 1;
}

.li-service-tab:hover::after,
.li-service-tab:focus-visible::after {
  filter: none;
}

.li-service-tab.is-active,
.li-service-tab[aria-selected="true"] {
  z-index: 2;
  height: 74px;
  border-color: var(--color-black);
  background-color: var(--color-black);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.li-service-tab.is-active::before,
.li-service-tab[aria-selected="true"]::before {
  opacity: 0.12;
}

.li-service-tab.is-active::after,
.li-service-tab[aria-selected="true"]::after {
  height: 4px;
  filter: none;
}

.li-service-tab.is-active:hover,
.li-service-tab.is-active:focus-visible,
.li-service-tab[aria-selected="true"]:hover,
.li-service-tab[aria-selected="true"]:focus-visible {
  color: var(--color-white);
  border-color: var(--color-black);
}

.li-service-tab:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 3px;
}

.li-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 26px;
  align-items: start;
  width: 100%;
}

.li-feature__image {
  margin: 0;
  min-height: 450px;
  overflow: hidden;
  border-radius: 30px;
  isolation: isolate;
}

.li-feature__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
  will-change: opacity, transform;
  transition:
    opacity 0.18s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.li-feature__content {
  width: 100%;
  margin: 0;
}

.li-note {
  margin: 22px 0 22px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 30px;
  background: var(--color-yellow);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.55;
}

.li-note p {
  margin: 0;
  transition: opacity 0.18s ease;
  text-align: justify;
}

.li-download {
  width: min(50%, 420px);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--color-black);
  color: var(--color-yellow);
  font-weight: 950;
}

.li-certifications__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin-top: 18px;
}

.li-certification {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.li-certification img {
  width: clamp(150px, 16vw, 230px);
  height: clamp(150px, 16vw, 230px);
  object-fit: contain;
  border-radius: 50%;
}

.li-certification span {
  display: none;
}

.li-benefits {
  padding-top: clamp(42px, 5vw, 64px);
}

.li-benefits__title {
  margin-bottom: 22px !important;
}

.li-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.li-benefit-card {
  min-height: 306px;
  display: grid;

  /*
    Fila 1: número
    Fila 2: espacio reservado para títulos de hasta dos líneas
    Fila 3: descripción
  */
  grid-template-rows: 46px 40px 1fr;
  row-gap: 22px;

  padding: 24px 22px;
  border-radius: 22px;
  border: 3px solid var(--service-feature-border);
  background: var(--service-feature-background);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}


.li-benefit-card:nth-child(odd) {
  --service-feature-background: var(--color-black);
  --service-feature-border: var(--color-orange);
  --service-feature-title: var(--color-white);
  --service-feature-text: rgba(255, 255, 255, 0.82);
  --service-feature-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --service-feature-number-color: var(--color-black);
  --service-feature-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.li-benefit-card:nth-child(even) {
  --service-feature-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --service-feature-border: var(--color-yellow);
  --service-feature-title: var(--color-black);
  --service-feature-text: rgba(0, 0, 0, 0.76);
  --service-feature-number-background: var(--color-black);
  --service-feature-number-color: var(--color-yellow);
  --service-feature-hover-shadow: 0 14px 28px rgba(245, 164, 0, 0.14);
}

.li-benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.li-benefit-card > span {
  display: grid;
  place-items: center;

  width: 46px;
  height: 46px;
  margin: 0;

  border-radius: 50%;
  background: var(--service-feature-number-background);
  color: var(--service-feature-number-color);

  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.li-benefit-card h3 {
  align-self: start;

  margin: 0;
   color: var(--service-feature-title);

  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.li-benefit-card p {
  align-self: start;

  margin: 0;
 color: var(--service-feature-text);

  font-size: 18px;
  line-height: 1.45;

  /*
    Evita los espacios excesivos que produce
    text-align: justify en columnas estrechas.
  */
  text-align: justify;
}
.li-workflow {
  padding-bottom: clamp(62px, 8vw, 96px);
}

.li-workflow__panel {
  overflow: hidden;
  border-radius: 30px;
  background: #2b2b2b;
}

.li-workflow__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--color-black);
  border-radius: 30px;
}

.li-workflow__tabs button {
  min-height: 58px;
  padding: 14px 22px;
  border: 0;
  background: transparent;
  color: var(--color-yellow);
  font-family: "Futura PT Demi";
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}

.li-workflow__tabs button:first-child,
.li-workflow__tabs button:last-child,
.li-workflow__tabs button.is-active {
  border-radius: 30px;
}

.li-workflow__tabs button.is-active {
  background: var(--color-yellow);
  color: var(--color-black);
}

.li-workflow__tabs button:focus-visible {
  outline: 3px solid #0099ff;
  outline-offset: -3px;
}

.li-workflow__body {
  padding: clamp(28px, 5vw, 44px) clamp(24px, 5vw, 62px);
  min-height: 192px;
}

.li-workflow__body p {
  margin: 0;
  color: var(--color-white);
  line-height: 1.65;
  transition: opacity 0.18s ease;
}

.li-blog-sector {
  background: #f5f5f5;
  padding: clamp(48px, 6vw, 68px) 0;
}

.li-blog-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  background: #111;
  isolation: isolate;
}

.li-blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.34)),
    url("/assets/img/servicios/limpieza-industrial/limpieza-blog.webp") center / cover no-repeat;
  z-index: -2;
}

.li-blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 164, 0, 0.18);
  z-index: -1;
}

.li-blog-card__content {
  max-width: 760px;
  padding: 44px 48px;
  color: #fff;
}

.li-blog-card h2 {
  margin: 0 0 24px;
  color: #fff;
  line-height: 1;
}

.li-blog-card h3 {
  margin: 0 0 8px;
  max-width: 850px;
  color: #fff;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.li-blog-card p {
  margin: 0;
  max-width: 790px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
  text-align: justify;
}

.li-blog-card__action {
  position: absolute;
  right: 36px;
  bottom: 24px;
  min-width: 150px;
  padding: 13px 24px;
  border-radius: 8px;
  background: var(--color-yellow);
  color: var(--color-black);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.li-blog-card__action:hover {
  transform: translateY(-2px);
  background: #ffe500;
}

.li-sector-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.li-sector-card {
  position: relative;
  z-index: 1;
  min-height: 166px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px 14px;
  border-radius: 24px;
  background: var(--color-yellow);
  color: var(--color-black);
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(245, 164, 0, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.li-sector-card > img,
.li-sector-card > span {
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .li-sector-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
  }
}

.li-sector-card:active {
  transform: scale(0.98);
}

.li-sector-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.li-sector-card span {
  display: block;
  color: inherit;
  font-family: "Futura PT Heavy";
  font-size: clamp(1rem, 1.4vw, 1.32rem);
  line-height: 1;
  font-weight: 900;
}

.li-sector-card--more {
  background: #101010;
  color: var(--color-yellow);
}

.li-sector-card__plus {
  position: relative;
  width: 82px;
  height: 82px;
}

.li-sector-card__plus::before,
.li-sector-card__plus::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.li-sector-card__plus::after {
  width: 10px;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .li-service-tab,
  .li-service-tab::before,
  .li-service-tab::after,
  .li-feature__image img {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .li-service-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .li-sector-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .li-sector-card {
    min-height: 156px;
  }
}

@media (max-width: 1024px) {
  .li-feature {
    grid-template-columns: 1fr;
  }

  .li-feature__content,
  .li-feature__content h2,
  .li-note {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .li-hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.66) 100%),
      url("/assets/img/servicios/limpieza-industrial/hero-limpieza-industrial.webp") var(--hero-position, 50% 50%) / cover no-repeat;
  }

  .li-hero__content {
    padding-block: 62px;
  }

  .li-hero__actions {
    display: grid;
  }

  .li-btn,
  .li-download {
    width: 100%;
    min-width: 0;
  }

  .li-service-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 62px;
  }

  .li-service-tab {
    height: 50px;
    min-height: 0;
    gap: 0;
    padding: 9px 10px;
    border-radius: 11px;
    font-size: 0.9rem;
  }

  .li-service-tab.is-active,
  .li-service-tab[aria-selected="true"] {
    height: 62px;
    transform: translateY(-1px);
  }

  .li-sector-grid,
  .li-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .li-workflow__tabs {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .li-workflow__tabs button {
    border-radius: 0;
    text-align: left;
    padding-inline: 20px;
  }

  .li-workflow__tabs button.is-active {
    border-radius: 18px;
  }

  .li-feature__image,
  .li-feature__image img {
    min-height: 410px;
  }

  .li-certifications__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .li-blog-card__content {
    padding: 34px 28px 88px;
  }

  .li-blog-card__action {
    right: auto;
    left: 28px;
  }
}

@media (max-width: 520px) {
  .li-service-tabs {
    gap: 10px;
  }

  .li-service-tab {
    height: 48px;
    min-height: 0;
    padding: 9px 8px;
    border-width: 1px;
    font-size: 0.84rem;
  }

  .li-service-tab.is-active,
  .li-service-tab[aria-selected="true"] {
    height: 60px;
  }

  .li-sector-grid,
  .li-benefits__grid {
    gap: 14px;
  }

  .li-sector-card {
    min-height: 132px;
  }
}

@media (max-width: 480px) {
  .li-breadcrumb {
    font-size: 0.78rem;
  }



  .li-feature__image,
  .li-feature__image img {
    min-height: 320px;
    border-radius: 24px;
  }

  .li-benefit-card {
    min-height: 230px;
    padding: 20px 16px;
    border-radius: 22px;
  }

  .li-benefit-card h3 {
    font-size: 1.05rem;
  }

  .li-benefit-card p {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .li-certification img {
    width: 135px;
    height: 135px;
  }

  .li-sector-card {
    min-height: 132px;
    padding: 16px 10px 12px;
  }

  .li-sector-card img {
    width: 68px;
    height: 68px;
  }

  .li-sector-card span {
    font-size: 1rem;
  }

  .li-sector-card__plus {
    width: 58px;
    height: 58px;
  }
}
/* =========================================================
   PÁGINA CONTACTO
   Agregar al final de /assets/css/styles.css
   ========================================================= */

.contact-page-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.86) 0%,
      rgba(0, 0, 0, 0.58) 45%,
      rgba(0, 0, 0, 0.18) 100%
    ),
    url("../img/hero/hero-inicio.webp") center center / cover no-repeat;
}

.contact-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.contact-page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-block: 82px;
}

.contact-page-hero .eyebrow,
.contact-page-hero h1,
.contact-page-hero p {
  color: var(--color-white);
}

.contact-page-hero h1 {
  margin: 0 0 18px;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.contact-page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 0 28px;
  line-height: 1.55;
}

.contact-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-page-hero__actions .btn {
  min-width: 190px;
}

.contact-page-section {
  padding: 82px 0 92px;
  background: #f7f7f7;
  color: var(--color-black);
}

.contact-page-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
}

.contact-page-form .project-contact__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-page-form .form-field--full {
  grid-column: 1 / -1;
}

.contact-page-form .form-field input {
  height: 40px;
}

.contact-page-form .form-field textarea {
  min-height: 150px;
}

.contact-page-info {
  padding: clamp(34px, 4.6vw, 52px);
  background: var(--color-black);
  color: var(--color-white);
}

.contact-page-info__eyebrow {
  color: var(--color-yellow);
  margin-bottom: 22px;
}

.contact-page-info h2 {
  margin: 0 0 28px;
  color: var(--color-yellow);
  line-height: 1.12;
  letter-spacing: 0.035em;
}

.contact-page-info__list {
  display: grid;
  gap: 24px;
  margin-bottom: 30px;
}

.contact-page-info__item {
  display: grid;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-page-info__item span {
  color: var(--color-yellow);
  font-family: "Futura PT Demi", sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-page-info__item a,
.contact-page-info__item strong {
  color: var(--color-white);
  font-family: "Futura PT Demi", sans-serif;
  font-size: 1.2rem;
  line-height: 1.25;
}

.contact-page-info__item small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.contact-page-info__button {
  width: 100%;
}

.contact-page-map {
  background-color: #f7f7f7;
  padding-bottom: 60px;
}

@media (max-width: 900px) {
  .contact-page-card {
    grid-template-columns: 1fr;
  }

  .contact-page-hero__content {
    padding-block: 64px;
  }
}

@media (max-width: 640px) {
  .contact-page-hero {
    min-height: auto;
  }

  .contact-page-hero__content {
    padding-block: 54px 58px;
  }

  .contact-page-hero__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .contact-page-section {
    padding: 58px 0 66px;
  }

  .contact-page-card {
    border-radius: 30px;
  }

  .contact-page-form .project-contact__grid {
    grid-template-columns: 1fr;
  }

  .contact-page-info {
    padding: 30px 20px;
  }
}

@media (max-width: 420px) {
  .contact-page-hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .contact-page-form,
  .contact-page-info {
    padding: 26px 16px;
  }
}
/* ============================= */
/* COBERTURA - LISTA DE CIUDADES */
/* ============================= */

.contact-page-info__item--coverage {
  gap: 8px;
}

.contact-page-coverage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 34px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact-page-coverage-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.contact-page-coverage-list img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}

.contact-page-coverage-list span {
  color: var(--color-white);
  font-family: "Futura PT Demi", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: none;
}

@media (max-width: 520px) {
  .contact-page-coverage-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
/* Industries carousel FIX - CORMAGO home
   Carrusel automático infinito, sin flechas.
*/
.industries-section {
  overflow-x: hidden;
}

.industries-section::before,
.industries-section::after {
  pointer-events: none;
}

.industries-section > .container {
  position: relative;
  z-index: 2;
}

.industries-carousel {
  --industries-gap: 28px;
  --industries-items-per-view: 3;
  --industries-card-basis: calc((100% - 56px) / 3);
  --industries-carousel-speed: 34;
  --industries-carousel-pause: 2000;

  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  margin-top: 32px;
}

.industries-carousel__viewport {
  width: 100%;
  max-width: none;
  overflow: hidden;
}

.industries-section .industries-carousel .industries-carousel__track,
.industries-section .industries-carousel .industries-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: var(--industries-gap) !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: stretch;
  flex-wrap: nowrap;
  transition: none;
  will-change: transform;
}

.industries-section .industries-carousel .industry-card {
  flex: 0 0 var(--industries-card-basis) !important;
  width: var(--industries-card-basis) !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin: 0 !important;
}

.industries-section .industries-carousel .industry-card img {
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  display: block;
  object-fit: cover;
}

.industries-carousel__arrow {
  display: none;
}

@media (max-width: 1100px) {
  .industries-carousel {
    --industries-gap: 22px;
    --industries-items-per-view: 2;
    --industries-card-basis: calc((100% - 22px) / 2);
  }
}

@media (max-width: 640px) {
  .industries-carousel {
    --industries-gap: 14px;
    --industries-items-per-view: 2;
    --industries-card-basis: calc((100% - 14px) / 2);
    --industries-carousel-speed: 24;
    margin-top: 24px;
  }

  .industries-section .industries-carousel .industry-card__content {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px;
  }

  .industries-section .industries-carousel .industry-card__content h3 {
    margin-bottom: 4px;
    font-size: 0.85rem;
  }

  .industries-section .industries-carousel .industry-card__content p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.68rem;
    line-height: 1.08;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 420px) {
  .industries-carousel {
    --industries-gap: 12px;
    --industries-card-basis: calc((100% - 12px) / 2);
  }

  .industries-section .industries-carousel .industry-card__content h3 {
    font-size: 0.78rem;
  }

  .industries-section .industries-carousel .industry-card__content p {
    font-size: 0.62rem;
    -webkit-line-clamp: 2;
  }
}


/* =========================================================
   CONTACTO V2 - HERO, FORMULARIO, CARRUSEL VERTICAL Y COBERTURA
   No afecta navbar, newsletter ni footer
   ========================================================= */

.contact-v2 {
  --cv2-black: #050505;
  --cv2-dark: #111111;
  --cv2-yellow: #fff200;
  --cv2-orange: #f5a400;
  --cv2-white: #ffffff;
  --cv2-soft: #f4f4f2;
  --cv2-muted: #666666;
  --cv2-border: rgba(0, 0, 0, 0.11);
  --cv2-radius: 30px;

  overflow: hidden;
  background: var(--cv2-white);
}

/* HERO DE CONTACTO (se conserva sin cambios estructurales) */
.contact-v2-hero {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 35% 50%;
  --hero-position-mobile: 20% 50%;
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cv2-white);
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.66) 0%,
      rgba(0, 0, 0, 0.58) 38%,
      rgba(0, 0, 0, 0.16) 100%
    ),
    url("/assets/img/hero/hero-contact.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.contact-v2-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  padding-block: clamp(78px, 9vw, 120px);
}

.contact-v2-hero__content {
  max-width: 930px;
}

.contact-v2-hero h1 {
  max-width: 940px;
  margin: 0;
  color: var(--cv2-white);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.contact-v2-hero__text {
  max-width: 790px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.5;
}

.contact-v2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.contact-v2-btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1.03rem;
  font-weight: 900;
  line-height: 1;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.contact-v2-btn:hover {
  transform: translateY(-3px);
}

.contact-v2-btn--primary {
  background: linear-gradient(90deg, var(--cv2-yellow), var(--cv2-orange));
  color: var(--cv2-black);
  box-shadow: 0 18px 36px rgba(245, 164, 0, 0.24);
}

.contact-v2-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(0, 0, 0, 0.8);
  color: var(--cv2-white);
  backdrop-filter: blur(10px);
}

.contact-v2-btn--ghost:hover {
  border-color: var(--cv2-white);
  background: var(--cv2-white);
  color: var(--cv2-black);
}

.contact-v2-section {
  position: relative;
  padding: clamp(54px, 7vw, 88px) 0 clamp(62px, 8vw, 88px);
  background: #f7f7f7;
}

.contact-v2-section__header {
  margin-bottom: 24px;
}

.contact-v2-section__eyebrow,
.contact-v2-map-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--cv2-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-v2-section__eyebrow::before,
.contact-v2-map-kicker::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.contact-v2-section__header h1 {
  margin: 0;
  color: var(--cv2-black);
  font-family: "Futura PT Extra Bold", var(--font-main);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.contact-v2-form-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  gap: 16px;
  align-items: stretch;
}

.contact-v2-form-card {
  height: auto;
  border-radius: var(--cv2-radius);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.contact-v2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cv2-yellow);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-v2-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.contact-v2-kicker--dark {
  color: var(--cv2-black);
}

/* Carrusel de industrias, reutilizado junto al formulario. */
.contact-v2-industries-media {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border-radius: var(--cv2-radius);
}

.contact-v2-industries-carousel {
  --industries-gap: 14px;
  --industries-visible-gap: 28px;
  --industries-carousel-speed: 42;
  --industries-carousel-pause: 1800;

  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
}

.contact-v2-industries-carousel .industries-carousel__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--cv2-radius);
}

.contact-v2-industries-carousel .industries-carousel__track {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: var(--industries-gap);
  margin: 0;
  padding: 0;
  will-change: transform;
}

.contact-v2-industries-carousel .industry-card {
  position: relative;
  flex: 0 0 calc((100% - var(--industries-visible-gap)) / 3);
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: var(--cv2-radius);
  background: #d9d9d9;
  box-shadow: none;
}

.contact-v2-industries-carousel .industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04) 35%,
    rgba(0, 0, 0, 0.2) 62%,
    rgba(0, 0, 0, 0.82) 100%
  );
  pointer-events: none;
}

.contact-v2-industries-carousel .industry-card::after {
 content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  height: 20%;
background: #fffcfc;
background: linear-gradient(180deg, rgba(255, 252, 252, 0) 0%, rgba(5, 5, 5, 0.791) 35%, rgba(0, 0, 0, 0.824) 100%);
}

.contact-v2-industries-carousel .industry-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: block;
  max-width: none;
  padding: 22px 20px;
  border-radius: 0;
}

.contact-v2-industries-carousel .industry-card__content h3 {
  margin: 0;
  color: var(--cv2-white);
  font-family: "Futura PT Bold", var(--font-main);
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.contact-v2-industries-carousel .industry-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: scale(1.01);
  filter: none;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.contact-v2-industries-carousel .industry-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.03);
}

/* FORMULARIO */
.contact-v2-form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4.5vw, 52px);
 background: linear-gradient(180deg, var(--color-orange) 0%, var(--color-yellow) 100%);
}

.contact-v2-form-card::before {
  content: "";
  position: absolute;
  top: -135px;
  right: -105px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cv2-yellow), var(--cv2-orange));
  opacity: 0.2;
}

.contact-v2-form-card > * {
  position: relative;
  z-index: 1;
}

.contact-v2-form-card h3 {
  max-width: 680px;
  margin: 0;
  color: var(--cv2-black);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 30px;
  line-height: 0.98;
}

.contact-v2-form-card__intro {
  max-width: 660px;
  margin: 18px 0 30px;
  color: var(--cv2-muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.contact-v2-form {
  position: relative;
}

.contact-v2-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-v2-field {
  display: grid;
  gap: 8px;
}

.contact-v2-field--full {
  grid-column: 1 / -1;
}

.contact-v2-consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--cv2-border);
  border-radius: 16px;
  background: #f7f7f5;
}

.contact-v2-consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--cv2-orange);
  cursor: pointer;
}

.contact-v2-consent input:focus-visible {
  outline: 3px solid rgba(255, 242, 0, 0.58);
  outline-offset: 3px;
}

.contact-v2-consent__content {
  min-width: 0;
}

.contact-v2-consent__content label {
  display: block;
  color: var(--cv2-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
}

.contact-v2-consent__content small {
  display: block;
  margin-top: 5px;
  color: var(--cv2-muted);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.84rem;
  line-height: 1.4;
}

.contact-v2-consent__content a {
  color: var(--cv2-black);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-v2-field label {
  color: var(--cv2-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.95rem;
  font-weight: 900;
}

.contact-v2-field input,
.contact-v2-field select,
.contact-v2-field textarea {
  width: 100%;
  border: 1px solid var(--cv2-border);
  border-radius: 16px;
  background: #f7f7f5;
  color: var(--cv2-black);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.contact-v2-field input,
.contact-v2-field select {
  height: 54px;
  padding: 0 16px;
}

.contact-v2-field textarea {
  min-height: 156px;
  padding: 16px;
  resize: vertical;
}

.contact-v2-field input::placeholder,
.contact-v2-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.42);
}

.contact-v2-field input:hover,
.contact-v2-field select:hover,
.contact-v2-field textarea:hover {
  background: var(--cv2-white);
}

.contact-v2-field input:focus,
.contact-v2-field select:focus,
.contact-v2-field textarea:focus {
  border-color: var(--cv2-black);
  background: var(--cv2-white);
  box-shadow:
    0 0 0 4px rgba(255, 242, 0, 0.46),
    0 14px 30px rgba(0, 0, 0, 0.09);
  transform: translateY(-1px);
}

.contact-v2-field select:disabled,
.contact-v2-field input:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

/* Archivo adjunto del formulario de contacto */
.contact-v2-attachment-field__optional {
  color: var(--cv2-muted);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-v2-file-dropzone {
  position: relative;
  min-height: 164px;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: hidden;
  isolation: isolate;
  border: 2px dashed rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  background: #f7f7f5;
  outline: none;
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.contact-v2-file-dropzone::after {
  content: "";
  position: absolute;
  top: -95px;
  left: -95px;
  z-index: 0;
  width: 58px;
  height: 320px;
  background: var(--cv2-white);
  opacity: 0.7;
  transform: rotate(35deg);
  pointer-events: none;
  transition: left 1150ms cubic-bezier(0.19, 1, 0.22, 1);
}

.contact-v2-file-dropzone:hover,
.contact-v2-file-dropzone:focus-within {
  border-color: var(--cv2-orange);
  background: linear-gradient(
    135deg,
    rgba(255, 242, 0, 0.13),
    rgba(245, 164, 0, 0.18)
  );
  box-shadow:
    0 14px 30px rgba(245, 164, 0, 0.14),
    0 0 0 4px rgba(255, 242, 0, 0.18);
  transform: translateY(-2px);
}

.contact-v2-file-dropzone:hover::after,
.contact-v2-file-dropzone:focus-within::after,
.contact-v2-file-dropzone.is-dragging::after {
  left: 120%;
}

.contact-v2-file-dropzone.is-dragging {
  border-color: var(--cv2-orange);
  background: rgba(255, 242, 0, 0.2);
  box-shadow:
    0 18px 36px rgba(245, 164, 0, 0.2),
    0 0 0 5px rgba(255, 242, 0, 0.22);
  transform: scale(1.006);
}

.contact-v2-file-dropzone.is-invalid {
  border-color: #b91c1c;
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.12);
}

.contact-v2-file-dropzone__input {
  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;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
}

.contact-v2-file-dropzone__empty {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.contact-v2-file-dropzone__empty[hidden],
.contact-v2-file-preview[hidden] {
  display: none;
}

.contact-v2-file-dropzone__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 13px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--cv2-black);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.contact-v2-file-dropzone:hover .contact-v2-file-dropzone__icon,
.contact-v2-file-dropzone:focus-within .contact-v2-file-dropzone__icon,
.contact-v2-file-dropzone.is-dragging .contact-v2-file-dropzone__icon {
  transform: translateY(-2px) scale(1.07);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.contact-v2-file-dropzone__icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.contact-v2-file-dropzone__copy strong,
.contact-v2-file-dropzone__copy span {
  display: block;
}

.contact-v2-file-dropzone__copy strong {
  margin-bottom: 4px;
  color: var(--cv2-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1.04rem;
  font-weight: 900;
}

.contact-v2-file-dropzone__copy span {
  color: var(--cv2-muted);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.92rem;
}

.contact-v2-file-dropzone__select,
.contact-v2-file-preview__remove {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

.contact-v2-file-dropzone__select {
  border: 0;
  background: var(--cv2-black);
  color: var(--cv2-yellow);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.contact-v2-file-dropzone__select:hover,
.contact-v2-file-dropzone__select:focus-visible {
  background: linear-gradient(90deg, var(--cv2-yellow), var(--cv2-orange));
  color: var(--cv2-black);
  outline: none;
  transform: translateY(-2px);
}

.contact-v2-file-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--cv2-border);
  border-radius: 16px;
  background: var(--cv2-white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09);
}

.contact-v2-file-preview__type {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cv2-yellow), var(--cv2-orange));
  color: var(--cv2-black);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-v2-file-preview__details {
  min-width: 0;
}

.contact-v2-file-preview__details strong,
.contact-v2-file-preview__details span {
  display: block;
}

.contact-v2-file-preview__details strong {
  overflow: hidden;
  color: var(--cv2-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-v2-file-preview__details span {
  margin-top: 3px;
  color: var(--cv2-muted);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.84rem;
}

.contact-v2-file-preview__remove {
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  color: var(--cv2-black);
}

.contact-v2-file-preview__remove:hover,
.contact-v2-file-preview__remove:focus-visible {
  border-color: #b91c1c;
  color: #b91c1c;
  outline: none;
  transform: translateY(-1px);
}

.contact-v2-file-hint,
.contact-v2-file-error {
  display: block;
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.86rem;
  line-height: 1.35;
}

.contact-v2-file-hint {
  color: var(--cv2-muted);
}

.contact-v2-file-error {
  min-height: 1.15em;
  color: #b91c1c;
  font-weight: 700;
}

@media (max-width: 700px) {
  .contact-v2-file-dropzone__empty {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .contact-v2-file-dropzone__select {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 500px) {
  .contact-v2-file-dropzone {
    min-height: 190px;
    padding: 16px;
  }

  .contact-v2-file-dropzone__empty {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .contact-v2-file-preview {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .contact-v2-file-preview__remove {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.contact-v2-inline-action,
.form-field__inline-action {
  width: fit-content;
  margin-top: 0.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cv2-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.form-field__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

.contact-v2-submit {
  width: 100%;
  min-height: 60px;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  background: var(--cv2-black);
  color: var(--cv2-yellow);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.16rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 17px 34px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.contact-v2-submit:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, var(--cv2-orange), var(--cv2-orange));
  color: var(--cv2-black);
  box-shadow: 0 23px 44px rgba(245, 164, 0, 0.28);
}

.contact-v2-submit:active {
  transform: translateY(-1px);
}

/* Presencia operativa: un solo mapa con información en los pins. */
.contact-v2-coverage-grid.contact-v2-presence--interactive {
  display: block;
  width: 100%;
  margin-top: 48px;
  overflow: hidden;
  border: 2px solid var(--cv2-black);
  border-radius: var(--cv2-radius);
  background: var(--cv2-black);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.15);
}

.contact-v2-presence--interactive .contact-v2-map-panel {
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  color: var(--cv2-white);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 242, 0, 0.72), transparent 24%),
    radial-gradient(circle at 78% 62%, rgba(255, 255, 255, 0.42), transparent 25%),
    linear-gradient(145deg, #050505 12%, #121212 58%, #000000 100%);
}

.contact-v2-presence--interactive .contact-v2-coverage__header {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-v2-presence--interactive .contact-v2-coverage__header h2 {
  margin: 0;
  color: var(--cv2-white);
  font-family: "Futura PT Extra Bold", var(--font-main);
  font-weight: 800;
  line-height: 1.1;
}

.contact-v2-presence--interactive .contact-v2-coverage__header p {
  max-width: 680px;
  margin: 0;
  color: #eee;
  font-size: 1rem;
  line-height: 1.45;
}

.contact-v2-presence--interactive .contact-v2-coverage__header .contact-v2-coverage__count {
  color: var(--cv2-yellow);
  font-size: 0.875rem;
}

.contact-v2-presence--interactive .contact-v2-map {
  position: relative;
  width: 100%;
}

.contact-v2-presence--interactive .contact-v2-map > svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 493.2 / 318.78;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.36));
}

/* El JS eleva el path original bajo los pins: la sombra queda sobre los vecinos.
   Sin transform: se conservan contorno, fronteras y anclaje geográfico. */
.contact-v2-presence--interactive .contact-v2-map-state {
  cursor: pointer;
  outline: none;
  transition: fill 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
}

.contact-v2-presence--interactive .contact-v2-map-state.is-location-active {
  fill: var(--cv2-yellow);
  opacity: 1;
  stroke: #9a7600;
  stroke-width: 0.75;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 3px 3px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 2px rgba(255, 220, 0, 0.35));
}

.contact-v2-presence--interactive .contact-v2-map-state:focus-visible {
  stroke: var(--cv2-yellow);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

@media (prefers-reduced-motion: reduce) {
  .contact-v2-presence--interactive .contact-v2-map-state {
    transition: none;
  }
}

.contact-v2-map-marker {
  cursor: pointer;
  outline: none;
}

.contact-v2-map-marker__icon {
  pointer-events: none;
}

/* Translate independiente: conserva scale(.02), el anclaje y el scale dense. */
.contact-v2-presence--interactive .contact-v2-map-marker__icon {
  translate: 0 0;
  transition: translate 220ms ease-out;
}

.contact-v2-presence--interactive .contact-v2-map-marker.is-location-active .contact-v2-map-marker__icon {
  animation:
    contact-marker-arrive 650ms ease-in-out both,
    contact-marker-float 1800ms ease-in-out 650ms infinite;
}

@keyframes contact-marker-arrive {
  0% { translate: 0 0; }
  40% { translate: 0 -3px; }
  75% { translate: 0 -0.5px; }
  100% { translate: 0 -1px; }
}

@keyframes contact-marker-float {
  0%, 100% { translate: 0 -1px; }
  50% { translate: 0 -2px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-v2-presence--interactive .contact-v2-map-marker__icon,
  .contact-v2-presence--interactive .contact-v2-map-marker.is-location-active .contact-v2-map-marker__icon {
    animation: none;
    transition: none;
    translate: 0 0;
  }
}

/* El icono escala dentro de su wrapper; la punta mantiene su coordenada. */
.contact-v2-map-marker--dense {
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: scale(0.65);
}

.contact-v2-presence--interactive .contact-v2-map-marker__hit {
  fill: transparent;
  stroke: transparent;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  pointer-events: all;
}

.contact-v2-map-tooltip {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100% - 16px);
  padding: 10px 14px;
  border: 1px solid var(--cv2-yellow);
  border-radius: 10px;
  background: #111;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  overflow-wrap: break-word;
}

.contact-v2-map-tooltip strong,
.contact-v2-map-tooltip span {
  display: block;
  line-height: 1.3;
}

.contact-v2-map-tooltip strong {
  color: var(--cv2-yellow);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 16px;
  text-transform: uppercase;
}

.contact-v2-map-tooltip span {
  margin-top: 3px;
  color: #fff;
  font-family: "Futura PT Book", var(--font-main);
  font-size: 15px;
}

.contact-v2-presence--interactive .contact-v2-coverage__note {
  margin: 20px 0 0;
  color: #ccc;
  font-size: 0.83rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .contact-v2-map-marker--dense {
    transform: scale(0.7);
  }
}

/* Canal de correo a todo el ancho. */
.contact-v2-email-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.46fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 32px;
  padding: 18px;
  border-radius: var(--cv2-radius);
  background:
    radial-gradient(circle at top right, rgba(255, 242, 0, 0.22), transparent 34%),
    linear-gradient(180deg, #151515, #000000);
  color: var(--cv2-white);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  isolation: isolate;
}

.contact-v2-email-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.055) 0,
    rgba(255, 255, 255, 0.055) 1px,
    transparent 1px,
    transparent 18px
  );
  pointer-events: none;
}

.contact-v2-email-card > * {
  position: relative;
  z-index: 1;
}

.contact-v2-email-card__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.contact-v2-email-card__content h2 {
  margin: 0 0 6px;
  color: var(--cv2-white);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1;
}

.contact-v2-email-card__content a {
  color: var(--cv2-yellow);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1.02rem;
  line-height: 1.25;
  word-break: break-word;
}

.contact-v2-email-card__content small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.92rem;
  line-height: 1.4;
}

.contact-v2-email-card__action {
  min-height: 112px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  border: 1px solid rgba(255, 242, 0, 0.44);
  border-radius: 20px;
  background: rgba(165, 166, 0, 0.56);
  color: var(--cv2-yellow);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact-v2-email-card__action:hover,
.contact-v2-email-card__action:focus-visible {
  transform: translateY(-2px);
  background: var(--cv2-yellow);
  color: var(--cv2-black);
}

.contact-v2-email-card__action:focus-visible {
  outline: 3px solid rgba(255, 242, 0, 0.34);
  outline-offset: 3px;
}

/* Utilidades del formulario. */
.contact-v2 .is-hidden,
.is-hidden,
.contact-v2 .hidden,
.hidden {
  display: none !important;
}

.contact-v2 .message {
  margin-top: 16px;
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1rem;
}

@media (max-width: 1100px) {
  .contact-v2-form-media-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  }

  .contact-v2-cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .contact-v2-form-media-grid,
  .contact-v2-coverage-grid {
    grid-template-columns: 1fr;
  }

  .contact-v2-form-card {
    height: auto;
  }

  .contact-v2-industries-media {
    height: 720px;
  }

  .contact-v2-industries-carousel {
    position: relative;
    inset: auto;
    height: 100%;
    min-height: 0;
  }

  .contact-v2-map-panel {
    min-height: 460px;
  }

  .contact-v2-coverage {
    border-top: 2px solid var(--cv2-black);
  }
}

@media (max-width: 820px) {
  .contact-v2-hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.7)),
      url("/assets/img/hero/hero-contact.webp") var(--hero-position, 50% 50%) / cover no-repeat;
  }
}

@media (max-width: 700px) {
  .contact-v2-hero__grid {
    padding-block: 64px;
  }

  

  .contact-v2-hero__actions,
  .contact-v2-btn {
    width: 100%;
  }

  .contact-v2-section {
    padding-block: 46px 70px;
  }

  

  .contact-v2-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-v2-form-card,
  .contact-v2-industries-media,
  .contact-v2-industries-carousel .industries-carousel__viewport,
  .contact-v2-coverage-grid,
  .contact-v2-email-card {
    border-radius: 24px;
  }

  .contact-v2-industries-media {
    height: 520px;
  }

  .contact-v2-industries-carousel {
    height: 100%;
  }

  .contact-v2-industries-carousel .industry-card {
    flex-basis: 100%;
    border-radius: 24px;
  }

  .contact-v2-industries-carousel .industry-card__content {
    padding: 20px 18px;
  }

  .contact-v2-cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-v2-email-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-v2-email-card__action {
    width: 100%;
    min-height: 74px;
  }
}

@media (max-width: 500px) {
  .contact-v2-form-card,
  .contact-v2-coverage,
  .contact-v2-map-panel {
    padding: 22px;
  }

  .contact-v2-industries-media {
    height: 430px;
  }

  .contact-v2-industries-carousel {
    height: 100%;
  }

  .contact-v2-map-panel {
    min-height: 380px;
  }

  .contact-v2-map-label {
    font-size: 0.9rem;
  }

  .contact-v2-cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-v2-email-card {
    padding: 14px;
  }

  .contact-v2-email-card__content {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-v2-industries-carousel .industries-carousel__track,
  .contact-v2-industries-carousel .industry-card img,
  .contact-v2-email-card__action,
  .contact-v2-cities article,
  .contact-v2-cities article::before,
  .contact-v2-cities article::after,
  .contact-v2-cities span,
  .contact-v2-cities small {
    transition: none;
  }

  .contact-v2-cities article:hover,
  .contact-v2-cities article:active,
  .contact-v2-cities article:hover span,
  .contact-v2-cities article:hover small {
    transform: none;
  }

  .contact-v2-cities article::after {
    display: none;
  }
}

/* =========================================================
   BLOG GENERAL - MENÚ LATERAL ESTILO CONTACT-V2-SIDE
   Buscador + categorías funcionales con /assets/js/blog-sidebar.js
   ========================================================= */

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: clamp(24px, 3vw, 38px);
  align-items: start;
}

.blog-main {
  min-width: 0;
}

.blog-results-count {
  margin: -26px 0 10px;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.98rem;
  line-height: 1.2;
}

.blog-card.is-hidden,
.blog-sidebar__popular-item.is-hidden {
  display: none !important;
}

.blog-no-results {
  margin: 0;
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1.18rem;
  text-align: center;
}

.blog-sidebar {
  position: sticky;
  top: 170px;
  display: grid;
  gap: 18px;
  min-width: 0;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(255, 242, 0, 0.22), transparent 34%),
    linear-gradient(180deg, #151515, #000000);
  color: var(--color-white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  isolation: isolate;
}

.blog-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.055) 0,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px,
      transparent 18px
    );
  pointer-events: none;
}

.blog-sidebar > * {
  position: relative;
  z-index: 1;
}

.blog-sidebar__search {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  overflow: hidden;
  border: 1px solid rgba(255, 242, 0, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
  backdrop-filter: blur(2px);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.blog-sidebar__search:hover,
.blog-sidebar__search:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 242, 0, 0.48);
  background: rgba(255, 255, 255, 0.11);
}

.blog-sidebar__search input {
  min-width: 0;
  width: 100%;
  border: 0;
  padding: 0 18px;
  background: transparent;
  color: var(--color-white);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 1rem;
  outline: none;
}

.blog-sidebar__search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.blog-sidebar__search button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--color-yellow);
  cursor: pointer;
  transition: color 0.25s ease;
}

.blog-sidebar__search button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 50%;
  transform: translate(-60%, -60%);
}

.blog-sidebar__search button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(12%, 78%) rotate(45deg);
  transform-origin: left center;
}

.blog-sidebar__search button:hover,
.blog-sidebar__search button:focus-visible {
  color: var(--color-white);
}

.blog-sidebar__box {
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(255, 242, 0, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
  backdrop-filter: blur(2px);
}


.blog-sidebar__box h2 {
  margin: 0 0 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-white);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.35rem;
  font-weight: 900 !important;
  line-height: 1.05;
  letter-spacing: 0;
}


.blog-sidebar__popular-list,
.blog-sidebar__category-list {
  display: grid;
  gap: 10px;
}

.blog-sidebar__popular-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 242, 0, 0.14);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--color-white);
  box-shadow: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.blog-sidebar__popular-item:hover {
  transform: translateX(3px);
  border-color: rgba(255, 242, 0, 0.5);
  background: rgba(255, 255, 255, 0.09);
}

.blog-sidebar__popular-item img {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 242, 0, 0.22);
  border-radius: 14px;
  object-fit: cover;
}

.blog-sidebar__popular-item span {
  color: rgba(255, 255, 255, 0.82);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.96rem;
  line-height: 1.28;
}

.blog-sidebar__category {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 242, 0, 0.14);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.82);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 1rem;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.blog-sidebar__category::before {
  content: "›";
  color: var(--color-yellow);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.blog-sidebar__category:hover,
.blog-sidebar__category:focus-visible,
.blog-sidebar__category.is-active {
  transform: translateX(3px);
  border-color: rgba(255, 242, 0, 0.5);
  background: rgba(255, 255, 255, 0.09);
  color: var(--color-white);
  outline: none;
}

.blog-sidebar__category.is-active {
  font-family: "Futura PT Demi", var(--font-main);
  font-weight: 900;
  color: var(--color-yellow);
}

.blog-sidebar__empty {
  margin: 8px 0 0;
  padding: 12px;
  border: 1px solid rgba(255, 242, 0, 0.14);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.78);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.95rem;
  text-align: center;
}

.blog-sidebar__categories-toggle {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .blog-sidebar__categories-toggle::after {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 330px);
  }

  .blog-sidebar {
    padding: 24px;
  }

  .blog-sidebar__popular-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
  }

  .blog-sidebar__popular-item img {
    width: 56px;
    height: 56px;
  }

  .blog-sidebar__popular-item span,
  .blog-sidebar__category {
    font-size: 0.94rem;
  }
}

@media (max-width: 980px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
    width: min(100%, 520px);
    margin-inline: auto;
  }
}

@media (max-width: 700px) {
  /* The static sidebar must not paint its pattern over .blog-hero-list. */
  .blog-sidebar::before {
    content: none;
  }

  .blog-sidebar__box.blog-sidebar__categories {
    width: 100%;
    min-width: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 14px;
    background:
      repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.055) 0,
        rgba(255, 255, 255, 0.055) 1px,
        transparent 1px,
        transparent 18px
      ),
      linear-gradient(180deg, #151515, #000);
  }

  .blog-sidebar__categories > h2 {
    display: none;
  }

  .blog-sidebar__categories-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 242, 0, 0.28);
    border-radius: 14px;
    background: transparent;
    color: var(--color-white);
    font-family: "Futura PT Demi", var(--font-main);
    font-size: 1rem;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
  }

  .blog-sidebar__categories-toggle::after {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-yellow);
    border-bottom: 2px solid var(--color-yellow);
    transform: rotate(45deg);
    transition: transform 200ms ease;
    pointer-events: none;
  }

  .blog-sidebar__categories-toggle[aria-expanded="true"]::after {
    transform: rotate(225deg);
  }

  .blog-sidebar__categories-toggle:focus-visible,
  .blog-sidebar__categories .blog-sidebar__category:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: 2px;
  }

  .blog-sidebar__categories-toggle[aria-expanded="false"] + .blog-sidebar__category-list {
    display: none;
  }

  .blog-sidebar__categories .blog-sidebar__category-list {
    gap: 6px;
    padding: 8px;
  }

  .blog-sidebar__categories .blog-sidebar__category {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 12px;
    transform: none;
  }

  .blog-sidebar {
    width: 100%;
    gap: 16px;
    padding: 22px;
    border-radius: 30px;
  }

  .blog-sidebar__box {
    padding: 18px;
    border-radius: 22px;
  }

  .blog-results-count {
    margin-top: -8px;
  }
}

@media (max-width: 460px) {
  .blog-sidebar {
    padding: 18px;
    border-radius: 28px;
  }

  .blog-sidebar__search {
    min-height: 50px;
    grid-template-columns: minmax(0, 1fr) 46px;
    border-radius: 20px;
  }

  .blog-sidebar__search input {
    padding-inline: 14px;
    font-size: 0.92rem;
  }

  .blog-sidebar__box h2 {
    font-size: 1.18rem;
  }

  .blog-sidebar__popular-item {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 9px;
    border-radius: 16px;
  }

  .blog-sidebar__popular-item img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .blog-sidebar__popular-item span {
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .blog-sidebar__category {
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 16px;
    font-size: 0.93rem;
  }
}


/* =========================================================
   PÁGINA: EXPERIENCIA DE OBRA CIVIL POR SECTOR
   Archivo sugerido: /assets/css/styles.css (agregar al final)
   Prefijo de componentes: ocs-
   ========================================================= */

.ocs-page {
  overflow: clip;
  background: #f4f4f4;
  color: var(--color-black);
}

.ocs-page section[id] {
  scroll-margin-top: 236px;
}

.ocs-hero {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 82% 50%;
  --hero-position-mobile: 100% 50%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--color-white);
  background:
    linear-gradient(
      0deg,
      rgba(5, 5, 5, 0.5) 0%,
      rgba(5, 5, 5, 0.6) 48%,
      rgba(0, 0, 0, 0.20) 100%
    ),
    url("../img/servicios/obra-civil/hero-obra-civil.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.ocs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 242, 0, 0.18), transparent 0%),
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.ocs-hero__content {
  padding-block: clamp(74px, 9vw, 126px);
}

.ocs-hero .oc-breadcrumb {
  margin-bottom: 34px;
}

.ocs-hero .eyebrow {
  margin: 0 0 12px;
  color: var(--color-white);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ocs-hero h1 {
  max-width: 900px;
  margin: 0 0 22px;
  color: var(--color-white);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.ocs-hero p:not(.eyebrow) {
  max-width: 790px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

.ocs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 30px;
}

.ocs-hero__actions .btn {
  min-width: min(100%, 270px);
  min-height: 54px;
  font-weight: 900;
}

.ocs-sector-nav {
  position: sticky;
  top: 150px;
  z-index: 70;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: #000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  padding: 10px 0;
}

.ocs-sector-nav__track {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: thin;
  gap: 6px;
}

.ocs-sector-nav a {
  position: relative;
  flex: 1 0 auto;
  min-width: 150px;
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 22px;
  background-color: transparent;
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  transition:
    color 0.22s ease,
    background-color 0.22s ease;
}

.ocs-sector-nav a::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 5px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.ocs-sector-nav a:hover,
.ocs-sector-nav a.is-active {
  color: var(--color-white);
  background-color: rgba(255, 242, 0, 0.16);
}

.ocs-sector-nav a.is-active::after {
  transform: scaleX(1);
  border-radius: 22px;
}

.ocs-overview {
  padding: clamp(64px, 8vw, 110px) 0;
  background: #f4f4f4;
}

.ocs-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.ocs-overview__content h2 {
  margin: 8px 0 20px;
  color: var(--color-black);
  line-height: 1.05;
}

.ocs-overview__content > p:not(.eyebrow) {
  margin: 0;
  color: rgba(0, 0, 0, 0.76);
  line-height: 1.55;
  text-align: justify;
}

.ocs-overview__principles {
  display: grid;
  gap: 14px;
}

.ocs-overview__principles article {
  --ocs-principle-card-background: var(--color-white);
  --ocs-principle-card-border: rgba(0, 0, 0, 0.08);
  --ocs-principle-card-title: var(--color-black);
  --ocs-principle-card-text: rgba(0, 0, 0, 0.68);
  --ocs-principle-number-background: var(--color-black);
  --ocs-principle-number-color: var(--color-orange);
  --ocs-principle-card-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);

  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 4px 20px;
  align-items: center;
  overflow: hidden;
  padding: 22px 24px;
  border: 3px solid var(--ocs-principle-card-border);
  border-radius: 22px;
  background: var(--ocs-principle-card-background);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.38s ease,
    border-color 0.38s ease,
    box-shadow 0.38s ease;
}

.ocs-overview__principles article:nth-child(odd) {
  --ocs-principle-card-background: var(--color-black);
  --ocs-principle-card-border: var(--color-orange);
  --ocs-principle-card-title: var(--color-white);
  --ocs-principle-card-text: rgba(255, 255, 255, 0.82);
  --ocs-principle-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --ocs-principle-number-color: var(--color-black);
  --ocs-principle-card-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.ocs-overview__principles article:nth-child(even) {
  --ocs-principle-card-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --ocs-principle-card-border: var(--color-yellow);
  --ocs-principle-card-title: var(--color-black);
  --ocs-principle-card-text: rgba(0, 0, 0, 0.76);
  --ocs-principle-number-background: var(--color-black);
  --ocs-principle-number-color: var(--color-yellow);
  --ocs-principle-card-hover-shadow: 0 14px 28px rgba(245, 164, 0, 0.14);
}

.ocs-overview__principles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--ocs-principle-card-hover-shadow);
}

.ocs-overview__principles span {
  grid-row: 1 / 3;
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ocs-principle-number-background);
  color: var(--ocs-principle-number-color);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.ocs-overview__principles h3 {
  margin: 0;
  color: var(--ocs-principle-card-title);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.ocs-overview__principles p {
  margin: 4px 0 0;
  color: var(--ocs-principle-card-text);
  font-size: 18px;
  line-height: 1.42;
  text-align: justify;
}

.ocs-sectors {
  background: #f1f1ef;
}

/* Fotografías compartidas por sector.
   Se reutilizan en todas las páginas de servicios que conservan la estructura ocs-. */
#industria {
  --sector-image: url("../img/industrias/industria.webp");
  --sector-position: center 48%;
  --sector-index: "01";
}

#hoteleria {
  --sector-image: url("../img/industrias/hoteleria.webp");
  --sector-position: center 46%;
  --sector-index: "02";
}

#instituciones {
  --sector-image: url("../img/industrias/instituciones.webp");
  --sector-position: center 46%;
  --sector-index: "03";
}

#escuelas {
  --sector-image: url("../img/industrias/escuelas.webp");
  --sector-position: center 44%;
  --sector-index: "04";
}

#hospitales {
  --sector-image: url("../img/industrias/hospitales.webp");
  --sector-position: center 46%;
  --sector-index: "05";
}

#otros-sectores {
  --sector-image: url("../img/industrias/otros-sectores.webp");
  --sector-position: center 48%;
  --sector-index: "06";
}

.ocs-sector-detail {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(76px, 7vw, 108px) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.065);
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 242, 0, 0.075), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
}

.ocs-sector-detail:nth-child(even) {
  background:
    radial-gradient(circle at 92% 14%, rgba(245, 164, 0, 0.09), transparent 24%),
    linear-gradient(180deg, #f0f0ee 0%, #f6f6f4 100%);
}

/* Número editorial de gran formato para dar ritmo entre sectores. */
.ocs-sector-detail::after {
  content: var(--sector-index, "");
  position: absolute;
  z-index: -1;
  top: 50%;
  right: max(18px, calc((100vw - var(--container)) / 2));
  color: rgba(0, 0, 0, 0.028);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: clamp(10rem, 17vw, 17rem);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: -0.08em;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.ocs-sector-detail:nth-child(even)::after {
  right: auto;
  left: max(18px, calc((100vw - var(--container)) / 2));
}

.ocs-sector-detail__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(46px, 7vw, 92px);
  align-items: center;
}

/* En secciones invertidas el contenido conserva el ancho principal
   y la fotografía mantiene la misma proporción visual. */
.ocs-sector-detail--reverse .ocs-sector-detail__grid {
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
}

.ocs-sector-detail--reverse .ocs-sector-detail__visual {
  order: 2;
}

.ocs-sector-detail--reverse .ocs-sector-detail__content {
  order: 1;
}

/* Tarjeta fotográfica del sector. El HTML existente se conserva:
   el SVG funciona como marca de agua y el strong como título superpuesto. */
.ocs-sector-detail__visual {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 44vw, 650px);
  aspect-ratio: 4 / 5.65;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 30px;
  background-color: #171717;
  background-image: var(--sector-image);
  background-position: var(--sector-position, center);
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--color-white);
  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.08);
  isolation: isolate;
  transition:
    transform 0.42s cubic-bezier(0.2, 0.75, 0.2, 1),
    box-shadow 0.42s ease;
}

.ocs-sector-detail__visual:hover {
  transform: translateY(-6px);
  box-shadow:
    0 36px 72px rgba(0, 0, 0, 0.24),
    0 12px 24px rgba(0, 0, 0, 0.10);
}

/* Degradado inferior para integrar el título con la fotografía. */
.ocs-sector-detail__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  border: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.04) 38%,
    rgba(0, 0, 0, 0.30) 64%,
    rgba(0, 0, 0, 0.94) 100%
  );
  transform: none;
  pointer-events: none;
}

/* Baño cálido sutil CORMAGO, sin alterar la lectura natural de la foto. */
.ocs-sector-detail__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  border: 0;
  background:
    linear-gradient(115deg, rgba(245, 164, 0, 0.19) 0%, rgba(245, 164, 0, 0.055) 34%, transparent 58%),
    linear-gradient(180deg, rgba(255, 242, 0, 0.035), transparent 34%);
  transform: none;
  pointer-events: none;
}

/* Icono existente convertido en marca de agua. */
.ocs-sector-detail__visual img {
  position: absolute;
  z-index: 2;
  top: clamp(28px, 3vw, 40px);
  left: clamp(28px, 3vw, 40px);
  width: clamp(104px, 10vw, 148px);
  height: clamp(104px, 10vw, 148px);
  object-fit: contain;
  opacity: 0.26;
  filter: brightness(0) invert(1);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.42s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.ocs-sector-detail__visual:hover img {
  opacity: 0.34;
  transform: translateY(-2px) scale(1.03);
}

.ocs-sector-detail__visual strong {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 3vw, 42px);
  bottom: clamp(32px, 4vw, 50px);
  left: clamp(24px, 3vw, 42px);
  margin: 0;
  color: var(--color-white);
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 42%, #ffd867 72%, #f5a400 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: clamp(2rem, 3.1vw, 2.85rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.42));
}

.ocs-sector-detail__number {
  position: absolute;
  z-index: 3;
  top: clamp(24px, 2.5vw, 34px);
  right: clamp(24px, 2.5vw, 34px);
  left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 38px;
  padding: 7px 11px 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  color: var(--color-yellow);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ocs-sector-detail__content {
  min-width: 0;
  padding-block: 12px;
}

.ocs-sector-detail__content .eyebrow {
  width: fit-content;
  margin: 0;
  padding: 7px 11px 6px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.78);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ocs-sector-detail__content h2 {
  margin: 15px 0 16px;
  color: var(--color-black);
  line-height: 0.99;
  letter-spacing: -0.025em;
}

.ocs-sector-detail__content > p:not(.eyebrow) {
  
  margin: 0;
  color: rgba(0, 0, 0, 0.68);
  line-height: 1.46;
  text-align: justify;
}

.ocs-sector-detail__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 28px;
  padding: 0;
  list-style: none;
}

/* Especificaciones técnicas con alternancia de identidad CORMAGO:
   negro / degradado naranja-amarillo. */
.ocs-sector-detail__list li {
  --ocs-detail-card-background: var(--color-black);
  --ocs-detail-card-border: var(--color-orange);
  --ocs-detail-card-text: rgba(255, 255, 255, 0.88);
  --ocs-detail-card-hover-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);

  position: relative;
  min-height: 98px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 18px 18px 18px 50px;
  border: 2px solid var(--ocs-detail-card-border);
  border-radius: 15px;
  background: var(--ocs-detail-card-background);
  color: var(--ocs-detail-card-text);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 17px;
  line-height: 1.4;
  text-align: justify;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.075);
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    filter 0.32s ease;
}

.ocs-sector-detail__list li:nth-child(odd) {
  --ocs-detail-card-background: var(--color-black);
  --ocs-detail-card-border: var(--color-orange);
  --ocs-detail-card-text: rgba(255, 255, 255, 0.88);
  --ocs-detail-card-hover-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.ocs-sector-detail__list li:nth-child(even) {
  --ocs-detail-card-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --ocs-detail-card-border: var(--color-yellow);
  --ocs-detail-card-text: rgba(0, 0, 0, 0.80);
  --ocs-detail-card-hover-shadow: 0 16px 30px rgba(245, 164, 0, 0.16);
}

.ocs-sector-detail__list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--ocs-detail-card-hover-shadow);
  filter: brightness(1.025);
}

.ocs-sector-detail__list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
  box-shadow: 0 0 0 6px rgba(245, 164, 0, 0.10);
  transform: translateY(-50%);
}

.ocs-sector-detail__list li:nth-child(even)::before {
  background: var(--color-black);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.08);
}

.ocs-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 46px;
  padding: 11px 18px 10px;
  border: 1px solid var(--color-black);
  border-radius: 999px;
  background: var(--color-black);
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.11);
  transition:
    gap 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.ocs-text-link span {
  color: var(--color-yellow);
  font-size: 1.08em;
  transition: transform 0.25s ease, color 0.25s ease;
}

.ocs-text-link:hover {
  gap: 16px;
  transform: translateY(-2px);
  border-color: var(--color-yellow);
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  color: var(--color-black);
  box-shadow: 0 12px 24px rgba(245, 164, 0, 0.18);
}

.ocs-text-link:hover span {
  color: var(--color-black);
  transform: translateX(2px);
}

.ocs-other {
  padding: clamp(72px, 9vw, 122px) 0;
  background: var(--color-black);
  color: var(--color-white);
}

.ocs-other__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.7fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: end;
  margin-bottom: 38px;
}

.ocs-other .eyebrow {
  margin: 0 0 8px;
  color: var(--color-yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.ocs-other h2 {
  max-width: 760px;
  margin: 0;
  color: var(--color-white);
  line-height: 1.04;
}

.ocs-other__header > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: justify;
}

.ocs-other__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ocs-other__grid article {
  min-height: 250px;
  padding: 30px;
  border: 2px solid rgba(255, 242, 0, 0.78);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 242, 0, 0.08), transparent 58%),
    #111;
  transition: transform 0.24s ease, background 0.24s ease;
}

.ocs-other__grid article:hover {
  transform: translateY(-5px);
  background:
    linear-gradient(145deg, rgba(255, 242, 0, 0.16), transparent 62%),
    #151515;
}

.ocs-other__grid span {
  display: block;
  margin-bottom: 54px;
  color: var(--color-yellow);
  font-family: "Futura PT Heavy", var(--font-main);
  font-weight: 900;
}

.ocs-other__grid h3 {
  margin: 0 0 12px;
  color: var(--color-white);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.35rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.ocs-other__grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.4;
}

.ocs-method {
  padding: clamp(72px, 9vw, 118px) 0;
  background: #f4f4f4;
}

.ocs-method h2 {
  max-width: 760px;
  margin: 8px 0 34px;
  color: var(--color-black);
  line-height: 1.04;
}

.ocs-method__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.ocs-method__steps li {
  position: relative;
  min-width: 0;
  min-height: 235px;
  display: block;
  overflow: hidden;
  padding: 24px 22px 22px;
  border: 3px solid var(--ocs-method-card-border);
  border-radius: 22px;
  background: var(--ocs-method-card-background);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.38s ease,
    border-color 0.38s ease,
    box-shadow 0.38s ease;
}

.ocs-method__steps li:nth-child(odd) {
  --ocs-method-card-background: var(--color-black);
  --ocs-method-card-border: var(--color-orange);
  --ocs-method-card-title: var(--color-white);
  --ocs-method-card-text: rgba(255, 255, 255, 0.82);
  --ocs-method-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --ocs-method-number-color: var(--color-black);
  --ocs-method-card-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.ocs-method__steps li:nth-child(even) {
  --ocs-method-card-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --ocs-method-card-border: var(--color-yellow);
  --ocs-method-card-title: var(--color-black);
  --ocs-method-card-text: rgba(0, 0, 0, 0.76);
  --ocs-method-number-background: var(--color-black);
  --ocs-method-number-color: var(--color-yellow);
  --ocs-method-card-hover-shadow: 0 14px 28px rgba(245, 164, 0, 0.14);
}

.ocs-method__steps li:hover {
  transform: translateY(-4px);
  box-shadow: var(--ocs-method-card-hover-shadow);
}

.ocs-method__steps li > span {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ocs-method-number-background);
  color: var(--ocs-method-number-color);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.ocs-method__steps h3 {
  margin: 0 0 10px;
  color: var(--ocs-method-card-title);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.ocs-method__steps p {
  margin: 0;
  color: var(--ocs-method-card-text);
  font-size: 18px;
  line-height: 1.42;
  text-align: justify;
}

.ocs-cta {
  padding: 0 0 clamp(72px, 9vw, 120px);
  background: #f4f4f4;
}

.ocs-cta__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 6vw, 70px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 242, 0, 0.2), transparent 24%),
    var(--color-black);
  color: var(--color-white);
}

.ocs-cta .eyebrow {
  margin: 0 0 10px;
  color: var(--color-yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.ocs-cta h2 {
  max-width: 820px;
  margin: 0;
  color: var(--color-white);
  line-height: 1.02;
}

.ocs-cta p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.ocs-cta__actions {
  display: grid;
  gap: 14px;
  min-width: 265px;
}

.ocs-cta__actions .btn {
  width: 100%;
  min-height: 54px;
  white-space: nowrap;
}

.ocs-page a:focus-visible,
.ocs-page button:focus-visible {
  outline: 3px solid #0099ff;
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .ocs-sector-nav {
    top: 138px;
  }

  .ocs-overview__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ocs-sector-detail__grid {
    grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
    gap: 44px;
  }

  .ocs-sector-detail--reverse .ocs-sector-detail__grid {
    grid-template-columns: minmax(0, 1.22fr) minmax(310px, 0.78fr);
  }

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

@media (max-width: 980px) {
  .ocs-page section[id] {
    scroll-margin-top: 190px;
  }

  .ocs-sector-nav {
    top: 104px;
  }

  .ocs-overview__grid,
  .ocs-sector-detail__grid,
  .ocs-other__header,
  .ocs-cta__card {
    grid-template-columns: 1fr;
  }

  .ocs-overview__principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ocs-overview__principles article {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .ocs-overview__principles span {
    grid-row: auto;
    margin-bottom: 18px;
  }

  .ocs-sector-detail__visual {
    min-height: 400px;
    aspect-ratio: 16 / 10;
  }

  .ocs-sector-detail--reverse .ocs-sector-detail__grid {
    grid-template-columns: 1fr;
  }

  .ocs-sector-detail--reverse .ocs-sector-detail__visual,
  .ocs-sector-detail--reverse .ocs-sector-detail__content {
    order: initial;
  }

  .ocs-other__grid {
    grid-template-columns: 1fr;
  }

  .ocs-other__grid article {
    min-height: 210px;
  }

  .ocs-other__grid span {
    margin-bottom: 38px;
  }

  .ocs-cta__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .ocs-page section[id] {
    scroll-margin-top: 174px;
  }

  .ocs-hero {
    align-items: flex-end;
  }

  .ocs-sector-nav a {
    min-width: 132px;
    min-height: 60px;
    padding-inline: 14px;
    font-size: 0.9rem;
  }

  .ocs-overview__principles,
  .ocs-sector-detail__list,
  .ocs-cta__actions {
    grid-template-columns: 1fr;
  }

  .ocs-overview__principles article {
    grid-template-columns: 58px 1fr;
  }

  .ocs-overview__principles span {
    grid-row: 1 / 3;
    margin: 0;
  }

  .ocs-sector-detail__visual {
    min-height: 330px;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
  }

  .ocs-sector-detail__visual img {
    top: 24px;
    left: 24px;
    width: 92px;
    height: 92px;
  }

  .ocs-sector-detail__visual strong {
    right: 24px;
    bottom: 30px;
    left: 24px;
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

  .ocs-sector-detail__number {
    top: 22px;
    right: 22px;
  }

  .ocs-sector-detail__list li {
    min-height: auto;
  }

  /* Contrato mobile compartido para los métodos por sector. */
  .ocs-method__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ocs-method__steps li {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    min-height: auto;
    overflow: visible;
    padding: 18px 14px;
  }

  .ocs-method__steps li > *,
  .ocs-method__steps h3,
  .ocs-method__steps p {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .ocs-method__steps li > span {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    font-size: 1.18rem;
  }

  .ocs-method__steps h3 {
    font-size: 19px;
    line-height: 1.15;
  }

  .ocs-method__steps p {
    font-size: 16.2px;
    line-height: 1.45;
  }
}

@media (max-width: 640px) {
  .ocs-sector-nav {
    top: 96px;
  }

  .ocs-hero__actions,
  .ocs-hero__actions .btn {
    width: 100%;
  }

  .ocs-hero__actions{
    display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ocs-overview,
  .ocs-sector-detail,
  .ocs-other,
  .ocs-method {
    padding-block: 62px;
  }

  .ocs-overview__principles article {
    padding: 18px;
  }

  .ocs-sector-detail__grid {
    gap: 32px;
  }

  .ocs-sector-detail__visual {
    min-height: 310px;
    padding: 0;
  }

  .ocs-sector-detail__content {
    padding-block: 0;
  }

  .ocs-other__grid article {
    padding: 24px;
  }

  .ocs-method__steps li {
    border-radius: 18px;
  }

  .ocs-cta__card {
    border-radius: 24px;
    padding: 30px 22px;
  }
}

@media (max-width: 420px) {
 

  .ocs-hero h1 {
    font-size: 30px;
  }

  .ocs-overview__principles article {
    grid-template-columns: 54px 1fr;
    gap: 4px 14px;
  }

  .ocs-overview__principles span {
    width: 46px;
    height: 46px;
  }

  .ocs-sector-detail__visual {
    min-height: 275px;
    border-radius: 20px;
  }

  .ocs-sector-detail__visual img {
    top: 20px;
    left: 20px;
    width: 72px;
    height: 72px;
  }

  .ocs-sector-detail__visual strong {
    right: 18px;
    bottom: 24px;
    left: 18px;
    font-size: 1.82rem;
  }

  .ocs-sector-detail__number {
    top: 18px;
    right: 18px;
    min-width: 44px;
    min-height: 34px;
    font-size: 0.78rem;
  }

  .ocs-other__grid article {
    min-height: auto;
  }

  .ocs-method__steps p {
    font-size: 14.5px;
  }

  .ocs-sector-detail__list li {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ocs-sector-nav a,
  .ocs-sector-nav a::after,
  .ocs-overview__principles article,
  .ocs-other__grid article,
  .ocs-method__steps li,
  .ocs-sector-detail__list li,
  .ocs-sector-detail__visual,
  .ocs-sector-detail__visual img,
  .ocs-text-link,
  .ocs-text-link span {
    scroll-behavior: auto;
    transition: none;
  }
}

/* =========================================================
   PÁGINA: SEGURIDAD PRIVADA POR SECTOR
   Ruta: /pages/servicios/sectores-seguridad-privada.html
   Reutiliza la estructura responsive ocs- con el modificador sps-
   ========================================================= */

.sps-page .sps-hero {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 64% 50%;
  --hero-position-mobile: 76% 50%;
  background:
    linear-gradient(
      0deg,
      rgba(5, 5, 5, 0.93) 0%,
      rgba(5, 5, 5, 0.72) 50%,
      rgba(5, 5, 5, 0.2) 100%
    ),
    url("../img/servicios/seguridad-privada/hero-seguridad-privada.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.sps-page .sps-hero::before {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 242, 0, 0.2), transparent 30%),
    linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, 0.78));
}

.sps-page .ocs-sector-detail__visual {
  border-color: rgba(0, 0, 0, 0.55);
}

.sps-page .ocs-sector-detail__list li::before {
  border-radius: 50%;
  background: var(--color-black);
  box-shadow: inset 0 0 0 6px var(--color-yellow);
}

.sps-page a:focus-visible,
.sps-page button:focus-visible {
  outline-color: var(--color-yellow);
}





/* =========================================================
   PÁGINA: LIMPIEZA INDUSTRIAL POR SECTOR
   Ruta: /pages/servicios/sectores-limpieza-industrial.html
   Reutiliza la estructura responsive ocs- con el modificador lis-
   ========================================================= */

.lis-page .lis-hero {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 35% 50%;
  --hero-position-mobile: 20% 50%;
  background:
    linear-gradient(
      0deg,
      rgba(5, 5, 5, 0.94) 0%,
      rgba(5, 5, 5, 0.70) 50%,
      rgba(0, 126, 140, 0.20) 100%
    ),
    url("../img/servicios/limpieza-industrial/hero-limpieza-industrial.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.lis-page .lis-hero::before {
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 166, 166, 0.22), transparent 30%),
    linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, 0.82));
}

.lis-page .ocs-sector-detail__visual {
  border-color: rgba(8, 127, 140, 0.58);
}

.lis-page .ocs-sector-detail__list li::before {
  border-radius: 50%;
  background: #000;
  box-shadow: inset 0 0 0 6px var(--color-yellow);
}

.lis-page a:focus-visible,
.lis-page button:focus-visible {
  outline-color: var(--color-yellow);
}



/* =========================================================
   PÁGINA: RESIDUOS DE MANEJO ESPECIAL POR SECTOR
   Ruta: /pages/servicios/sectores-residuos-manejo-especial.html
   Reutiliza la estructura responsive ocs- con el modificador rms-
   ========================================================= */

.rms-page .rms-hero {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 64% 50%;
  --hero-position-mobile: 76% 50%;
  background:
    linear-gradient(
      0deg,
      rgba(5, 5, 5, 0.93) 0%,
      rgba(5, 5, 5, 0.72) 50%,
      rgba(0, 0, 0, 0.24) 100%
    ),
    url("../img/servicios/residuos-manejo-especial/hero-residuos-manejo-especial.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.rms-page .rms-hero::before {
  background:
    radial-gradient(circle at 84% 18%, rgba(10, 147, 150, 0.24), transparent 30%),
    linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, 0.8));
}

.rms-page .ocs-sector-detail__visual {
  border-color: rgba(0, 95, 115, 0.58);
}

.rms-page .ocs-sector-detail__list li::before {
  border-radius: 50%;
  background: #005f73;
  box-shadow: inset 0 0 0 6px var(--color-yellow);
}

.rms-page a:focus-visible,
.rms-page button:focus-visible {
  outline-color: var(--color-yellow);
}



/* =========================================================
   CORMAGO — TÉRMINOS Y CONDICIONES
   Hoja complementaria. Cargar después de /assets/css/styles.css
   ========================================================= */

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 78px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 242, 0, 0.22), transparent 28%),
    linear-gradient(120deg, #050505 0%, #171717 62%, #2a2100 100%);
  color: var(--color-white);
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
}

.legal-hero__content {
  position: relative;
  z-index: 1;
}

.legal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 16px;
}

.legal-breadcrumb a {
  color: var(--color-yellow);
  font-family: "Futura PT Demi", var(--font-main);
}

.legal-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-hero .eyebrow {
  margin: 0 0 10px;
  color: var(--color-yellow);
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.025em;
}

.legal-hero__summary {
  max-width: 820px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  line-height: 1.5;
}

.legal-update {
  width: fit-content;
  margin: 26px 0 0;
  padding: 9px 14px;
  border: 1px solid rgba(255, 242, 0, 0.45);
  border-radius: 8px;
  background: rgba(255, 242, 0, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.legal-page {
  padding: 82px 0 96px;
  background: #f5f5f5;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(230px, 285px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 32px);
  align-items: start;
}

.legal-index {
  position: sticky;
  top: 178px;
  padding: 24px 22px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-top: 5px solid var(--color-orange);
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.legal-index__title {
  margin: 0 0 14px;
  color: var(--color-black);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 21px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-index ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 24px;
}

.legal-index li {
  color: rgba(0, 0, 0, 0.48);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 15px;
}

.legal-index a {
  display: block;
  padding: 6px 4px;
  color: rgba(0, 0, 0, 0.76);
  line-height: 1.22;
  transition: color 0.2s ease, transform 0.2s ease;
}

.legal-index a:hover,
.legal-index a:focus-visible {
  color: var(--color-orange);
  transform: translateX(3px);
}

.legal-document {
  min-width: 0;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.legal-notice {
  margin-bottom: 38px;
  padding: 20px 22px;
  border-left: 6px solid var(--color-orange);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(255, 242, 0, 0.18), rgba(245, 164, 0, 0.08));
  color: var(--color-black);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 18px;
  line-height: 1.5;
  text-align: justify;
}

.legal-clause {
  scroll-margin-top: 180px;
}

.legal-clause + .legal-clause {
  margin-top: 38px;
  padding-top: 38px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-clause h2 {
  margin: 0 0 16px;
  color: var(--color-black);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.legal-clause p,
.legal-clause li {
  color: rgba(0, 0, 0, 0.78);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 19px;
  line-height: 1.65;
}

.legal-clause p {
  margin: 0;
  text-align: justify;
}

.legal-clause p + p {
  margin-top: 14px;
}

.legal-clause ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 24px;
}

.legal-clause li::marker {
  color: var(--color-orange);
}

.legal-clause a {
  color: #9a5b00;
  font-family: "Futura PT Demi", var(--font-main);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(154, 91, 0, 0.4);
  text-underline-offset: 4px;
}

.legal-clause a:hover {
  color: var(--color-black);
  text-decoration-color: var(--color-orange);
}

@media (max-width: 980px) {
  .legal-hero {
    padding: 62px 0 66px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-index {
    position: static;
  }

  .legal-index ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
  }

  .legal-clause {
    scroll-margin-top: 124px;
  }
}

@media (max-width: 640px) {
  .legal-hero {
    padding: 44px 0 52px;
  }

  .legal-breadcrumb {
    margin-bottom: 22px;
  }

  .legal-hero h1 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .legal-hero__summary {
    font-size: 19px;
  }

  .legal-update {
    font-size: 14px;
  }

  .legal-page {
    padding: 52px 0 64px;
  }

  .legal-index {
    padding: 20px 18px;
  }

  .legal-index ol {
    grid-template-columns: 1fr;
  }

  .legal-document {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .legal-notice {
    margin-bottom: 30px;
    padding: 17px 18px;
    font-size: 17px;
  }

  .legal-clause + .legal-clause {
    margin-top: 30px;
    padding-top: 30px;
  }

  .legal-clause h2 {
    font-size: 27px;
  }

  .legal-clause p,
  .legal-clause li {
    font-size: 17px;
    line-height: 1.58;
  }
}

/* =========================================================
   PÁGINA: Experiencia M.I.P. por plaga y sector
   Ruta sugerida: /pages/servicios/experiencia-mip.html
   ========================================================= */

.mips-page {
  background: #f4f4f4;
  color: var(--color-black);
}

.mips-page section[id],
.mips-page .mips-group-heading[id] {
  scroll-margin-top: 226px;
}

.mips-hero {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 70% 50%;
  --hero-position-mobile: 82% 50%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--color-white);
  background:
    linear-gradient(
      0deg,
      rgba(5, 5, 5, 0.9) 0%,
      rgba(5, 5, 5, 0.7) 48%,
      rgba(0, 0, 0, 0.20) 100%
    ),
    url("../img/servicios/manejo-integrado-plagas-hero.webp") var(--hero-position, 50% 50%) / cover no-repeat;
}

.mips-hero:not(.mips-hero--natural) {
  min-height: 520px;
}

.mips-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 242, 0, 0.18), transparent 0%),
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}



.mips-hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(78px, 10vw, 126px);
}

.mips-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 700;
}

.mips-breadcrumb a:hover {
  color: var(--color-yellow);
}

.mips-hero .eyebrow {
  margin: 0 0 12px;
  color: var(--color-yellow);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mips-hero h1 {
  max-width: 860px;
  margin: 0 0 22px;
  color: var(--color-white);
  line-height: 0.98;
}

.mips-hero__lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.mips-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 30px;
}

.mips-hero__actions .btn {
  min-width: min(100%, 255px);
  min-height: 54px;
  font-weight: 900;
}

.mips-anchor-nav {
 position: sticky;
  top: 150px;
  z-index: 70;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: #000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  padding: 10px 0;
}

.mips-anchor-nav__track {
   display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: thin;
  gap: 6px;
}

.mips-anchor-nav a {
   position: relative;
  flex: 1 0 auto;
  min-width: 150px;
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 22px;
  background-color: transparent;
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  transition:
    color 0.22s ease,
    background-color 0.22s ease;
}

.mips-anchor-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.mips-anchor-nav a:hover,
.mips-anchor-nav a.is-active,
.mips-anchor-nav a[aria-current="location"] {
  background: rgba(255, 242, 0, 0.16);
  color: var(--color-white);
}

.mips-anchor-nav a.is-active::after,
.mips-anchor-nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.mips-overview {
  padding: clamp(68px, 8vw, 104px) 0;
  background: #f4f4f4;
}

.mips-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(410px, 0.95fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: start;
}

.mips-overview__content h2 {
  max-width: 760px;
  margin: 8px 0 18px;
  line-height: 1.04;
}

.mips-overview__content > p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.55;
  text-align: justify;
}

.mips-overview__principles {
  display: grid;
  gap: 14px;
}

.mips-overview__principles article {
  --mips-principle-card-background: var(--color-white);
  --mips-principle-card-border: rgba(0, 0, 0, 0.08);
  --mips-principle-card-title: var(--color-black);
  --mips-principle-card-text: rgba(0, 0, 0, 0.68);
  --mips-principle-number-background: var(--color-black);
  --mips-principle-number-color: var(--color-orange);
  --mips-principle-card-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);

  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 4px 20px;
  align-items: center;
  overflow: hidden;
  padding: 22px 24px;
  border: 3px solid var(--mips-principle-card-border);
  border-radius: 22px;
  background: var(--mips-principle-card-background);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.38s ease,
    border-color 0.38s ease,
    box-shadow 0.38s ease;
}

.mips-overview__principles article:nth-child(odd) {
  --mips-principle-card-background: var(--color-black);
  --mips-principle-card-border: var(--color-orange);
  --mips-principle-card-title: var(--color-white);
  --mips-principle-card-text: rgba(255, 255, 255, 0.82);
  --mips-principle-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --mips-principle-number-color: var(--color-black);
  --mips-principle-card-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.mips-overview__principles article:nth-child(even) {
  --mips-principle-card-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --mips-principle-card-border: var(--color-yellow);
  --mips-principle-card-title: var(--color-black);
  --mips-principle-card-text: rgba(0, 0, 0, 0.76);
  --mips-principle-number-background: var(--color-black);
  --mips-principle-number-color: var(--color-yellow);
  --mips-principle-card-hover-shadow: 0 14px 28px rgba(245, 164, 0, 0.14);
}

.mips-overview__principles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--mips-principle-card-hover-shadow);
}

.mips-overview__principles span {
  grid-row: 1 / 3;
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mips-principle-number-background);
  color: var(--mips-principle-number-color);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.mips-overview__principles h3,
.mips-other__grid h3,
.mips-process__steps h3 {
  margin: 0;
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.mips-overview__principles h3 {
  color: var(--mips-principle-card-title);
}

.mips-overview__principles p {
  margin: 4px 0 0;
  color: var(--mips-principle-card-text);
  font-size: 18px;
  line-height: 1.42;
  text-align: justify;
}

.mips-group-heading {
  padding: 42px 0 28px;
  background: var(--color-black);
  color: var(--color-white);
}

.mips-group-heading .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.mips-group-heading .eyebrow {
  margin: 0 0 6px;
  color: var(--color-yellow);
}

.mips-group-heading h2 {
  margin: 0;
  color: var(--color-white);
  line-height: 1;
}

.mips-group-heading p:not(.eyebrow) {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.4;
  text-align: right;
}

.mips-details {
  background: var(--color-white);
}

#chinches {
  --pest-index: "01";
}

#alacranes {
  --pest-index: "02";
}

#cucarachas {
  --pest-index: "03";
}

#avispas {
  --pest-index: "04";
}

#mosquitos {
  --pest-index: "05";
}

.mips-detail {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(76px, 7vw, 108px) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.065);
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 242, 0, 0.075), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
}

.mips-detail:nth-child(even) {
  background:
    radial-gradient(circle at 92% 14%, rgba(245, 164, 0, 0.09), transparent 24%),
    linear-gradient(180deg, #f0f0ee 0%, #f6f6f4 100%);
}

/* Número editorial de fondo: mismo ritmo visual que la página de obra civil. */
.mips-detail::after {
  content: var(--pest-index, "");
  position: absolute;
  z-index: -1;
  top: 50%;
  right: max(18px, calc((100vw - var(--container)) / 2));
  color: rgba(0, 0, 0, 0.028);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: clamp(10rem, 17vw, 17rem);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: -0.08em;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.mips-detail:nth-child(even)::after {
  right: auto;
  left: max(18px, calc((100vw - var(--container)) / 2));
}

.mips-detail__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(46px, 7vw, 92px);
  align-items: center;
}

.mips-detail--reverse .mips-detail__grid {
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
}

.mips-detail--reverse .mips-detail__visual {
  order: 2;
}

.mips-detail--reverse .mips-detail__content {
  order: 1;
}

/* Panel visual sin imágenes: conserva la proporción y jerarquía de la página de referencia. */
.mips-detail__visual {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 44vw, 650px);
  aspect-ratio: 4 / 5.65;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 30px;
   background-color: #171717;
  background-image: var(--sector-image);
  background-position: var(--sector-position, center);
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--color-white);
  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.08);
  isolation: isolate;
  transition:
    transform 0.42s cubic-bezier(0.2, 0.75, 0.2, 1),
    box-shadow 0.42s ease;
}

.mips-detail__visual:hover {
  transform: translateY(-6px);
  box-shadow:
    0 36px 72px rgba(0, 0, 0, 0.24),
    0 12px 24px rgba(0, 0, 0, 0.10);
}

.mips-detail__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.06) 42%, rgba(0, 0, 0, 0.94) 100%);
  pointer-events: none;
}

.mips-detail__visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 54%;
  aspect-ratio: 1;
  right: -20%;
  bottom: -20%;
  border: 2px solid rgba(255, 242, 0, 0.20);
  transform: rotate(45deg);
  pointer-events: none;
}

.mips-detail__visual strong {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 3vw, 42px);
  bottom: clamp(32px, 4vw, 50px);
  left: clamp(24px, 3vw, 42px);
  margin: 0;
  color: var(--color-white);
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 42%, #ffd867 72%, #f5a400 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: clamp(2rem, 3.1vw, 2.85rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.42));
}

.mips-detail__number {
  position: absolute;
  z-index: 3;
  top: clamp(24px, 2.5vw, 34px);
  right: clamp(24px, 2.5vw, 34px);
  left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 38px;
  padding: 7px 11px 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  color: var(--color-yellow);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mips-detail__content {
  min-width: 0;
  padding-block: 12px;
}

.mips-detail__content .eyebrow {
  width: fit-content;
  margin: 0;
  padding: 7px 11px 6px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.78);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mips-detail__content h2 {
  margin: 15px 0 16px;
  color: var(--color-black);
  font-size: clamp(2.05rem, 3.15vw, 3.05rem);
  line-height: 0.99;
  letter-spacing: -0.025em;
}

.mips-detail__content > p:not(.eyebrow) {
  
  margin: 0;
  color: rgba(0, 0, 0, 0.68);
  font-size: 22px;
  line-height: 1.46;
  text-align: justify;
}

.mips-detail__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 28px;
  padding: 0;
  list-style: none;
}

.mips-detail__list li {
  --mips-detail-card-background: var(--color-black);
  --mips-detail-card-border: var(--color-orange);
  --mips-detail-card-text: rgba(255, 255, 255, 0.88);
  --mips-detail-card-hover-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);

  position: relative;
  min-height: 98px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 18px 18px 18px 50px;
  border: 2px solid var(--mips-detail-card-border);
  border-radius: 15px;
  background: var(--mips-detail-card-background);
  color: var(--mips-detail-card-text);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 17px;
  line-height: 1.4;
  text-align: justify;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.075);
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    filter 0.32s ease;
}

.mips-detail__list li:nth-child(odd) {
  --mips-detail-card-background: var(--color-black);
  --mips-detail-card-border: var(--color-orange);
  --mips-detail-card-text: rgba(255, 255, 255, 0.88);
  --mips-detail-card-hover-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.mips-detail__list li:nth-child(even) {
  --mips-detail-card-background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-yellow) 100%);
  --mips-detail-card-border: var(--color-yellow);
  --mips-detail-card-text: rgba(0, 0, 0, 0.80);
  --mips-detail-card-hover-shadow: 0 16px 30px rgba(245, 164, 0, 0.16);
}

.mips-detail__list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--mips-detail-card-hover-shadow);
  filter: brightness(1.025);
}

.mips-detail__list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
  box-shadow: 0 0 0 6px rgba(245, 164, 0, 0.10);
  transform: translateY(-50%);
}

.mips-detail__list li:nth-child(even)::before {
  background: var(--color-black);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.08);
}

.mips-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 46px;
  padding: 11px 18px 10px;
  border: 1px solid var(--color-black);
  border-radius: 999px;
  background: var(--color-black);
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.11);
  transition:
    gap 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.mips-text-link span {
  color: var(--color-yellow);
  font-size: 1.08em;
  transition: transform 0.25s ease, color 0.25s ease;
}

.mips-text-link:hover {
  gap: 16px;
  transform: translateY(-2px);
  border-color: var(--color-yellow);
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  color: var(--color-black);
  box-shadow: 0 12px 24px rgba(245, 164, 0, 0.18);
}

.mips-text-link:hover span {
  color: var(--color-black);
  transform: translateX(2px);
}

.mips-other {
  padding: clamp(72px, 9vw, 122px) 0;
  background: var(--color-black);
  color: var(--color-white);
}

.mips-other__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.7fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: end;
  margin-bottom: 38px;
}

.mips-other .eyebrow {
  margin: 0 0 8px;
  color: var(--color-yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.mips-other__header h2 {
  max-width: 760px;
  margin: 0;
  color: var(--color-white);
  line-height: 1.04;
}

.mips-process h2 {
  margin: 8px 0 0;
  line-height: 1.04;
}

.mips-other__header > p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: justify;
}

.mips-other__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mips-other__grid article {
  min-height: 250px;
  padding: 30px;
  border: 2px solid rgba(255, 242, 0, 0.78);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 242, 0, 0.08), transparent 58%),
    #111;
  transition: transform 0.24s ease, background 0.24s ease;
}

.mips-other__grid article:hover {
  transform: translateY(-5px);
  background:
    linear-gradient(145deg, rgba(255, 242, 0, 0.16), transparent 62%),
    #151515;
}

.mips-other__grid span {
  display: block;
  margin-bottom: 54px;
  color: var(--color-yellow);
  font-family: "Futura PT Heavy", var(--font-main);
  font-weight: 900;
}

.mips-other__grid h3 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.mips-other__grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.4;
}

.mips-process {
  padding: clamp(68px, 8vw, 104px) 0;
  background: var(--color-white);
}

.mips-process__intro {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(0, 0, 0, 0.7);
}

.mips-process__steps {
  counter-reset: mips-step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.mips-process__steps li {
  --mips-process-card-background: var(--color-black);
  --mips-process-card-border: var(--color-orange);
  --mips-process-card-title: var(--color-white);
  --mips-process-card-text: rgba(255, 255, 255, 0.82);
  --mips-process-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --mips-process-number-color: var(--color-black);
  --mips-process-card-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);

  counter-increment: mips-step;
  position: relative;
  min-width: 0;
  min-height: 235px;
  display: block;
  overflow: hidden;
  padding: 24px 22px 22px;
  border: 3px solid var(--mips-process-card-border);
  border-radius: 22px;
  background: var(--mips-process-card-background);
  color: var(--mips-process-card-title);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.38s ease,
    border-color 0.38s ease,
    box-shadow 0.38s ease;
}

.mips-process__steps li:nth-child(even) {
  --mips-process-card-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --mips-process-card-border: var(--color-yellow);
  --mips-process-card-title: var(--color-black);
  --mips-process-card-text: rgba(0, 0, 0, 0.76);
  --mips-process-number-background: var(--color-black);
  --mips-process-number-color: var(--color-yellow);
  --mips-process-card-hover-shadow: 0 14px 28px rgba(245, 164, 0, 0.14);
}

.mips-process__steps li:hover {
  transform: translateY(-4px);
  box-shadow: var(--mips-process-card-hover-shadow);
}

.mips-process__steps li::before {
  content: counter(mips-step, decimal-leading-zero);
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--mips-process-number-background);
  color: var(--mips-process-number-color);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.mips-process__steps h3 {
  margin-bottom: 10px;
  color: var(--mips-process-card-title);
}

.mips-process__steps p {
  margin: 0;
  color: var(--mips-process-card-text);
  font-size: 18px;
  line-height: 1.42;
  text-align: justify;
}

.mips-cta {
  padding: clamp(64px, 8vw, 96px) 0;
  background: #f4f4f4;
}

.mips-cta__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  overflow: hidden;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 242, 0, 0.22), transparent 30%),
    var(--color-black);
  color: var(--color-white);
}

.mips-cta .eyebrow {
  margin: 0 0 8px;
  color: var(--color-yellow);
}

.mips-cta h2 {
  max-width: 780px;
  margin: 0;
  color: var(--color-white);
  line-height: 1.03;
}

.mips-cta p:not(.eyebrow) {
  max-width: 740px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.mips-cta__actions {
  display: grid;
  gap: 14px;
  min-width: 270px;
}

.mips-cta__actions .btn {
  width: 100%;
  min-height: 54px;
  white-space: nowrap;
}

.mip-vertical-card:focus-visible {
  outline: 3px solid #0099ff;
  outline-offset: 4px;
}

.mips-page a:focus-visible,
.mips-page button:focus-visible {
  outline: 3px solid #0099ff;
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .mips-anchor-nav {
    top: 138px;
  }

  .mips-detail__grid {
    grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
    gap: 44px;
  }

  .mips-detail--reverse .mips-detail__grid {
    grid-template-columns: minmax(0, 1.22fr) minmax(310px, 0.78fr);
  }
}

@media (max-width: 980px) {
  .mips-page section[id],
  .mips-page .mips-group-heading[id] {
    scroll-margin-top: 190px;
  }

  .mips-anchor-nav {
    top: 104px;
  }

  .mips-overview__grid,
  .mips-detail__grid,
  .mips-other__header,
  .mips-cta__card {
    grid-template-columns: 1fr;
  }

  .mips-overview__principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mips-overview__principles article {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .mips-overview__principles span {
    grid-row: auto;
    margin-bottom: 18px;
  }

  .mips-detail__visual {
    min-height: 400px;
    aspect-ratio: 16 / 10;
  }

  .mips-detail--reverse .mips-detail__grid {
    grid-template-columns: 1fr;
  }

  .mips-detail--reverse .mips-detail__visual,
  .mips-detail--reverse .mips-detail__content {
    order: initial;
  }

  .mips-other__grid {
    grid-template-columns: 1fr;
  }

  .mips-other__grid article {
    min-height: 210px;
  }

  .mips-other__grid span {
    margin-bottom: 38px;
  }

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

  .mips-cta__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .mips-page section[id],
  .mips-page .mips-group-heading[id] {
    scroll-margin-top: 174px;
  }

  .mips-hero {
    align-items: flex-end;
  }

  .mips-hero:not(.mips-hero--natural) {
    min-height: 630px;
  }

  .mips-anchor-nav a {
    min-height: 60px;
    padding-inline: 14px;
    font-size: 0.9rem;
  }

  .mips-group-heading .container {
    display: block;
  }

  .mips-group-heading p:not(.eyebrow) {
    margin-top: 14px;
    text-align: left;
  }

  .mips-overview__principles,
  .mips-detail__list,
  .mips-process__steps,
  .mips-cta__actions {
    grid-template-columns: 1fr;
  }

  .mips-overview__principles article {
    grid-template-columns: 58px 1fr;
  }

  .mips-overview__principles span {
    grid-row: 1 / 3;
    margin: 0;
  }

  .mips-detail__visual {
    min-height: 330px;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
  }

  .mips-detail__visual strong {
    right: 24px;
    bottom: 30px;
    left: 24px;
  }

  .mips-detail__number {
    top: 22px;
    right: 22px;
  }

  .mips-detail__list li {
    min-height: auto;
  }

  .mips-other__grid article {
    min-height: auto;
  }

  .mips-process__steps li {
    min-height: 230px;
  }
}

@media (max-width: 640px) {
  .mips-anchor-nav {
    top: 96px;
  }

  .mips-hero__actions,
  .mips-hero__actions .btn {
    width: 100%;
  }

  .mips-page--pests .mips-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }

  .mips-page--pests .mips-hero__actions .btn {
    min-width: 0;
    max-width: 100%;
    padding-inline: 10px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    box-sizing: border-box;
  }

  .mips-page--pests .mips-detail__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    gap: 12px;
  }

  .mips-page--pests .mips-detail__list li {
    min-width: 0;
    max-width: 100%;
    padding: 20px 16px 20px 40px;
    font-size: 14px;
    line-height: 1.45;
    text-align: justify;
    overflow: visible;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }

  .mips-page--pests .mips-detail__list li::before {
    left: 16px;
    width: 12px;
    height: 12px;
  }

  /* Mayor especificidad que los estilos existentes de cetrería en el HTML. */
  .mips-page.mips-page--pests .mips-falconry__list,
  .mips-page--pests .mips-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    gap: 12px;
  }

  .mips-page.mips-page--pests .mips-falconry__list > li,
  .mips-page--pests .mips-process__steps > li {
    min-width: 0;
    max-width: 100%;
    padding: 20px 16px;
    box-sizing: border-box;
    overflow: visible;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .mips-page.mips-page--pests .mips-falconry__step {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .mips-page.mips-page--pests .mips-falconry__list h3 {
    font-size: 15.5px;
    line-height: 1.2;
  }

  .mips-page.mips-page--pests .mips-falconry__list p {
    font-size: 15px;
    line-height: 1.45;
    text-align: justify;
  }

  .mips-page--pests .mips-process__steps li::before {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .mips-page--pests .mips-process__steps h3 {
    font-size: 19px;
    line-height: 1.2;
  }

  .mips-page--pests .mips-process__steps p {
    font-size: 16.5px;
    line-height: 1.45;
    text-align: justify;
  }

  .mips-overview,
  .mips-detail,
  .mips-other,
  .mips-process {
    padding-block: 62px;
  }

  .mips-overview__principles article {
    padding: 18px;
  }

  .mips-detail__grid {
    gap: 32px;
  }

  .mips-detail__visual {
    min-height: 310px;
    padding: 0;
  }

  .mips-detail__content {
    padding-block: 0;
  }

  .mips-other__grid article {
    padding: 24px;
  }

  .mips-process__steps li {
    min-height: auto;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .mips-process__steps li::before {
    margin-bottom: 18px;
  }

  .mips-cta__card {
    padding: 30px 22px;
    border-radius: 24px;
  }
}

@media (max-width: 420px) {
  .mips-hero:not(.mips-hero--natural) {
    min-height: 600px;
  }

  .mips-hero h1 {
    font-size: 2.35rem;
  }

  .mips-overview__principles article {
    grid-template-columns: 54px 1fr;
    gap: 4px 14px;
  }

  .mips-overview__principles span {
    width: 46px;
    height: 46px;
  }

  .mips-other__grid article {
    min-height: auto;
  }

  .mips-process__steps p,
  .mips-detail__list li {
    font-size: 16px;
  }

  .mips-page--pests .mips-process__steps p {
    font-size: 14.5px;
  }

  .mips-detail__visual {
    min-height: 290px;
  }

  .mips-detail__visual strong {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mips-anchor-nav a,
  .mips-anchor-nav a::after,
  .mips-overview__principles article,
  .mips-detail__list li,
  .mips-other__grid article,
  .mips-process__steps li,
  .mips-text-link span {
    transition: none;
  }
}



/* =========================================================
   GESTIÓN INTEGRAL DE RESIDUOS
   Override final: panel negro superior + tarjetas exteriores
   ========================================================= */

.services-extra--residuos {
  padding: 54px 0 78px;
  background: #f7f7f7;
  color: var(--color-black);
}

.services-extra--residuos .services-extra__residuos-card--integral {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border-radius: 30px;
  background: var(--color-black);
  color: var(--color-white);
}

.services-extra--residuos .services-extra__residuos-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.services-extra--residuos .services-extra__residuos-content .eyebrow {
  margin: 0 0 12px;
  color: var(--color-white);
}

.services-extra--residuos .services-extra__residuos-content h2 {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--color-white);
  line-height: 1.06;
}

.services-extra--residuos .services-extra__residuos-intro {
  max-width: 690px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
  line-height: 1.55;
  text-align: justify;
}

.services-extra__residuos-process {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.services-extra__residuos-process span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 242, 0, 0.45);
  border-radius: 999px;
  background: rgba(255, 242, 0, 0.1);
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.9rem;
  line-height: 1.1;
}

.services-extra__residuos-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.services-extra--residuos
  .services-extra__residuos-actions
  .services-extra__button {
  width: auto;
  min-width: 0;
}

.services-extra--residuos .services-extra__residuos-actions .btn--outline {
  border: 2px solid var(--color-yellow);
  background: transparent;
  color: var(--color-white);
}

.services-extra--residuos
  .services-extra__residuos-actions
  .btn--outline:hover {
  background: var(--color-yellow);
  color: var(--color-black);
}

.services-extra--residuos .services-extra__residuos-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #101010;
}

.services-extra--residuos .services-extra__residuos-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.services-extra--residuos .services-extra__residuos-card--integral:hover img {
  transform: scale(1.025);
  filter: saturate(1.05) contrast(1.03);
}

.services-extra__residuos-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  padding: 15px 18px;
  text-align: center;
  color: var(--color-white);
}

.services-extra__residuos-badge strong,
.services-extra__residuos-badge span {
  display: block;
}

.services-extra__residuos-badge strong {
  margin-bottom: 3px;
  color: var(--color-white);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.1rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.services-extra__residuos-badge span {
  color: rgba(255, 255, 255, 0.88);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.92rem;
  line-height: 1.25;
}

/* Contenedor de tarjetas colocado fuera del panel negro */
.services-extra__waste-section {
  margin-top: 34px;
}

.services-extra__waste-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.services-extra__waste-heading .eyebrow {
  margin: 0 0 6px;
  color: var(--color-black);
}

.services-extra__waste-heading h3 {
  max-width: 760px;
  margin: 0;
  color: var(--color-black);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.05;
  font-weight: 900;
}

.services-extra__waste-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.services-extra__waste-card {
  position: relative;
  min-width: 0;
  min-height: 235px;
  overflow: hidden;
  padding: 24px 22px 22px;
  border: 3px solid var(--waste-card-border);
  border-radius: 22px;
  background: var(--waste-card-background);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.38s ease,
    border-color 0.38s ease,
    box-shadow 0.38s ease;
}

/* Alternancia visual de las tarjetas */
.services-extra__waste-card:nth-child(odd) {
  --waste-card-background: var(--color-black);
  --waste-card-border:  var(--color-orange);
  --waste-card-title: var(--color-white);
  --waste-card-text: rgba(255, 255, 255, 0.82);
  --waste-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --waste-number-color: var(--color-black);
  --waste-card-hover-border: rgba(255, 242, 0, 0.55);
  --waste-card-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.services-extra__waste-card:nth-child(even) {
  --waste-card-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --waste-card-border:  var(--color-yellow);
  --waste-card-title: var(--color-black);
  --waste-card-text: rgba(0, 0, 0, 0.76);
  --waste-number-background: var(--color-black);
  --waste-number-color: var(--color-yellow);
  --waste-card-hover-border: rgba(0, 0, 0, 0.24);
  --waste-card-hover-shadow: 0 14px 28px rgba(245, 164, 0, 0.14);
}

.services-extra__waste-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--waste-card-hover-shadow);
}

.services-extra__waste-number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--waste-number-background);
  color: var(--waste-number-color);
  font-family: "Futura PT Heavy";
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.services-extra__waste-card h3 {
  margin: 0 0 10px;
  color: var(--waste-card-title);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.services-extra__waste-card p {
  margin: 0;
  color: var(--waste-card-text);
  font-size: 18px;
  line-height: 1.42;
  text-align: justify;
}

@media (max-width: 1100px) {
  .services-extra--residuos .services-extra__residuos-card--integral {
    grid-template-columns: 1fr;
  }

  .services-extra--residuos .services-extra__residuos-image,
  .services-extra--residuos .services-extra__residuos-image img {
    min-height: 380px;
  }

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

@media (max-width: 700px) {
  .services-extra--residuos {
    padding: 44px 0 60px;
  }

  .services-extra--residuos .services-extra__residuos-card--integral {
    gap: 24px;
    padding: 24px 18px;
    border-radius: 22px;
  }

  .services-extra--residuos .services-extra__residuos-intro {
    font-size: 18px;
    text-align: left;
  }

  .services-extra__residuos-process {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .services-extra__residuos-process span {
    width: 100%;
    border-radius: 10px;
  }

  .services-extra__residuos-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .services-extra--residuos
    .services-extra__residuos-actions
    .services-extra__button {
    width: 100%;
  }

  .services-extra--residuos .services-extra__residuos-image,
  .services-extra--residuos .services-extra__residuos-image img {
    min-height: 280px;
  }

  .services-extra__residuos-badge {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .services-extra__waste-section {
    margin-top: 28px;
  }

  .services-extra__waste-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .services-extra__waste-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 14px;
  }

  .services-extra__waste-card {
    max-width: 100%;
    min-height: auto;
    padding: 20px 16px;
    border-radius: 18px;
    box-sizing: border-box;
  }

  .services-extra__waste-card h3,
  .services-extra__waste-card p {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .services-extra__waste-number {
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    font-size: 1.18rem;
  }

  .services-extra__waste-card h3 {
    font-size: 19px;
  }

  .services-extra__waste-card p {
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
  }
}

@media (max-width: 420px) {
  .services-extra--residuos .services-extra__residuos-image,
  .services-extra--residuos .services-extra__residuos-image img {
    min-height: 245px;
  }

  .services-extra__residuos-badge {
    padding: 12px 14px;
  }

  .services-extra__waste-card p {
    font-size: 16px;
    line-height: 1.2;
  }
}

/* Carga de archivos del formulario */
.project-attachment-field__optional {
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
}

.project-file-dropzone {
  position: relative;
  min-height: 154px;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  isolation: isolate;
  border: 2px dashed rgba(0, 0, 0, 0.42);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  outline: none;
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.project-file-dropzone::after {
  content: "";
  position: absolute;
  top: -95px;
  left: -95px;
  z-index: 0;
  width: 58px;
  height: 300px;
  background: var(--color-white);
  opacity: 0.7;
  transform: rotate(35deg);
  pointer-events: none;
  transition: left 1150ms cubic-bezier(0.19, 1, 0.22, 1);
}

.project-file-dropzone:hover,
.project-file-dropzone:focus-within {
  border-color: var(--color-orange);
  background: linear-gradient(
    135deg,
    rgba(255, 242, 0, 0.18),
    rgba(245, 164, 0, 0.24)
  );
  box-shadow:
    0 14px 28px rgba(245, 164, 0, 0.16),
    0 0 0 3px rgba(255, 242, 0, 0.14);
  transform: translateY(-3px);
}

.project-file-dropzone:hover::after,
.project-file-dropzone:focus-within::after,
.project-file-dropzone.is-dragging::after {
  left: 120%;
}

.project-file-dropzone.is-dragging {
  border-color: var(--color-orange);
  background: rgba(255, 242, 0, 0.26);
  box-shadow:
    0 18px 34px rgba(245, 164, 0, 0.22),
    0 0 0 4px rgba(255, 242, 0, 0.2);
  transform: scale(1.008);
}

.project-file-dropzone.is-invalid {
  border-color: #b91c1c;
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.15);
}

.project-file-dropzone__input {
  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;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
}

.project-file-dropzone__empty {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.project-file-dropzone__empty[hidden],
.project-file-preview[hidden] {
  display: none;
}

.project-file-dropzone__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 12px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--color-black);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.project-file-dropzone:hover .project-file-dropzone__icon,
.project-file-dropzone:focus-within .project-file-dropzone__icon,
.project-file-dropzone.is-dragging .project-file-dropzone__icon {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.2);
}

.project-file-dropzone__icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.project-file-dropzone__empty strong,
.project-file-dropzone__empty span {
  display: block;
}

.project-file-dropzone__empty strong {
  margin-bottom: 3px;
  color: var(--color-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1.05rem;
  font-weight: 900;
}

.project-file-dropzone__empty span {
  color: rgba(0, 0, 0, 0.66);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.9rem;
}

.project-file-dropzone__select,
.project-file-preview__remove {
  min-height: 40px;
  padding: 9px 16px;
  border: 0;
  border-radius: 9px;
  font-family: "Futura PT Demi", var(--font-main);
  font-weight: 900;
  cursor: pointer;
}

.project-file-dropzone__select {
  background: var(--color-black);
  color: var(--color-yellow);
}

.project-file-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
}

.project-file-preview__type {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
  color: var(--color-black);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 0.78rem;
  font-weight: 900;
}

.project-file-preview__details {
  min-width: 0;
}

.project-file-preview__details strong,
.project-file-preview__details span {
  display: block;
}

.project-file-preview__details strong {
  overflow: hidden;
  color: var(--color-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-file-preview__details span {
  margin-top: 3px;
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.82rem;
}

.project-file-preview__remove {
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  color: var(--color-black);
}

.project-file-preview__remove:hover,
.project-file-preview__remove:focus-visible {
  border-color: #b91c1c;
  color: #b91c1c;
  outline: none;
}




@media (max-width: 640px) {

  .project-file-dropzone__empty {
    grid-template-columns: auto 1fr;
  }

  .project-file-dropzone__select {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 420px) {
  

  .project-file-dropzone {
    min-height: 178px;
    padding: 14px;
  }

  .project-file-dropzone__empty {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .project-file-preview {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .project-file-preview__remove {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* =========================================================
   NEWSLETTER HOME
   Banner previo al footer
   ========================================================= */

.newsletter-section {
  padding: 72px 0 56px;
  background: #f7f7f7;
}

.newsletter-banner {
  position: relative;
  isolation: isolate;
  min-height: 278px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 48px clamp(24px, 7vw, 92px);
  border: 1px solid rgba(255, 242, 0, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 50% 118%,
      rgba(245, 164, 0, 0.14),
      transparent 44%
    ),
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.035),
      transparent 40%
    ),
    var(--color-black);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.newsletter-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 50% 124%,
      rgba(255, 242, 0, 0.12),
      transparent 44%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72),
      transparent 24%,
      transparent 76%,
      rgba(0, 0, 0, 0.72)
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.025),
      transparent 42%,
      rgba(0, 0, 0, 0.2)
    );
  pointer-events: none;
}

.newsletter-banner__shapes,
.newsletter-banner__shape {
  position: absolute;
  pointer-events: none;
}

.newsletter-banner__shapes {
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.newsletter-banner__shape {
  display: block;
  transform-origin: center;
  translate: 0 0;
  rotate: 0deg;
  scale: 1;
  will-change: transform, translate, rotate, scale, opacity, filter;
  backface-visibility: hidden;
  filter: saturate(0.9);
  transition:
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease,
    filter 0.45s ease;
}

.newsletter-banner__shape--left {
  top: -38%;
  bottom: -38%;
  left: -9%;
  width: 50%;
  opacity: 0.58;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.1) 4%,
      rgba(27, 27, 27, 0.88) 100%
    );
  clip-path: polygon(0 0, 72% 0, 100% 50%, 70% 100%, 0 100%);
  animation: newsletterPolygonLeft 15s ease-in-out -4s infinite;
}

.newsletter-banner__shape--center {
  top: -30%;
  bottom: -32%;
  left: 27%;
  width: 44%;
  opacity: 0.68;
  background:
    linear-gradient(
      135deg,
      rgba(255, 242, 0, 0.56),
      rgba(245, 164, 0, 0.25) 58%,
      rgba(82, 58, 0, 0.54)
    );
  clip-path: polygon(16% 0, 78% 0, 100% 42%, 76% 100%, 12% 100%, 0 52%);
  animation: newsletterPolygonCenter 18s ease-in-out -9s infinite;
}

.newsletter-banner__shape--right {
  top: -22%;
  right: -7%;
  bottom: -42%;
  width: 55%;
  opacity: 0.52;
  background:
    linear-gradient(
      145deg,
      rgba(245, 164, 0, 0.15),
      rgba(36, 36, 36, 0.2) 72%
    );
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 16% 100%, 0 50%);
  animation: newsletterPolygonRight 17s ease-in-out -6s infinite;
}

.newsletter-banner:where(:not(.is-viewport-driven)):hover .newsletter-banner__shape,
.newsletter-section.is-in-view .newsletter-banner__shape {
  /* Pausa en el fotograma actual sin eliminar la animación. */
  animation-play-state: paused;
}

/*
  Al pasar el cursor, los polígonos se abren hacia los extremos.
  El área central queda visualmente libre para destacar el contenido.
*/
.newsletter-banner:where(:not(.is-viewport-driven)):hover .newsletter-banner__shape--left,
.newsletter-section.is-in-view .newsletter-banner__shape--left {
  opacity: 1;
  filter: saturate(0.92) brightness(1.5);
  transform: translate3d(-34%, 1%, 0) rotate(-4deg) scale(1.08);
   background:
    linear-gradient(
      135deg,
      rgba(255, 242, 0, 0.56),
      rgba(245, 164, 0, 0.25) 58%,
      rgba(82, 58, 0, 0.54)
    );
}

.newsletter-banner:where(:not(.is-viewport-driven)):hover .newsletter-banner__shape--center,
.newsletter-section.is-in-view .newsletter-banner__shape--center {
  opacity: 0.8;
  filter: saturate(0.9) brightness(1.5);
  transform: translate3d(72%, -2%, 0) rotate(4deg) scale(0.92);
}

.newsletter-banner:where(:not(.is-viewport-driven)):hover .newsletter-banner__shape--right,
.newsletter-section.is-in-view .newsletter-banner__shape--right {
  opacity: 1;
  filter: saturate(1.5) brightness(1.5);
  transform: translate3d(60%, 1%, 0) rotate(-4deg) scale(1.2);
}

@keyframes newsletterPolygonLeft {
  0%,
  100% {
    translate: -2% -1%;
    rotate: -1.2deg;
    scale: 1.03;
  }

  38% {
    translate: 4% 2%;
    rotate: 1.1deg;
    scale: 1.08;
  }

  72% {
    translate: 1% -2%;
    rotate: -0.35deg;
    scale: 1.05;
  }
}

@keyframes newsletterPolygonCenter {
  0%,
  100% {
    translate: -2% 1%;
    rotate: -1.4deg;
    scale: 1.04;
  }

  44% {
    translate: 3% -3%;
    rotate: 1.6deg;
    scale: 1.1;
  }

  76% {
    translate: 1% 2%;
    rotate: 0.3deg;
    scale: 1.06;
  }
}

@keyframes newsletterPolygonRight {
  0%,
  100% {
    translate: 2% -1%;
    rotate: 1.1deg;
    scale: 1.04;
  }

  36% {
    translate: -4% 2%;
    rotate: -1.2deg;
    scale: 1.09;
  }

  70% {
    translate: -1% -2%;
    rotate: 0.35deg;
    scale: 1.06;
  }
}

.newsletter-banner__content {
  width: min(100%, 860px);
  text-align: center;
}

.newsletter-banner h2 {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}

.newsletter-banner__intro {
  max-width: 720px;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 21px;
  line-height: 1.45;
}

.newsletter-banner__form {
  width: min(100%, 620px);
  margin: 24px auto 0;
}

.newsletter-banner__form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.newsletter-banner__form input[type="email"] {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-black);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 1rem;
  outline: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.newsletter-banner__form input[type="email"]::placeholder {
  color: rgba(0, 0, 0, 0.54);
}

.newsletter-banner__form input[type="email"]:focus {
  border-color: var(--color-yellow);
  box-shadow:
    0 0 0 4px rgba(255, 242, 0, 0.18),
    0 10px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.newsletter-banner__form button {
  min-width: 148px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  color: var(--color-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.newsletter-banner__form button:hover,
.newsletter-banner__form button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.25);
}

.newsletter-banner__form button:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
}

.newsletter-banner__form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.newsletter-banner__consent {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.newsletter-banner__consent input {
  flex: 0 0 auto;
  margin: 3px 0 0;
  accent-color: var(--color-yellow);
}

.newsletter-banner__consent a {
  color: var(--color-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.newsletter-banner__message {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.9rem;
  line-height: 1.35;
}

.newsletter-banner__message.is-success {
  color: #eaffb2;
}

.newsletter-banner__message.is-error {
  color: #ffe1e1;
}

.newsletter-banner__honeypot,
.newsletter-banner__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;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 700px) {
  .newsletter-section {
    padding: 54px 0 42px;
  }

  .newsletter-banner__intro {
    font-size: 1.05rem;
    line-height: 1.25;
    width: 100%;
    text-align: justify;
  }

  .newsletter-banner {
    min-height: 0;
    padding: 20px;
    border-radius: 20px;
  }

  .newsletter-banner__form-row {
    grid-template-columns: 1fr;
  }

  .newsletter-banner__form button {
    width: 100%;
  }

  /* Center oversized silhouettes independently of the active transforms. */
  .newsletter-banner__shape {
    top: -17.5%;
    bottom: auto;
    height: 135%;
  }

  .newsletter-banner__shape--left {
    left: -8%;
    width: 80%;
    opacity: 0.42;
    --newsletter-base-transform: rotate(-24deg);
    transform: var(--newsletter-base-transform);
    background: linear-gradient(
      135deg,
      rgba(255, 242, 0, 0.56),
      rgba(245, 164, 0, 0.25) 58%,
      rgba(82, 58, 0, 0.54)
    );
  }

  .newsletter-banner__shape--center {
    left: 13%;
    width: 74%;
    opacity: 0.6;
    --newsletter-base-transform: rotate(28deg);
    transform: var(--newsletter-base-transform);
  }

  .newsletter-banner__shape--right {
    right: -8%;
    width: 82%;
    --newsletter-base-transform: rotate(-20deg);
    transform: var(--newsletter-base-transform);
  }
}

@media (max-width: 420px) {
  .newsletter-section {
    padding: 42px 0 34px;
  }

  .newsletter-banner {
    padding-inline: 18px;
    border-radius: 16px;
  }

  .newsletter-banner h2 {
    font-size: 1.72rem;
  }

  .newsletter-banner__intro {
    font-size: 0.96rem;
  }

  .newsletter-banner__form {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .newsletter-banner__shape,
  .newsletter-banner__form input,
  .newsletter-banner__form button {
    animation: none;
    transition: none;
  }

  .newsletter-banner__shape,
  .newsletter-section.is-in-view .newsletter-banner__shape {
    transform: var(--newsletter-base-transform, none);
    translate: 0 0;
    rotate: 0deg;
    scale: 1;
  }
}


/* =========================================================
   PÁGINA GENERAL DE SECTORES E INDUSTRIAS
   Archivo: /sectores.html
   Tratamiento visual específico de la página general.
   ========================================================= */

.sectors-general-page {
  background:
    linear-gradient(
      0deg,
      rgba(5, 5, 5, 0.94) 0%,
      rgba(5, 5, 5, 0.70) 50%,
      rgba(0, 0, 0, 0.20) 100%
    ),
    url("../img/industrias/bg-industrias.webp") center / cover no-repeat;
}

/* ============================= */
/* DIRECTORIO GENERAL */
/* ============================= */

.sg-general {
  padding: clamp(68px, 8vw, 112px) 0;
  background: #f4f4f4;
}

.sg-general__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 38px;
}

.sg-general__header h2 {
  margin: 8px 0 0;
  color: var(--color-black);
  line-height: 1.04;
}

.sg-general__header > p {
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.5;
  text-align: justify;
}

.sg-service-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sg-service-card {
  position: relative;
  min-width: 0;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 24px 22px 22px;
  border: 3px solid var(--sg-card-border);
  border-radius: 22px;
  background: var(--sg-card-background);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.38s ease,
    border-color 0.38s ease,
    box-shadow 0.38s ease;
}

/* Alternancia visual negro / amarillo */
.sg-service-card:nth-child(odd) {
  --sg-card-background: var(--color-black);
  --sg-card-border: var(--color-orange);
  --sg-card-title: var(--color-white);
  --sg-card-text: rgba(255, 255, 255, 0.82);
  --sg-number-background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-yellow)
  );
  --sg-number-color: var(--color-black);
  --sg-card-action: var(--color-white);
  --sg-card-glow: rgba(255, 242, 0, 0.13);
  --sg-card-hover-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.sg-service-card:nth-child(even) {
  --sg-card-background: linear-gradient(
    135deg,
    var(--color-orange) 0%,
    var(--color-yellow) 100%
  );
  --sg-card-border: var(--color-yellow);
  --sg-card-title: var(--color-black);
  --sg-card-text: rgba(0, 0, 0, 0.76);
  --sg-number-background: var(--color-black);
  --sg-number-color: var(--color-yellow);
  --sg-card-action: var(--color-black);
  --sg-card-glow: rgba(255, 255, 255, 0.34);
  --sg-card-hover-shadow: 0 18px 36px rgba(245, 164, 0, 0.22);
}

.sg-service-card:hover,
.sg-service-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--sg-card-hover-shadow);
}

.sg-service-card:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 3px;
}

.sg-service-card__number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--sg-number-background);
  color: var(--sg-number-color);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.sg-service-card h3 {
  margin: 0 0 10px;
  color: var(--sg-card-title);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 750;
  text-transform: uppercase;
}

.sg-service-card p {
  margin: 0 0 22px;
  color: var(--sg-card-text);
  font-size: 18px;
  line-height: 1.42;
  text-align: justify;
}

.sg-service-card strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 7px 2px 10px 0;
  border-bottom: 0;
  color: var(--sg-card-action);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.9rem;
  line-height: 1.2;
  text-transform: uppercase;
  transition:
    color 0.28s ease,
    transform 0.28s ease;
}

.sg-service-card strong::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--color-yellow),
    var(--color-orange)
  );
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease;
}

.sg-service-card:hover strong::before,
.sg-service-card:focus-visible strong::before {
  opacity: 1;
  transform: scaleX(1);
}

.sg-service-card:hover strong,
.sg-service-card:focus-visible strong {
  transform: translateY(-1px);
}

/* ============================= */
/* SECTORES — COMPOSICIÓN EDITORIAL */
/* ============================= */

.sectors-general-page .ocs-sectors {
  background: #ececea;
}

.sectors-general-page .ocs-sector-detail {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 7vw, 104px) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 242, 0, 0.09), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fafaf7 100%);
}

.sectors-general-page .ocs-sector-detail:nth-child(even) {
  background:
    radial-gradient(circle at 92% 15%, rgba(245, 164, 0, 0.10), transparent 24%),
    linear-gradient(180deg, #f1f1ef 0%, #f6f6f4 100%);
}

/* Número editorial grande en el fondo de cada franja */
.sectors-general-page .ocs-sector-detail::after {
  content: attr(data-sector-number);
  position: absolute;
  z-index: -1;
  top: 50%;
  right: max(18px, calc((100vw - var(--container)) / 2));
  color: rgba(0, 0, 0, 0.032);
  font-family: "Futura PT Heavy", var(--font-main);
  font-size: clamp(10rem, 18vw, 18rem);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.08em;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.sectors-general-page .ocs-sector-detail:nth-child(even)::after {
  right: auto;
  left: max(18px, calc((100vw - var(--container)) / 2));
}

.sectors-general-page .ocs-sector-detail__grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.48fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: stretch;
}

/* En las franjas invertidas también se invierten las proporciones.
   El contenido conserva el espacio amplio y la tarjeta visual el estrecho. */
.sectors-general-page
  .ocs-sector-detail--reverse
  .ocs-sector-detail__grid {
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.72fr);
}

.sectors-general-page .ocs-sector-detail__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding-block: 8px;
}

.sectors-general-page .ocs-sector-detail__content .eyebrow {
  width: fit-content;
  margin: 0;
  padding: 7px 11px 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.055);
  color: rgba(0, 0, 0, 0.78);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.sectors-general-page .ocs-sector-detail__content h2 {
 
  margin: 14px 0 14px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.sectors-general-page .ocs-sector-detail__content > p:not(.eyebrow) {
  max-width: 850px;
  margin: 0;
  color: rgba(0, 0, 0, 0.68);
  font-size: 22px;
  line-height: 1.52;
  text-align: justify;
}

/* Tarjeta visual del sector: fotografía a sangre, icono como marca de agua
   y título sobre un degradado inferior, siguiendo la referencia visual. */
.sectors-general-page .ocs-sector-detail__visual {
  position: relative;
  width: 100%;
  min-height: clamp(500px, 45vw, 660px);
  height: auto;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background:
    #171717
    var(--sector-image)
    var(--sector-position, center) / cover
    no-repeat;
  color: var(--color-white);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.18);
  isolation: isolate;
  transition:
    transform 0.42s cubic-bezier(0.2, 0.75, 0.2, 1),
    box-shadow 0.42s ease;
}

.sectors-general-page .ocs-sector-detail__visual:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.24);
}

/* Degradado oscuro para dar lectura al título sin ocultar la fotografía. */
.sectors-general-page .ocs-sector-detail__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  border: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.08) 42%,
    rgba(0, 0, 0, 0.38) 68%,
    rgba(0, 0, 0, 0.96) 100%
  );
  transform: none;
  pointer-events: none;
}

/* Baño cálido muy ligero para conservar el lenguaje visual de CORMAGO. */
.sectors-general-page .ocs-sector-detail__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  border: 0;
  background: linear-gradient(
    115deg,
    rgba(245, 164, 0, 0.18) 0%,
    rgba(245, 164, 0, 0.055) 32%,
    rgba(245, 164, 0, 0) 58%
  );
  transform: none;
  pointer-events: none;
}

.sectors-general-page .ocs-sector-detail__visual .ocs-sector-detail__icon {
  position: absolute;
  z-index: 2;
  top: clamp(24px, 3vw, 38px);
  left: clamp(24px, 3vw, 38px);
  width: clamp(104px, 9vw, 142px);
  height: auto;
  max-height: 142px;
  object-fit: contain;
  opacity: 0.24;
  filter: brightness(0) invert(1);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.42s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.sectors-general-page .ocs-sector-detail__visual:hover .ocs-sector-detail__icon {
  opacity: 0.32;
  transform: translateY(-2px) scale(1.03);
}

.sectors-general-page .ocs-sector-detail__visual strong {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 3vw, 40px);
  bottom: clamp(30px, 4vw, 50px);
  left: clamp(22px, 3vw, 40px);
  max-width: none;
  margin: 0;
  color: var(--color-white);
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #ffd867 72%, #f5a400 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Futura PT Heavy", var(--font-main);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.42));
}

/* ============================= */
/* SERVICIOS DENTRO DE CADA SECTOR */
/* ============================= */

.sg-industry-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.sg-service-card--compact {
  min-height: 184px;
  padding: 18px 18px 16px;
  border-width: 1px;
  border-radius: 16px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

/* El quinto servicio cierra el conjunto a todo lo ancho.
   Evita el hueco visual que dejaba la retícula de 2 columnas. */
.sg-industry-services > .sg-service-card--compact:last-child {
  grid-column: 1 / -1;
  min-height: 160px;
}

.sg-service-card--compact::after {
  content: "";
  position: absolute;
  top: -62px;
  right: -62px;
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sg-card-glow);
  filter: blur(2px);
  pointer-events: none;
}

.sg-service-card--compact .sg-service-card__number {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  margin-bottom: 15px;
  border-radius: 50%;
  font-size: 0.82rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.sg-service-card--compact h3,
.sg-service-card--compact p,
.sg-service-card--compact strong {
  position: relative;
  z-index: 1;
}

.sg-service-card--compact h3 {
  margin-bottom: 7px;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.02;
}

.sg-service-card--compact p {
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.38;
  text-align: justify;
}

.sg-service-card--compact strong {
  padding-bottom: 7px;
  font-size: 0.72rem;
  letter-spacing: 0.025em;
}

.sg-industry-services > .sg-service-card--compact:last-child p {
  max-width: 760px;
}

/* ============================= */
/* RESPONSIVE DE LA PÁGINA */
/* ============================= */

@media (max-width: 1080px) {
  .sg-service-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .sg-general__header {
    grid-template-columns: 1fr;
  }

  .sectors-general-page .ocs-sector-detail__grid,
  .sectors-general-page
    .ocs-sector-detail--reverse
    .ocs-sector-detail__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .sectors-general-page .ocs-sector-detail--reverse .ocs-sector-detail__visual,
  .sectors-general-page .ocs-sector-detail--reverse .ocs-sector-detail__content {
    order: initial;
  }

  .sectors-general-page .ocs-sector-detail__visual {
    min-height: 400px;
    aspect-ratio: 16 / 9;
  }

  .sectors-general-page .ocs-sector-detail__content {
    padding-block: 0;
  }

  .sectors-general-page .ocs-sector-detail::after {
    top: 18%;
    right: 18px;
    left: auto;
    font-size: clamp(8rem, 28vw, 14rem);
    transform: none;
  }

  .sectors-general-page .ocs-sector-detail:nth-child(even)::after {
    right: auto;
    left: 18px;
  }

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

@media (max-width: 720px) {
  .sectors-general-page .sg-service-index,
  .sectors-general-page .sg-industry-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }

  .sectors-general-page .sg-service-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    min-height: auto;
    padding: 18px 14px;
  }

  .sectors-general-page .sg-service-index > .sg-service-card:last-child,
  .sectors-general-page .sg-industry-services > .sg-service-card--compact:last-child {
    grid-column: 1 / -1;
    min-height: auto;
    padding-inline: 18px;
  }

  .sectors-general-page .sg-service-card > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }

  .sectors-general-page .sg-service-card__number {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-bottom: 20px;
    font-size: 1.18rem;
  }

  .sectors-general-page .sg-service-card--compact .sg-service-card__number {
    width: 32px;
    height: 32px;
    margin-bottom: 13px;
    font-size: 0.73rem;
  }

  .sectors-general-page .sg-service-card h3 {
    font-size: 19px;
    line-height: 1.15;
  }

  .sectors-general-page .sg-service-card--compact h3 {
    font-size: 0.9rem;
  }

  .sectors-general-page .sg-service-card p {
    margin-bottom: 16px;
    font-size: 16.2px;
    line-height: 1.45;
    text-align: justify;
    hyphens: auto;
  }

  .sectors-general-page .sg-service-card strong {
    gap: 5px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .sectors-general-page .sg-service-card--compact strong {
    font-size: 0.68rem;
  }

  .sectors-general-page .sg-service-card strong span {
    flex-shrink: 0;
  }

  .sectors-general-page .ocs-method__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }

  .sectors-general-page .ocs-method__steps li {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    min-height: auto;
    overflow: visible;
    padding: 18px 14px;
  }

  .sectors-general-page .ocs-method__steps li > div {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .sectors-general-page .ocs-method__steps li > span {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    font-size: 1.18rem;
  }

  .sectors-general-page .ocs-method__steps h3 {
    font-size: 19px;
    line-height: 1.15;
  }

  .sectors-general-page .ocs-method__steps p {
    font-size: 16.2px;
    line-height: 1.45;
    text-align: justify;
  }

  .sectors-general-page .ocs-sector-detail {
    padding-block: 62px;
  }

  .sectors-general-page .ocs-sector-detail__grid {
    gap: 28px;
  }

  .sectors-general-page .ocs-sector-detail__visual {
    min-height: 320px;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  .sectors-general-page .ocs-sector-detail__visual .ocs-sector-detail__icon {
    top: 24px;
    left: 24px;
    width: 96px;
  }

  .sectors-general-page .ocs-sector-detail__visual strong {
    right: 24px;
    bottom: 30px;
    left: 24px;
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .sectors-general-page .ocs-sector-detail__content h2 {
    margin-top: 12px;
    font-size: clamp(1.85rem, 8.2vw, 2.5rem);
  }

  .sectors-general-page .ocs-sector-detail__content > p:not(.eyebrow) {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .sg-general {
    padding-block: 60px;
  }

  .sg-service-card,
  .sg-service-card--compact {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .sg-service-card--compact .sg-service-card__number {
    margin-bottom: 13px;
  }

  .sectors-general-page .ocs-sector-detail__visual {
    min-height: 280px;
  }

  .sectors-general-page .ocs-sector-detail__visual .ocs-sector-detail__icon {
    top: 20px;
    left: 20px;
    width: 78px;
  }

  .sectors-general-page .ocs-sector-detail__visual strong {
    right: 18px;
    bottom: 24px;
    left: 18px;
    font-size: 1.82rem;
  }

  .sectors-general-page .ocs-sector-detail::after {
    opacity: 0.72;
  }
}

@media (max-width: 420px) {
  .sg-service-card p {
    font-size: 16px;
  }

  .sectors-general-page .ocs-method__steps p {
    font-size: 14.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sg-service-card,
  .sg-service-card strong,
  .sg-service-card strong::before,
  .sectors-general-page .ocs-sector-detail__visual,
  .sectors-general-page .ocs-sector-detail__visual .ocs-sector-detail__icon {
    animation: none;
    transition: none;
  }
}


/* =========================================================
   CONTRATO COMPARTIDO - CUMPLIMIENTO R.M.E. / M.I.P.
   Iguala alturas, corrige el recorte de las NOM y distribuye
   mejor la lista frente a la imagen.
   ========================================================= */

/* Certificaciones circulares: mismo cuadro y distribución uniforme */
.mip-certifications {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: center;
  align-items: stretch;
  gap: clamp(20px, 3vw, 38px);
}

.mip-certification {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  justify-self: center;
}

.mip-certification img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Sección legal compartida */
.rme-compliance {
  padding: clamp(58px, 6vw, 84px) 0;
}

.rme-compliance .rme-compliance__title {
  margin: 0 0 clamp(22px, 2.2vw, 32px);
  max-width: 1180px;
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.rme-compliance .rme-compliance__grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  gap: clamp(30px, 4vw, 52px);
  align-items: stretch;
}

.rme-compliance .rme-compliance__list {
  grid-auto-rows: 1fr;
  gap: 18px;
  min-width: 0;
}

.rme-compliance .rme-compliance__list article {
  width: 100%;
  height: 100%;
  min-height: 50px;
  grid-template-columns: 220px minmax(0, 1fr);
}

.rme-compliance .rme-compliance__list strong {
  min-width: 0;
  padding: 12px 16px;
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.05;
  white-space: nowrap;
}

.rme-compliance .rme-compliance__list span {
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 12px 18px;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.28;
}

.rme-compliance .rme-compliance__image {
  width: 100%;
  min-height: 100%;
  align-self: stretch;
}

.rme-compliance .rme-compliance__image img {
  height: 100%;
  object-position: bottom;
}

/* Variación decorativa de Seguridad Privada sobre el contrato compartido. */
.security-compliance.rme-compliance .eyebrow {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  color: inherit;
}

.security-compliance.rme-compliance .rme-compliance__title {
  position: relative;
  z-index: 2;
}

.security-compliance.rme-compliance .security-compliance__layout {
  isolation: isolate;
}

.security-compliance.rme-compliance .security-compliance__hex--left,
.security-compliance.rme-compliance .security-compliance__hex--right {
  position: absolute;
  z-index: 0;
  height: auto;
  pointer-events: none;
}

.security-compliance.rme-compliance .security-compliance__hex--left {
  top: 0;
  left: -120px;
  width: 110px;
}

.security-compliance.rme-compliance .security-compliance__hex--right {
  top: 80%;
  right: -100px;
  bottom: auto;
  width: 90px;
  transform: translateY(-50%);
}

/* Componente de cumplimiento propio de Obra Civil. */
.obra-compliance {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 6vw, 84px) 0;
  background: var(--color-black);
  color: var(--color-white);
}

.obra-compliance__eyebrow {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: "Futura PT Demi", sans-serif;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.obra-compliance__eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid currentColor;
}

.obra-compliance__layout {
  position: relative;
  isolation: isolate;
}

.obra-compliance__title {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 0 clamp(22px, 2.2vw, 32px);
  color: var(--color-white);
  font-family: "Futura PT Heavy";
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.obra-compliance__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  gap: clamp(30px, 4vw, 52px);
  align-items: stretch;
}

.obra-compliance__list {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 18px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.obra-compliance__list article {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 50px;
  overflow: hidden;
  border: 3px solid #f2b200;
  border-radius: 999px;
  background: transparent;
  color: var(--color-yellow);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.obra-compliance__list article:hover {
  background: linear-gradient(
    90deg,
    var(--color-yellow),
    var(--color-orange)
  );
  color: var(--color-black);
}

.obra-compliance__list strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 100%;
  padding: 12px 16px;
  border-right: 3px solid #f2b200;
  border-radius: 999px;
  font-family: "Futura PT Demi";
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.05;
  text-align: center;
  letter-spacing: 0.035em;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.obra-compliance__list article:hover strong {
  background: var(--color-yellow);
}

.obra-compliance__list span {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 12px 18px;
  color: inherit;
  font-family: "Futura PT Book";
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.28;
}

.obra-compliance__image {
  width: 100%;
  height: 255px;
  min-height: 100%;
  align-self: stretch;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
}

.obra-compliance__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.obra-compliance__hex--left,
.obra-compliance__hex--right {
  position: absolute;
  z-index: 0;
  height: auto;
  pointer-events: none;
}

.obra-compliance__hex--left {
  top: 5px;
  left: -120px;
  width: 110px;
}

.obra-compliance__hex--right {
  top: 62%;
  right: -36px;
  bottom: auto;
  width: 90px;
  transform: translateY(-50%);
}

@media (max-width: 1100px) {
  .rme-compliance .rme-compliance__grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }

  .rme-compliance .rme-compliance__list article {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .rme-compliance .rme-compliance__list strong,
  .rme-compliance .rme-compliance__list span {
    font-size: 17px;
  }

  .obra-compliance__grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }

  .obra-compliance__list article {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .obra-compliance__list strong,
  .obra-compliance__list span {
    font-size: 17px;
  }
}

@media (max-width: 900px) {
  .rme-compliance .rme-compliance__grid {
    grid-template-columns: 1fr;
  }

  .rme-compliance .rme-compliance__image {
    width: 100%;
    height: 320px;
    min-height: 320px;
  }

  .obra-compliance__grid {
    grid-template-columns: 1fr;
  }

  .obra-compliance__image {
    width: 100%;
    height: 320px;
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .mip-certifications {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mip-certification {
    max-width: 180px;
  }

  .rme-compliance .rme-compliance__list {
    grid-auto-rows: auto;
  }

  .rme-compliance .rme-compliance__list article {
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .rme-compliance .rme-compliance__list strong {
    justify-content: flex-start;
    white-space: normal;
    border-right: 0;
    border-bottom: 3px solid #f2b200;
    border-radius: 0;
  }

  .obra-compliance__list {
    grid-auto-rows: auto;
  }

  .obra-compliance__list article {
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .obra-compliance__list strong {
    justify-content: flex-start;
    white-space: normal;
    border-right: 0;
    border-bottom: 3px solid #f2b200;
    border-radius: 0;
  }

  .security-compliance.rme-compliance .security-compliance__hex--left {
    top: -30px;
    left: 80%;
    width: 52px;
  }

  .security-compliance.rme-compliance .security-compliance__hex--right {
    top: auto;
    right: 80%;
    bottom: 20px;
    width: 64px;
    transform: none;
    z-index: 5;
  }

  .obra-compliance__hex--left {
    top: -22px;
    left: 80%;
    width: 52px;
  }

  .obra-compliance__hex--right {
    top: auto;
    right: 20px;
    bottom: 0px;
    width: 54px;
    transform: none;
  }
}

@media (max-width: 640px) {
  .obra-compliance__eyebrow {
    margin-bottom: 8px;
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .mip-certification {
    max-width: 140px;
  }

  .rme-compliance .rme-compliance__title {
    font-size: 25px;
  }

  .rme-compliance .rme-compliance__image {
    height: 100%;
    min-height: 230px;
  }

  .obra-compliance__title {
    font-size: 25px;
  }

  .obra-compliance__image {
    min-height: 230px;
  }
}

/* =========================================================
   ARTÍCULO GLOBAL PARA BLOGS DE SERVICIOS
   Utilizar esta misma estructura en Obra Civil, Limpieza Industrial,
   Control de Plagas, Seguridad Privada y los demás blogs de servicio.
   No modifica navbar, footer ni tarjetas del blog general.
   ========================================================= */

.service-blog-post {
  min-height: 100vh;
  padding: 24px 0 76px;
  background: var(--color-black);
  color: var(--color-white);
}

.service-blog-post__container {
  width: min(calc(100% - 72px), var(--container));
  margin-inline: auto;
}

.service-blog-post__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.service-blog-post__breadcrumb a {
  transition: opacity 0.2s ease;
}

.service-blog-post__breadcrumb a:hover {
  opacity: 0.68;
}

.service-blog-post__breadcrumb [aria-current="page"] {
  font-family: "Futura PT Book", var(--font-main);
}

.service-blog-post__title {
  margin: 0 0 20px;
  color: var(--color-white);
  font-family: "Futura PT Extra Bold", var(--font-main);
  font-size: 60px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.service-blog-post__media {
  width: 100%;
  height: clamp(220px, 32vw, 455px);
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 18px;
  background: #151515;
}

.service-blog-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, 50% 50%);
}



.service-blog-post__category {
  margin: 0 0 10px;
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.service-blog-post__body p {
  margin: 0;
  color: var(--color-white);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.32;
  text-align: justify;
}

.service-blog-post__body p + p {
  margin-top: 10px;
}

@media (max-width: 700px) {
  .service-blog-post {
    padding: 20px 0 58px;
  }

  .service-blog-post__container {
    width: min(calc(100% - 32px), var(--container));
  }

  .service-blog-post__breadcrumb {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .service-blog-post__title {
    margin-bottom: 14px;
    font-size: clamp(38px, 11vw, 52px);
  }

  .service-blog-post__media {
    height: clamp(210px, 58vw, 330px);
    margin-bottom: 22px;
    border-radius: 16px;
  }
}

@media (max-width: 420px) {
  .service-blog-post__container {
    width: min(calc(100% - 24px), var(--container));
  }

  .service-blog-post__breadcrumb {
    gap: 8px;
    font-size: 13px;
  }

  .service-blog-post__title {
    font-size: 38px;
  }

  .service-blog-post__media {
    height: 210px;
    border-radius: 14px;
  }

  .service-blog-post__category {
    font-size: 18px;
  }

  .service-blog-post__body p {
    font-size: 16px;
    line-height: 1.38;
  }
}

/* =========================================================
   BLOG — INTEGRACIÓN VISUAL DEL BANNER DE NEWSLETTER
   Mantener este bloque al final de styles.css.
   ========================================================= */

.newsletter-section.newsletter-section--blog {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(54px, 6vw, 76px) 0 clamp(64px, 7vw, 88px);
  overflow: hidden;
  background:transparent;
}

.newsletter-section.newsletter-section--blog::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.16),
      rgba(255, 255, 255, 0.05) 48%,
      rgba(255, 255, 255, 0.12)
    );
  pointer-events: none;
}

.newsletter-section.newsletter-section--blog .container {
  position: relative;
  z-index: 1;
}

.newsletter-section.newsletter-section--blog .newsletter-banner {
  border: 1px solid rgba(255, 242, 0, 0.14);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.035);
}

/* Mantiene una separación clara entre el banner y el footer. */
.newsletter-section.newsletter-section--blog + * {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .newsletter-section.newsletter-section--blog {
    padding: 46px 0 56px;
    background-position: center bottom;
  }
}

@media (max-width: 420px) {
  .newsletter-section.newsletter-section--blog {
    padding: 38px 0 46px;
  }
}

/* =========================================================
   SEGURIDAD PRIVADA - BANNER GENERAL DE SECTORES
   Se agregan clases nuevas para no sobrescribir
   .oc-sector-experience, .oc-sector-grid ni .oc-sector-card.
   ========================================================= */

.security-sectors-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 78px) 0;
  background: #f4f4f4;
}

.security-sectors-banner__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.75fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: 390px;
  padding: clamp(38px, 5vw, 66px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 242, 0, 0.14), transparent 30%),
    linear-gradient(120deg, #050505 0%, #111111 68%, #181818 100%);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18);
}

.security-sectors-banner__panel::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  z-index: -1;
  width: 280px;
  height: 280px;
  border: 42px solid rgba(255, 242, 0, 0.08);
  border-radius: 50%;
}



.security-sectors-banner__content {
  max-width: 760px;
}

.security-sectors-banner__eyebrow {
  margin: 0 0 12px;
  color: var(--color-yellow);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.security-sectors-banner__content h2 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.security-sectors-banner__text {
  max-width: 720px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.58;
}

.security-sectors-banner__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  color: var(--color-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(245, 164, 0, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.security-sectors-banner__button span {
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .security-sectors-banner__button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 30px rgba(245, 164, 0, 0.26);
  }

  .security-sectors-banner__button:hover span {
    transform: translateX(5px);
  }
}

.security-sectors-banner__button:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 4px;
}

.security-sectors-banner__summary {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(5px);
}

.security-sectors-banner__summary > p {
  margin: 0 0 16px;
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1rem;
  font-weight: 900;
}

.security-sectors-banner__summary ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-sectors-banner__summary li {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 242, 0, 0.18);
  border-radius: 10px;
  background: rgba(255, 242, 0, 0.07);
  color: rgba(255, 255, 255, 0.92);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.94rem;
  line-height: 1.15;
}

.security-sectors-banner__summary li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 0 4px rgba(255, 242, 0, 0.08);
}

@media (max-width: 920px) {
  .security-sectors-banner__panel {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
  }

  .security-sectors-banner__content,
  .security-sectors-banner__content h2,
  .security-sectors-banner__text {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .security-sectors-banner {
    padding: 42px 0;
  }

  .security-sectors-banner__panel {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .security-sectors-banner__summary {
    padding: 18px;
    border-radius: 16px;
  }

  .security-sectors-banner__summary ul {
    grid-template-columns: 1fr;
  }

  .security-sectors-banner__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .security-sectors-banner__button,
  .security-sectors-banner__button span {
    transition: none;
  }
}

/* =========================================================
   SEGURIDAD PRIVADA - SECCIÓN COMPLETA DE SECTORES
   Clases nuevas: no modifica ni sobrescribe el banner anterior.
   El fondo pertenece a la sección y ocupa el 100% del viewport.
   ========================================================= */

.security-sectors-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: clamp(64px, 8vw, 108px) 0;
  background: #050505;
  color: var(--color-white);
}

.security-sectors-section::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -130px;
  z-index: -1;
  width: 430px;
  height: 430px;
  border: 58px solid rgba(255, 242, 0, 0.055);
  border-radius: 50%;
  pointer-events: none;
}

.security-sectors-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
    circle at 82% 28%,
    rgba(245, 164, 0, 0.08),
    transparent 34%
  );
  pointer-events: none;
}

.security-sectors-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}

.security-sectors-section__content {
  max-width: 790px;
}

.security-sectors-section__eyebrow {
  margin: 0 0 14px;
  color: var(--color-yellow);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.security-sectors-section__content h2 {
  max-width: 790px;
  margin: 0 0 20px;
  color: var(--color-white);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.security-sectors-section__text {
  max-width: 740px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.62;
  text-align: justify;
}

.security-sectors-section__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  color: var(--color-black);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(245, 164, 0, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.security-sectors-section__button span {
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .security-sectors-section__button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 30px rgba(245, 164, 0, 0.26);
  }

  .security-sectors-section__button:hover span {
    transform: translateX(5px);
  }
}

.security-sectors-section__button:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 4px;
}

.security-sectors-section__summary {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border-left: 3px solid var(--color-yellow);
  background: rgba(255, 255, 255, 0.045);
}

.security-sectors-section__summary > p {
  margin: 0 0 18px;
  color: var(--color-white);
  font-family: "Futura PT Demi", var(--font-main);
  font-size: 1rem;
  font-weight: 900;
}

.security-sectors-section__summary ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-sectors-section__summary li {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.92);
  font-family: "Futura PT Book", var(--font-main);
  font-size: 0.96rem;
  line-height: 1.2;
}

.security-sectors-section__summary li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 0 4px rgba(255, 242, 0, 0.07);
}

@media (max-width: 920px) {
  .security-sectors-section__layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .security-sectors-section__content,
  .security-sectors-section__content h2,
  .security-sectors-section__text {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .security-sectors-section {
    padding: 56px 0 62px;
  }

  .security-sectors-section::before {
    top: -130px;
    right: -170px;
    width: 330px;
    height: 330px;
    border-width: 42px;
  }

  .security-sectors-section__summary {
    padding: 22px 18px;
  }

  .security-sectors-section__summary ul {
    grid-template-columns: 1fr;
  }

  /* MIP: dos columnas solo en el listado de plagas en mobile. */
  [aria-labelledby="mip-vectors-section-title"] .security-sectors-section__summary ul {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }

  [aria-labelledby="mip-vectors-section-title"] .security-sectors-section__summary li {
    display: grid;
    grid-template-columns: 7px minmax(0, 1fr);
    column-gap: 8px;
    min-width: 0;
    padding-inline: 4px;
    overflow-wrap: anywhere;
  }

  [aria-labelledby="mip-vectors-section-title"] .security-sectors-section__summary li::before {
    margin-right: 0;
  }

  .security-sectors-section__summary[aria-label*="sectores"] ul,
  .oc-sector-experience__summary ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 0;
  }

  .security-sectors-section__summary[aria-label*="sectores"] li,
  .oc-sector-experience__summary li {
    min-width: 0;
    padding-inline: 8px;
    font-size: 0.9rem;
  }

  .security-sectors-section__summary[aria-label*="sectores"] li::before,
  .oc-sector-experience__summary li::before {
    margin-right: 8px;
  }

  .security-sectors-section__button {
    width: 100%;
  }
}

/* =========================================================
   INDEX — MODO MÁQUINA TIPO LLMS.TXT / MARKDOWN
   El HTML de .machine-readable-view existe únicamente en index.
   ========================================================= */

.machine-readable-view {
  display: none;
}

html[data-cormago-mode="machine"] body {
  min-height: 100vh;
  background: #242424;
  color: #d2d2d2;
}

/* En modo Máquina se sustituye visualmente el sitio comercial por
   una representación de texto estructurado dentro del MISMO index. */
html[data-cormago-mode="machine"] .site-header,
html[data-cormago-mode="machine"] body > main,
html[data-cormago-mode="machine"] .site-footer {
  display: none !important;
}

html[data-cormago-mode="machine"] .machine-readable-view {
  display: block;
  min-height: 100vh;
  padding: 56px 64px 150px;
  background: #242424;
}

.machine-readable-view__content {
  width: 100%;
  max-width: 1380px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d0d0d0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
  tab-size: 2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.005em;
  text-align: left;
}

/* Oculta acciones comerciales para dejar una salida limpia como la
   referencia; el selector de modo permanece disponible para regresar. */
html[data-cormago-mode="machine"] .floating-actions__whatsapp,
html[data-cormago-mode="machine"] .floating-actions__contact {
  display: none !important;
}

html[data-cormago-mode="machine"] .floating-actions {
  right: 22px;
  bottom: 22px;
  gap: 0;
}

html[data-cormago-mode="machine"] .mode-switcher__trigger {
  border: 1px solid #666;
  background: rgba(50, 50, 50, 0.94);
  color: #dedede;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html[data-cormago-mode="machine"] .mode-switcher__caption {
  color: #a9a9a9;
}

html[data-cormago-mode="machine"] .mode-switcher__current {
  color: #f0f0f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

html[data-cormago-mode="machine"] .mode-switcher__menu {
  border-color: #565656;
  background: rgba(42, 42, 42, 0.98);
}

html[data-cormago-mode="machine"] .mode-switcher__option {
  color: #e1e1e1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  box-shadow: none;
}

html[data-cormago-mode="machine"] .mode-switcher__option.is-active {
  background: #555;
  color: #fff;
}

html[data-cormago-mode="machine"] .mode-switcher__option:hover {
  background: #484848;
}

@media (max-width: 760px) {
  html[data-cormago-mode="machine"] .machine-readable-view {
    padding: 34px 22px 130px;
  }

  .machine-readable-view__content {
    font-size: 12.5px;
    line-height: 1.58;
  }

  html[data-cormago-mode="machine"] .floating-actions {
    right: 14px;
    bottom: 18px;
  }
}

@media (max-width: 420px) {
  html[data-cormago-mode="machine"] .machine-readable-view {
    padding: 24px 16px 118px;
  }

  .machine-readable-view__content {
    font-size: 11.5px;
    line-height: 1.58;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-cormago-mode="machine"] .mode-switcher__trigger,
  html[data-cormago-mode="machine"] .mode-switcher__option {
    transition: none;
  }
}


/* =========================================================
   EMPRESA · ACCESO A DIFERENCIADORES
   Agregar una sola vez al final de /assets/css/styles.css.
   Ubicación HTML: después de Valores y antes de .company-cta.
   ========================================================= */

.company-diff-preview {
  padding: 0 0 clamp(48px, 5vw, 72px);
  background: #f3f3f3;
  color: var(--color-white, #fff);
}

.company-diff-preview__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "intro action" "pillars pillars";
  align-items: center;
  gap: 24px clamp(24px, 3vw, 44px);
  padding: clamp(26px, 2.8vw, 36px);
  border: 1px solid rgba(255, 242, 0, 0.24);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 242, 0, 0.12), transparent 52%),
    var(--color-black, #000);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.company-diff-preview__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--color-yellow, #fff200), var(--color-orange, #f5a400));
  pointer-events: none;
}

.company-diff-preview__intro {
  grid-area: intro;
  min-width: 0;
}

.company-diff-preview .company-diff-preview__eyebrow {
  margin: 0 0 14px;
  color: var(--color-yellow, #fff200);
  font-family: "Futura PT Demi", var(--font-main, sans-serif);
  font-size: 0.94rem;
  line-height: 1.3;
  letter-spacing: 0.055em;
}

.company-diff-preview .company-diff-preview__title {
  margin: 0;
  color: var(--color-white, #fff);
  font-family: "Futura PT Heavy", var(--font-main, sans-serif);
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: none;
}

.company-diff-preview__title span {
  display: block;
  color: var(--color-yellow, #fff200);
}

.company-diff-preview .company-diff-preview__description {
  max-width: 64ch;
  margin: 16px 0 0;
  color: #d0d0d0;
  font-family: "Futura PT Book", var(--font-main, sans-serif);
  font-size: 1.1875rem;
  line-height: 1.5;
  text-align: left;
}

.company-diff-preview__pillars {
  grid-area: pillars;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 24px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.company-diff-preview__pillars li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--color-white, #fff);
  font-family: "Futura PT Demi", var(--font-main, sans-serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
}

.company-diff-preview__pillars svg {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: var(--color-yellow, #fff200);
}

.company-diff-preview .company-diff-preview__button {
  grid-area: action;
  justify-self: end;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 8px;
  color: var(--color-black, #000);
  font-family: "Futura PT Demi", var(--font-main, sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}

.company-diff-preview__button svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.company-diff-preview__button:focus-visible {
  outline: 3px solid var(--color-yellow, #fff200);
  outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .company-diff-preview__button:hover svg {
    transform: translateX(4px);
  }
}

@media (max-width: 960px) {
  .company-diff-preview__card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "pillars" "action";
    gap: 24px;
  }

  .company-diff-preview__pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-diff-preview .company-diff-preview__button {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .company-diff-preview__card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .company-diff-preview .company-diff-preview__eyebrow {
    font-size: 0.78rem;
  }

  .company-diff-preview .company-diff-preview__description {
    font-size: 1.0625rem;
    line-height: 1.45;
  }

  .company-diff-preview__pillars {
    gap: 18px 12px;
    padding-top: 20px;
  }

  .company-diff-preview__pillars li {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9375rem;
  }

  .company-diff-preview .company-diff-preview__button {
    width: 100%;
    padding-inline: 14px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-diff-preview .company-diff-preview__button,
  .company-diff-preview .company-diff-preview__button svg {
    animation: none;
    transition: none;
    transform: none;
  }
}

/* Home hero: white transparent assets distributed across the content column. */
.hero-home .hero-home__content > .hero-home__intro {
  margin-bottom: 0;
}

.hero-home .hero-home__certifications {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  align-items: center;
  justify-items: center;
  gap: 20px;
  margin: 20px 0;
}

.hero-home .hero-home__certifications-logo {
  display: block;
  min-width: 0;
  max-width: 100%;
  height: 112px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .hero-home .hero-home__certifications {
    gap: 10px;
    margin-top: 14px;
  }

  .hero-home .hero-home__certifications-logo {
    height: clamp(56px, 16vw, 68px);
  }
}

/* Hero focal points: shared 980px / 640px breakpoints; photograph positions
   are configured on each component. Background shorthands consume the active
   value on their image layer only, preserving overlays and cover sizing. */

.service-blog-post__media img[src="/assets/img/servicios/obra-civil/blog-materiales-primer-nivel.webp"] {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 50% 50%;
  --hero-position-mobile: 50% 50%;
}

.service-blog-post__media img[src="/assets/img/servicios/seguridad-privada/blog-monitoreo.webp"] {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 50% 50%;
  --hero-position-mobile: 50% 50%;
}

.service-blog-post__media img[src="/assets/img/servicios/limpieza-industrial/limpieza-sanitizacion.webp"] {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 50% 50%;
  --hero-position-mobile: 50% 50%;
}

.service-blog-post__media img[src="/assets/img/servicios/residuos-manejo-especial/logistica-residuos.webp"] {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 50% 50%;
  --hero-position-mobile: 50% 50%;
}

.service-blog-post__media img[src="/assets/img/blog/temporada-moscas-verano.webp"] {
  --hero-position-desktop: 50% 50%;
  --hero-position-tablet: 50% 50%;
  --hero-position-mobile: 50% 50%;
}

:is(
  .hero-home,
  .company-hero,
  .services-hero,
  .security-hero,
  .mip-hero,
  .oc-hero,
  .rme-hero,
  .li-hero,
  .contact-v2-hero,
  .ocs-hero,
  .sps-hero,
  .lis-hero,
  .rms-hero,
  .mips-hero,
  .diff-hero,
  .service-blog-post__media img
) {
  --hero-position: var(--hero-position-desktop, center center);
}

@media (max-width: 980px) {
  :is(
    .hero-home,
    .company-hero,
    .services-hero,
    .security-hero,
    .mip-hero,
    .oc-hero,
    .rme-hero,
    .li-hero,
    .contact-v2-hero,
    .ocs-hero,
    .sps-hero,
    .lis-hero,
    .rms-hero,
    .mips-hero,
    .diff-hero,
    .service-blog-post__media img
  ) {
    --hero-position: var(--hero-position-tablet, var(--hero-position-desktop, center center));
  }
}

@media (max-width: 640px) {
  :is(
    .hero-home,
    .company-hero,
    .services-hero,
    .security-hero,
    .mip-hero,
    .oc-hero,
    .rme-hero,
    .li-hero,
    .contact-v2-hero,
    .ocs-hero,
    .sps-hero,
    .lis-hero,
    .rms-hero,
    .mips-hero,
    .diff-hero,
    .service-blog-post__media img
  ) {
    --hero-position: var(--hero-position-mobile, var(--hero-position-tablet, var(--hero-position-desktop, center center)));
  }
}