/* Estilos Generales */
:root {
    --primary-color: #667eea; /* Morado/Azul para la marca */
    --secondary-color: #764ba2; /* Tono más oscuro */
    --accent-color: #f59e0b; /* Amarillo/Naranja para la acción */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-light);
}

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

.section {
    padding: 60px 0;
    text-align: center;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.text-light {
    color: var(--text-light);
}

/* Header y Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); 
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8em;
    margin-bottom: 30px;
}

.hero-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
}

/* Alerta de Éxito/Error PHP */
.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    padding: 15px 0;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #badbcc;
    text-align: left;
}


/* Botones Animados (Clave para un aspecto profesional y llamativo) */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    margin: 10px 0;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 8px 15px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    width: 100%;
    justify-content: center;
    font-size: 1.1em;
}

/* Animación de Hover para Botones */
.btn-animated:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.btn .icon {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Sección de Beneficios */
.benefits-section {
    background-color: white;
}

.benefits-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    flex: 1;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.benefit-card h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Sección de Servicios */
.services-section {
    background: var(--primary-color);
}

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

.service-card {
    background: #ffffff15; 
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    border: 1px solid white;
    transition: background 0.3s ease;
}

.service-card:hover {
    background: #ffffff30;
}

.service-icon {
    font-size: 2em;
    margin-bottom: 10px;
    display: block;
}

.service-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Sección de Contacto y Formulario */
.contact-section {
    background-color: white;
}

.contact-grid-form {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    text-align: left;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h4 {
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-info ul {
    list-style: none;
    margin-top: 20px;
}

.contact-info ul li {
    padding: 10px 0;
    font-size: 1.1em;
}

.contact-info ul li .icon {
    margin-right: 10px;
    color: var(--accent-color);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-form input, 
.contact-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, 
.contact-form select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* Media Queries para Responsividad */
@media (max-width: 900px) {
    .hero-content h2 {
        font-size: 2.5em;
    }

    .benefits-grid, .contact-grid-form {
        flex-direction: column;
        display: flex; 
    }

    .benefits-grid {
        gap: 20px;
    }

    .contact-grid-form {
        gap: 30px;
    }

    .service-card {
        margin: 10px 0;
    }
}