html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto !important;
  overflow-x: hidden;
  overflow-y: auto !important;
  font-family: 'Montserrat', sans-serif;
  background-color: #fafafa;
  color: #2b2b2b;
}

/* ELIMINAMOS BLOQUEOS */
body:not(.loaded) {
  overflow-y: auto !important;
}

body.loaded {
  overflow-y: auto !important;
}


nav {
    background: rgba(255,255,255,0.96);
    padding: 18px 140px;
    border-bottom: 1px solid #e6e6e6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 10px;                 /* 👈 lo baja un poco */
    left: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 22px;      /* 👈 redondeado */
    backdrop-filter: blur(12px);
}

nav .logo {
    width: 165px;
    transition: transform .3s ease;
}

nav .logo:hover {
    transform: scale(1.06);
}

.links {
    padding-top: 3px;
}

.links a {
    margin: 0 26px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #1f1f1f;
    text-decoration: none;
    position: relative;
    transition: color .3s ease, transform .3s ease;
}

.links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0%;
    height: 2px;
    background: #eea900;
    transition: width .3s ease;
}

.links a:hover::after {
    width: 100%;
}

.links a:hover {
    color: #eea900;
    transform: translateY(-2px);   /* 👈 levanta */
}

.links .selected {
    color: #eea900;
    font-weight: 700;
}

#banner {
    width: 100%;
    height: 92vh;
    margin-top: 85px;
    position: relative;
    overflow: hidden;
}


#banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,.15));
    z-index: 1;
}

.banner-title {
    font-size: 1.35rem;
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 1.15rem;
    }
}

#banner .banner-msg {
    position: relative;
    z-index: 2;
    padding: 12% 0 10% 12%;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    text-shadow: 0 6px 16px rgba(0,0,0,.5);
}

#banner .banner-img {
    top: -30px;
    bottom: 0;
    right: 0;
    left: 0;
    position: absolute;
    z-index: -1;
}

#banner .banner-img img {
    max-height: 100%;
    min-height: 100%;
    max-width: 100%;
    object-fit: cover;
}

#banner .banner-msg {
    z-index: 20;
    padding: 10%  0 10% 12%;
    color: rgb(255, 241, 226);
    text-shadow: 0 2px 4px #333;
    font-family: 'Montserrat', sans-serif;
    font-weight: 270;
}


#info {
    margin-top: 6%;
    margin-left: 7%;
}

.hero-info {
    background: #ffffff;
    padding: 90px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.hero-info.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    max-width: 1000px;
    margin: auto;
}

.hero-content h1 {
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 35px;
    color: #1f1f1f;
}

.btn-hero {
    display: inline-block;
    padding: 14px 38px;
    background: linear-gradient(135deg, #ffcc33, #eea900);
    color: #1f1f1f;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
    transition: all .3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-info {
        padding: 60px 20px;
    }
}

.lists {
    font-size: 1.2em;
}

.lists .list-inline-item {
    margin-right: 40px;
    margin-left: 10%;
    margin-bottom: 3%;
}


.mision,
.equipos,
.servicios,
.contacto {
    margin-top: 60px;
}

.nosotros,
.equipos,
.servicios,
.contacto {
    margin-top: 100px;
    margin-bottom: 90px;
}

.nosotros-info {
    padding-left: 80px;
}

.nosotros-img {
    border-radius: 10px;
    margin: 20px;
    width: 106%;
    height: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-left: -20px;
}

.nosotros02-img {
    border-radius: 10px;
    margin: 20px auto;
    width: 93%;
    box-shadow: 0 4px 5px #333;
    max-height: 350px;
    object-fit: contain;
    display: block;
}


.equipos-img,
.servicios-img {
    border-radius: 10px;
    margin: 20px;
    width: 93%;
    height: 85%;
    box-shadow: 0 4px 5px #333;
    max-height: 350px;
    object-fit: cover;
}

.equipos-info,
.servicios-info {
    margin-top: 100px;
}

.contacto-info,
.contacto-form {
    margin-top: 50px;
}



.contactenos {
    margin-top: 50px;
}

.nosotros-info .lead {
    font-size: 1.12em;
}

.nosotros02 .lead {
    font-size: 1.12em;
}

.nosotros02 {
    padding-bottom: 100px;
}

.no-arrow .carousel-control-next,
.no-arrow .carousel-control-prev {
    display: none;
}

.mosquera {
    margin-top: 35px;
    margin-bottom: 70px;
}

.barranca {
    margin-top: 80px;
}

.pais {
    margin-bottom: 35px;
}

hr.solid {
    border-top: 3px solid #bbb;
}

.btn {
    background-color: #eea900;
    border: none;
}

/* Style the Image Used to Trigger the Modal */
.modal-img {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
  
.modal-img:hover {opacity: 0.7;}
  
/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
  
/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}
  
/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}
  
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
  
