:root {
  --azul: #008fbd;
  --azul-btn: #00aee0;
  --verde: #7bf09a;
  --verde-titulo: #63c9aa;
  --texto: #347f98;
  --gris-menu: #6e8589;
  --blanco: #ffffff;
}

/* ======================================================
   RESET
====================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  background: #ffffff;
  color: var(--texto);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ================= HEADER ================= */
.header {
  width: 100%;
  min-height: 80px;
  /* Espaciado fluido a los lados */
  padding: 15px clamp(20px, 4vw, 42px);

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
  z-index: 50;

  /* Fondo ligeramente más sólido para que no se pierdan los textos */
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  /* Sombrita elegante */
}

/* ================= LOGO ================= */
.header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
  /* Evita que el logo se aplaste al hacer zoom */
}

.header-logo img {
  /* Escala fluidamente entre 160px y 260px dependiendo de la pantalla */
  width: clamp(160px, 18vw, 260px);
  height: auto;
  display: block;
}

/* ================= NAVEGACIÓN ================= */
.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 3vw, 40px);
  /* Separación fluida para que no choquen */
}

.header-nav a {
  text-decoration: none;
}

.header-nav>a:not(.btn-whatsapp-img) {
  color: #8d8d8d;
  /* Tamaños y espacios sensatos para un menú */
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 500;
  letter-spacing: 2px;
  transition: color 0.2s ease;
  white-space: nowrap;
  /* Evita que las palabras se partan en dos renglones */
}

.header-nav>a:not(.btn-whatsapp-img):hover {
  color: #00a9df;
}

/* ================= BOTÓN WHATSAPP COMO IMAGEN ================= */
.btn-whatsapp-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  /* Evita que el botón se corte o se apachurre */
}

.btn-whatsapp-img img {
  /* Escala fluidamente para caber siempre en pantalla */
  width: clamp(170px, 16vw, 240px);
  height: auto;
  display: block;
}

.btn-whatsapp-img:hover {
  transform: translateY(-2px);
}

/* ================= BOTÓN HAMBURGUESA ================= */
.menu-toggle {
  display: none;
  width: 40px;
  height: 35px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 80;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 4px;
  margin: 6px 0;
  background: #00a9df;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ================= RESPONSIVE MÓVIL (Menú Hamburguesa) ================= */
@media (max-width: 950px) {
  .header {
    min-height: 75px;
    padding: 15px 25px;
  }

  .header-logo img {
    width: 180px;
  }

  .menu-toggle {
    display: block;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 25px 20px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);

    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: all 0.3s ease;
  }

  .header-nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-nav>a:not(.btn-whatsapp-img) {
    font-size: 20px;
    letter-spacing: 3px;
  }

  .btn-whatsapp-img img {
    width: 220px;
  }
}

/* ================= RESPONSIVE MÓVIL CHICO ================= */
@media (max-width: 480px) {
  .header {
    padding: 12px 15px;
  }

  .header-logo img {
    width: 150px;
  }

  .menu-toggle {
    width: 35px;
  }

  .header-nav>a:not(.btn-whatsapp-img) {
    font-size: 18px;
  }

  .btn-whatsapp-img img {
    width: 200px;
  }
}


/* ======================================================
   HERO NOSOTROS
====================================================== */

.hero-nosotros {
  width: 100%;
  min-height: 500px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  background: #89efa5;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1680px, 98%);
  min-height: 500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr 360px;
  align-items: center;
  gap: 20px;
}

.hero-mono-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: clamp(20px, 3vw, 55px);
}

.hero-mono {
  width: clamp(185px, 14vw, 260px);
  filter: drop-shadow(0 12px 18px rgba(0, 80, 100, 0.14));
}

.hero-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 0 45px;
}

.hero-text h1 {
  color: #ffffff;
  text-align: center;
  font-size: clamp(34px, 3.25vw, 55px);
  line-height: 1.2;
  font-weight: 900;
  width: 100%;
  max-width: 1000px;
  /* Le da el ancho perfecto para que no se apachurre */
  margin: 0 auto;
  text-shadow: 0 6px 16px rgba(0, 80, 100, 0.18);
}

.intro p {
  color: var(--texto);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.6;
  font-weight: 500;
  width: 100%;
  max-width: 1100px;
  /* Ajuste fluido */
  margin: 0 auto 32px;
}

