/* ============================================ */
/* VARIABLES Y ESTILOS GLOBALES                 */
/* ============================================ */
:root {
    --primary-color: #005A9C; /* Un azul corporativo */
    --secondary-color: #00A8E8; /* Un azul más brillante para acentos */
    --dark-color: #2C3E50; /* Gris oscuro para texto */
    --light-color: #FFFFFF;
    --gray-bg: #f7f9fc;
    --font-family: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }

a {
    text-decoration: none;
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* ============================================ */
/* NAVEGACIÓN                                   */
/* ============================================ */
.navbar {
    background: var(--light-color);
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.navbar-nav {
    list-style: none;
    display: flex;
    gap: 25px;
}

.navbar-nav a {
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s;
}

.navbar-nav a:hover {
    color: var(--primary-color);
}

.admin-link {
    margin-right: 15px;
    font-weight: 600;
    transition: color 0.3s;
}
.admin-link:hover {
    color: var(--dark-color);
}


/* ============================================ */
/* BOTONES                                      */
/* ============================================ */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: #004b80;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}


/* ============================================ */
/* SECCIONES                                    */
/* ============================================ */
section {
    padding: 60px 0;
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-section .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.hero-image-placeholder {
    margin-top: 50px;
    background: #e9ecef;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #6c757d;
}

/* Features Section */
.features-section {
    background: var(--gray-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Benefits Section */
.benefit-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.benefit-image-placeholder {
    flex: 1;
    background: #e9ecef;
    height: 350px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.benefit-text {
    flex: 1;
}

.benefit-text ul {
    list-style: none;
    padding: 0;
}

.benefit-text li {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Contact Section */
.contact-section {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.contact-section .section-title, .contact-section p {
    color: var(--light-color);
}

.contact-form {
    max-width: 500px;
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input {
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: var(--font-family);
}

/* ============================================ */
/* FOOTER                                       */
/* ============================================ */
.footer {
    background: #f1f1f1;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 5px;
}