/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
  
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
  
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
}

/* Media Queries */
@media (max-width: 988px) {
    .equipos-info,
    .servicios-info {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    #banner {
        height: 70vh;
    }
    #banner .banner-msg {
        font-size: 2.5rem;
    }
    #info {
        padding-top: 0px;
    }
    .nosotros-info {
        padding-left: 10px;
    }
    .navigation,
    .links {
		display: flex;
	}

	.navigation {
		flex-direction: column;
		align-items: center;
	}
}

@media (max-width: 575.98px) {
    #banner {
        height: 60vh;
    }
    #banner .banner-msg {
        font-size: 2rem;
        margin-top: 180px;
    }
    .equipos {
        padding-right: 0px;
    }
    #info {
        padding-top: 0px;
    }
    .nosotros-info {
        padding-left: 5px;
    }
    .navigation,
    .links {
        display: block;
        padding: 10px 15px;
        text-align: center;
	}

	.navigation {
		flex-direction: column;
		align-items: center;
    }
    .servicios,
    .equipos,
    .nosotros,
    .contacto {
        padding-top: 80px;
    }
    .nosotros{
        padding-left: 40px;
    }
    
}
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 9999;
    box-shadow: 0 6px 18px rgba(0,0,0,.3);
    transition: all .3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,.4);
    color: #fff;
}

.header {
    animation: fadeDown .8s ease;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header.scrolled {
    padding: 12px 120px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.98);
}

.header.scrolled .logo {
    width: 145px;
}

.certificaciones {
    background: #f6f6f6;
    padding: 80px 60px;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
    margin-bottom: 100px;
}

.certificaciones .info-title {
    font-weight: 600;
    letter-spacing: 1px;
    color: #1f1f1f;
    position: relative;
}

.certificaciones .info-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: #eea900;
    display: block;
    margin-top: 12px;
    border-radius: 4px;
}

.certificaciones .lists {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.certificaciones .list-inline-item {
    background: #fafafa;
    padding: 22px 28px;
    border-radius: 16px;
    margin: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,.1);
    transition: all .3s ease;
}

.certificaciones .list-inline-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.certificaciones a {
    font-weight: 600;
    letter-spacing: .5px;
    color: #1f1f1f;
    text-decoration: none;
}

.certificaciones a i {
    color: #eea900;
    margin-right: 10px;
    font-size: 1.3rem;
}

.cert-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.cert-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 40px 30px;
    min-width: 220px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0,0,0,.14);
    border: 2px solid rgba(238,169,0,.35);
    text-decoration: none;
    color: #1f1f1f;
    transition: all .35s ease;
}

.cert-card img {
    width: 200px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 18px;
    transition: all .35s ease;
}

.cert-card span {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #1f2933;
    letter-spacing: .6px;
    font-family: 'Montserrat', sans-serif;
}
.cert-card:hover {
    background: linear-gradient(145deg,#fff,#f7f7f7);
}

.cert-card:hover img {
    transform: scale(1.15);
}

.cert-card {
    opacity: 0;
    transform: translateY(40px);
}

.cert-card.show {
    opacity: 1;
    transform: translateY(0);
    transition: all .6s ease;
}

.cert-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
    opacity: 0;
    transition: .5s;
}
.cert-card:hover::after {
    opacity: 1;
}

.cert-card { position: relative; overflow: hidden; }

.cert-card {
    cursor: pointer;
}

.cert-card:hover span {
    color: #eea900;
}

.cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner-title {
    font-size: 1.35rem !important;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    text-align: justify;
}

@media (max-width: 768px) {
    .banner-title {
        text-align: left;
    }
}

