@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

.header-1 .header-logo {
  width: 185px;
  margin-top: 0 !important;
  top: 14px;
}


/* Pantallas medianas donde el template le agregaba margin-top: 30px */
@media (max-width: 1399px) and (min-width: 992px) {
  .header-1 .header-logo {
    margin-top: 0 !important;
    top: 18px;
  }
}

/* Logo tablet y mobile */
@media (max-width: 991px) {
  .header-1 .header-logo {
    width: 155px;
    max-width: 155px;
    top: 1px;
    left: 18px;
    margin-top: 0 !important;
  }
}


/* Cuando el header queda sticky al hacer scroll */
.sticky.header-1 .header-logo {
  margin-top: 0 !important;
  top: 50% !important;
  transform: translateY(-50%);
}

.header-1 .header-logo img {
  display: block;
  width: 100%;
  max-width: 185px;
  height: auto;
  object-fit: contain;
}

.offcanvas__logo a img,
.footer-logo img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.offcanvas__logo {
  width: 180px;
  max-width: 70%;
}

.footer-logo {
  width: 180px;
  max-width: 100%;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: transparent;
  opacity: 1;
  visibility: visible;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

@media (max-width: 575px) {
  .header-1 .header-logo {
    width: 145px;
    max-width: 145px;
    top: 0px;
  }

  .header-1 .header-logo img {
    max-width: 145px;
    
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }

  .whatsapp-float img {
    width: 100%;
    height: 100%;
  }
}
/* Centrar menú principal del header */
@media (min-width: 992px) {
  .header-1 .mega-menu-wrapper {
    width: 100%;
  }

  .header-1 .header-main {
    position: relative;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    min-height: 98px;
    justify-content: flex-end;
  }

  .header-1 .header-left {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .header-1 .main-menu nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
  }

  .header-1 .main-menu ul li {
    margin-inline-end: 0;
  }

  .header-1 .main-menu ul li a {
    font-size: 16px;
    font-weight: 600;
    padding: 34px 0;
  }
}
/* Bordes redondeados para botones */
.theme-btn {
  border-radius: 14px;
  overflow: hidden;
}

/* Para que el efecto hover también respete el borde redondeado */
.theme-btn::before {
  border-radius: inherit;
}
/* Ocultar menú vertical/hamburguesa en desktop */
.header-1 .header__hamburger {
  display: none !important;
}

/* Mostrarlo solo en tablet y celular */
@media (max-width: 991px) {
  .header-1 .header__hamburger {  
    display: block !important;
  }
}
/* Mover botón Contacto del header un poco hacia la izquierda */
@media (min-width: 992px) {
  .header-1 .header-right .header-button {
    transform: translateX(-25px);
  }
}
@media (max-width: 991px) {
  .header-1 .header__hamburger .sidebar__toggle {
    transform: translateX(-15px);
  }
}
/* Tipografía general */
body,
button,
input,
textarea,
select,
a,
p,
span,
li,
div {
  font-family: 'Montserrat', sans-serif !important;
}

/* Títulos */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif !important;
}

/* Menú y botones */
.main-menu ul li a,
.theme-btn .theme-effect,
.hero-content h1,
.hero-content h6,
.hero-content p {
  font-family: 'Montserrat', sans-serif !important;
}

/* Evitar textos forzados en mayúsculas */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-content h1,
.hero-content h6,
.hero-content p,
.theme-btn .theme-effect,
.main-menu ul li a,
.section-title span {
  text-transform: none !important;
}
/* Loading / Preloader con Montserrat */
.preloader .animation-preloader .txt-loading {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700;
}

.preloader .animation-preloader .txt-loading .letters-loading,
.preloader .animation-preloader .txt-loading .letters-loading::before,
.preloader p {
  font-family: 'Montserrat', sans-serif !important;
}
/* Ajuste sección Sobre Nosotros */
.about-wrapper .section-header.about-title-custom {
  padding-bottom: 70px;
  text-align: center;
}

.about-wrapper .section-header.about-title-custom h2 {
  margin-left: 0 !important;
  max-width: 850px;
  margin-right: auto;
  margin-left: auto !important;
  line-height: 1.2;
}

.about-wrapper .section-header.about-title-custom h2 span {
  position: initial !important;
  color: var(--theme2);
}

