/* RACSO TRACKING - CSS Principal */
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500&display=swap');

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Contenedor responsivo global */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Clases utilitarias responsivas */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Header y navegación */
header {
    background: #222;
    color: #fff;
    position: relative;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #e10613;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    background: #e10613;
    color: #fff;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e10613;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(225,6,19,0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 2rem;
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.rotative-text {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotative-item {
    display: none;
}

.rotative-item.active {
    display: block;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Hero controls */
.hero-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 4;
    pointer-events: none;
}

.hero-slider-arrow {
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    pointer-events: auto;
}

.hero-slider-arrow:hover {
    background: #e10613;
    transform: scale(1.1);
}

/* Sections */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e10613;
}

/* Services */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #e10613;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(225,6,19,0.2);
    border-left-color: #b30510;
}

.service-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    filter: invert(14%) sepia(88%) saturate(6864%) hue-rotate(353deg) brightness(91%) contrast(96%);
}

.service-item h3 {
    color: #e10613;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

.service-item p {
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
}

/* Plans and Platforms Section */
.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.plan-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.plan-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(225,6,19,0.15);
}

.plan-item.featured {
    border-color: #e10613;
    transform: scale(1.05);
}

.plan-item.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #e10613, #b30510);
    color: white;
    padding: 8px 40px;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(225,6,19,0.3);
}

.plan-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid #e10613;
}

