/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #FFE600, #FFC107);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 40px;
    width: auto;
}

.header-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2D3748;
    text-align: center;
    flex: 1;
}

.contact-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.phone-number {
    background: linear-gradient(135deg, #3483FA, #2968C8);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 131, 250, 0.3);
}

.phone-number:hover {
    background: linear-gradient(135deg, #2968C8, #1e4a8c);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 131, 250, 0.4);
}

.phone-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.phone-digits {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Botón de WhatsApp en el header */
.whatsapp-header {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.whatsapp-header:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-header i {
    font-size: 16px;
}

.admin-link {
    background: #6c757d;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3483FA, #2968C8);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(135deg, #FFE600, #FFC107);
    color: #2D3748;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 230, 0, 0.4);
    animation: ctaPulse 2s infinite;
}

.cta-button:hover {
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 230, 0, 0.6);
}

.cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.cta-number {
    font-size: 0.95rem;
    opacity: 0.8;
}

@keyframes ctaPulse {
    0% {
        box-shadow: 0 4px 20px rgba(255, 230, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 230, 0, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(255, 230, 0, 0.4);
    }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(1) {
    border-color: #FF6B6B;
}

.service-card:nth-child(2) {
    border-color: #4ECDC4;
}

.service-card:nth-child(3) {
    border-color: #FFE66D;
}

.service-card:nth-child(4) {
    border-color: #A8E6CF;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #FF6B6B, #EE5A52);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #FFE66D, #FF8A80);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #A8E6CF, #88D8A3);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 15px;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-arrow {
    color: #3483FA;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.contact-item i {
    font-size: 2rem;
    color: #3483FA;
    width: 50px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-link {
    color: #3483FA;
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

.emergency-contact {
    background: linear-gradient(135deg, #FF6B6B, #EE5A52);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.3);
}

.emergency-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.emergency-contact p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.emergency-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: emergencyPulse 2s infinite;
}

.emergency-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.emergency-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.emergency-number {
    font-size: 0.9rem;
    opacity: 0.9;
}

@keyframes emergencyPulse {
    0% {
        box-shadow: 0 4px 20px rgba(220, 53, 69, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(220, 53, 69, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(220, 53, 69, 0.3);
    }
}

/* Footer */
.footer {
    background: #2D3748;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #FFE600;
}

.footer-section p {
    color: #CBD5E0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #CBD5E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFE600;
}

.footer-bottom {
    border-top: 1px solid #4A5568;
    padding-top: 20px;
    text-align: center;
    color: #A0AEC0;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
    font-size: 24px;
}

.whatsapp-text {
    font-size: 16px;
    white-space: nowrap;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .whatsapp-header {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .header-title {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .phone-text, .cta-text, .emergency-text {
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-button {
        padding: 12px 16px;
        border-radius: 50px;
    }
    
    .whatsapp-button i {
        font-size: 20px;
    }
    
    .whatsapp-text {
        font-size: 14px;
    }
}

/* Versión compacta para pantallas muy pequeñas */
@media (max-width: 480px) {
    .whatsapp-button {
        padding: 12px;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

