* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Mejoras de accesibilidad y animaciones */
@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;
    }
}

/* Mejorar contraste para mejor legibilidad */
::selection {
    background: #0066cc;
    color: #fff;
}

/* Optimizar clics en móvil */
a, button, .carousel-btn, .thumbnail, .indicator {
    -webkit-tap-highlight-color: rgba(0, 102, 204, 0.3);
    touch-action: manipulation;
}

nav {
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav .logo img {
    height: 60px;
}

nav .logo span {
    color: #0066cc;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: #0066cc;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    background: linear-gradient(135deg, #000 0%, #0d47a1 50%, #0066cc 100%);
    color: #fff;
    padding: 140px 2rem 80px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-text h1 img {
    height: 120px;
}

.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hero-text .highlight {
    background: rgba(0, 102, 204, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    color: #0066cc;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    margin: 0 auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 2rem;
}

section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 800;
}

section h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #0066cc, #000);
    margin: 1.5rem auto;
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about {
    background: #f8f9fa;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    border: 8px solid #fff;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #0066cc, #000);
    border-radius: 20px;
    z-index: -1;
}

.about-text h3 {
    color: #0066cc;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.1rem;
    color: #555;
}

.about-text strong {
    color: #000;
}

.gallery {
    background: #fff;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s;
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 102, 204, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #0066cc;
    transform: rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 102, 204, 0.8);
    color: #fff;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-nav:hover {
    background: #0066cc;
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
}

.carousel-btn {
    background: rgba(0, 102, 204, 0.8);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    /* Tamaño mínimo táctil para móviles */
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.carousel-btn:hover {
    background: rgba(0, 102, 204, 1);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: #0066cc;
    width: 30px;
    border-radius: 6px;
}

.carousel-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-thumbnails {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
}

.carousel-thumbnails::-webkit-scrollbar {
    height: 8px;
}

.carousel-thumbnails::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.carousel-thumbnails::-webkit-scrollbar-thumb {
    background: #0066cc;
    border-radius: 10px;
}

.thumbnail {
    min-width: 120px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,102,204,0.3);
}

.thumbnail.active {
    border-color: #0066cc;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.awards {
    background: #f8f9fa;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.award-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #0066cc;
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,102,204,0.2);
}

.award-card h4 {
    color: #000;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.award-card .year {
    color: #0066cc;
    font-weight: 700;
}

.experience {
    background: linear-gradient(135deg, #000 0%, #0d47a1 100%);
    color: #fff;
}

.experience h2 {
    color: #fff;
}

.experience h2::after {
    background: linear-gradient(90deg, #fff, #0066cc);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
    margin-top: 4rem;
}

.stat-card {
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.stat-card .number {
    font-size: 4rem;
    font-weight: 800;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.2rem;
    font-weight: 500;
}

.clients {
    background: #fff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: center;
    justify-items: center;
}

.client-logo {
    width: 100%;
    max-width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.client-logo.dark-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.client-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,102,204,0.2);
    border-color: #0066cc;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

.business {
    background: #f8f9fa;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.business-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-top: 5px solid #0066cc;
    transition: all 0.3s;
    text-align: center;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,102,204,0.2);
}

.business-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1rem;
}

.business-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.business-card h3 {
    color: #0066cc;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.business-card p {
    line-height: 1.9;
    color: #555;
    font-size: 1.05rem;
}

.business-tag {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.services {
    background: #fff;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: #fff;
    color: #000;
    border: 3px solid #0066cc;
    padding: 1.2rem 2.5rem;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s;
    font-size: 1.1rem;
    font-weight: 600;
}

.tab-btn.active, .tab-btn:hover {
    background: #0066cc;
    color: #fff;
    transform: translateY(-3px);
}

.services-content {
    background: #f8f9fa;
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-item {
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    border-left: 5px solid #0066cc;
    transition: all 0.3s;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0,102,204,0.2);
}

.service-item h4 {
    color: #0066cc;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

.testimonials {
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 4px solid #0066cc;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,102,204,0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    color: #0066cc;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.testimonial-info p {
    color: #666;
    font-size: 0.9rem;
}

.testimonial-text {
    color: #555;
    line-height: 1.8;
    font-style: italic;
}

.contact {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.contact h2 {
    color: #fff;
}

.contact h2::after {
    background: linear-gradient(90deg, #fff, #0066cc);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
}

.contact-info-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

.chat-btn {
    display: inline-block;
    background: #25d366;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin-top: 1rem;
}

.chat-btn:hover {
    background: #20ba5a;
    transform: translateY(-3px);
}

.contact-form {
    background: rgba(255,255,255,0.05);
    padding: 3rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group label .required {
    color: #ff6b6b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 10px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: #0066cc;
    color: #fff;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #0052a3;
    transform: translateY(-3px);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: translateY(-5px);
}

.whatsapp-float::before {
    content: '📱';
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.social-float {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-float a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
}

.social-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.social-float .whatsapp-social {
    background: #25D366;
}

.social-float .email-social {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

.social-float .linkedin-social {
    background: #0077B5;
}

.social-float .facebook-social {
    background: #1877F2;
}

.social-float .instagram-social {
    background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #FD1D1D 100%);
}

.social-float .tiktok-social {
    background: #000000;
}

.social-float .youtube-social {
    background: #FF0000;
}

.social-float a svg {
    width: 30px;
    height: 30px;
    fill: white;
}

footer {
    background: linear-gradient(135deg, #000 0%, #0d47a1 100%);
    color: #fff;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.footer-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-content > p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-logo {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-logo p {
    margin-bottom: 1rem;
    color: #aaa;
}

.ocmind-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0066cc;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.ocmind-logo img {
    height: 50px;
}

.ocmind-logo span {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #aaa;
}

/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.7rem;
    }
    
    section h2 {
        font-size: 2.5rem;
    }
    
    .contact-grid, .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 968px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    nav ul.active {
        display: flex;
    }
    
    nav a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.8rem;
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        -webkit-tap-highlight-color: transparent;
    }

    .hero-content, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .hero-text p {
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
    }

    .carousel-wrapper {
        height: 400px;
    }

    .carousel-btn {
        min-width: 48px;
        min-height: 48px;
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .carousel-controls {
        padding: 0 1rem;
    }

    .thumbnail {
        min-width: 100px;
        height: 70px;
    }
    
    .services-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .business-grid, .awards-grid {
        grid-template-columns: 1fr;
    }

    .social-float {
        right: 15px;
        gap: 12px;
    }

    .social-float a {
        width: 50px;
        height: 50px;
    }

    .social-float a svg {
        width: 25px;
        height: 25px;
    }
}

/* Móviles */
@media (max-width: 640px) {
    section {
        padding: 60px 1rem;
    }

    .hero {
        padding: 120px 1rem 60px;
    }

    section h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h1 img {
        height: 80px;
    }
    
    .hero-text h2 {
        font-size: 1.3rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }

    .carousel-wrapper {
        height: 300px;
    }

    .carousel-container {
        margin: 2rem 0;
    }

    .carousel-thumbnails {
        padding: 1rem;
    }

    .thumbnail {
        min-width: 80px;
        height: 60px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-card .number {
        font-size: 3rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Previene zoom en iOS */
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .social-float {
        bottom: 90px;
        top: auto;
        right: 15px;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 140px;
    }

    .social-float a {
        width: 48px;
        height: 48px;
        min-width: 44px;
        min-height: 44px;
    }

    .social-float a svg {
        width: 24px;
        height: 24px;
    }
    
    .service-list {
        grid-template-columns: 1fr;
    }
}
