@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --fondo: #3d0930;
    --fondo-claro: #12162a;
    --fondo-card: #151a30;
    --texto: #e8e8e8;
    --texto-suave: #a0a8b8;
    --dorado: #c9a227;
    --dorado-claro: #e8c84a;
    --turquesa: #2ec4b6;
    --turquesa-oscuro: #1a7a8c;
    --linea: rgba(201, 162, 39, 0.25);
    --linea-suave: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--fondo);
    color: var(--texto);
    overflow-x: hidden;
    line-height: 1.75;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.navbar {
    background: rgba(12, 15, 26, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--linea-suave);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--texto) !important;
    letter-spacing: -0.3px;
}

.navbar-brand img {
    height: 42px;
    width: auto;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--texto-suave) !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.5rem 1rem !important;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.nav-link:hover {
    color: var(--dorado) !important;
}

.nav-link i {
    font-size: 1rem;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 4rem;
    background: var(--fondo);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/atardecer.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    filter: grayscale(0.3);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, var(--fondo), transparent);
}

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

.hero-logo {
    max-width: 160px;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--texto);
    margin-bottom: 1.25rem;
    letter-spacing: -2px;
    line-height: 1.05;
}

.hero h1 em {
    color: var(--dorado);
    font-style: italic;
    font-weight: 600;
}

.hero-line {
    width: 80px;
    height: 3px;
    background: var(--dorado);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: var(--texto-suave);
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.8;
}

.cta-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-editorial {
    padding: 0.9rem 2.2rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-editorial i {
    font-size: 1rem;
}

.btn-gold {
    background: var(--dorado);
    color: var(--fondo);
}

.btn-gold:hover {
    background: var(--dorado-claro);
    color: var(--fondo);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--dorado);
    border: 1.5px solid var(--dorado);
}

.btn-outline-gold:hover {
    background: var(--dorado);
    color: var(--fondo);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--linea-suave);
}

.hero-stat {
    text-align: left;
}

.hero-stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--dorado);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat span {
    font-size: 0.75rem;
    color: var(--texto-suave);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.seccion-editorial {
    padding: 6rem 0;
    position: relative;
}

.seccion-clara {
    background: var(--fondo-claro);
}

.seccion-oscura {
    background: var(--fondo);
}

.seccion-header {
    margin-bottom: 3.5rem;
    position: relative;
}

.seccion-header h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--texto);
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.seccion-header h2 em {
    color: var(--turquesa);
    font-style: italic;
}

.seccion-line {
    width: 60px;
    height: 2px;
    background: var(--dorado);
    margin-bottom: 1rem;
}

.seccion-header p {
    color: var(--texto-suave);
    font-size: 1.05rem;
    max-width: 550px;
    font-weight: 300;
}

.texto-editorial {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--texto-suave);
    text-align: justify;
}

.texto-editorial p {
    margin-bottom: 1.5rem;
}

.texto-editorial strong {
    color: var(--texto);
    font-weight: 600;
}

.texto-editorial em {
    color: var(--dorado);
    font-style: italic;
}

.img-editorial {
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.85) contrast(1.05);
}

.img-editorial:hover {
    transform: scale(1.03);
    filter: brightness(1) contrast(1.05);
}

.img-wrap {
    overflow: hidden;
    position: relative;
}

.img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, var(--fondo-claro), transparent);
}

.img-wrap-oscura::after {
    background: linear-gradient(to top, var(--fondo), transparent);
}

.card-editorial {
    background: var(--fondo-card);
    border: 1px solid var(--linea-suave);
    padding: 2rem;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.card-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--dorado);
    transition: height 0.4s ease;
}

.card-editorial:hover::before {
    height: 100%;
}

.card-editorial:hover {
    border-color: var(--linea);
    transform: translateY(-4px);
}

.card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--turquesa);
    margin-bottom: 0.75rem;
    display: block;
}

.card-editorial h3 {
    font-size: 1.3rem;
    color: var(--texto);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.card-editorial p {
    color: var(--texto-suave);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

.card-editorial-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    filter: brightness(0.85) contrast(1.05);
    transition: all 0.5s ease;
}

.card-editorial:hover .card-editorial-img {
    filter: brightness(1) contrast(1.05);
    transform: scale(1.02);
}

.img-card-wrap {
    overflow: hidden;
    margin: -2rem -2rem 1.5rem -2rem;
}

.footer-editorial {
    background: var(--fondo-claro);
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid var(--linea-suave);
    position: relative;
}

.footer-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--dorado);
}

.footer-editorial h2 {
    font-size: 2.2rem;
    color: var(--texto);
    margin-bottom: 1rem;
}

.footer-editorial p {
    color: var(--texto-suave);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

.quote-block {
    border-left: 3px solid var(--dorado);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--texto-suave);
    line-height: 1.8;
}

.gutter-xl {
    --bs-gutter-x: 3rem;
}

@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .seccion-editorial {
        padding: 4rem 0;
    }
    .hero-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 90px;
    }
    .cta-row {
        flex-direction: column;
    }
    .btn-editorial {
        width: 100%;
        justify-content: center;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    .texto-editorial {
        text-align: left;
    }
    .card-editorial {
        padding: 1.5rem;
    }
    .img-card-wrap {
        margin: -1.5rem -1.5rem 1.25rem -1.5rem;
    }
}

@media (max-width: 575px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    .navbar-brand img {
        height: 34px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}
