/* ==========================================================================
   Estilos Base y Tipografía
   ========================================================================== */
:root {
    --primary-color: #0f172a;
    --secondary-color: #ea580c;
    --text-color: #1e293b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* ==========================================================================
   Header y Navegación
   ========================================================================== */
.main-header {
    background-color: var(--primary-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: var(--white);
}

.logo-bold {
    font-weight: 800;
    color: var(--secondary-color);
}

.main-nav a {
    text-decoration: none;
    color: #cbd5e1;
    margin-left: 25px;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--secondary-color);
}

/* ==========================================================================
   Sección Hero (Engrosada)
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #020617 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    border-bottom: 5px solid var(--secondary-color);
}

.hero-section h1 {
    font-size: 45px;
    line-height: 1.25;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-section p {
    font-size: 19px;
    max-width: 800px;
    margin: 0 auto 35px auto;
    color: #94a3b8;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
    transition: transform 0.2s ease, background 0.3s ease;
}

.btn:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
}

/* ==========================================================================
   Secciones de Contenido Denso
   ========================================================================== */
.density-section {
    padding: 85px 0;
}

.density-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 800;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 100%));
    gap: 35px;
    margin-top: 45px;
}

.feature-card {
    background: var(--light-bg);
    padding: 35px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.feature-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 25px;
}

blockquote {
    background-color: #fff7ed;
    border-left: 4px solid var(--secondary-color);
    padding: 25px;
    margin: 40px 0;
    font-size: 15px;
    color: #9a3412;
}

/* ==========================================================================
   Formularios
   ========================================================================== */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    background-color: var(--light-bg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    padding: 65px 0 25px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 45px;
}

.main-footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
}