/* --- Variables y Estilos Globales --- */
:root {
    --primary-color: #005a9c; /* Azul institucional */
    --secondary-color: #fdb813; /* Amarillo/Dorado complementario */
    --dark-color: #333;
    --light-color: #f4f4f4;
    --text-color: #555;
    --font-family: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

h1, h2 {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; text-align: center; margin-bottom: 2rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

section {
    padding: 4rem 2rem;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #004170;
}

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link.btn:hover {
    background-color: #004170;
    color: #fff;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=1911&auto=format&fit=crop') no-repeat center center/cover;
    height: 80vh;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* --- Services Section --- */
.services {
    background-color: var(--light-color);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* --- How It Works Section --- */
.how-it-works .steps {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 2rem;
}

.step span {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* --- About Us Section --- */
.about-us {
    background-color: var(--light-color);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* --- Contact Section --- */
.contact {
    text-align: center;
}

#contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

#contact-form textarea {
    resize: vertical;
}

/* --- Footer --- */
footer {
    background: var(--dark-color);
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.5rem; }

    .navbar {
        flex-direction: column;
    }

    .nav-menu {
        flex-direction: column;
        margin-top: 1rem;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .how-it-works .steps {
        flex-direction: column;
    }
}