.experiencia-text p {
  color: var(--texto);
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1.6;
  font-weight: 500;
}


.hero-space {
  width: 100%;
  height: 100%;
}

/* ======================================================
   QUIÉNES SOMOS
====================================================== */

.quienes-section {
  background: #ffffff;
  padding: 90px 0 35px;
}

.container {
  width: min(1180px, 88%);
  margin: 0 auto;
}

.intro {
  text-align: center;
}

.intro h2 {
  color: var(--azul);
  font-size: clamp(48px, 4.7vw, 78px);
  line-height: 1;
  font-weight: 900;
  margin-bottom: 35px;
}


/* ======================================================
   EXPERIENCIA Y ALCANCE
====================================================== */

.experiencia {
  margin-top: 82px;
  display: grid;
  grid-template-columns: 1fr 390px;
  align-items: center;
  gap: 75px;
}

.experiencia-text h3 {
  color: var(--verde-titulo);
  font-size: clamp(45px, 4.3vw, 78px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 42px;
}


.experiencia-text ul {
  margin: 8px 0 8px 24px;
}

.experiencia-text li {
  color: var(--azul);
  font-size: clamp(20px, 1.55vw, 28px);
  line-height: 1.45;
  font-weight: 900;
}

.experiencia-img img {
  width: 385px;
  margin: 0 auto;
}

/* ======================================================
   ESTÁNDARES REPSE / DC3
====================================================== */

/* ================= SECCIÓN DIFERENTES ================= */
.different-section {
  width: 100%;
  background: #ffffff;
  padding: 70px 0 85px;
  overflow: hidden;
}

/* Contenedor principal */
.different-container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 390px 1fr;
  align-items: center;
  gap: 70px;

  padding: 0 40px;
}

/* ================= IMÁGENES IZQUIERDAS ================= */
.different-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 58px;
}

/* Imagen REPSE */
.different-img-repse {
  width: 360px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Imagen DC3 */
.different-img-dc3 {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================= CONTENIDO DERECHO ================= */
.different-content {
  width: 100%;
}

/* Título */
.different-content h2 {
  color: #0088c9;
  font-size: clamp(38px, 4vw, 65px);
  /* Ajusté un poco el tamaño máximo */
  line-height: 1.1;
  /* Le di un poco más de espacio entre renglones */
  font-weight: 900;
  margin: 0 0 50px;
  /* Reduje un poco el margen inferior */
  text-align: left;
  white-space: normal;
  /* ¡MAGIA! Ahora sí puede bajar de renglón */
}

/* Lista de puntos */
.different-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* Cada renglón */
.different-item {
  width: 100%;
  min-height: 58px;
  padding: 8px 40px;
  /* Ajusté el padding para que respire más si hay dos renglones */

  display: flex;
  align-items: center;

  color: #0088c9;
  font-size: clamp(26px, 2.5vw, 44px);
  /* Ajusté el tamaño máximo */
  line-height: 1.2;
  /* Le di un poco más de espacio entre renglones */
  font-weight: 300;

  white-space: normal;
  /* ¡MAGIA! Permite que los textos largos bajen de renglón si es necesario */
}

/* Fondo verde */
.different-green {
  background: #d3f8d7;
}

/* Fondo azul */
.different-blue {
  background: #63cee5;
}

/* Negritas REPSE y DC3 */
.different-item strong {
  font-weight: 900;
}

/* ================= ICONOS 3D ================= */
.icono-3d {
  width: 28px;
  /* Ajusta este tamaño si los quieres más grandes o más chicos */
  height: auto;
  object-fit: contain;
  display: block;
}

/* ================= RESPONSIVE LAPTOP ================= */
@media (max-width: 1366px) {
  .different-section {
    padding: 60px 0 75px;
  }

  .different-container {
    max-width: 1240px;
    grid-template-columns: 330px 1fr;
    gap: 55px;
    padding: 0 34px;
  }

  .different-images {
    gap: 48px;
  }

  .different-img-repse {
    width: 310px;
  }

  .different-img-dc3 {
    width: 260px;
  }

  .different-content h2 {
    font-size: 46px;
    margin-bottom: 40px;
  }

  .different-list {
    gap: 22px;
  }

  .different-item {
    min-height: 52px;
    padding: 8px 30px;
    font-size: 34px;
  }
}

/* ================= RESPONSIVE TABLET ================= */
@media (max-width: 992px) {
  .different-section {
    padding: 50px 0 60px;
  }

  .different-container {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 0 24px;
  }

  /* En tablet también mandamos el contenido primero */
  .different-content {
    order: 1;
  }

  .different-images {
    order: 2;

    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 42px;
  }

  .different-img-repse {
    width: 260px;
  }

  .different-img-dc3 {
    width: 220px;
  }

  .different-content h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 30px;
    white-space: normal;
  }

  .different-item {
    min-height: 54px;
    padding: 10px 28px;
    font-size: 28px;
    justify-content: center;
    /* Centramos el texto en tablet */
    text-align: center;
  }
}

/* ================= RESPONSIVE MÓVIL ================= */
@media (max-width: 650px) {
  .different-section {
    padding: 42px 0 50px;
  }

  .different-container {
    padding: 0 16px;
    gap: 32px;
  }

  /* Primero título y puntos */
  .different-content {
    order: 1;
  }

  /* Después imágenes abajo */
  .different-images {
    order: 2;

    flex-direction: column;
    gap: 28px;
  }

  .different-content h2 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 24px;
    text-align: center;
  }

  .different-list {
    gap: 16px;
  }

  .different-item {
    min-height: 50px;
    padding: 10px 18px;
    justify-content: center;

    font-size: 20px;
    text-align: center;
    white-space: normal;
  }

  .different-img-repse {
    width: 245px;
  }

  .different-img-dc3 {
    width: 210px;
  }
}