.plan-icon {
    background: linear-gradient(135deg, #e10613, #b30510);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(225,6,19,0.3);
}

.plan-icon .service-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.plan-item h3 {
    color: #e10613;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.plan-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.plan-content {
    padding: 2rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f1f1;
    color: #555;
    font-size: 0.95rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-pricing {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.pricing-options {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.pricing-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e10613;
    margin-bottom: 0.5rem;
}

.data {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.plan-cta {
    width: 100%;
    background: linear-gradient(135deg, #e10613, #b30510);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(225,6,19,0.3);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.plan-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225,6,19,0.4);
    text-decoration: none;
    color: white;
}

.plan-cta.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.plan-cta.whatsapp-btn:hover {
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.plan-cta svg {
    flex-shrink: 0;
}

.additional-services {
    margin-top: 4rem;
    text-align: center;
}

.additional-services h3 {
    color: #e10613;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.additional-item {
    background: linear-gradient(135deg, #e10613, #b30510);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(225,6,19,0.3);
    transition: transform 0.3s;
}

.additional-item:hover {
    transform: translateY(-5px);
}

.additional-icon {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.additional-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.additional-item p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .plans-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .plan-item.featured {
        transform: none;
    }
    
    .plan-item.featured:hover {
        transform: translateY(-10px);
    }
    
    .pricing-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .additional-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
.gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.gallery-item {
    display: none;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    background: #fff;
    align-items: center;
}

.gallery-item.active {
    display: grid;
}

.gallery-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.gallery-content h3 {
    color: #e10613;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.gallery-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.gallery-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gallery-features li {
    color: #333;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f1f1;
}

.gallery-features li:last-child {
    border-bottom: none;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: #e10613;
    transform: scale(1.2);
}

.indicator:hover {
    background: #b30510;
}

@media (max-width: 768px) {
    .gallery-item {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .gallery-image {
        height: 300px;
        order: 1;
    }
    
    .gallery-content {
        padding: 2rem;
        order: 2;
    }
    
    .gallery-content h3 {
        font-size: 1.5rem;
    }
    
    .gallery-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .gallery-content {
        padding: 1.5rem;
    }
    
    .gallery-controls {
        gap: 0.5rem;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
    }
}

/* Why Choose RT MOBILE */
.why-choose-content {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-text {
    text-align: center;
    margin-bottom: 3rem;
}

.lead-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.why-item {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #e10613;
}

.why-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(225,6,19,0.2);
}

.why-icon {
    background: linear-gradient(135deg, #e10613, #b30510);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(225,6,19,0.3);
}

.why-icon .benefit-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    margin: 0;
}

.why-item h3 {
    color: #e10613;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.why-item p {
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
}

.commitment-text {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
    text-align: center;
    border-left: 6px solid #e10613;
}

.commitment-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
    font-style: italic;
}

.cta-highlight {
    background: linear-gradient(135deg, #e10613, #b30510);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.cta-highlight p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Benefits */
.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.benefits-list li {
    background: linear-gradient(135deg, #e10613, #d32f2f);
    color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(225,6,19,0.3);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    filter: brightness(0) invert(1);
}

/* Testimonials */
.testimonials-rotative {
    position: relative;
    height: 300px;
    margin: 2rem auto;
    max-width: 800px;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #e10613;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s, transform 0.5s;
}

.testimonial-item.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e10613;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #e10613;
    font-size: 1.1rem;
}

.author-company {
    color: #666;
    font-size: 0.9rem;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.client-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.client-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.client-logo:hover {
    transform: scale(1.1);
}

/* ===== SECCIÓN DE NOTICIAS MEJORADA ===== */

.news-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e10613" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.news-section .container {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.news-carousel-container {
    position: relative;
    padding-bottom: 1rem;
}

/* Stats rotative mejorado */
.stats-rotative {
    position: relative;
    height: auto;
    min-height: 450px;
    margin: 2rem auto;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-item.news-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 450px;
    height: auto;
    background: linear-gradient(135deg, #222 0%, #333 100%);
    color: #fff;
    border-radius: 20px;
    padding: 2.5rem 3rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease-in-out;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(225, 6, 19, 0.1);
    overflow: hidden;
}

.stat-item.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(225, 6, 19, 0.1), transparent);
    border-radius: 0 20px 0 100px;
}

.stat-item.news-card.active {
    opacity: 1;
    transform: scale(1);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(225, 6, 19, 0.2);
    flex-shrink: 0;
}

.news-category {
    background: linear-gradient(135deg, #e10613, #b30510);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.news-date {
    color: #ccc;
    font-size: 0.9rem;
    font-family: 'Fira Mono', monospace;
    white-space: nowrap;
}

.news-title {
    color: #fff;
    font-size: 1.7rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    flex-shrink: 0;
    word-wrap: break-word;
    hyphens: auto;
}

.news-content {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #e9ecef;
    font-size: 0.95rem;
    flex-grow: 1;
}

.news-content strong {
    color: #fff;
    font-weight: 600;
}

.news-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(225, 6, 19, 0.1);
    border-radius: 15px;
    border-left: 4px solid #e10613;
    flex-shrink: 0;
}

.news-stat-item {
    text-align: center;
    flex: 1;
}

.news-stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #e10613;
    font-family: 'Fira Mono', monospace;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.news-stat-label {
    font-size: 0.8rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.news-footer .stat-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-footer .stat-source a {
    color: #e10613;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.news-footer .stat-source a:hover {
    color: #ff4757;
}

.news-impact {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-impact.high {
    background: linear-gradient(135deg, #e10613, #b30510);
    color: white;
}

.news-impact.medium {
    background: linear-gradient(135deg, #f39c12, #d68910);
    color: white;
}

.news-impact.low {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

/* Controles del carrusel mejorados */
.stats-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0 1rem;
    padding: 1rem 0;
}

.control-btn {
    background: linear-gradient(135deg, #e10613, #b30510);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 15px rgba(225, 6, 19, 0.3);
    position: relative;
    overflow: hidden;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.control-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(225, 6, 19, 0.4);
}

.control-btn:hover::before {
    left: 100%;
}

.control-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.pause-btn {
    background: linear-gradient(135deg, #333, #555);
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
}

.pause-btn:hover {
    box-shadow: 0 8px 25px rgba(51, 51, 51, 0.4);
}

.pause-btn.paused .pause-icon {
    display: none;
}

.pause-btn.paused .play-icon {
    display: block !important;
}

/* Indicadores de noticias */
.news-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 1rem 0 2rem;
    padding-bottom: 1rem;
}

.news-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #e10613;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #e10613;
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.news-indicator.active,
.news-indicator:hover {
    background: #e10613;
    transform: scale(1.2);
}

.news-indicator.active::before,
.news-indicator:hover::before {
    width: 6px;
    height: 6px;
    background: white;
}

/* ===== RESPONSIVE PARA NOTICIAS ===== */

@media (max-width: 768px) {
    .stats-rotative {
        min-height: 500px;
        max-width: 95%;
    }
    
    .stat-item.news-card {
        padding: 2rem;
        min-height: 500px;
    }
    
    .news-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .news-content {
        font-size: 0.9rem;
    }
    
    .news-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .news-stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .news-stat-number {
        font-size: 1.6rem;
        margin-bottom: 0;
        margin-right: 1rem;
    }
    
    .control-btn {
        width: 50px;
        height: 50px;
    }
    
    .stats-controls {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-rotative {
        min-height: 550px;
    }
    
    .stat-item.news-card {
        padding: 1.5rem;
        min-height: 550px;
    }
    
    .news-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .news-content {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .news-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .news-category {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .news-stats {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .news-stat-number {
        font-size: 1.4rem;
    }
    
    .news-indicators {
        gap: 0.5rem;
    }
    
    .news-indicator {
        width: 10px;
        height: 10px;
    }
}

.stats-rotative-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* FAQ */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: #f8f9fa;
    border-left: 4px solid #e10613;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.faq-item h3 {
    color: #e10613;
    margin-bottom: 0.5rem;
}

/* Contact */
.contact {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e10613;
}

.contact-form button {
    background: #e10613;
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #d32f2f;
}

.contact-info {
    text-align: center;
    color: #333;
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.go-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #e10613;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 1000;
}

.go-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-links {
    margin: 1rem 0;
}

.footer-links a {
    margin: 0 1rem;
    transition: transform 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    transform: scale(1.2);
}

.social-icon {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.privacy-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-link:hover {
    color: #e10613;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== DISEÑO RESPONSIVE COMPLETO ===== */

/* Tablets grandes (1024px y menos) */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 1rem;
    }
    
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .plans-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Tablets (768px y menos) */
@media (max-width: 768px) {
    /* Navegación móvil */
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(34, 34, 34, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 999;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active,
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 80%;
        text-align: center;
    }
    
    /* Hero responsive */
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-content h1,
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin: 1rem 0;
    }
    
    /* Secciones */
    .section {
        padding: 2rem 1rem;
    }
    
    .section h2,
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    /* Grids a una columna */
    .services-grid,
    .services-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plans-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .plan-item.featured {
        transform: none;
        order: -1;
    }
    
    .benefits-grid,
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-description {
        text-align: center;
        margin-top: 1rem;
    }
    
    /* Estadísticas */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    /* Testimonios */
    .testimonials-list {
        grid-template-columns: 1fr;
    }
    
    /* FAQ */
    .faq-item {
        margin-bottom: 1rem;
    }
    
    /* Contacto */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        order: 2;
    }
    
    .contact-info {
        order: 1;
    }
    
    /* Logos de clientes */
    .client-logos {
        gap: 1rem;
    }
    
    .client-logo {
        width: 60px;
        height: 60px;
    }
}

/* Móviles (480px y menos) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .nav-links {
        width: 85%;
    }
    
    /* Hero muy pequeño */
    .hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-content h1,
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    /* Controles de slider hero */
    .hero-slider-controls {
        padding: 0 1rem;
    }
    
    .hero-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Secciones compactas */
    .section {
        padding: 1.5rem 0.5rem;
    }
    
    .section h2,
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Tarjetas más compactas */
    .service-item,
    .plan-item,
    .benefit-item {
        padding: 1.5rem;
    }
    
    .service-item h3,
    .plan-item h3,
    .benefit-item h3 {
        font-size: 1.3rem;
    }
    
    /* Estadísticas en columna */
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        text-align: center;
        padding: 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    /* Galería simplificada */
    .gallery-controls {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .gallery-btn {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .gallery-indicators {
        gap: 0.3rem;
    }
    
    .gallery-indicator {
        width: 8px;
        height: 8px;
    }
    
    /* Formularios */
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* Evita zoom en iOS */
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    /* Footer compacto */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
}

/* Móviles muy pequeños (360px y menos) */
@media (max-width: 360px) {
    .hero-content h1,
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section h2,
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-item,
    .plan-item,
    .benefit-item {
        padding: 1rem;
    }
    
    .navbar {
        padding: 0.8rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .cta-button {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
}

/* Landscape móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 400px;
    }
    
    .hero-content h1,
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 2rem 1rem;
    }
}

/* ===== MEJORAS ADICIONALES PARA ACCESIBILIDAD ===== */

/* Reducir animaciones para usuarios que las prefieren mínimas */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Alto contraste para mejor accesibilidad */
@media (prefers-contrast: high) {
    .service-item,
    .plan-item,
    .benefit-item {
        border: 2px solid #333;
    }
    
    .cta-button {
        border: 2px solid #fff;
    }
}
