/* ----- RESET & BASE ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #e8d382;   /* Fondo cálido, amigable, terroso */
    color: #1e1a1a;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.55;
    scroll-behavior: smooth;
}

/* Tipografía jerárquica editorial */
h1, h2, h3, h4, .brand-text, .section-title, .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

h1 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 600;
    color: #510218;
    margin-bottom: 0.25rem;
}

.title-underline {
    width: 70px;
    height: 3px;
    background-color: #510218;
    margin: 0.75rem 0 1rem 0;
    border-radius: 4px;
}

.section-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #5a2a36;
    font-weight: 500;
    margin-top: -0.2rem;
}

/* ----- NAVBAR (siempre visible, horizontal) ----- */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02), 0 1px 0 rgba(81, 2, 24, 0.05);
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(81, 2, 24, 0.1);
}

.logo-img {
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    font-size: 1.35rem;
    font-weight: 600;
    color: #510218;
    letter-spacing: -0.3px;
}

.navbar-nav .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: #2c2b28;
    transition: color 0.2s;
    padding: 0.5rem 0;
}

.navbar-nav .nav-link:hover {
    color: #510218;
}

.btn-outline-facebook, .btn-outline-email {
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    transition: all 0.2s;
    border: 1px solid #d1c27a;
    background: transparent;
    color: #510218;
}

.btn-outline-facebook:hover, .btn-outline-email:hover {
    background-color: #510218;
    border-color: #510218;
    color: #ffffff;
}

.btn-primary-social {
    background-color: #510218;
    border: none;
    color: #ffffff;
    border-radius: 40px;
    padding: 0.7rem 1.8rem;
    font-weight: 500;
    transition: 0.2s;
}

.btn-primary-social:hover {
    background-color: #3b0112;
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary-social {
    background-color: transparent;
    border: 1px solid #510218;
    color: #510218;
    border-radius: 40px;
    padding: 0.7rem 1.8rem;
    font-weight: 500;
    transition: 0.2s;
}

.btn-secondary-social:hover {
    background-color: #510218;
    color: #fff;
    transform: translateY(-2px);
}

/* ----- HERO / BIENVENIDA ----- */
.hero-section {
    padding: 4rem 0 3rem 0;
    background-color: #e8d382;
    border-bottom: 1px solid rgba(129, 97, 56, 0.15);
}

.eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: rgba(81, 2, 24, 0.08);
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 40px;
    font-weight: 600;
    color: #510218;
    margin-bottom: 1rem;
}

.hero-img-wrapper {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.modern-shadow {
    border-radius: 24px;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
}

.modern-shadow:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 32px -12px rgba(0, 0, 0, 0.12);
}

/* ----- SECCIONES GENERALES ----- */
.section-block {
    padding: 5rem 0;
    border-bottom: 1px solid rgba(81, 2, 24, 0.08);
}

.alt-bg {
    background-color: rgba(255, 245, 215, 0.5);
    /* un ligero contraste sobre el fondo base */
}

/* ----- Tarjetas tipo editorial (sin filas de texto aburridas) ----- */
.card-editorial {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s;
    height: 100%;
    border: none;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
}

.card-editorial:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

.card-img-editorial {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.4s;
}

.card-editorial .card-body {
    padding: 1.5rem;
}

.card-editorial h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #510218;
    margin-bottom: 0.75rem;
}

.card-editorial p {
    color: #2c2b28;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Tarjetas horizontales (comunidad) */
.card-horizontal {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    margin-bottom: 1rem;
}

.card-horizontal-img {
    width: 40%;
    object-fit: cover;
    min-height: 160px;
}

.card-horizontal-body {
    width: 60%;
    padding: 1.5rem;
}

.card-horizontal-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #510218;
    margin-bottom: 0.6rem;
}

@media (max-width: 768px) {
    .card-horizontal-img, .card-horizontal-body {
        width: 100%;
    }
    .card-horizontal-img {
        height: 200px;
    }
}

/* Lista con íconos (gestión) */
.list-featured {
    list-style: none;
    padding-left: 0;
}

.list-featured li {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

.list-featured i {
    color: #510218;
    width: 28px;
}

/* Badges culturales */
.badge-custom {
    background-color: #ffffff;
    border-radius: 60px;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #510218;
    border: 1px solid #dacb89;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Tarjetas de análisis */
.analysis-card {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 28px;
    text-align: center;
    transition: all 0.2s;
    height: 100%;
    box-shadow: 0 6px 0 rgba(81, 2, 24, 0.05);
}

.analysis-card i {
    color: #510218;
}

.analysis-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1rem 0 0.8rem;
    color: #2c1a1f;
}

.editorial-note {
    background: rgba(81, 2, 24, 0.02);
    border-left: 4px solid #510218;
    font-style: normal;
    font-weight: 500;
}

/* Callout participación */
.callout-participacion {
    background: #ffffff;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.08);
}

.callout-participacion h3 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #510218;
}

/* Sección de cierre */
.closing-section {
    padding: 5rem 1rem;
    background-color: #510218;
    color: #fef2df;
    text-align: center;
    border-radius: 0;
}

.closing-content {
    max-width: 800px;
    margin: 0 auto;
}

.closing-content h2 {
    color: #e8d382;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.closing-content p {
    color: #faf3e0;
}

.icon-circle {
    background: rgba(255, 255, 255, 0.15);
    width: 48px;
    height: 48px;
    border-radius: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #e8d382;
    font-size: 1.4rem;
}

.icon-circle:hover {
    background: #e8d382;
    color: #510218;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: #1f130b;
    color: #e8d382;
    padding: 2rem 0;
    font-size: 0.85rem;
}

.footer-brand {
    font-weight: 500;
    letter-spacing: -0.2px;
}

.footer-link {
    color: #e8d382;
    text-decoration: none;
    transition: color 0.2s;
    margin: 0 0.5rem;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Botones responsive y ajustes */
@media (max-width: 992px) {
    .section-title {
        font-size: 1.9rem;
    }
    .hero-section {
        padding: 2rem 0;
    }
    .navbar-brand .brand-text {
        font-size: 1.1rem;
    }
}

/* Imágenes siempre fluidas y con borde redondeado moderno */
img {
    max-width: 100%;
    height: auto;
}

/* Ajustes de espaciado de Bootstrap personalizado */
.container {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

/* Efecto suave para enlaces internos */
a {
    text-decoration: none;
}

/* Estilo para el botón de navbar toggler */
.navbar-toggler {
    border-color: #51021840;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23510218' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Ningún número en secciones, todo limpio */
ol, ul {
    padding-left: 0;
}

/* Clases adicionales para armonía minimalista */
.text-muted-custom {
    color: #5c4a2e;
}