.clientes {
    margin-top: 120px;
    padding: 80px 40px;
    background: #f7f7f7;
    border-radius: 30px;
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
    gap: 40px;
    margin-top: 50px;
    align-items: center;
}

.cliente-card {
    width: 260px;
    margin: 0 25px;
    background: white;
    border-radius: 22px;
    padding: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 8px 18px rgba(0,0,0,.10),
        0 18px 45px rgba(0,0,0,.12);
    transition: all .4s ease;
}

.cliente-card img {
    max-width: 130px;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all .35s ease;
}

.cliente-card:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 
        0 15px 35px rgba(0,0,0,.18),
        0 30px 60px rgba(0,0,0,.22);
}

.cliente-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.cliente-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .7s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.clientes {
    margin-top: 120px;
    padding: 90px 40px;
    background: #f7f7f7;
    border-radius: 30px;
}

.clientes-slider {
    overflow: hidden;
    margin-top: 60px;
}

.clientes-track {
    display: flex;
    width: calc(260px * 12);
    animation: scrollClientes 35s linear infinite;
}

.cliente-card {
    width: 260px;
    margin: 0 25px;
    background: white;
    border-radius: 22px;
    padding: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    transition: .35s;
}

.cliente-card img {
    max-width: 170px;
    max-height: 90px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: .35s;
}

.cliente-card:hover {
    transform: scale(1.08);
}

.cliente-card:hover img {
    filter: grayscale(0%);
}

@keyframes scrollClientes {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-260px * 6)); }
}

.clientes .info-title {
    text-align: center;
    font-family: 'Poppins','Montserrat',sans-serif;
    letter-spacing: 1px;
}

.clientes-slider:hover .clientes-track {
    animation-play-state: paused;
}

.clientes .info-title {
    text-align: center;
    font-family: 'Poppins','Montserrat',sans-serif;
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #1f2933;
    position: relative;
}

.clientes .info-title::after {
    content: '';
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg,#eea900,#f5c33b);
    display: block;
    margin: 18px auto 0;
    border-radius: 10px;
}

.clientes {
    padding: 100px 50px;
}

.equipos-section {
    margin: 140px auto;
    padding: 90px 60px;
    background: #f7f7f7;
    border-radius: 35px;
}

.equipos-sub {
    max-width: 720px;
    margin: 20px auto 60px;
    font-size: 1.05rem;
    color: #555;
    font-family: 'Poppins','Montserrat',sans-serif;
}

.equipos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}


.equipo-card {
    background: white;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 
        0 10px 25px rgba(0,0,0,.12),
        0 20px 45px rgba(0,0,0,.12);
    transition: all .4s ease;
    text-align: center;
}

.equipo-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.equipo-card h3 {
    margin: 22px 0 10px;
    font-weight: 600;
    font-family: 'Poppins','Montserrat',sans-serif;
}

.equipo-card p {
    padding: 0 22px 26px;
    font-size: .95rem;
    color: #555;
}

.equipo-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 18px 45px rgba(0,0,0,.22),
        0 35px 65px rgba(0,0,0,.22);
}

.equipos-btn-box {
    text-align: center;
    margin-top: 70px;
}

.equipos-btn {
    background: linear-gradient(135deg,#eea900,#f5c33b);
    color: #1f2933;
    padding: 16px 42px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    transition: .35s;
}

.equipos-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 18px 35px rgba(0,0,0,.35);
    color: #000;
}