.about-content-custom {
  margin-left: 40px;
  margin-top: 0 !important;
}

.about-content-custom p {
  font-size: 17px;
  line-height: 1.75;
}

.about-second-row {
  margin-top: 80px;
}

.about-content-left {
  margin-left: 0;
  margin-right: 40px;
}

.about-image-second img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 991px) {
  .about-wrapper .section-header.about-title-custom {
    padding-bottom: 45px;
    text-align: left;
  }

  .about-wrapper .section-header.about-title-custom h2 {
    max-width: 100%;
  }

  .about-content-custom,
  .about-content-left {
    margin-left: 0;
    margin-right: 0;
  }

  .about-second-row {
    margin-top: 50px;
  }
}

@media (max-width: 575px) {
  .about-wrapper .section-header.about-title-custom {
    padding-bottom: 35px;
  }

  .about-wrapper .section-header.about-title-custom h2 {
    font-size: 30px;
  }

  .about-content-custom p {
    font-size: 16px;
    line-height: 1.65;
  }
}
/* Contador años de experiencia */
.about-wrapper .about-image .counter-content.years-counter-box {
  width: 190px !important;
  height: 95px !important;
  padding: 12px 16px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.years-counter-box .experience-counter {
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  color: var(--theme);
}

.years-counter-box .experience-plus {
  color: var(--theme2);
  margin-right: 2px;
}

.years-counter-box .experience-number {
  color: var(--theme);
}

.years-counter-box .experience-label {
  font-size: 14px;
  line-height: 1.2;
  color: var(--theme2);
  font-weight: 500;
  margin-top: 4px;
}

/* Mobile */
@media (max-width: 575px) {
  .about-wrapper .about-image .counter-content.years-counter-box {
    width: 165px !important;
    height: 85px !important;
    padding: 10px 14px !important;
  }

  .years-counter-box .experience-counter {
    font-size: 38px;
  }

  .years-counter-box .experience-label {
    font-size: 13px;
  }
}
/* Frase destacada a pantalla completa */
.safety-quote-section {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);

  margin-top: 0 !important;
  margin-bottom: 0 !important;

  padding: 120px 20px;
  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(47, 82, 161, 0.88) 0%,
      rgba(142, 188, 74, 0.84) 100%
    ),
    url("../img/hero/new/07.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Footer NexoGP */
.nexogp-footer {
  position: relative;
  background:
    linear-gradient(135deg, rgba(0, 22, 89, 0.97), rgba(13, 36, 104, 0.96)),
    url("../img/hero/new/07.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 85px 0 0;
  overflow: hidden;
  margin-top: 0 !important;

}

.nexogp-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(142, 188, 74, 0.22), transparent 35%);
  pointer-events: none;
}

.nexogp-footer .container {
  position: relative;
  z-index: 2;
}

.nexogp-footer-widget h4 {
  color: #fff;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: none !important;
  margin-bottom: 26px;
  position: relative;
}

.nexogp-footer-widget h4::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  background: var(--theme2);
  border-radius: 999px;
  margin-top: 16px;
}

.nexogp-footer-logo {
  display: inline-block;
  background: #fff;
  padding: 14px 18px;
  border-radius: 18px;
  margin-bottom: 24px;
}

.nexogp-footer-logo img {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
}

.nexogp-footer-widget p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.75;
  max-width: 390px;
}

.nexogp-footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nexogp-footer-contact li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.nexogp-footer-contact li i {
  width: 30px;
  color: var(--theme2);
  font-size: 28px;
}

.nexogp-footer-contact li a {
  color: #fff;
}

.nexogp-footer-contact li a:hover {
  color: var(--theme2);
}

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

.nexogp-footer-social a {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--theme2);
  font-size: 22px;
  transition: all 0.3s ease;
}

.nexogp-footer-social a:hover {
  background: var(--theme2);
  color: #fff;
  border-color: var(--theme2);
  transform: translateY(-3px);
}

.nexogp-footer-form input,
.nexogp-footer-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fff;
  color: var(--theme);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 14px;
  font-size: 16px;
  outline: none;
}

.nexogp-footer-form input::placeholder,
.nexogp-footer-form textarea::placeholder {
  color: #8b8f99;
}

.nexogp-footer-form textarea {
  min-height: 155px;
  resize: vertical;
}

