/*
TemplateMo 574 Mexant
https://templatemo.com/tm-574-mexant
*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer
10. preloader
11. search
12. portfolio
--------------------------------------------- */

/* 
---------------------------------------------
01. FONT & RESET CSS
--------------------------------------------- 
*/
@import url("https://fonts.googleapis.com/css?family=Open+Sans:100,200,300,400,500,600,700,800,900");

/* 
---------------------------------------------
02. RESET - VERSIÓN NEUTRAL (SOLO LIMPIEZA)
--------------------------------------------- 
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    background-color: #fff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 
---------------------------------------------
03. ELEMENTOS DE BLOQUE
--------------------------------------------- 
*/
header, nav, section, article, 
aside, footer, hgroup, figure {
    display: block;
}

/* 
---------------------------------------------
04. TIPOGRAFÍA BASE
--------------------------------------------- 
*/
h1, h2, h3, h4, h5, h6 {
    color: #212741;
    margin: 0;
}

p {
    font-size: 15px;
    line-height: 26px;
    color: #212741;
    margin: 0;
}

/* 
---------------------------------------------
05. ENLACES E IMÁGENES
--------------------------------------------- 
*/
a {
    text-decoration: none !important;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 
---------------------------------------------
06. LISTAS
--------------------------------------------- 
*/
ul, ol, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 
---------------------------------------------
07. CLEARFIX (COMPATIBILIDAD)
--------------------------------------------- 
*/
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/
::selection {
  background: #1a6aff;
  color: #fff;
}

::-moz-selection {
  background: #c53e18;
  color: #fff;
}

.plomo-button a {
  font-size: 14px;
  color: #fff;
  background-color: #6C757D;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 5px;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  transition: all .3s;
}

.plomo-button a:hover {
  opacity: 0.9;
}

.azul-button a {
  font-size: 14px;
  color: #fff;
  background-color: #0B5ED7;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 5px;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  transition: all .3s;
}

.azul-button a:hover {
  opacity: 0.9;
}

section {
  margin-top: 30px;
}

.section-heading {
  position: relative;
  z-index: 2;
  margin-top: 0px;
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h6 {
  font-size: 16px;
  text-transform: uppercase;
  color: #1a90ff;
  font-weight: 700;
}

.section-heading h4 {
  margin-top: 10px;
  line-height: 40px;
  font-size: 36px;
  font-weight: 700;
  text-transform: capitalize;
  color: #212741;
}

.section-heading p {
  margin-top: 30px;
}

/* Media Queries */
@media (max-width: 768px) {
  section {
    margin-top: 60px;
  }
  
  .section-heading h4 {
    font-size: 28px;
    line-height: 34px;
  }
  
  .section-heading {
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .section-heading h4 {
    font-size: 24px;
    line-height: 30px;
  }
}
/* 
---------------------------------------------
header
--------------------------------------------- 
*/
.background-header {
  background-color: #212741;
  height: 80px!important;
  position: fixed!important;
  top: 0!important;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.15)!important;
}

.header-area {
  background-image: url(../images/header-bg.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  height: 110px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area .main-nav {
  min-height: 80px;
  background: transparent;
}

.header-area .main-nav .logo {
  line-height: 120px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  float: left;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

/* ✅ MEJORA 1: Logo - ajuste de márgenes */
.header-area .main-nav .logo img {
  max-height: 65px;
  width: auto;
  /* Eliminado margin-left: -50px que causaba desbordamiento */
  margin-top: -10px; /* Ajuste sutil */
  display: inline-block;
  vertical-align: middle;
}

/* ✅ MEJORA 2: Header sticky - logo consistente */
.background-header .main-nav .logo {
  line-height: 80px;
}

.background-header .main-nav .logo img {
  max-height: 50px; /* Ligeramente más pequeño en sticky */
  margin-top: -5px;
  display: inline-block;
  vertical-align: middle;
}

.background-header .nav {
  margin-top: 18px !important;
}

.header-area .main-nav .nav {
  float: right;
  margin-top: 40px;
  margin-right: 0px;
  background-color: transparent;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}

.header-area .main-nav .nav li {
  padding-left: 25px;
  padding-right: 25px;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
}

.header-area .main-nav .nav li a {
  display: block;
  font-weight: 500;
  font-size: 16px;
  text-transform: capitalize;
  color: #fff;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  height: 50px;
  line-height: 40px;
  border: transparent;
  letter-spacing: 2px;
}

.header-area .main-nav .nav li:last-child a {
  font-size: 14px;
  color: #fff;
  background-color: #096daf; 
  padding: 10px 20px !important;
  display: inline-block;
  border-radius: 5px;
  font-weight: 500;
  text-transform: capitalize;
  height: auto;
  line-height: 25px;
  letter-spacing: 0.5px;
  transition: all .3s;
}

.header-area .main-nav .nav li:last-child a:hover {
  color: #fff;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li:last-child a,
.background-header .main-nav .nav li.has-sub ul.sub-menu li:last-child a {
  margin-left: 0px;
  padding-left: 0px;
  padding-right: 0px;
  border-radius: 0px;
  padding-top: 0px !important;
  height: 40px;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li:last-child a:hover,
.background-header .main-nav .nav li.has-sub ul.sub-menu li:last-child a:hover {
  padding-left: 25px !important;
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
  color: #3597d8;
}

.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
  color: #3287e7;
  opacity: 1;
}

.header-area .main-nav .nav li.has-sub {
  position: relative;
  padding-right: 15px;
}

.header-area .main-nav .nav li.has-sub:after {
  font-family: FontAwesome;
  content: "\f107";
  font-size: 12px;
  color: #fff;
  position: absolute;
  right: 2px;
  top: 12px;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu {
  position: absolute;
  width: 180px; /* ✅ MEJORA 3: Ancho aumentado para mejor legibilidad */
  background-color: #fff;
  box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  top: 40px;
  border-radius: 5px;
  opacity: 0;
  transition: all .3s;
  transform: translateY(+2em);
  visibility: hidden;
  z-index: -1;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li {
  margin-left: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li a {
  opacity: 1;
  display: block;
  background: #f7f7f7;
  color: #2a2a2a!important;
  padding-left: 20px;
  height: 40px;
  line-height: 40px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  font-size: 13px; /* ✅ MEJORA 4: Texto un poco más grande */
  font-weight: 400;
  border-bottom: 1px solid #eee;
  white-space: nowrap; /* ✅ MEJORA 5: Evita que el texto se corte */
}

.header-area .main-nav .nav li.has-sub ul li a:hover {
  background: #fff;
  color: #2fbdf5!important;
  padding-left: 25px;
}

.header-area .main-nav .nav li.has-sub ul li a:hover:before {
  width: 3px;
}

.header-area .main-nav .nav li.has-sub:hover ul.sub-menu {
  visibility: visible;
  opacity: 1;
  z-index: 1;
  transform: translateY(0%);
  transition-delay: 0s, 0s, 0.3s;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 33px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 40px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 23px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #fff;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.background-header .main-nav .menu-trigger span,
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #fff;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #fff;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #fff;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #fff;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #fff;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #fff;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #fff;
}

.header-area.header-sticky {
  min-height: 80px;
}

.header-area .nav {
  margin-top: 30px;
}

.header-area.header-sticky .nav li a.active {
  color: #2fbdf5;
}

/* ✅ MEJORA 6: Media query mejorada para tablets */
@media (max-width: 992px) {
  .header-area .main-nav .nav li {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .header-area .main-nav .logo img {
    max-height: 50px;
  }
}

/* ✅ MEJORA 7: Media query responsive MEJORADA */
@media (max-width: 767px) {
  .header-area {
    background-color: #212741; /* Fondo consistente */
    padding: 0px 15px;
    height: 80px; /* Altura reducida */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .header-area .container {
    padding: 0px;
  }
  
  .header-area .main-nav .logo {
    line-height: 80px;
  }
  
  .header-area .main-nav .logo img {
    max-height: 45px;
    margin-top: -5px;
    margin-left: 0; /* ✅ Eliminado margen negativo */
  }
  
  .menu-trigger {
    display: block !important;
    right: 20px; /* Mejor posición */
    top: 25px;
  }
  
  .header-area .main-nav {
    overflow: visible;
  }
  
  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    display: none;
    margin-top: 80px !important;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: absolute;
    left: 0;
    right: 0;
    z-index: 999;
  }
  
  .header-area .main-nav .nav.active {
    display: block; /* Para activar con JavaScript */
  }
  
  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  
  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }
  
  .header-area .main-nav .nav li a {
    height: 50px !important;
    line-height: 50px !important;
    padding: 0 20px !important;
    border: none !important;
    background: #fff !important;
    color: #191a20 !important;
    text-align: left;
  }
  
  .header-area .main-nav .nav li a:hover {
    background: #f5f5f5 !important;
    color: #096daf !important;
    padding-left: 25px !important;
  }
  
  .header-area .main-nav .nav li:last-child a {
    background: #096daf !important;
    color: #fff !important;
    margin: 10px;
    border-radius: 5px;
    text-align: center;
    height: auto !important;
    line-height: 40px !important;
  }
  
  .header-area .main-nav .nav li:last-child a:hover {
    background: #075a9c !important;
  }
  
  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    position: relative;
    visibility: visible;
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    top: 0;
    width: 100%;
    box-shadow: none;
    height: auto;
    background: #f9f9f9;
    display: none; /* Oculto por defecto */
    margin: 0;
    border-radius: 0;
  }
  
  .header-area .main-nav .nav li.has-sub.active ul.sub-menu {
    display: block; /* Mostrar al hacer clic */
  }
  
  .header-area .main-nav .nav li.has-sub ul.sub-menu li a {
    background: #f9f9f9 !important;
    padding-left: 35px !important;
    font-size: 13px;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .header-area .main-nav .nav li.has-sub ul.sub-menu li:last-child a {
    margin: 0;
    border-radius: 0;
    background: #f9f9f9 !important;
    color: #191a20 !important;
  }
  
  .header-area .main-nav .nav li.has-sub:after {
    color: #191a20;
    right: 20px;
    font-size: 14px;
    top: 18px;
  }
}

/* ✅ MEJORA 8: Asegurar que desktop siempre muestre menú horizontal */
@media (min-width: 768px) {
  .header-area .main-nav .nav {
    display: flex !important;
  }
  
  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    display: block; /* Asegurar submenús en desktop */
  }
}



/* 
---------------------------------------------
banner
--------------------------------------------- 
*/

.swiper-container {
  height: 100vh; /* Simplificado: 100vh */
  margin: 0px;
  background-color: #212741;
}

.swiper-slide {
  overflow: hidden;
}

.slide-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-size: cover;
  background-position: center;
}

/* Animaciones - IGUAL */
.swiper-slide-active h2 {
  animation: fadeInLeft .8s;
  animation-delay: .3s;
  opacity: 1;
}

.swiper-slide-active p {
  animation: fadeInRight .8s;
  animation-delay: .3s;
  opacity: 1;
}

.swiper-slide-active .div-dec {
  animation: fadeIn .8s;
  animation-delay: .3s;
  opacity: 1;
}

.swiper-slide-active .buttons .plomo-button,
.swiper-slide-active .buttons .azul-button{
  animation: fadeInUp .8s;
  animation-delay: .3s;
  opacity: 1;
}

/* Contenido del slide */
.slide-inner .header-text {
  position: absolute;
  width: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.slide-inner .header-text h2 {
  position: relative;
  z-index: 2;
  font-size: 56px;
  color: #fff;
  font-weight: 700;
  line-height: 70px;
  margin-bottom: 40px;
  margin-top: 60px;
}

.slide-inner .header-text .div-dec {
  width: 80px;
  height: 6px;
  border-radius: 3px;
  background-color: #fff;
  margin-bottom: 40px;
}

.slide-inner .header-text p {
  color: #fff;
  margin-right: 60px;
  margin-bottom: 50px;
}

.slide-inner .header-text h2 em {
  font-style: normal;
  color: #2199df;
}

/* Botones - MEJORADO con flexbox */
.slide-inner .header-text .buttons {
  display: flex;
  gap: 20px;
  opacity: 1;
  visibility: visible;
}

.swiper-button-next, .swiper-button-prev {
  color: #fff !important;
}

/* ---------------------------------------------
RESPONSIVE DEL BANNER
--------------------------------------------- */
@media (max-width: 992px) {
  .slide-inner .header-text {
    width: 70%;
  }
  
  .slide-inner .header-text h2 {
    font-size: 42px;
   
    line-height: 54px;
    margin-bottom: 30px;
  }
  
  .slide-inner .header-text p {
    margin-right: 30px;
  }
}

@media (max-width: 768px) {
  .slide-inner .header-text {
    width: 90%;
    left: 5%;
  }
  
  .slide-inner .header-text h2 {
    font-size: 32px;
    line-height: 42px;
  }
  
  .slide-inner .header-text .div-dec {
    width: 60px;
    height: 4px;
    margin-bottom: 25px;
  }
  
  .slide-inner .header-text p {
    font-size: 14px;
    line-height: 24px;
    margin-right: 0;
  }
  
  .slide-inner .header-text .buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .slide-inner .header-text .buttons a {
    text-align: center;
    display: block;
  }
}

@media (max-width: 576px) {
  .swiper-container {
    height: 80vh; /* Un poco menos en móvil */
  }
  
  .slide-inner .header-text h2 {
    font-size: 26px;
    line-height: 34px;
  }
  
  .slide-inner .header-text .div-dec {
    width: 50px;
  }
}

/*
---------------------------------------------
services
---------------------------------------------
*/ 

section.services {
  margin-top: 10px;
}

.services .service-item {
  border-radius: 5px;
  padding: 40px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

.services .service-item:hover i {
  margin-top: 20px;
}

.services .service-item h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.services .service-item i {
  transition: all .5s;
  float: left;
  font-size: 64px;
  color: #096daf;
  margin-bottom: 30px;
  margin-right: 30px;
}

/* ---------------------------------------------
RESPONSIVE DE SERVICES
--------------------------------------------- */

/* Tablets */
@media (max-width: 992px) {
  .services .service-item {
    padding: 30px;
  }
  
  .services .service-item i {
    font-size: 56px;
  }
}

/* Móviles */
@media (max-width: 768px) {
  section.services {
    margin-top: 60px;
  }
  
  .services .service-item {
    padding: 25px;
    text-align: center;
  }
  
  .services .service-item i {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
    font-size: 48px;
  }
  
  .services .service-item h4 {
    font-size: 20px;
  }
  
  .services .service-item p {
    font-size: 14px;
    line-height: 24px;
  }
}

/* Móviles pequeños */
@media (max-width: 576px) {
  .services .service-item {
    padding: 20px;
  }
  
  .services .service-item i {
    font-size: 42px;
  }
  
  .services .service-item h4 {
    font-size: 18px;
  }
}
/*
---------------------------------------------
simple-cta
---------------------------------------------
*/ 

section.simple-cta {
  background-image: url(../images/cta-bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  padding: 80px 0px;
}

section.simple-cta .left-image {
  margin-right: 45px;
}

section.simple-cta h4 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 50px;
}

section.simple-cta h4 em {
  font-style: normal;
  color: #096daf;
}

section.simple-cta h4 strong {
  color: #6C757D;
  font-weight: 700;
}

section.simple-cta p {
  color: #fff;
  margin-top: 30px;
  margin-bottom: 40px;
}

section.simple-cta .buttons {
  display: flex;
  justify-content: flex-end; /* CORREGIDO: end → flex-end */
}

section.simple-cta .buttons .azul-button {
  margin-left: 20px;
}

section.simple-cta .buttons .azul-button,
section.simple-cta .buttons .plomo-button {
  margin-top: 25px;
}

/* ---------------------------------------------
RESPONSIVE DE SIMPLE-CTA
--------------------------------------------- */

@media (max-width: 992px) {
  section.simple-cta h4 {
    font-size: 30px;
    line-height: 42px;
    text-align: center;
    margin-bottom: 20px;
  }
  
  section.simple-cta .buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  section.simple-cta {
    padding: 60px 0px;
  }
  
  section.simple-cta h4 {
    font-size: 26px;
    line-height: 36px;
  }
  
  section.simple-cta .buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  section.simple-cta .buttons .azul-button {
    margin-left: 0;
  }
  
  section.simple-cta .buttons .azul-button,
  section.simple-cta .buttons .plomo-button {
    margin-top: 0;
    width: 100%;
  }
  
  section.simple-cta .buttons a {
    display: block;
    text-align: center;
  }
}

@media (max-width: 576px) {
  section.simple-cta {
    padding: 40px 0px;
  }
  
  section.simple-cta h4 {
    font-size: 22px;
    line-height: 30px;
  }
}

/*
---------------------------------------------
about us
---------------------------------------------
*/

section.about-us {
  margin-top: 10px;
}

section.about-us .section-heading {
  padding-top: 30px;
}

section.about-us .naccs {
  position: relative;
}

section.about-us .naccs .menu div {
  padding: 15px 30px;
  display: inline-block;
  text-align: center;
  border-radius: 5px !important;
  margin-right: 30px;
  font-size: 18px;
  color: #212741;
  background-color: #fff;
  cursor: pointer;
  vertical-align: middle;
  font-weight: 600;
  transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

section.about-us .naccs .menu div.active {
  color: #096daf;
}

section.about-us ul.nacc {
  margin-top: 50px !important;
  position: relative;
  min-height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

section.about-us ul.nacc li {
  background-color: #fff;
  overflow: hidden;
  opacity: 0;
  transform: translateX(50px);
  position: absolute;
  list-style: none;
  transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

section.about-us ul.nacc li .main-list,
section.about-us ul.nacc li .list-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 25px;
  padding-bottom: 25px;
}

section.about-us ul.nacc li .last-item {
  margin-bottom: 0px;
}

section.about-us ul.nacc li span.title {
  font-size: 15px;
  color: #212741;
  font-weight: 600;
  display: inline-block;
  width: 24%;
}

section.about-us ul.nacc li span.item-title {
  color: #096daf !important;
  font-weight: 600 !important;
}

section.about-us ul.nacc li span.item {
  font-size: 15px;
  color: #212741;
  font-weight: 400;
  display: inline-block;
  width: 24%;
}

section.about-us ul.nacc li.active {
  position: relative;
  transition-delay: 0.3s;
  z-index: 2;
  opacity: 1;
  transform: translateX(0px);
}

section.about-us .right-content {
  margin-left: 60px;
}

section.about-us .right-content h4 {
  font-size: 22px;
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 40px;
}

section.about-us .right-content p {
  margin-bottom: 50px;
}

/* ---------------------------------------------
RESPONSIVE MEJORADO DE ABOUT US - OPCIÓN 4 (ACORDEÓN)
--------------------------------------------- */

@media (max-width: 768px) {
  section.about-us {
    margin-top: 60px;
  }
  
  /* Tabs convertidos a acordeón */
  section.about-us .naccs .menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  section.about-us .naccs .menu div {
    width: 100%;
    margin-right: 0;
    padding: 15px 20px;
    text-align: left;
    position: relative;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  /* Flecha indicadora */
  section.about-us .naccs .menu div::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #096daf;
    transition: transform 0.3s;
  }
  
  section.about-us .naccs .menu div.active::after {
    transform: translateY(-50%) rotate(180deg);
  }
  
  /* Contenido de tabs */
  section.about-us ul.nacc {
    margin-top: 20px !important;
    min-height: auto;
  }
  
  section.about-us ul.nacc li {
    position: relative;
    opacity: 1;
    transform: none;
    display: none;
    padding: 0 15px;
  }
  
  section.about-us ul.nacc li.active {
    display: block;
    animation: fadeIn 0.5s;
  }
  
  /* Grid de 2 columnas para los datos */
  section.about-us ul.nacc li .main-list,
  section.about-us ul.nacc li .list-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
  }
  
  section.about-us ul.nacc li .main-list {
    background-color: #f8f9fa;
    border-radius: 5px 5px 0 0;
    font-weight: 700;
  }
  
  section.about-us ul.nacc li span.title,
  section.about-us ul.nacc li span.item {
    width: 100%;
    display: block;
    font-size: 14px;
  }
  
  section.about-us ul.nacc li span.title {
    color: #212741;
    font-weight: 700;
  }
  
  section.about-us ul.nacc li .list-item span:first-child {
    color: #096daf;
    font-weight: 600;
  }
  
  /* Right content */
  section.about-us .right-content {
    margin-left: 0;
    margin-top: 40px;
    padding: 0 15px;
  }
  
  section.about-us .right-content h4 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 20px;
  }
  
  section.about-us .right-content p {
    margin-bottom: 30px;
    font-size: 14px;
  }
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}





/* 
---------------------------------------------
partners
--------------------------------------------- 
*/

section.partners {
  background-color: #212741;
  padding: 80px 0px;
}

section.partners .item {
  margin: 0px 15px;
  cursor: pointer;
  transition: all .3s;
}

section.partners .item:hover {
  opacity: 0.75;
}



/* 
---------------------------------------------
footer 
--------------------------------------------- 
*/

footer {
  background-color: #181d30;
  text-align: center;
  padding: 25px 0px;
}

footer p {
  color: #fff;
  font-weight: 300;
}

footer p a {
  color: #ff511a;
}



/* 
---------------------------------------------
page heading
--------------------------------------------- 
*/

.page-heading {
  background-image: url(../images/heading-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 120px 0px 50px 0px;
  text-align: center;
}

.page-heading h2 {
  font-size: 56px;
  color: #fff;
  font-weight: 700;
}

.page-heading .div-dec {
  width: 80px;
  height: 6px;
  border-radius: 3px;
  background-color: #fff;
  margin: 20px auto 0 auto;
}



/* 
---------------------------------------------
about-us page - Estilos completos
--------------------------------------------- 
*/

/* Imagen de la sección superior */
section.top-section .left-image img {
  border-radius: 10px;
  width: 100%; /* Asegura que la imagen sea responsive */
  height: auto;
}

/* Contenedor de acordeones */
section.top-section .accordions {
  border-radius: 10px;
  padding: 20px 40px;
  background-color: #fff;
  margin-left: 30px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos de acordeones */
.accordions .accordion {
  border-bottom: 1px solid #eee;
}

.accordions .last-accordion {
  border-bottom: none;
}

/* Cabecera del acordeón */
.accordion-head {
  padding: 35px 0px !important;  
  font-size: 20px;
  font-weight: 600;
  color: #212741;
  cursor: pointer;
  transition: color 200ms ease-in-out;
}

/* Icono del acordeón */
.accordion-head .icon {
  float: right;
  transition: transform 200ms ease-in-out;
}

/* Acordeón abierto */
.accordion-head.is-open {
  color: #096daf;
  border-bottom: none;
}

.accordion-head.is-open .icon {
  transform: rotate(45deg);
}

/* Cuerpo del acordeón */
.accordion-body {
  padding: 0px;
  overflow: hidden;
  height: 0;
  transition: height 300ms ease-in-out;
  border-bottom: 1px solid #fff;
}

.accordion-body > .content p {
  padding: 0px 0px 30px 0px;
  padding-top: 0;
}

/* Sección What We Do */
section.what-we-do {
  margin-bottom: -30px;
}

.what-we-do .left-content {
  margin-right: 60px;
}

.what-we-do .left-content h4 {
  font-size: 22px;
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 40px;
}

.what-we-do .left-content p {
  margin-bottom: 40px;
}

/* Tarjetas de la derecha */
.what-we-do .right-items .item {
  border-radius: 5px;
  padding: 40px 30px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
  background-color: #fff; /* Fondo blanco para las tarjetas */
  transition: all 0.3s ease;
}

/* Números de las tarjetas (01, 02, etc.) */
.what-we-do .right-items .item em {
  position: absolute;
  font-style: normal;
  font-size: 44px;
  color: #6C757D;
  font-weight: 600;
  right: 15px;
  top: 5px;
  transition: all .3s;
}

.what-we-do .right-items .item h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 22px;
}

.what-we-do .right-items .item:hover em {
  top: 10px;
}

/* ===== MEDIA QUERIES - RESPONSIVE ===== */

/* Tablets horizontales y laptops pequeñas (992px - 1199px) */
@media screen and (max-width: 1199px) {
  .what-we-do .left-content {
    margin-right: 30px;
  }
  
  .what-we-do .right-items .item {
    padding: 35px 25px;
  }
  
  .what-we-do .right-items .item em {
    font-size: 40px;
  }
}

/* Tablets (768px - 991px) */
@media screen and (max-width: 991px) {
  /* Acordeones */
  section.top-section .accordions {
    margin-left: 0;
    margin-top: 30px;
    padding: 30px 20px;
  }
  
  /* Contenido izquierdo */
  .what-we-do .left-content {
    margin-right: 0;
    margin-bottom: 40px;
  }
  
  /* Tarjetas */
  .what-we-do .right-items .item {
    padding: 30px 20px;
  }
  
  .what-we-do .right-items .item em {
    font-size: 36px;
  }
  
  /* Títulos */
  .what-we-do .left-content h4 {
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 30px;
  }
}

/* Móviles grandes (576px - 767px) */
@media screen and (max-width: 767px) {
  /* Acordeones */
  .accordion-head {
    padding: 20px 0 !important;
    font-size: 18px;
  }
  
  section.top-section .accordions {
    padding: 25px 20px;
  }
  
  /* Tarjetas */
  .what-we-do .right-items .item {
    padding: 25px 15px;
    margin-bottom: 20px;
  }
  
  .what-we-do .right-items .item h4 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .what-we-do .right-items .item p {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .what-we-do .right-items .item em {
    font-size: 30px;
    top: 8px;
    right: 12px;
  }
  
  /* Contenido izquierdo */
  .what-we-do .left-content h4 {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 20px;
  }
  
  .what-we-do .left-content p {
    font-size: 14px;
    margin-bottom: 30px;
  }
  
  /* Items de condiciones comerciales */
  .what-we-do .left-content .item h5 {
    font-size: 16px;
  }
  
  .what-we-do .left-content .item p {
    font-size: 16px !important;
    margin-bottom: 10px;
  }
}

/* Móviles pequeños (menos de 576px) */
@media screen and (max-width: 575px) {
  /* Acordeones */
  section.top-section .accordions {
    padding: 15px 12px;
  }
  
  .accordion-head {
    font-size: 15px;
    padding: 12px 0 !important;
  }
  
  .accordion-body > .content p {
    font-size: 13px;
    padding: 0px 0px 20px 0px;
  }
  
  .accordion-body ul li {
    font-size: 13px;
  }
  
  /* Tarjetas */
  .what-we-do .right-items .item {
    padding: 18px 12px;
  }
  
  .what-we-do .right-items .item h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .what-we-do .right-items .item p {
    font-size: 13px;
    margin-bottom: 5px;
  }
  
  .what-we-do .right-items .item em {
    font-size: 22px;
    top: 5px;
    right: 8px;
  }
  
  /* Condiciones comerciales */
  .what-we-do .left-content .item {
    padding: 10px !important;
  }
  
  .what-we-do .left-content .item h5 {
    font-size: 14px;
    margin-bottom: 5px;
  }
  
  .what-we-do .left-content .item p {
    font-size: 14px !important;
  }
}

/* Ajustes extras para pantallas muy pequeñas */
@media screen and (max-width: 380px) {
  .accordion-head {
    font-size: 14px;
    padding: 10px 0 !important;
  }
  
  .what-we-do .right-items .item h4 {
    font-size: 15px;
  }
  
  .what-we-do .right-items .item p {
    font-size: 12px;
  }
  
  .what-we-do .right-items .item em {
    font-size: 20px;
  }
}

/* 
---------------------------------------------
services page - Estilos completos
--------------------------------------------- 
*/

/* Servicios principales */
.main-services .service-item {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #ecf8f2;
}

.main-services .last-service {
  border-bottom: none;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

/* Imágenes */
.main-services .left-image {
  margin-right: 15px;
}

.main-services .left-image img {
  border-radius: 5px;
  width: 100%;
  height: auto;
}

.main-services .right-image {
  margin-left: 15px;
}

.main-services .right-image img {
  border-radius: 5px;
  width: 100%;
  height: auto;
}

/* Contenido de texto */
.main-services .right-text-content {
  margin-left: 15px;
}

.main-services .left-text-content {
  margin-right: 15px;
}

/* Iconos grandes */
.main-services .right-text-content i,
.main-services .left-text-content i {
  font-size: 64px;
  color: #4d89a5;
  background-color: #dfeaf3;
  width: 120px;
  height: 120px;
  text-align: center;
  display: inline-block;
  line-height: 120px;
  border-radius: 5px;
}

/* Títulos */
.main-services .right-text-content h4,
.main-services .left-text-content h4 {
  font-size: 36px;
  font-weight: 700;
  color: #212741;
  margin-top: 40px;
  margin-bottom: 30px;
}

/* Service Details Tabs */
section.service-details .naccs {
  position: relative;
}

section.service-details .naccs .menu {
  text-align: center;
}

section.service-details .naccs .menu div {
  padding: 15px 30px;
  display: inline-block;
  text-align: center;
  border-radius: 5px !important;
  margin-right: 30px;
  font-size: 18px;
  color: #212741;
  background-color: #fff;
  cursor: pointer;
  vertical-align: middle;
  font-weight: 600;
  transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

section.service-details .naccs .menu div.active {
  color: #096daf;
}

section.service-details ul.nacc {
  margin-top: 50px !important;
  position: relative;
  min-height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

section.service-details ul.nacc li {
  background-color: #fff;
  overflow: hidden;
  opacity: 0;
  transform: translateX(50px);
  position: absolute;
  list-style: none;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

section.service-details ul.nacc li .left-image {
  position: absolute;
  margin-right: 50px;
  top: 50%;
  transform: translateY(-50%);
}

section.service-details ul.nacc li .left-image img {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  max-width: 400px;
}

section.service-details ul.nacc li .right-content {
  padding: 50px 50px 50px 0px;
  margin-left: 470px;
}

section.service-details ul.nacc li .right-content h4 {
  font-size: 24px;
  color: #212741;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 40px;
  margin-right: 120px;
}

section.service-details ul.nacc li .right-content ul {
  margin-top: 20px;
  margin-bottom: 20px;
}

section.service-details ul.nacc li .right-content span {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #212741;
  font-style: italic;
  margin-bottom: 12px;
}

section.service-details ul.nacc li .right-content .last-span {
  margin-bottom: 0px;
}

section.service-details ul.nacc li .right-content p {
  margin-bottom: 30px;
}

section.service-details ul.nacc li.active {
  position: relative;
  transition-delay: 0.3s;
  z-index: 2;
  opacity: 1;
  transform: translateX(0px);
}

/* ===== MEDIA QUERIES - RESPONSIVE para services page ===== */

/* Tablets (768px - 991px) */
@media screen and (max-width: 991px) {
  .main-services .left-image {
    margin-right: 0;
    margin-bottom: 30px;
  }
  
  .main-services .right-image {
    margin-left: 0;
    margin-top: 30px;
  }
  
  .main-services .right-text-content,
  .main-services .left-text-content {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }
  
  .main-services .right-text-content h4,
  .main-services .left-text-content h4 {
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .main-services .right-text-content i,
  .main-services .left-text-content i {
    font-size: 48px;
    width: 100px;
    height: 100px;
    line-height: 100px;
  }
  
  /* Service Details Tabs */
  section.service-details .naccs .menu div {
    padding: 12px 20px;
    margin-right: 15px;
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  section.service-details ul.nacc li .left-image {
    position: relative;
    transform: none;
    top: 0;
    margin-right: 0;
  }
  
  section.service-details ul.nacc li .left-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 15px 15px 0 0;
  }
  
  section.service-details ul.nacc li .right-content {
    margin-left: 0;
    padding: 30px;
  }
  
  section.service-details ul.nacc li .right-content h4 {
    margin-right: 0;
  }
}

/* Móviles (576px - 767px) */
@media screen and (max-width: 767px) {
  .main-services .right-text-content h4,
  .main-services .left-text-content h4 {
    font-size: 24px;
  }
  
  .main-services .right-text-content p,
  .main-services .left-text-content p {
    font-size: 14px;
  }
  
  .main-services .right-text-content i,
  .main-services .left-text-content i {
    font-size: 40px;
    width: 80px;
    height: 80px;
    line-height: 80px;
  }
  
  /* Service Details Tabs */
  section.service-details .naccs .menu div {
    display: block;
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
  }
  
  section.service-details ul.nacc li .right-content {
    padding: 20px;
  }
  
  section.service-details ul.nacc li .right-content h4 {
    font-size: 20px;
    margin-right: 0;
    line-height: 30px;
  }
  
  section.service-details ul.nacc li .right-content span {
    font-size: 14px;
  }
  
  .main-services .service-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
  }
  
  /* Ajustes de listas */
  .main-services ul {
    text-align: left;
    display: inline-block;
  }
}

/* Móviles pequeños (menos de 576px) */
@media screen and (max-width: 575px) {
  .main-services .right-text-content h4,
  .main-services .left-text-content h4 {
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  
  .main-services .right-text-content i,
  .main-services .left-text-content i {
    font-size: 32px;
    width: 70px;
    height: 70px;
    line-height: 70px;
  }
  
  section.service-details ul.nacc li .right-content {
    padding: 15px;
  }
  
  section.service-details ul.nacc li .right-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  section.service-details ul.nacc li .right-content p {
    font-size: 13px;
    margin-bottom: 20px;
  }
  
  section.service-details ul.nacc li .right-content span {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  /* Listas */
  .main-services ul li {
    font-size: 13px;
  }
  
  /* Padding de los items */
  .main-services .service-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
  }
}



/* 
---------------------------------------------
contact us page - VERSIÓN MEJORADA
--------------------------------------------- 
*/

/* ===== INFO ITEMS (TARJETAS) ===== */
section.map .info-item {
  text-align: center;
  padding: 40px 30px;
  border-radius: 10px;  /* Un poco más elegante */
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);  /* Sombra más suave y elegante */
  margin-top: -60px;
  margin-left: 15px;
  margin-right: 15px;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);  /* Transición más elegante */
  min-height: 280px;  /* MISMA ALTURA PARA TODAS */
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(9, 109, 175, 0.05);  /* Borde sutil */
  backdrop-filter: blur(5px);  /* Efecto de vidrio sutil (opcional) */
}

section.map .info-item:hover {
  margin-top: -70px;
  box-shadow: 0 20px 40px rgba(9, 109, 175, 0.15);  /* Sombra azul al hover */
  transform: translateY(-5px);
}

section.map .info-item i {
  font-size: 42px;  /* Iconos un poco más grandes */
  color: #096daf;
  margin-bottom: 20px;
  display: block;
  transition: all 0.3s;
}

section.map .info-item:hover i {
  transform: scale(1.1);  /* Efecto sutil al hover */
}

section.map .info-item h4 {
  font-size: 20px;
  color: #212741;
  font-weight: 700;  /* Más negrita */
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

section.map .info-item a {
  font-size: 16px;
  font-weight: 500;
  color: #096daf;
  transition: all 0.3s;
  text-decoration: none;
  word-break: break-word;
  display: inline-block;
  padding: 5px 0;
  border-bottom: 1px solid transparent;  /* Preparado para hover */
}

section.map .info-item a:hover {
  color: #ff511a;
  border-bottom: 1px solid #ff511a;  /* Línea elegante al hover */
}

.small-text {
  font-size: 13px;
  color: #888;
  margin-top: 12px;
  font-style: italic;
}

/* ===== FORMULARIO ELEGANTE ===== */
#contact {
  background: #fff;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  margin-top: -30px;
}

#contact input,
#contact textarea,
#contact select {
  width: 100%;
  background-color: #fafafa;
  color: #212741;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  padding: 14px 20px;
  font-size: 15px;
  outline: none;
  margin-bottom: 25px;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}

#contact input:focus,
#contact textarea:focus,
#contact select:focus {
  border-color: #096daf;
  box-shadow: 0 5px 15px rgba(9, 109, 175, 0.1);
  background-color: #fff;
}

#contact input {
  height: 50px;
}

#contact textarea {
  height: 180px;
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

#contact select {
  cursor: pointer;
  appearance: none;  /* Quita estilo nativo */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23096daf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
}

#contact input::placeholder, 
#contact textarea::placeholder,
#contact select::placeholder {
  color: #aaa;
  font-weight: 300;
}

/* Placeholder flotante (opcional - requiere JS) */
.field-group {
  position: relative;
  margin-bottom: 25px;
}

.field-group input,
.field-group textarea,
.field-group select {
  margin-bottom: 0;
}

.field-group label {
  position: absolute;
  left: 20px;
  top: 14px;
  color: #aaa;
  font-size: 15px;
  transition: all 0.2s;
  pointer-events: none;
  background: transparent;
  padding: 0 5px;
}

.field-group.focused label,
.field-group.filled label {
  top: -10px;
  left: 15px;
  font-size: 12px;
  color: #096daf;
  background: #fff;
  padding: 0 5px;
  border-radius: 4px;
}

/* ===== BOTÓN ELEGANTE ===== */
#contact .azul-button {
  font-size: 16px;
  color: #fff;
  background-color: #096daf;
  padding: 15px 40px;
  display: inline-block;
  border-radius: 50px;  /* Más elegante */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  transition: all 0.3s;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(9, 109, 175, 0.3);
  width: auto;
  min-width: 200px;
}

#contact .azul-button:hover {
  background-color: #ff511a;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 81, 26, 0.4);
}

#contact .azul-button:active {
  transform: translateY(0);
}

/* ===== FOOTER WIDGETS (mejorado) ===== */
.footer-logo {
  max-width: 160px;
  height: auto;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.footer-logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.widget-title h6 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 10px;
}

.widget-title h6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ff511a, #096daf);  /* Gradiente elegante */
  border-radius: 3px;
}

.footer-widget p {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-size: 14px;
}

.useful-links {
  list-style: none;
  padding: 0;
}

.useful-links li {
  margin-bottom: 12px;
}

.useful-links li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
  display: inline-block;
}

.useful-links li a:hover {
  color: #ff511a;
  transform: translateX(5px);
}

.single-contact p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-contact a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.2s;
}

.single-contact a:hover {
  color: #ff511a;
}

/* Iconos en footer */
.single-contact i {
  width: 20px;
  color: #ff511a;
}

/* ===== RESPONSIVE MEJORADO ===== */
body {
  overflow-x: hidden;
}

/* Tablets */
@media (max-width: 992px) {
  section.map .info-item {
    margin-top: 30px;
    margin-bottom: 30px;
    min-height: 260px;
  }
  
  section.map .info-item:hover {
    margin-top: 25px;
  }
  
  #contact {
    padding: 40px;
  }
}

/* Móviles */
@media (max-width: 768px) {
  section.map .info-item {
    padding: 30px 20px;
    margin-top: 15px;
    min-height: auto;
  }
  
  section.map .info-item i {
    font-size: 32px;
  }
  
  section.map .info-item h4 {
    font-size: 18px;
  }
  
  .info-item a {
    font-size: 15px;
  }
  
  #contact {
    padding: 30px 20px;
  }
  
  #contact input,
  #contact textarea,
  #contact select {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  #contact .azul-button {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .widget-title h6 {
    text-align: center;
  }
  
  .widget-title h6::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
  }
  
  .footer-widget {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .single-contact p {
    justify-content: center;
  }
}

/* Móviles pequeños */
@media (max-width: 576px) {
  section.map .info-item {
    padding: 25px 15px;
  }
  
  .footer-logo {
    max-width: 140px;
  }
  
  #contact .azul-button {
    font-size: 14px;
  }
}

#contact .azul-button {
  font-size: 16px;
  color: #fff;
  background: linear-gradient(145deg, #096daf, #0a7ad9);
  padding: 16px 45px 16px 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 60px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  transition: all 0.4s;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(9, 109, 175, 0.3);
  min-width: 240px;
}

#contact .azul-button i {
  font-size: 20px;
  transition: transform 0.4s;
}

#contact .azul-button:hover {
  background: linear-gradient(145deg, #6C757D, #6C757D);
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(194, 172, 166, 0.35);
  padding-right: 50px;
}

#contact .azul-button:hover i {
  transform: translateX(8px) rotate(10deg);
}
.footer-widget p {
    text-align: justify;
}
.seccion-fondo{
  position: relative;
  background-size: cover;
  background-position: center;
}

.seccion-fondo::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}


