:root {
    --gris-piedra: #E0E0E0;
    --verde-salvia: #8FBC8F;
    --azul-acero: #6A8A9A;
    --terracota: #C88F7E;
    --texto-oscuro: #333333;
    --blanco: #ffffff;
    --borde: #A0A0A0;
}

body {
    background-color: var(--gris-piedra);
    color: var(--texto-oscuro);
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-family: 'Lora', serif;
    font-weight: 700;
    color: var(--texto-oscuro);
}

h1 { font-size: 4rem; margin-bottom: 2rem; }
h2 { font-size: 2.5rem; margin-top: 3rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

.container-custom {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 100px 0;
}

.bg-white { background-color: var(--blanco); }
.bg-accent-light { background-color: #f4f4f4; }

.btn-nopilo {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--azul-acero);
    color: var(--azul-acero);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

.btn-nopilo:hover {
    background-color: var(--azul-acero);
    color: var(--blanco);
    transform: scale(1.02);
    text-decoration: none;
}

.navbar {
    background-color: var(--blanco);
    border-bottom: 1px solid var(--borde);
    padding: 20px 0;
}

.nav-link {
    color: var(--texto-oscuro);
    font-weight: 600;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--verde-salvia);
    border-bottom: 2px solid var(--verde-salvia);
}

.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--blanco);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 { color: var(--blanco); }

.card-pilar {
    background: var(--blanco);
    padding: 40px;
    border: 1px solid var(--borde);
    height: 100%;
    transition: box-shadow 0.3s;
}

.card-pilar:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.img-fluid-custom {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--borde);
}

.footer {
    background-color: var(--blanco);
    border-top: 4px solid var(--azul-acero);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--texto-oscuro);
    color: var(--blanco);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.stat-strip {
    background-color: var(--verde-salvia);
    color: var(--blanco);
    padding: 40px 0;
    margin: 40px 0;
}

.blog-card {
    background: var(--blanco);
    border: 1px solid var(--borde);
    margin-bottom: 30px;
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-card-body {
    padding: 25px;
}

.disclaimer-box {
    background-color: #f9f9f9;
    border-left: 5px solid var(--terracota);
    padding: 25px;
    margin: 40px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid var(--borde);
    padding: 15px;
    text-align: left;
}

th { background-color: var(--azul-acero); color: white; }

.timeline {
    border-left: 2px solid var(--azul-acero);
    padding-left: 30px;
    margin-left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--verde-salvia);
    border-radius: 50%;
}