.nexogp-footer-form button {
  width: 100%;
  background: var(--theme2);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 18px 24px;
  font-size: 17px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.nexogp-footer-form button:hover {
  background: #fff;
  color: var(--theme);
  transform: translateY(-2px);
}

.nexogp-footer-bottom {
  margin-top: 70px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nexogp-footer-bottom p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.nexogp-footer-bottom a {
  color: #fff;
  font-weight: 700;
}

.nexogp-footer-bottom a:hover {
  color: var(--theme2);
}

/* Mobile */
@media (max-width: 991px) {
  .nexogp-footer {
    padding-top: 65px;
  }

  .nexogp-footer-social {
    margin-top: 30px;
  }

  .nexogp-footer-bottom {
    flex-direction: column;
    text-align: center;
    margin-top: 50px;
  }
}

@media (max-width: 575px) {
  .nexogp-footer-widget h4 {
    font-size: 24px;
  }

  .nexogp-footer-widget p {
    font-size: 16px;
  }

  .nexogp-footer-contact li {
    font-size: 16px;
  }

  .nexogp-footer-form input,
  .nexogp-footer-form textarea {
    padding: 14px 16px;
  }
}
/* Reducir espacio entre Rubros y Nuestra forma de conectar */
#rubros.portfolio-section,
#rubros.rubros-section {
  padding-bottom: 20px !important;
}

/* Reducir espacio superior de la sección método */
.metodo-section,
.method-section,
.work-process-section,
.process-section {
  padding-top: 20px !important;
}
/* Scrollbar más gruesa */
html {
  scrollbar-width: auto; /* Firefox */
  scrollbar-color: var(--theme2) #f1f1f1;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--theme2);
  border-radius: 20px;
  border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--theme);
}
/* Asegurar que el logo del header sea clickeable */
.header-1 .header-logo {
  z-index: 99999;
}

.header-1 .header-logo a {
  display: block;
  position: relative;
  z-index: 100000;
  cursor: pointer;
}
/* Banner principal - texto destacado fijo */
.hero-4 .hero-content h1.hero-main-title span {
  color: var(--theme2) !important;
  -webkit-text-fill-color: var(--theme2) !important;

  -webkit-text-stroke-width: 1px !important;
  -webkit-text-stroke-color: #fff !important;

  animation: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-mask-size: initial !important;

  opacity: 1 !important;

  text-shadow:
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    1px -1px 0 #fff,
    -1px -1px 0 #fff;
}

/* Mobile */
@media (max-width: 575px) {
  .hero-main-title span {
    -webkit-text-stroke: 0.6px #fff;
    text-shadow:
      0.7px 0.7px 0 #fff,
      -0.7px 0.7px 0 #fff,
      0.7px -0.7px 0 #fff,
      -0.7px -0.7px 0 #fff;
  }
}
/* Método / Nuestra forma de conectar */
.metodo-title span {
  color: var(--theme2);
}

.metodo-card .team-image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.metodo-card .team-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 22, 89, 0.05) 0%,
    rgba(0, 22, 89, 0.35) 55%,
    rgba(0, 22, 89, 0.72) 100%
  );
  z-index: 1;
}

.metodo-card .team-image img {
  width: 100%;
  display: block;
}

.metodo-card .icon-shape {
  display: none !important;
}

.metodo-overlay {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  width: 90%;
  height: 120px;
  z-index: 2;
  text-align: center;
  background: transparent !important;
  padding: 0 !important;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.metodo-overlay p {
  color: var(--theme2);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1;
}

.metodo-overlay h4 {
  color: #fff;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: none !important;
  margin: 0;
  min-height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.metodo-overlay h4 a {
  color: #fff;
}

@media (max-width: 575px) {
  .metodo-overlay {
    bottom: 14%;
  }

  .metodo-overlay h4 {
    font-size: 22px;
  }

  .metodo-overlay p {
    font-size: 18px;
  }
}
/* Título metodología */
.team-section .section-title h2.metodo-title span,
.metodo-section .section-title h2.metodo-title span {
  color: var(--theme2) !important;
  -webkit-text-fill-color: var(--theme2) !important;
  display: inline !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  margin: 0 !important;
  position: static !important;
  text-transform: none !important;
}
/* Frase destacada en blanco */
/* Frase destacada */
.safety-quote-content h2 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 42px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
  text-transform: none !important;
  margin: 0;
}

