*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d2d2d;
    background: #ffffff;
}

/* Top Warning Bar */
.warning-bar {
    background: linear-gradient(135deg, #c41e3a 0%, #8B0000 100%);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.warning-bar span {
    color: #1a1a1a;
    font-weight: 700;
}

/* Header */
.top-bar {
    background: #1a1a1a;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
}

.top-bar a {
    color: #DC143C;
    text-decoration: none;
    font-weight: 600;
}

nav {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo span {
    color: #DC143C;
}

.logo img:first-child {
    height: 110px;
    width: auto;
}

.logo img:last-child {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #DC143C;
}

/* Menu Hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #DC143C;
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Overlay del menú */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 196, 48, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: #DC143C;
    display: block;
    margin-top: 10px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.badge {
    background: rgba(244, 196, 48, 0.2);
    border-left: 4px solid #DC143C;
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Banner Slider/Carousel */
.banner-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.slide-text h2 {
    font-size: 42px;
    margin-bottom: 15px;
    line-height: 1.1;
    color: white;
}

.slide-text h2 span {
    color: #DC143C;
}

.slide-text p {
    font-size: 18px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.slide-text ul {
    list-style: none;
    margin: 15px 0;
}

.slide-text li {
    padding: 8px 0;
    font-size: 16px;
    color: rgba(255,255,255,0.95);
}

.slide-text li:before {
    content: "✓ ";
    color: #DC143C;
    font-weight: bold;
    margin-right: 10px;
}

.slide-image {
    text-align: center;
    position: relative;
}

.slide-image svg,
.slide-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* Controles del slider */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #DC143C;
    border-color: #DC143C;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(244, 196, 48, 0.6);
}

/* Flechas de navegación */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(244, 196, 48, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(244, 196, 48, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    color: white;
    font-size: 24px;
    font-weight: bold;
    user-select: none;
}

.slider-arrow:hover {
    background: rgba(244, 196, 48, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.slide-badge {
    background: rgba(220, 20, 60, 0.15);
    border-left: 4px solid #DC143C;
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 14px;
    border-radius: 5px;
    color: white;
    font-weight: 600;
}

.cta-button {
    background: #DC143C;
    color: white;
    padding: 16px 45px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
    margin-top: 15px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.5);
    background: #B01030;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Alert Section */
.alert-section {
    background: white;
    padding: 0;
}

.alert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.alert-card {
    background: linear-gradient(135deg, #fafafa 0%, white 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #c41e3a;
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.1);
    transition: transform 0.3s;
}

.alert-card:hover {
    transform: translateY(-5px);
}

.alert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c41e3a, #8B0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
    color: white;
}

.alert-card h3 {
    color: #1a1a1a;
    font-size: 20px;
    margin-bottom: 15px;
}

.alert-card p {
    color: #666;
    line-height: 1.8;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 38px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-header h2 span {
    color: #DC143C;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Process Section */
.process-section {
    background: #f2f2f2;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(26, 60, 110, 0.1);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.process-step h3 {
    color: #1a1a1a;
    font-size: 18px;
    margin-bottom: 15px;
}

.process-step p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(244, 196, 48, 0.2);
    transition: all 0.3s;
}

.benefit-card:hover {
    background: rgba(244, 196, 48, 0.1);
    border-color: #DC143C;
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.benefit-card h3 {
    color: #DC143C;
    font-size: 20px;
    margin-bottom: 10px;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Pricing Plans */
.pricing-section {
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.pricing-card {
    background: linear-gradient(135deg, #f2f2f2 0%, white 100%);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid #1a1a1a;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(26, 60, 110, 0.2);
}

.pricing-card.featured {
    border-color: #DC143C;
    background: linear-gradient(135deg, #f8f8f8 0%, white 100%);
}

.pricing-card.featured::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #DC143C;
    color: #1a1a1a;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-employees {
    background: #1a1a1a;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}

.pricing-card h3 {
    color: #1a1a1a;
    font-size: 24px;
    margin-bottom: 20px;
}

.price {
    font-size: 48px;
    color: #DC143C;
    font-weight: 700;
    margin: 20px 0;
}

.price sup {
    font-size: 24px;
}

.price-note {
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.pricing-features li:before {
    content: "✓";
    color: #DC143C;
    font-weight: bold;
    margin-right: 10px;
    font-size: 18px;
}

/* FAQ Section */
.faq-section {
    background: #f2f2f2;
}

.faq-grid {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(26, 60, 110, 0.1);
}

.faq-question {
    padding: 25px;
    background: #1a1a1a;
    color: white;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #3d3d3d;
}

.faq-question span {
    color: #DC143C;
    font-size: 28px;
    font-weight: bold;
}

.faq-answer {
    padding: 25px;
    color: #555;
    line-height: 1.8;
    display: none;
}

/* Testimonials */
.testimonials-section {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: linear-gradient(135deg, #f2f2f2 0%, white 100%);
    padding: 30px;
    border-radius: 15px;
    border-top: 4px solid #DC143C;
    box-shadow: 0 5px 20px rgba(26, 60, 110, 0.1);
}

.stars {
    color: #DC143C;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: #555;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.8;
}

.author {
    font-weight: 600;
    color: #1a1a1a;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #c41e3a 0%, #8B0000 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-section h2 span {
    color: #1a1a1a;
    font-weight: 700;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: #2d2d2d;
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #DC143C;
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #DC143C;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    color: #999;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #DC143C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-weight: bold;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.15);
}

/* Responsive */
@media (max-width: 768px) {
    /* Top bars */
    .warning-bar {
        font-size: 14px;
        padding: 12px 15px;
    }

    .top-bar {
        font-size: 12px;
        padding: 8px 10px;
    }

    /* Navegación */
    .menu-toggle {
        display: flex;
    }

    /* Logos responsive */
    .logo {
        gap: 10px;
    }

    .logo img:first-child {
        height: 70px;
    }

    .logo img:last-child {
        height: 35px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 30px 20px;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 99;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid #e8e8e8;
    }

    .nav-menu a {
        display: block;
        font-size: 16px;
    }

    /* Hero */
    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    /* Capacitación section responsive */
    section > div > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Banner Slider responsive */
    .banner-slider {
        height: auto;
        min-height: 500px;
    }

    .slide-content {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 30px;
    }

    .slide-text h2 {
        font-size: 28px;
    }

    .slide-text p {
        font-size: 16px;
    }

    .slide-text li {
        font-size: 15px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-controls {
        bottom: 20px;
    }

    .hero p {
        font-size: 16px;
    }

    .badge {
        font-size: 12px;
        padding: 8px 15px;
    }

    /* Secciones */
    .container {
        padding: 40px 15px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .section-header p {
        font-size: 16px;
    }

    /* Grids */
    .alert-grid,
    .process-steps,
    .benefits-grid,
    .features-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Cards */
    .alert-card,
    .process-step,
    .benefit-card,
    .feature-card,
    .pricing-card,
    .testimonial-card {
        padding: 25px 20px;
    }

    /* Pricing */
    .price {
        font-size: 32px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    /* Formulario de contacto */
    .hero-content,
    .info-content,
    .report-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    /* Botones */
    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* WhatsApp float */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    /* Sección específica del formulario */
    section[style*="grid-template-columns: 1fr 1fr"] > div {
        grid-template-columns: 1fr !important;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 38px;
    }

    .alert-grid,
    .process-steps,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile pequeño */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .price {
        font-size: 28px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 15px;
    }

    .alert-icon,
    .step-number,
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

/* Correcciones adicionales para responsive */
@media (max-width: 768px) {
    /* Asegurar que todos los grids inline sean de 1 columna */
    div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"],
    div[style*="display: grid"][style*="grid-template-columns: repeat"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Ajustar padding de secciones inline */
    section[style*="padding: 80px"] {
        padding: 50px 15px !important;
    }
    
    /* Formularios en móvil */
    input, select, textarea {
        font-size: 16px !important;
    }

    /* Elementos flex inline */
    div[style*="display: flex"][style*="gap: 60px"] {
        flex-direction: column !important;
        gap: 30px !important;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-menu {
        height: 100vh;
        overflow-y: auto;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    transform: scale(1.1);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    bottom: 15px;
    background-color: white;
    color: #333;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}