:root {
    --primary: #0a192f;
    --primary-light: #112240;
    --accent: #c5a059;
    --text-light: #e6f1ff;
    --gray: #8892b0;
    --white: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HEADER CORREGIDO --- */
header {
    background: var(--primary);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent);
}

.btn-nav {
    border: 1px solid var(--accent);
    padding: 0.6rem 1.2rem;
    color: var(--accent) !important;
    border-radius: 2px;
}

.btn-nav:hover {
    background: var(--primary-light);
    color: var(--white);
}

/* --- HERO --- */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=2070') no-repeat center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 10%;
    margin-top: 60px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

/* --- METODOLOGÍA (REDISEÑADA) --- */
.methodology {
    padding: 6rem 10%;
    background-color: var(--white);
    text-align: center;
}

.methodology h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.methodology h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    background: #f9fbfb;
    border: 1px solid #eee;
    position: relative;
    transition: 0.4s;
}

.step span {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(197, 160, 89, 0.2);
    margin-bottom: 1rem;
}

.step p {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.step:hover {
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

/* --- FORMULARIO --- */
.contact-section {
    background: var(--primary);
    color: var(--white);
    padding: 6rem 10%;
}

.form-container {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

form input,
form select {
    grid-column: span 1;
    padding: 1.2rem;
    background: var(--primary-light);
    border: 1px solid #233554;
    color: var(--white);
    font-family: inherit;
}

form input:focus {
    outline: 1px solid var(--accent);
}

.btn-submit {
    grid-column: span 2;
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #d4b475;
}

/* --- FOOTER (REDISEÑADO) --- */
footer {
    background: #050c16;
    color: var(--gray);
    padding: 4rem 10% 2rem;
    text-align: center;
    border-top: 1px solid #112240;
}

footer p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.disclaimer-academic {
    max-width: 800px;
    margin: 2rem auto 0;
    font-size: 0.75rem;
    color: #495670;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border: 1px dashed #233554;
    line-height: 1.4;
}

/* Responsividad básica */
@media (max-width: 768px) {
    form {
        grid-template-columns: 1fr;
    }

    .btn-submit {
        grid-column: span 1;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    nav ul {
        display: none;
    }

    /* En un sitio real pondrías un menú hamburguesa */
}

/* Services */
.services {
    padding: 5rem 10%;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid transparent;
    transition: 0.3s;
}

.card:hover {
    border-bottom: 4px solid var(--accent);
    transform: translateY(-10px);
}