/* ======== ESTILOS GLOBALES Y VARIABLES ======== */
:root {
    --primary-color: #005A9C;
    /* Un azul corporativo y confiable */
    --secondary-color: #00A8E8;
    /* Un azul más brillante para acentos */
    --dark-color: #2c3e50;
    /* Texto oscuro */
    --light-color: #f8f9fa;
    /* Fondos claros */
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======== HEADER Y NAVEGACIÓN ======== */
.header {
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* ======== SECCIÓN HERO ======== */
.hero {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 6rem 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #0095cc;
    transform: translateY(-2px);
}

/* ======== ESTILOS GENERALES DE SECCIÓN ======== */
.section {
    padding: 5rem 0;
    text-align: center;
}

.section-light {
    background-color: var(--light-color);
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section .section-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #555;
}

/* ======== ESTILOS DE CARDS (TARJETAS) ======== */
.cards-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    flex-basis: 30%;
    /* Cada tarjeta ocupa aprox. un tercio */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* ======== SECCIÓN DE PROCESO ======== */
.process-steps {
    list-style: none;
    text-align: left;
    max-width: 700px;
    margin: 2rem auto 0;
    counter-reset: step-counter;
}

.process-steps li {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--secondary-color);
    position: relative;
    background-color: var(--white-color);
    border-radius: 0 5px 5px 0;
}

.process-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    color: var(--white-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ======== SECCIÓN DE CONTACTO Y FORMULARIO ======== */
.contact-container {
    max-width: 700px;
}

.contact-form {
    margin-top: 2rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .cta-button {
    width: 100%;
}

/* ======== FOOTER ======== */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

/* ======== RESPONSIVE DESIGN (PARA MÓVILES) ======== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        /* Simplificando para móviles, se podría añadir un menú de hamburguesa con JS */
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        flex-basis: 100%;
        max-width: 400px;
    }
}