/* ESTILOS MODERNISTAS PARA EL CONTENIDO DE CATEMACO (sin interferir con bootstrap) */
.modern-tymelaf {
    font-family: 'Inter', sans-serif;
    color: #f0f0f0;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.modern-tymelaf h1, .modern-tymelaf h2, .modern-tymelaf h3 {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.01em;
}
.card-modern {
    background: rgba(10, 10, 30, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 1.6rem 1.8rem;
    margin-bottom: 1.8rem;
    border: 1px solid rgba(255,255,200,0.2);
    box-shadow: 0 12px 28px -8px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card-modern:hover {
    transform: translateY(-4px);
    background: rgba(15, 15, 40, 0.85);
    box-shadow: 0 20px 32px -12px rgba(0,0,0,0.5);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.progress-bar-bg {
    background: #2c2c4e;
    border-radius: 40px;
    height: 8px;
    width: 100%;
    margin: 0.6rem 0;
    overflow: hidden;
}
.progress-fill {
    background: #f4b942;
    height: 8px;
    border-radius: 40px;
    width: 0%;
}
.stat-highlight {
    font-size: 2rem;
    font-weight: 700;
    color: #ffcd7e;
    line-height: 1.2;
}
.inline-percent {
    font-weight: 700;
    color: #ffcd7e;
}
.eco-note {
    background: rgba(0, 20, 40, 0.7);
    border-left: 5px solid #ffb347;
    border-radius: 24px;
    padding: 1.2rem 1.8rem;
    margin: 1.5rem 0;
}
.quote-insight {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255,215,130,0.15);
    padding: 0.8rem 1.2rem;
    border-radius: 40px 12px 40px 12px;
    margin-top: 1rem;
}
.two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}
hr.light-hr {
    border-top: 1px solid rgba(255,255,200,0.2);
    margin: 1rem 0;
}
.badge-local {
    background: #f4b94220;
    color: #ffdfa5;
    border-radius: 60px;
    padding: 0.2rem 0.8rem;
    font-size: 0.75rem;
    display: inline-block;
}
/* Ajuste para que el contenido se vea legible sobre fondo gradiente negro/azul */
body.cuerpo {
    background: linear-gradient(100deg, black, #0a1f4e 100%);
    background-attachment: fixed;
    color: #eee;
}
.container {
    background: transparent;
}
.navbar-default .navbar-nav > li > a {
    color: #f0f0f0 !important;
}
.navbar-default .navbar-brand {
    color: white;
}
.footer {
    text-align: center;
    color: #ccc;
    margin-top: 2rem;
    padding: 1rem;
}
.panel-info {
    background: rgba(0,0,0,0.55);
    border: 1px solid #ffcd7e55;
    border-radius: 28px;
}
.panel-heading {
    background: rgba(0,0,0,0.4);
    color: #ffecb3;
}
.table {
    color: #f5f5f5;
}
.btn-success {
    background-color: #f4b942;
    border-color: #e09d32;
    color: #1e1e2a;
    font-weight: 600;
}
.btn-success:hover {
    background-color: #ffcd6e;
}
.form-control {
    background: rgba(255,255,245,0.9);
    border: none;
}
label {
    font-weight: 500;
    color: #ffecb3;
}
.card a {
    color: #ffd966;
    text-decoration: none;
}
/* mantener estilo de la imagen superior */
.card {
    display: block;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.img {
    width: 100%;
    height: auto;
    display: block;
}
.texto-titulo {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.65);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 1.3rem;
    color: white;
    font-weight: bold;
    backdrop-filter: blur(4px);
}
