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

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

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

/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 28px;
    font-weight: bold;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #ffd700;
    transform: scale(1.1);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    animation: slideDown 0.8s ease;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
    animation: slideUp 0.8s ease;
}

.btn-cta {
    display: inline-block;
    background-color: #ffd700;
    color: #333;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    background-color: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SERVICIOS SECTION ===== */
.servicios {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.servicios h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: #333;
}

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

.servicio-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.servicio-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.servicio-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #667eea;
}

.servicio-card p {
    color: #666;
    line-height: 1.8;
}

/* ===== CONTACTO SECTION ===== */
.contacto {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contacto h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== FORMULARIO ===== */
.formulario {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.mensaje-exito {
    background: #28a745;
    color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    animation: slideDown 0.5s ease;
}

/* ===== INFO CONTACTO ===== */
.info-contacto {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.info-contacto h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 20px;
}

.contacto-item .icon {
    font-size: 35px;
    min-width: 50px;
}

.contacto-item p {
    margin: 5px 0;
    line-height: 1.6;
}

.contacto-item a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contacto-item a:hover {
    text-decoration: underline;
    color: white;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .servicios h2,
    .contacto h2 {
        font-size: 32px;
    }

    .contacto-wrapper {
        grid-template-columns: 1fr;
    }

    .formulario {
        padding: 25px;
    }

    .info-contacto {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .btn-cta {
        padding: 12px 25px;
        font-size: 16px;
    }
}
