/* CSS SIMPLE - SIN DUPLICACIONES */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* TIPOGRAFÍA */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    color: #111827;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* BOTONES */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

.btn-primary {
    background: #1e40af;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #1e40af;
    border: 2px solid #1e40af;
}

.btn-outline:hover {
    background: #1e40af;
    color: #ffffff;
}

/* HEADER */
.header {
    background: #ffffff;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    padding: 1rem 0;
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: #1e40af;
    margin: 0;
}

.nav-subtitle {
    font-size: 0.875rem;
    color: #4b5563;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 30%, #e0f2fe 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    opacity: 0.08;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #111827;
}

.highlight {
    color: #1e40af;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
    color: #111827;
}

.hero-card h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.hero-card p {
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    justify-items: center;
    max-width: 300px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e40af;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 500;
    margin-top: 0.25rem;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #4b5563;
}

.trust-badge svg {
    color: #10b981;
}

/* SERVICES */
.services {
    padding: 5rem 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: #111827;
}

.section-header p {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    color: #111827;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    border-color: #1e40af;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ffffff;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #111827;
}

.service-card p {
    color: #4b5563;
}

/* CARRUSEL MÓVIL */
.services-carousel {
    display: none;
}

/* Forzar carrusel en móvil */
@media (max-width: 767px) {
    .services-carousel {
        display: block !important;
    }
    
    .services-grid {
        display: none !important;
    }
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    margin: 0 1rem;
    width: calc(100% - 2rem);
    max-width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    width: 100%;
}

.carousel-item {
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    text-align: center;
    color: #111827;
    height: auto;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    box-sizing: border-box;
    position: relative;
}

.carousel-item h3 {
    color: #111827;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.carousel-item p {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.4;
}

.carousel-item .service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.carousel-btn {
    background: #1e40af;
    color: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
    font-size: 0.875rem;
}

.carousel-btn:hover {
    background: #1e3a8a;
    transform: scale(1.05);
}

.carousel-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: 0.375rem;
    align-items: center;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #1e40af;
    transform: scale(1.3);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    padding: 5rem 0;
    color: #ffffff;
    text-align: center;
}

.cta-content h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cta .btn-outline {
    color: #ffffff;
    border-color: #ffffff;
}

.cta .btn-outline:hover {
    background: #ffffff;
    color: #1e40af;
}

/* GUARANTEE */
.guarantee {
    padding: 5rem 0;
    background: #f9fafb;
}

.guarantee-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.guarantee-text h2 {
    margin-bottom: 1.5rem;
    color: #111827;
}

.guarantee-text p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

.guarantee-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.feature-content h3 {
    margin-bottom: 0.5rem;
    color: #111827;
}

.feature-content p {
    color: #4b5563;
    margin: 0;
}

/* CONTACT */
.contact {
    padding: 5rem 0;
    background: #ffffff;
    text-align: center;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    color: #111827;
    text-align: center;
}

.contact-info p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: center;
}

/* Contact methods removed - not used in current design */

/* FOOTER */
.footer {
    background: #111827;
    color: #ffffff;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.footer-brand h3 {
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-info p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #25d366;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    padding: 12px 16px;
    gap: 6px;
    min-width: 60px;
    height: 60px;
    max-width: 200px;
    white-space: nowrap;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-text {
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

@media (min-width: 768px) {
    .whatsapp-text {
        font-size: 0.875rem;
    }
    
    .whatsapp-float {
        padding: 12px 24px;
        min-width: auto;
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* RESPONSIVE */
@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .cta-actions {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .guarantee-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* MÓVIL - CARRUSEL */
@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .services-carousel {
        display: block;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-stats {
        max-width: 250px;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .cta-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .guarantee-text h2,
    .guarantee-text p {
        text-align: center;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
    
    .contact-info h2,
    .contact-info p {
        text-align: center;
    }
    
    /* Contact methods removed - not used in current design */
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        padding: 10px 14px;
        min-width: auto;
        height: auto;
        max-width: 180px;
        gap: 4px;
    }
    
    .whatsapp-text {
        display: block;
        font-size: 0.7rem;
        max-width: 100px;
    }
}