@media (max-width: 992px) {
    .equipos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .equipos-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.equipos-section .info-title {
    font-family: 'Poppins','Montserrat',sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 1.6px;
    color: #1f2933;
    position: relative;
    margin-bottom: 15px;
}

.equipos-section .info-title::after {
    content: '';
    width: 110px;
    height: 4px;
    background: linear-gradient(90deg,#eea900,#f5c33b);
    display: block;
    margin: 20px auto 0;
    border-radius: 10px;
}

.equipos-section .info-title {
    animation: titleFade .8s ease forwards;
}

@keyframes titleFade {
    from {opacity:0; transform:translateY(20px);}
    to {opacity:1; transform:translateY(0);}
}

@media (max-width: 768px) {
    .equipos-section .info-title {
        font-size: 2.2rem;
    }
}

.equipos-section {
    background: linear-gradient(180deg,#fafafa,#f3f3f3);
}

.equipos-grid {
    justify-items: center;
}

.equipo-card {
    width: 100%;
    max-width: 350px;
}

.equipos-grid > .equipo-card:last-child:nth-child(3n + 1) {
    grid-column: 2 / 3;
}

.galeria-section {
    padding: 100px 8%;
    background: linear-gradient(180deg,#fff,#f6f6f6);
}

.galeria-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 220px;
    gap: 18px;
}

.galeria-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    cursor: pointer;
    transition: .4s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

.galeria-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 35px rgba(0,0,0,.25);
}

.galeria-grid img:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.galeria-grid img:nth-child(4) {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .galeria-grid {
        grid-template-columns: repeat(2,1fr);
        grid-auto-rows: 180px;
    }
}

@media (max-width: 500px) {
    .galeria-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
}

.galeria-item {
    opacity: 0;
    transform: translateY(30px);
    animation: galeriaFade .8s ease forwards;
}

@keyframes galeriaFade {
    to {opacity:1; transform:translateY(0);}
}

.galeria-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 9999;
}

.galeria-modal.active {
    opacity: 1;
    pointer-events: all;
}

.galeria-modal:not(.active) {
    visibility: hidden;
}

.galeria-modal-img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,.6);
}

.galeria-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}


.instagram-simple {
    padding: 90px 8%;
    background: linear-gradient(180deg,#ffffff,#f7f7f7);
    text-align: center;
}

.instagram-simple .section-title {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: 'Poppins','Montserrat',sans-serif;
}

.instagram-simple .section-subtitle {
    max-width: 700px;
    margin: 0 auto 35px;
    font-size: 1.1rem;
    color: #666;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    border-radius: 50px;
    background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: .3s;
}

.btn-instagram:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    color: #fff;
}

.footer-premium {
    position: relative;
    background: linear-gradient(135deg,#7fa2ad,#4a656e);
    color: #eaeaea;
    padding: 80px 0 80px 0; /* padding top y bottom */
    font-family: 'Poppins','Montserrat',sans-serif;
    overflow: hidden;
    z-index: 1;
}

.footer-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("img/pattern.png") center/cover no-repeat;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.footer-premium .footer-content {
    position: relative; /* para que el contenido esté por encima de ::before */
    z-index: 1;
}


/* Logo y texto */
.footer-brand p {
    margin-top: 20px;
    color: #cfd8dc;
    line-height: 1.6;
}

.footer-premium .logo-footer {
    width: 230px;
}

/* Títulos */
.footer-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
}

/* Listas */
.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    color: #d7d7d7;
}

.footer-list i {
    color: #eea900;
}

/* Botones CTA */
.footer-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 32px;
    border-radius: 40px;
    background: linear-gradient(45deg,#eea900,#ffcc33);
    color: #222;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

.footer-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,.3);
}

/* Footer bottom */
.footer-bottom {
    background: rgba(0,0,0,.25);
    text-align: center;
    padding: 18px;
    font-size: .9rem;
    color: #ccc;
    margin-top: 60px;
}

#preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #f2f2f2 0%, #d9d9d9 60%, #cfcfcf 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity .9s ease, visibility .9s ease, filter .9s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
    filter: blur(10px);
}

.preloader-content {
    text-align: center;
    animation: introZoom 1.4s ease forwards;
}

.preloader-content img {
    width: 240px;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,.25));
    animation: glow 2s ease-in-out infinite alternate;
}

.preloader-content span {
    display: block;
    margin-top: 18px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 3px;
    color: #444;
    font-size: 13px;
    animation: fadeText 1.4s ease;
}