/* ================= RESPONSIVE MÓVIL CHICO ================= */
@media (max-width: 420px) {
  .different-section {
    padding: 38px 0 45px;
  }

  .different-container {
    padding: 0 12px;
  }

  .different-content h2 {
    font-size: 24px;
  }

  .different-item {
    font-size: 18px;
    padding: 10px 12px;
  }

  .different-img-repse {
    width: 220px;
  }

  .different-img-dc3 {
    width: 190px;
  }
}


.nota {
  width: min(1050px, 88%);
  margin: 48px auto 0;
  text-align: center;
  color: var(--texto);
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 500;
}

.nota strong {
  color: var(--azul);
  font-weight: 900;
}

/* ======================================================
   BANDA OPERACIÓN
====================================================== */

.operacion-section {
  width: 100%;
  min-height: 455px;
  position: relative;
  overflow: hidden;
  background: #9bf3ad;
  display: flex;
  align-items: center;
}

.operacion-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
}

.operacion-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg,
      rgba(0, 130, 150, 0.08) 0%,
      rgba(0, 178, 165, 0.36) 42%,
      rgba(154, 255, 176, 0.84) 100%);
}

.operacion-content {
  position: relative;
  z-index: 3;
  width: min(1260px, 90%);
  min-height: 455px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 70px 0;
}



/* ======================================================
   CTA FINAL
====================================================== */

.cta-section {
  min-height: 415px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 90px 0 80px;
}

.cta-content {
  position: relative;
  z-index: 4;
  text-align: center;
  width: min(990px, 76%);
}

.operacion-content h2 {
  width: 100%;
  max-width: 850px;
  color: #ffffff;
  text-align: center;
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1.2;
  font-weight: 600;
  /* Lo bajamos de 900 a 600 (Semi-bold) para hacerlo más ligero */
  text-shadow: 0 6px 16px rgba(0, 80, 100, 0.16);
}

.cta-content h2 {
  color: var(--azul);
  font-size: clamp(44px, 4vw, 70px);
  line-height: 1.08;
  font-weight: 700;
  /* Lo bajamos de 900 a 700 para que respire mejor */
  margin-bottom: 42px;
}

.cta-content a {
  /* Sustituimos el fondo sólido por el degradado azul */
  background: linear-gradient(90deg, #007ac1 0%, #00bce8 100%);
  color: #ffffff;
  border-radius: 999px;
  padding: 15px 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  /* Le bajé un puntito de 900 a 800 para empatar con los títulos */
  box-shadow: 0 8px 18px rgba(0, 174, 224, 0.30);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  /* Transición suave */
}

/* Efecto al pasar el mouse por el botón */
.cta-content a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 174, 224, 0.45);
}

