/* --- VARIABLES Y CONFIGURACIÓN GENERAL --- */
:root {
    --naranja: #E15A1D;
    --verde: #00B050;
    --blanco: #ffffff;
    --gris-oscuro: #474747;
    --negro: #1a1a1a;
    --gris-borde: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--negro);
    overflow-x: hidden;
}

/* --- HEADER Y NAVEGACIÓN --- */
.main-header {
    background-color: var(--blanco);
    border-bottom: 4px solid var(--naranja);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
    /* Aumentado para mejor visibilidad */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--negro);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    /*transition: color 0.3s;*/
}

.nav-links a:hover {
    color: var(--verde);
}

.btn-nav {
    background-color: var(--verde);
    color: white !important;
    padding: 8px 18px;
    border-radius: 4px;
}

/* --- CARRUSEL PRINCIPAL (HERO) --- */
.hero-carousel {
    width: 100%;
    height: 85vh;
    /* Altura de la sección */
    min-height: 550px;
    overflow: hidden;
    position: relative;
    background-color: var(--negro);
}

.hero-carousel .swiper,
.hero-carousel .swiper-wrapper {
    height: 100% !important;
}

.hero-carousel .swiper-slide {
    height: 100% !important;
    /* Asegura que cada slide sea del alto total */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    text-align: center;
    padding: 0 10%;
}

.slide-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
    /* Eliminamos cualquier padding o margin que pueda empujar el contenido */
}

.slide-content h2 {
    font-size: 3rem;
    /* Tamaño optimizado */
    margin: 0 0 20px 0;
    /* Eliminamos cualquier margen superior residual */
    text-transform: uppercase;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ELIMINAR LOS MARGENES DE 150PX QUE CAUSABAN EL RECORTE */


.btn-naranja,
.btn-verde {
    margin-top: 20px;
    /* Reducido de 150px a 20px */
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-naranja {
    background: var(--naranja);
    color: white;
}

.btn-verde {
    background: var(--verde);
    color: white;
}

.btn-naranja:hover,
.btn-verde:hover {
    transform: translateY(-3px);
}

/* Botones Navegación Hero */
.hero-carousel .swiper-button-next,
.hero-carousel .swiper-button-prev {
    color: var(--blanco) !important;
    background: rgba(225, 90, 29, 0.7);
    /* Naranja Netsystems con transparencia */
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.hero-carousel .swiper-button-next:after,
.hero-carousel .swiper-button-prev:after {
    font-size: 18px;
}

/* --- MISIÓN Y VISIÓN --- */
.mision-vision {
    padding: 40px 5%;
    background-color: var(--blanco);
}

.container-mv {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.mv-item {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.mv-icon {
    font-size: 45px;
    color: var(--gris-oscuro);
    margin-bottom: 20px;
}

.mv-item h3 {
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--negro);
}

.decor-wave {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* --- CARRUSEL SOCIOS --- */
.partners-section {
    padding-bottom: 20px;
    background-color: #fdfdfd;
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.partnersSwiper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

.partner-card {
    border: 1px solid var(--gris-borde);
    padding: 15px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.3s ease;
}

.partner-card img {
    max-width: 100%;

    filter: grayscale(100%);
    opacity: 0.6;
}

.partner-card:hover {
    border-color: var(--naranja);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Flechas Socios */
.partner-next,
.partner-prev {
    color: var(--naranja) !important;
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--gris-oscuro);
    color: var(--blanco);
    padding: 60px 5% 20px;
    border-top: 5px solid var(--naranja);
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
    color: var(--naranja);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 12px;
}

/* --- BOTÓN WHATSAPP --- */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Deberías implementar un menú hamburguesa luego */
    .slide-content h2 {
        font-size: 1.8rem;
    }

    .container-mv {
        flex-direction: column;
    }
}

.page-hero {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    text-transform: uppercase;
    border-bottom: 4px solid var(--naranja);
    padding-bottom: 10px;
}

.about-intro {
    padding: 50px 10%;
    text-align: center;
    background: white;
}

.container-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.container-text h2 {
    color: var(--naranja);
    margin-bottom: 25px;

}

.light-bg {
    background-color: #f4f4f4;
}

.valores {
    padding: 80px 5%;
    text-align: center;
}

.valores-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.valor-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 280px;
    transition: 0.3s;
}

.valor-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--verde);
}

.valor-card i {
    font-size: 40px;
    color: var(--verde);
    margin-bottom: 15px;
}

.container-servicios {
    padding: 50px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-servicios {
    text-align: center;
    margin-bottom: 50px;
}

.intro-servicios h2 {
    color: var(--naranja);
    margin-bottom: 15px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.servicio-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--gris-borde);
    transition: all 0.3s ease;
}

.servicio-card:hover {
    border-color: var(--verde);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.servicio-icon {
    font-size: 50px;
    color: var(--verde);
    margin-bottom: 20px;
}

.servicio-card h3 {
    margin-bottom: 15px;
    color: var(--negro);
}

.servicio-card p {
    font-size: 14px;
    color: var(--gris-oscuro);
    text-align: justify;
}

.contacto-container {
    padding: 50px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contacto-info {
    background: var(--gris-oscuro);
    color: white;
    padding: 40px;
    border-radius: 8px;
}

.contacto-info h2 {
    color: var(--naranja);
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1rem;
}

.info-item i {
    color: var(--verde);
    font-size: 1.2rem;
}

.social-links-contacto {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.social-links-contacto a {
    color: white;
    font-size: 1.5rem;
    transition: 0.3s;
}

.social-links-contacto a:hover {
    color: var(--naranja);
}

/* Estilos del Formulario */
.contacto-form h2 {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--negro);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus {
    border-color: var(--verde);
    outline: none;
}

/* Sección Mapa */
.map-section {
    margin-top: 60px;
    text-align: center;
}

.map-section h2 {
    margin-bottom: 30px;
    color: var(--negro);
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 40%;
    /* Relación de aspecto del mapa */
    position: relative;
    height: 0;
    border-radius: 10px;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* Responsivo para tablets y móviles */
@media (max-width: 768px) {
    .contacto-wrapper {
        grid-template-columns: 1fr;
    }
}