@keyframes introZoom {
    from { opacity: 0; transform: scale(.7); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes glow {
    from { filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
    to { filter: drop-shadow(0 0 18px rgba(0,0,0,.35)); }
}

@keyframes fadeText {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.preloader-content img {
    width: 300px;
    margin-bottom: 22px;
    animation: logoIntro 1.3s ease forwards;
}

.logo-shine {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.logo-shine::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -120%;
    width: 60%;
    height: 180%;
    background: linear-gradient(120deg, transparent, rgba(255,215,100,.9), transparent);
    transform: rotate(25deg);
    animation: shineMove 2.2s ease infinite;
}

.preloader-text {
    display: block;
    margin-top: 18px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
    color: #555;
    font-size: 14px;
    animation: fadeText 1.4s ease;
}

@keyframes shineMove {
    to {
        left: 160%;
    }
}

@keyframes logoIntro {
    from { opacity: 0; transform: scale(.7); }
    to { opacity: 1; transform: scale(1); }
}

.nosotros-hero {
    position: relative;
    height: 55vh;
    background: url("img/banner_02.jpeg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nosotros-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,10,10,.75), rgba(10,10,10,.4));
    z-index: 1;
}

.nosotros-hero-content {
    position: relative;
    z-index: 2;
}
.nosotros-hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.nosotros-hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    letter-spacing: 2px;
}

.nosotros-hero-content p {
    margin-top: 15px;
    font-size: 1.2rem;
    opacity: .9;
}

.nosotros {
    margin-top: 80px;
}

.mision, .vision {
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    margin-bottom: 30px;
}

.mision h1, .vision h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
}

.nosotros {
    margin-top: 80px;
}

.mision, .vision {
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    margin-bottom: 30px;
}

.mision h1, .vision h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
}

.nosotros [class*="col"] {
    opacity: 1;
    transform: none;
}

.nosotros-hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
    animation: heroIntro 1s ease forwards;
}

@keyframes heroIntro {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nosotros-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    height: 100%;
    min-height: 520px;
    align-content: stretch;
}

.nosotros-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

@media (max-width: 768px) {
    .nosotros-collage {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    
    .nosotros-collage img {
        height: 200px;
    }
}

.nosotros-collage img{
    transition:.3s ease;
}

.nosotros-collage img:hover {
    transform: scale(1.03);
    transition: .4s ease;
}
.nosotros .row {
    align-items: stretch;
}

.nosotros-historia {
    padding: 100px 0;
    background: linear-gradient(to right, #f7f7f7, #ffffff);
}

.historia-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.historia-text h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2.4rem;
    margin-bottom: 18px;
    position: relative;
}

.historia-text h2::after {
    content: "";
    width: 70px;
    height: 4px;
    background: #f5b301;
    display: block;
    margin-top: 8px;
    border-radius: 3px;
}

.historia-text p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
    text-align: justify;
}

@media (max-width: 768px) {
    .historia-img img {
        height: 260px;
        margin-bottom: 30px;
    }
}

.historia-img img {
    transition: transform .4s ease, box-shadow .4s ease;
}

.historia-img img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 45px rgba(0,0,0,.2);
}

.politicas {
  position: relative;
  padding: 100px 0;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.82), rgba(255,255,255,.9)),
    url("img/politicas.png") center/cover no-repeat;
}
.politicas-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.6rem;
    margin-bottom: 60px;
    position: relative;
}

.politicas-title::after {
    content: "";
    width: 90px;
    height: 4px;
    background: #f5b301;
    display: block;
    margin: 12px auto 0;
    border-radius: 4px;
}

.politicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.politica-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.1);
    transition: .4s ease;
}

.politica-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 30px rgba(201,162,77,.35),
    0 4px 12px rgba(0,0,0,.15);
}

.politica-card i {
    font-size: 38px;
    color: #f5b301;
    margin-bottom: 15px;
}

.politica-card h4 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

.politica-card {
    text-decoration: none;
    color: inherit;
}
.politicas-grid {
    width: 100%;
    margin: auto;
}
.politicas {
    overflow: hidden;
}

body {
  overflow-x: hidden;
}

.politicas-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 60px;
  position: relative;
  color: #222;
}

.politicas-title span {
  background: linear-gradient(90deg, #c9a24d, #f0d27a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.politicas-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #c9a24d, #f0d27a);
  display: block;
  margin: 15px auto 0;
  border-radius: 4px;
}

.politica-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 22px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: .35s ease;
  border: 1px solid rgba(0,0,0,.06);
}

.politica-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0,0,0,.15);
}

.politica-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.politica-card::after {
  content: "";
  display: block;
  width: 35px;
  height: 3px;
  background: #c9a24d;
  margin: 14px auto 0;
  border-radius: 3px;
  opacity: .6;
}

.politica-card:hover::after {
  width: 55px;
  opacity: 1;
  transition: .3s ease;
}

.politica-card {
  position: relative;
  overflow: hidden;
}

.politica-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(201,162,77,.12), transparent);
  opacity: 0;
  transition: .4s;
}

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

