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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: #4A90E2;
    color: white;
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 2px;
}
.logo a {
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-align: center;
  
}

.hero-text h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-button {
    background: #4A90E2;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #357ABD;
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Historia y Vision Section */
.historia-vision {
    padding: 100px 0;
    background: #f8fafc;
}

.historia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.historia-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.historia-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 24px;
}

.historia-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #4a5568;
}

/* Servicios Section */
.servicios {
    padding: 100px 0;
    background: #1e3a8a;
    color: white;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.servicio-card {
    background: white;
    color: #333;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-5px);
}

.servicio-image {
    margin-bottom: 20px;
}

.servicio-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.servicio-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1e3a8a;
}

.precio {
    font-size: 24px;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 16px;
}

.servicio-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

/* Servicios Adicionales */
.servicios-adicionales {
    padding: 100px 0;
    background: #f8fafc;
}

/* Contacto Section */
.contacto {
    padding: 100px 0;
    background: #1e3a8a;
    color: white;
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contacto-form h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

.contacto-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacto-form input,
.contacto-form textarea {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: #4A90E2;
}

.submit-btn {
    background: #4A90E2;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #357ABD;
}

.contacto-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: white;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 36px;
    }
    
    .historia-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .historia-image {
        order: -1;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .contacto-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contacto-image {
        order: -1;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h2 {
        font-size: 28px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .servicio-card {
        padding: 20px;
    }
    
    .historia-text h2 {
        font-size: 28px;
    }
    
    .contacto-form h2 {
        font-size: 28px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}