@font-face {
  font-family: Comex;
  font-style: normal;
  font-weight: 400;
  src: url(fonts/comex-medium.eot);
  src: url(fonts/comex-medium.eot?#iefix) format("embedded-opentype"),
       url(fonts/comex-medium.woff) format("woff"),
       url(fonts/comex-medium.woff2) format("woff2"),
       url(fonts/comex-medium.ttf) format("truetype");
}

@font-face {
  font-family: Comex;
  font-style: normal;
  font-weight: 700;
  src: url(fonts/comex-bold.eot);
  src: url(fonts/comex-bold.eot?#iefix) format("embedded-opentype"),
       url(fonts/comex-bold.otf) format("opentype"),
       url(fonts/comex-bold.woff2) format("woff2"),
       url(fonts/comex-bold.ttf) format("truetype");
}

@font-face {
  font-family: Comex;
  font-style: normal;
  font-weight: 900;
  src: url(fonts/comex-black.eot);
  src: url(fonts/comex-black.eot?#iefix) format("embedded-opentype"),
       url(fonts/comex-black.woff) format("woff"),
       url(fonts/comex-black.woff2) format("woff2"),
       url(fonts/comex-black.ttf) format("truetype");
}

* {
  color-scheme: light;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Comex, Open Sans, serif;
}

:root {
  color-scheme: only light;
  forced-color-adjust: none;
  background-color: #ffffff;
}

html, body {
    max-width: 600px;
    margin:0 auto;
  background-color: #ffffff !important;
  -webkit-background-color: #ffffff !important;
  color-scheme: light;
  forced-color-adjust: none;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

body.fade-out {
  opacity: 0;
}

.page-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background-color: #ffffff;
}

@media (min-width: 600px) {
  .page-wrapper {
    min-height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }
}

header {
  background-color: #009dda;
  text-align: center;
  padding: 10px 0;
}

header img {
  max-width: 120px;
  height: auto;
}

h1, h2 {
  text-align: center;
  color: #333;
  margin: 20px 0;
  font-family: Comex, sans-serif;
}

h2 {
  font-size: 1.2rem;
  color: #555;
}

.slider-container {
  position: relative;
  max-width: 100%;

  overflow: hidden;
}

.slider {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
}

.slide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
 
}

.slide img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.slide1 {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
 
}

.slide1 img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}


.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #01ace6;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
}

.slider-button.prev {
  left: 10px;
}

.slider-button.next {
  right: 10px;
}