.politica-card h4 {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.politicas::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/noise.png");
  opacity: .05;
  pointer-events: none;
}

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

.politicas {
  background-attachment: fixed;
}


/* Hero */
.equipos-hero {
  position: relative;
  height: 55vh;
  background: url("img/la.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipos-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,.75), rgba(10,10,10,.4));
}

.equipos-hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 20px;
}

.equipos-hero-content h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  font-weight: 700;
}

.equipos-hero-content p {
  margin-top: 15px;
  font-size: 1.2rem;
  opacity: .9;
}

/* Contenedor */
.equipos {
  margin-top: 80px;
  margin-bottom: 120px; /* separación real del footer */
  overflow: visible;
}

.equipos-info p {
    text-align: justify; /* Justifica el texto */
    line-height: 1.7;    /* Espacio entre líneas para mejor lectura */
    font-size: 1rem;     /* Ajustable si quieres un poquito más grande */
    color: #555;         /* Mantener coherencia con servicios */
}

/* Tarjetas */
.equipos .row {
  background: rgba(255,255,255,.88);
  border-radius: 22px;
  padding: 40px;
  margin-bottom: 80px;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  backdrop-filter: blur(8px);
}

/* Texto */
.equipos-info h1 {
  font-weight: 700;
  letter-spacing: 1px;
}

.equipos-info p {
  font-size: 1.1rem;
  opacity: .9;
}

/* Imagen */
.equipos-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 18px;
}

/* Animación */
.equipos .row {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s ease;
}

.equipos .row.show {
  opacity: 1;
  transform: translateY(0);
}

.equipos {
  margin-bottom: 120px;
}

footer,
.footer-premium {
  margin-top: 0 !important;
  position: relative;
  z-index: 5;
}

footer::before {
  content: "";
  display: block;
  height: 80px;
}

html, body {
  overflow-x: hidden;
  overflow-y: auto !important;
  height: auto !important;
}

.footer-premium {
  width: 100%;
  overflow: visible;
  margin-top: 0;
}

footer::before {
  content: none;
}

video {
    z-index: 0;
}


#banner-servicios {
    height: 50vh;
    background: url('img/servis.png') center/cover no-repeat;
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* oscurece la imagen */
}

.banner-overlay h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.banner-overlay p {
    font-size: 1.2rem;
}

/* =====================================
   Servicios Section
===================================== */
.servicios-section {
    padding: 5rem 0;
}

.service-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.servicios-section .lead {
    font-size: 1.1rem;
    color: #555;
}

/* =====================================
   Carruseles
===================================== */
.carousel-inner img.servicios-img {
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}


.carousel-inner img.servicios-img {
    width: 100%;           /* ocupa todo el ancho del contenedor */
    height: 400px;         /* altura fija (ajusta según necesites) */
    object-fit: cover;     /* recorta la imagen si es necesario para llenar el espacio */
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;

}

@media (max-width: 768px) {
    .carousel-inner img.servicios-img {
        height: 250px; /* altura más pequeña en móviles */
    }
}    

.carousel-inner img.servicios-img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

/* Ajuste del carrusel para que tenga espacio y margen */
.carousel {
    margin-top: 1rem;
}

/* =====================================
   Modal para imagen (opcional)
===================================== */
.modal-content {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    border-radius: 1rem;
}

/* =====================================
   Footer
===================================== */
.footer-premium {
    background-color: #222;
    color: #fff;
    padding: 3rem 0 1rem;
    font-size: 0.9rem;
}

.footer-premium .footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-premium .footer-list li {
    margin-bottom: 0.5rem;
}

.footer-premium .footer-btn {
    background-color: #007bff;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.footer-premium .footer-btn:hover {
    background-color: #0056b3;
    text-decoration: none;
}

.footer-bottom {
    background-color: #111;
    color: #ccc;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 0.85rem;
}