.cta-esponja {
  position: absolute;
  left: -16px;
  bottom: 58px;
  width: clamp(270px, 21vw, 390px);
  z-index: 2;
}

.cta-burbujas {
  position: absolute;
  right: clamp(55px, 8vw, 145px);
  bottom: 58px;
  width: clamp(220px, 17vw, 340px);
  z-index: 2;
}

/* ======================================================
   FOOTER
====================================================== */

.footer {
  background: #ffffff;
  color: #222222;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  padding: 20px 10px 30px;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1050px) {
  .header {
    height: 66px;
  }

  .header-container {
    width: 94%;
    grid-template-columns: 150px 1fr;
  }

  .logo img {
    width: 125px;
  }

  .nav {
    justify-content: flex-end;
    gap: 22px;
  }

  .nav a {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .btn-header {
    display: none;
  }

  .hero-nosotros {
    margin-top: 0px;
    min-height: 440px;
  }

  .hero-content {
    min-height: 440px;
    width: 94%;
    grid-template-columns: 170px 1fr;
  }

  .hero-space {
    display: none;
  }

  .hero-mono-box {
    padding-left: 0;
    justify-content: center;
  }

  .hero-mono {
    width: 145px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .experiencia {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .experiencia-text ul {
    display: inline-block;
    text-align: left;
  }

  .estandares-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .certificaciones {
    display: flex;
    justify-content: center;
    gap: 34px;
  }

  .certificaciones img {
    width: 210px;
    margin-bottom: 0;
  }

  .operacion-section {
    min-height: 520px;
  }

  .operacion-content {
    justify-content: center;
    min-height: 520px;
    padding: 80px 0;
  }

  .operacion-content h2 {
    width: 88%;
    font-size: 38px;
  }

  .cta-esponja,
  .cta-burbujas {
    opacity: 0.45;
  }
}

@media (max-width: 650px) {
  .header-container {
    grid-template-columns: 110px 1fr;
  }

  .logo img {
    width: 100px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .hero-nosotros {
    min-height: 470px;
  }

  .hero-content {
    min-height: 470px;
    grid-template-columns: 1fr;
    padding: 35px 0;
  }

  .hero-mono-box {
    justify-content: center;
  }

  .hero-mono {
    width: 130px;
  }

  .hero-text {
    padding: 10px 15px 25px;
    /* Un poco de margen lateral */
  }

  .hero-text h1 {
    font-size: clamp(24px, 6vw, 34px);
    /* Texto responsivo también en móvil */
    line-height: 1.2;
  }

  .quienes-section {
    padding-top: 55px;
  }

  .intro h2 {
    font-size: 34px;
  }

  /* Textos móviles un poco más grandes y legibles */
  .intro p,
  .experiencia-text p,
  .experiencia-text li,
  .nota {
    font-size: 18px;
    line-height: 1.6;
  }

  .experiencia-text h3 {
    font-size: 35px;
  }

  .experiencia-img img {
    width: 240px;
  }

  .certificaciones {
    flex-direction: column;
    align-items: center;
  }

  .certificaciones img {
    width: 180px;
  }

  .estandares-info h2 {
    font-size: 27px;
  }

  .estandares-info li {
    font-size: 19px;
  }

  .operacion-section {
    min-height: 470px;
  }

  .operacion-content {
    min-height: 470px;
    padding: 70px 15px;
    /* Margen para que no pegue en los bordes */
  }

  .operacion-content h2 {
    font-size: clamp(22px, 6vw, 30px);
    width: 100%;
  }

  .cta-content {
    width: 90%;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  /* Rescatamos la manita (esponja) en móviles */
  .cta-esponja {
    left: -10px;
    /* La regresamos adentro de la pantalla (estaba en -110px) */
    bottom: -10px;
    width: 130px;
    /* La hacemos de buen tamaño para celular */
    opacity: 1 !important;
    /* Forzamos a que sea 100% visible */
    z-index: 2;
  }

  .cta-burbujas {
    right: -10px;
    /* La metemos a la pantalla */
    bottom: -10px;
    width: 120px;
    opacity: 1 !important;
  }
}