.slide a {
  position: absolute;
  bottom: -65px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.slide a img {
  width: 120px;
  height: auto;
}

.two-column {
  display: flex;
  justify-content: space-evenly;
  gap: 10px;
  margin: 0 auto;
  max-width: 800px;
  padding: 10px;
}

.column {
  flex: 1;
  text-align: center;
}

.column button {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  margin: 10px auto;
  padding: 0;
}

.column button img {
  width: 100%;
  transform: translateX(0%);
  display: block;
}

.bottom-center {
  text-align: center;
  margin-top: -10px;
}

.bottom-center button {
  width: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.bottom-center button img {
  width: 100%;
  height: auto;
}

.blue-background {
  background-color: #005597;
  padding: 40px 20px 30px 20px;
  margin-top: 0;
}

.blue-background button {
  padding: 10px 20px;
  display: block;
  width: 70%;
  height: auto;
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
}

.blue-background button img {
  width: 70%;
  height: auto;
}

.responsive-image img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.responsive-image_title1 {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .responsive-image_title1 {
    width: 90%;
    max-width: 90%;
  }

  .two-column {
    justify-content: space-between;
    gap: 0;
  }

  .column {
    width: 50%;
  }

  .column button img {
    width: 100%;
    transform: translateX(0%);
  }
}

.footer {
  background-color: #009dda;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  font-family: Comex, sans-serif;
}

.footer p {
  margin: 10px 0;
  font-size: 14px;
  text-align: left;
}

.footer a {
  color: #ffffff;
  text-decoration: none !important;
}

.footer-line {
  border-bottom: 1px solid #ffffff;
  margin: 10px 0;
}

.fixed-image {
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 1000;
}

.fixed-image img {
  width: 50px;
  height: auto;
}

.fixed-image2 {
  position: absolute;
  z-index: 1000;
  width: 100%;
}

.fixed-image2 img {
  width: 150px;
  height: auto;
  margin: 0 auto;
  display: block;
}

@media (max-width: 667px) {
  .fixed-image2 {
    top: 550px;
  }
}

@media (max-width: 844px) {
  .fixed-image2 {
    top: 570px;
  }
}

@media (max-width: 896px) {
  .fixed-image2 {
    top: 610px;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
  }
}
/* Franja de redes sociales compartida por los footers */
.social-banner {
  width: 100%;
  height: min(67px, 13.958vw);
  display: flex;
  align-items: center;
  gap: min(18px, 3.75vw);
  padding-left: min(17px, 3.542vw);
  overflow: hidden;
  background: #00a5df;
  border-bottom: min(2px, .417vw) solid #fff;
  color: #fff;
}
.social-banner h2 {
  flex: 0 0 min(58px, 12.083vw);
  margin: 0;
  color: #fff;
  font-family: 'ComexBold', sans-serif;
  font-size: min(15px, 3.125vw);
  line-height: 1;
  white-space: nowrap;
}
.social-links {
  flex: none;
  display: flex;
  align-items: center;
  gap: min(13px, 2.708vw);
}
.social-links a {
  flex: 0 0 min(25px, 5.208vw);
  width: min(25px, 5.208vw);
  height: min(25px, 5.208vw);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #00a5df;
  text-decoration: none;
  font-size: min(14px, 2.917vw);
}
.social-links .fa-tiktok,
.social-links .fa-youtube,
.social-links .fa-linkedin-in { font-size: min(13px, 2.708vw); }
@media (max-width: 600px) {
  .social-banner h2 { flex-basis: 62px; font-size: 16px; }
  .social-links a { flex-basis: 27px; width: 27px; height: 27px; font-size: 15px; }
  .social-links .fa-tiktok,
  .social-links .fa-youtube,
  .social-links .fa-linkedin-in { font-size: 14px; }
}
.social-banner + .legal {
  padding: min(10px, 2.083vw) min(17px, 3.542vw) min(16px, 3.333vw);
}
.social-banner + .legal p {
  font-size: min(10px, 2.083vw);
  line-height: 1.3;
}

/* Categorias de soluciones */
.categories {
  background: #f0fcfd;
  padding: 18px 16px;
}

.section-title {
  margin: 0 0 10px;
  color: #04148e;
  font-family: 'Comex', sans-serif;
  font-size: 1.2rem;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 20px;
  align-items: center;
  margin-top: 30px;
}

.category-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px;
  border: 2px solid #fff;
  border-radius: 11px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.10);
  color: #fff;
  font-family: 'Comex', sans-serif;
  text-align: center;
  text-decoration: none;
}

.fondo1 { background: #7bb128; font-size: 1rem; }
.fondo2 { background: #db2a2d; font-size: 1rem; }
.fondo3 { background: #000; font-size: 1rem; }
.fondo4 { background: #ec8c23; font-size: 1rem; }
.fondo5 { background: #00877e; font-size: 0.80rem; }
.fondo6 { background: #652c1d; font-size: 1rem; }
.fondo7 { background: #00556f; font-size: 0.90rem; }
.fondo8 { background: #7a297f; font-size: 0.90rem; }
.fondo9 { background: #25aae2; font-size: 1rem; }
.fondo10 { background: #0761a8; font-size: 1rem; }
.fondo11 { background: #7ab229; font-size: 1rem; }
.fondo12 { background: #cf3e8a; font-size: 0.90rem; }

.category-pill.fondo11,
.category-pill.fondo13 {
  position: relative;
  justify-content: flex-start;
  padding-left: 85px;
}

.category-pill.fondo11::before,
.category-pill.fondo13::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  width: 70px;
  height: 70px;
  transform: translateY(-50%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.category-pill.fondo13 .superioridad-label {
  display: block;
  transform: translateY(2px);
}

.category-pill.fondo11::before {
  background-image: url('../../eco/img/eco.webp');
}

.category-pill.fondo13 {
  background: #00b5af;
  padding-left: 82px;
  padding-right: 4px;
  font-size: 0.65rem;
  line-height: 1.05;
  text-align: center;
}

.category-pill.fondo13::before {
  left: 7px;
  width: 72px;
  height: 72px;
  background-image: url('../../imgglobal/SUPERIORIDAD-2.webp');
}

.category-grid .fondo12 {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 10px);
}

.category-pill:hover { box-shadow: 0 6px 12px rgba(0, 0, 0, 0.14); }
.category-pill:active {
  transform: scale(0.97) translateY(1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