/* =====================================
   Responsive
===================================== */
@media (max-width: 768px) {
    .banner-overlay h1 {
        font-size: 2rem;
    }
    .banner-overlay p {
        font-size: 1rem;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
}

.banner-overlay {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.5); /* Aquí ajusta la opacidad si quieres más o menos oscurecido */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.service-title::after,
h2::after {
    content: "";
    display: block;
    width: 60px;        /* ancho de la línea */
    height: 4px;        /* grosor */
    background: linear-gradient(90deg, #FFD700, #FFA500); /* dorado degradado */
    margin-top: 8px;    /* espacio entre texto y línea */
    border-radius: 2px; /* bordes redondeados */
}

.servicios-section .lead {
    font-size: 1.1rem;
    color: #555;
    text-align: justify; /* Esto justifica el texto */
}


/* ===============================
   BANNER CONTACTO
================================ */

.banner-contacto {
    position: relative;
    height: 55vh; /* igual que servicios */
    background: url("img/banercontac.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Capa oscura */
.banner-contacto-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Texto */
.banner-contacto-content {
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

.banner-contacto-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.banner-contacto-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-contacto {
        height: 260px;
        margin-top: 140px;
    }

    .banner-contacto-content h1 {
        font-size: 2.2rem;
    }

    .banner-contacto-content p {
        font-size: 1rem;
    }
}

.contacto-info {
    padding: 20px;
}

.info-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
}

.info-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.info-subtitle {
    color: #777;
    margin-bottom: 30px;
}

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

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.info-list i {
    font-size: 22px;
    color: #f5a000; /* tu color corporativo */
    min-width: 30px;
}

.info-list strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.info-list span {
    color: #555;
    font-size: 15px;
}

/* ===== MAPA ===== */
.mapa-contacto {
    padding: 80px 0;
    background: #f8f9fa;
}

.mapa-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.mapa-subtitle {
    color: #666;
    margin-bottom: 30px;
}

.mapa-embed iframe {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ===== HORARIOS ===== */
.horarios {
    padding: 60px 0;
}

.horarios h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.horarios-box {
    background: #ffffff;
    display: inline-block;
    padding: 25px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.horarios-box p {
    margin: 0;
    font-size: 1.1rem;
}

.respuesta {
    margin-top: 15px;
    color: #444;
    font-size: 1rem;
}

/* ===== WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
}

.section-title {
    font-weight: 700;   /* negrita elegante */
    margin-bottom: 30px;
    text-align: center;
}

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

@media (max-width: 768px) {

  nav.navigation {
    flex-direction: column;
    padding: 10px 15px;
  }

  .links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .links a {
    font-size: 14px;
  }

  #banner {
    height: 45vh;
  }

  .banner-title {
    font-size: 18px;
    line-height: 1.4;
  }

  .hero-info {
    padding: 40px 20px;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .clientes-track {
    gap: 20px;
  }

  .equipos-grid {
    grid-template-columns: 1fr;
  }

  .equipo-card {
    width: 100%;
  }

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

  .footer-content {
    text-align: center;
  }

  .footer-content .row {
    flex-direction: column;
  }

  .footer-brand,
  .footer-info,
  .footer-cta {
    margin-bottom: 25px;
  }

}
/* =========================
   NOSOTROS MOBILE FINAL FIX
========================= */

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .nosotros,
  .nosotros-section {
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    padding: 40px 20px !important;
  }

  .nosotros-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  .nosotros-images,
  .nosotros-img {
    width: 100% !important;
    position: relative !important;
  }

  .nosotros-images img,
  .nosotros-img img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .nosotros-content {
    width: 100% !important;
    position: relative !important;
  }

  .mision-vision {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px;
    margin-top: 25px;
  }

}

@media (max-width:768px){
  .navigation{
    position: relative !important;
  }
}

@media (max-width: 768px) {

  .nosotros-grid,
  .nosotros-images,
  .nosotros-content,
  .mision-vision,
  .mision,
  .vision {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }

  .nosotros-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  .mision-vision {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px;
    margin-top: 20px;
  }

}

@media (max-width:768px){

  .nosotros {
    margin-top: 40px;
    overflow: visible !important;
  }

  .nosotros-collage {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }

  .nosotros-collage img {
    width: 100%;
    height: auto;
    display: block;
  }

  .nosotros-info {
    margin-top: 25px;
  }

}

/* ===== FIX NOSOTROS MOBILE DEFINITIVO ===== */

@media (max-width:768px){

  .nosotros,
  .nosotros * {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .nosotros-collage {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }

  .nosotros-collage img {
    width: 100%;
    height: auto;
    display: block;
  }

}

.nosotros {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

@media (max-width:768px){
  #banner video{
    display:none;
  }
}
