/* ===== ESTILOS PRINCIPALES SEWARE ===== */
:root {
    --primary-color: #1a3d7c;      /* Azul corporativo SEWARE */
    --secondary-color: #2a5ba9;    /* Azul claro acento */
    --accent-color: #25d366;       /* Verde WhatsApp */
    --light-color: #f8f9fa;        /* Gris claro fondo */
    --dark-color: #212529;         /* Textos oscuros */
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* ===== RESET Y TIPOGRAFÍA ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-color);
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* ===== FONDO CON WAVES ===== */
.waves-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800" opacity="0.03"><path d="M0,200 C300,100 600,300 900,200 C1200,100 1200,300 900,400 C600,500 300,400 0,500 L0,800 L1200,800 L1200,200 Z" fill="%231a3d7c"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}

/* ===== BOTONES FLOTANTES ===== */
.floating-buttons {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
    position: relative;
}

.floating-btn:hover {
    transform: translateY(-5px);
    color: white;
}

.whatsapp-btn {
    background-color: var(--accent-color);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.scroll-top {
    background-color: var(--primary-color);
}

.scroll-top:hover {
    background-color: var(--secondary-color);
}

.share-btn {
    background-color: var(--secondary-color);
}

.share-btn:hover {
    background-color: #1a4c9e;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== HEADER Y NAVEGACIÓN ===== */
.navbar {
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
}

.navbar-brand {
    padding: 0;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.5px;
    margin-top: -2px;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    border-radius: 4px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background-color: rgba(255,255,255,0.1);
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: 70px;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 61, 124, 0.85) 0%, rgba(42, 91, 169, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #1a4c9e;
    border-color: #1a4c9e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ===== PRESENTACIÓN ===== */
.presentation-section {
    background-color: var(--white);
    padding: 100px 0;
}

.presentation-section .lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.stats-container {
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    font-weight: 500;
}

.presentation-image .card {
    border-radius: 15px;
    overflow: hidden;
}

.presentation-image .card-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.presentation-image ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.presentation-image ul li:last-child {
    border-bottom: none;
}

/* ===== SECCIÓN AYUDAR ===== */
.help-section {
    background-color: var(--light-color);
    padding: 100px 0;
}

.service-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* ===== EXPERIENCIA ===== */
.experience-section {
    background-color: var(--white);
    padding: 100px 0;
}

.experience-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.experience-header h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.2rem;
}

.experience-year {
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.experience-desc {
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.experience-contact {
    color: #555;
    font-size: 0.9rem;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

/* ===== PARTNERS ===== */
.partners-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-item {
    background: var(--white);
    padding: 25px 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    border: 2px solid rgba(26, 61, 124, 0.1);
    transition: var(--transition);
}

.partner-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ===== FOOTER ===== */
.footer-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-logo .logo-text {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.footer-logo .logo-subtitle {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

.footer-description {
    margin: 25px 0;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}

.footer-rfc {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-style: italic;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-menu a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info {
    margin-top: 10px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item div {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.contact-item strong {
    color: var(--white);
    display: block;
    margin-bottom: 5px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
    }
    
    .contact-item i {
        margin-bottom: 10px;
    }
}
/* ============================================
   CORRECCIONES ESPECÍFICAS SEWARE - HEADER TRANSPARENTE
   ============================================ */

/* HEADER TRANSPARENTE TOTALMENTE */
.seware-header-transparente {
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease !important;
}

/* Header cuando se hace scroll */
.seware-header-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* COLOR AZUL MARINO PARA MENÚ HAMBURGUESA */
.navbar-toggler-custom {
    background-color: #1a2a6c !important;
    border: 2px solid white !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
}

.navbar-toggler-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 24px !important;
    height: 24px !important;
}

.navbar-toggler-custom:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5) !important;
    outline: none !important;
}

/* Asegurar que el menú desplegable sea visible */
.navbar-collapse-custom {
    background-color: rgba(26, 42, 108, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin-top: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Links del menú móvil */
.navbar-nav-custom .nav-link {
    color: white !important;
    padding: 10px 15px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.navbar-nav-custom .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
}

/* Para desktop - links normales */
.seware-header-transparente .navbar-nav .nav-link,
.seware-header-transparente .navbar-brand,
.seware-header-transparente .header-social a {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.seware-header-transparente .nav-link:hover,
.seware-header-transparente .nav-link.active {
    color: #ffd700 !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Cuando se hace scroll - cambiar color de textos */
.seware-header-scrolled .navbar-nav .nav-link,
.seware-header-scrolled .navbar-brand,
.seware-header-scrolled .header-social a {
    color: #1a2a6c !important;
    text-shadow: none;
}

.seware-header-scrolled .nav-link:hover,
.seware-header-scrolled .nav-link.active {
    color: #007bff !important;
    background-color: rgba(26, 42, 108, 0.1);
}

/* Asegurar que los botones flotantes estén presentes */
.floating-buttons-completos {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .seware-header-transparente .navbar-nav .nav-link,
    .seware-header-transparente .navbar-brand,
    .seware-header-transparente .header-social a {
        color: #1a2a6c !important;
        text-shadow: none;
    }
} /* Menú hamburguesa azul marino visible */
.navbar-toggler {
    background-color: #1a2a6c !important;
    border: 2px solid white !important;
    padding: 8px 10px !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}