/* Estilos generales */
:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary: #6c757d;
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 56px;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, var(--primary), #084298);
    overflow: hidden;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
}

.hero-wave svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-wave .shape-fill {
    fill: #ffffff;
}

/* Servicios */
.service-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover .card-icon {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.service-features {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Contadores */
.counter {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.counter span {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Proceso de trabajo */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 200px;
    margin: 10px;
    position: relative;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    transform: scale(1.1);
    background: var(--primary-dark);
}

/* Testimonios */
.testimonial-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* Animaciones */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__fadeInDown {
    animation-name: fadeInDown;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 2rem;
    }
    
    .hero {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    body {
        padding-top: 72px;
    }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    color: #333;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    border-top: 1px solid #eee;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cookie-consent-content p {
    margin: 0;
    flex: 1;
    padding-right: 20px;
    font-size: 0.9rem;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
}

#privacyLink {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-content p {
        padding-right: 0;
        margin-bottom: 15px;
    }
}

/* WhatsApp Button Styles */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 9998;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    width: max-content;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.whatsapp-tooltip:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

/* WhatsApp Modal Styles */
#whatsappModal .modal-header {
    background-color: #25D366;
}

#whatsappModal .btn-success {
    background-color: #25D366;
    border-color: #25D366;
}

#whatsappModal .btn-success:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}

#whatsappModal .btn-outline-success {
    color: #25D366;
    border-color: #25D366;
}

#whatsappModal .btn-outline-success:hover {
    background-color: #25D366;
    color: white;
}

/* Animation for WhatsApp Button */
@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);
    }
}

.whatsapp-button {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 576px) {
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Estilos generales para la sección Hero */
.hero {
    padding-top: 80px;
    padding-bottom: 0;
    position: relative;
    background: linear-gradient(135deg, #0d6efd, #084298);
}

/* Contenedor principal */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Texto del hero */
.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h2 {
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Imagen hero */
.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Onda inferior */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
}

.hero-wave svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-wave .shape-fill {
    fill: #ffffff;
}

/* Botones */
.hero .btn {
    font-weight: 500;
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    transition: all 0.3s ease;
}

.hero .btn-light {
    background-color: white;
    color: #0d6efd;
}

.hero .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive para tablets */
@media (max-width: 991.98px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .hero-image {
        max-width: 80%;
        margin: 0 auto 2rem;
        transform: none;
    }
    
    .hero .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

/* Responsive para móviles */
@media (max-width: 767.98px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero h2 {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-image {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .hero .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-wave {
        height: 100px;
    }
}

/* Pequeños ajustes para pantallas muy grandes */
@media (min-width: 1600px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
}