/* ==========================================
   VARIABLES Y RESETEO PREMIUM
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

@font-face {
    font-family: 'Black Chancery';
    src: url('recursos/BlackChancery.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-light: #F3F8FF;
    --blue-muted: #8096B5;
    --blue-slate: #2B394C;
    --blue-navy: #143666;
    --blue-dark: #0F141C;
    --accent-gold: #D6B359;

    --font-logo: 'Black Chancery', serif;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--blue-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ==========================================
   PREVENCIÓN DE DESBORDAMIENTO DE TEXTO
   ========================================== */
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
a,
textarea,
.zen-textarea {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* ==========================================
   HEADER FLOTANTE (GLASSMORPHISM)
   ========================================== */
#site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 50px;
    background: rgba(243, 248, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(128, 150, 181, 0.2);
    transition: all 0.3s ease;
}

.social-icons-left {
    position: absolute;
    left: 50px;
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--blue-slate);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: var(--accent-gold);
    transform: translateY(-2px);
}

#main-logo {
    max-width: 150px;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s ease;
}

#main-logo:hover {
    transform: scale(1.02);
}

/* ==========================================
   MENÚ HAMBURGUESA Y OVERLAY DE NAVEGACIÓN
   ========================================== */
.menu-toggle {
    position: absolute;
    right: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
    padding: 10px;
}

.hamburger-line {
    width: 30px;
    height: 2px;
    background-color: var(--blue-slate);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 2px;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.fullscreen-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 20, 28, 0.96);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-2%);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.fullscreen-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-list {
    list-style: none;
    text-align: center;
    padding: 0;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--bg-light);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 30px;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0.8;
}

.nav-link:hover {
    color: var(--accent-gold);
    transform: scale(1.05);
    opacity: 1;
}

/* ==========================================
   HERO: CARRUSEL EDITORIAL
   ========================================== */
#hero-carousel {
    background-color: var(--blue-dark);
    background-image: radial-gradient(circle at 80% 20%, var(--blue-navy) 0%, transparent 60%);
    min-height: 100vh;
    min-height: 100svh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 5% 60px;
    gap: 100px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-content {
    width: 100%;
    max-width: 650px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--bg-light);
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--blue-muted);
    font-weight: 300;
    margin-bottom: 40px;
    text-align: justify;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--blue-dark);
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.hero-book-cover {
    max-width: 400px;
    border-radius: 4px;
    box-shadow: -15px 25px 40px rgba(0, 0, 0, 0.5), inset 2px 0 5px rgba(255, 255, 255, 0.2);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide.active .hero-book-cover:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
    box-shadow: -20px 35px 50px rgba(0, 0, 0, 0.6), inset 2px 0 5px rgba(214, 179, 89, 0.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    color: var(--blue-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: var(--accent-gold);
    color: var(--blue-dark);
    border-color: var(--accent-gold);
}

.prev-btn {
    left: 3%;
}

.next-btn {
    right: 3%;
}

.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--blue-muted);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.dot.active {
    background-color: var(--accent-gold);
    opacity: 1;
    transform: scale(1.3);
}

@media (max-width: 992px) {
    .carousel-slide {
        flex-direction: column;
        padding: 120px 5% 60px;
        gap: 40px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .hero-description {
        text-align: center;
        font-size: 1.05rem;
    }

    .hero-book-cover {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    #site-header {
        padding: 15px 20px;
        justify-content: space-between;
    }

    #main-logo {
        max-width: 110px !important;
    }

    .social-icons-left {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-book-cover {
        max-width: 180px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }

    #main-quote {
        font-size: 1.8rem;
        padding: 40px 10px;
    }

    .menu-toggle {
        right: 20px;
    }

    .nav-link {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }

    /* En lugar de ocultarlo, lo reacomodamos junto al menú hamburguesa */
    .user-controls {
        display: flex !important;
        position: absolute;
        right: 55px;
        /* Pegado estratégicamente para no estorbar */
        gap: 5px;
    }

    /* Hacemos los botones un poco más compactos para móviles */
    .btn-nav-login,
    .btn-header-panel {
        padding: 5px 8px !important;
        font-size: 0.65rem !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        /* Obliga al texto a quedarse en 1 sola línea */
    }

    /* Ajustamos el avatar por si un usuario ya inició sesión */
    .user-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
}


@media (max-height: 850px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-content {
        margin-top: -5rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .carousel-indicators {
        opacity: 0.5;
    }

    .carousel-btn {
        top: 60%;
        position: absolute;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .hero-book-cover {
        max-width: 200px;
    }
}

@media (max-height: 650px) {
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 0.75rem;
        margin-bottom: 25px;
    }

    .hero-book-cover {
        max-width: 160px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .carousel-slide {
        flex-direction: row;
        gap: 30px;
        padding-top: 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        display: none;
    }

    .hero-book-cover {
        max-width: 160px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ==========================================
   CITA (QUOTE)
   ========================================== */
.quote-container {
    text-align: center;
    padding: 100px 20px 80px;
}

#main-quote {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--blue-slate);
    line-height: 1.4;
}

#main-quote strong {
    font-weight: 700;
    color: var(--blue-dark);
}

/* ==========================================
   MIEMBROS: MARQUEE INFINITO EDITORIAL
   ========================================== */
.members-container {
    padding: 60px 0 100px;
    background-color: var(--bg-light);
    overflow: hidden;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    padding: 0 10%;
}

.section-divider hr {
    flex: 1;
    max-width: 150px;
    border: none;
    border-top: 1px solid var(--accent-gold);
    opacity: 0.6;
}

.section-subtitle {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 5px;
    color: var(--blue-dark);
    text-transform: uppercase;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    gap: 40px;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-group {
    display: flex;
    flex-shrink: 0;
    gap: 40px;
    animation: scrollMarquee 2000s linear infinite;
}

.marquee-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollMarquee 200s linear infinite;
    padding: 20px 0;
}

.marquee-wrapper:hover .marquee-group {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.member-card {
    position: relative;
    width: 280px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--blue-slate);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.member-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(20, 54, 102, 0.25);
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.member-card:hover .member-photo {
    transform: scale(1.08);
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--blue-dark) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.member-name {
    font-family: var(--font-heading);
    color: var(--bg-light);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    max-width: 70%;
}

.member-badge {
    position: absolute;
    bottom: 25px;
    right: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold);
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.member-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: invert(1) brightness(0);
}

/* ==========================================
   DISEÑO EDITORIAL (HOME V2 - ESTANTE Y PULSO)
   ========================================== */
.editorial-section {
    padding: 80px 10%;
    background-color: var(--bg-light);
    position: relative;
}

.editorial-section.bg-alt {
    background-color: #f8fbff;
    border-top: 1px solid rgba(128, 150, 181, 0.1);
}

.section-intro {
    text-align: center;
    color: var(--blue-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
    margin-top: -40px;
}

.center-cta {
    text-align: center;
    margin-top: 60px;
}

/* --- EL ESTANTE (Grid de Libros) --- */
.estante-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.book-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.book-card:hover {
    transform: translateY(-8px);
}

.book-cover-wrapper {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: 1px solid rgba(128, 150, 181, 0.1);
}

.book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.book-card:hover .book-cover {
    transform: scale(1.05);
}

.book-meta {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.book-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--blue-navy);
    line-height: 1.2;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author {
    font-size: 0.85rem;
    color: var(--blue-slate);
}

/* --- EL PULSO (Split Layout) --- */
.pulso-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.pulso-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--blue-navy);
}

.pulso-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.pulso-link:hover {
    transform: translateX(5px);
    display: inline-block;
}

/* Blog List */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-card-horiz {
    display: flex;
    gap: 20px;
    text-decoration: none;
    align-items: center;
    transition: transform 0.3s ease;
    background: white;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(128, 150, 181, 0.1);
}

.blog-card-horiz:hover {
    transform: translateX(10px);
    border-color: rgba(214, 179, 89, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.blog-img-wrapper {
    width: 140px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-horiz-content h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--blue-navy);
    margin-bottom: 5px;
    line-height: 1.2;
}

.blog-horiz-meta {
    font-size: 0.8rem;
    color: var(--blue-muted);
}

/* Agenda Compacta */
.agenda-compact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.agenda-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.agenda-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.agenda-date-box {
    background: rgba(128, 150, 181, 0.05);
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    min-width: 60px;
}

.agenda-day {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-navy);
    line-height: 1;
}

.agenda-month {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-top: 4px;
}

.agenda-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--blue-navy);
    margin-bottom: 3px;
}

.agenda-info span {
    font-size: 0.8rem;
    color: var(--blue-muted);
}

@media (max-width: 900px) {
    .pulso-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .blog-card-horiz {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-img-wrapper {
        width: 100%;
        height: 180px;
    }
}

/* ==========================================
   FOOTER: CIERRE PREMIUM
   ========================================== */
.footer-container {
    background-color: var(--blue-dark);
    color: var(--bg-light);
    border-bottom: 12px solid var(--accent-gold);
    padding: 80px 10% 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    max-width: 220px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: var(--blue-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 80%;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--bg-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--accent-gold);
    color: var(--blue-dark);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--bg-light);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-links ul,
.members-list-simple {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.members-list-simple li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--blue-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
    padding-left: 8px;
}

.members-list-simple li {
    color: var(--blue-slate);
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(128, 150, 181, 0.5);
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

/* ==========================================
   CONTROLES DE USUARIO Y UTILIDADES
   ========================================== */
.user-controls {
    position: absolute;
    right: 100px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-badge {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar {
    width: 28px;
    height: 28px;
    background-color: var(--accent-gold);
    color: var(--blue-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.btn-header-panel {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    background: transparent;
    border: 1px solid var(--accent-gold);
    padding: 6px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-header-panel:hover {
    background: var(--accent-gold);
    color: var(--blue-dark);
}



.btn-nav-login {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--blue-slate);
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid rgba(128, 150, 181, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-nav-login:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(214, 179, 89, 0.05);
}

.btn-outline-blue {
    display: inline-block;
    padding: 12px 35px;
    background-color: transparent;
    color: var(--blue-navy);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    border: 2px solid var(--blue-navy);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline-blue:hover {
    background-color: var(--blue-navy);
    color: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(20, 54, 102, 0.15);
}

/* Animaciones On Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-gold-solid {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent-gold);
    color: var(--blue-dark);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(214, 179, 89, 0.2);
    cursor: pointer;
}

.btn-gold-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(214, 179, 89, 0.4);
    background-color: #e5c36d;
}

/* ==========================================
   RESPONSIVIDAD: INICIO DE SESIÓN Y BOTONES
   ========================================== */
@media (max-width: 600px) {

    .login-container,
    .login-box,
    form {
        width: 100% !important;
        max-width: 100% !important;
        padding: 25px 10px !important;
        box-sizing: border-box;
    }

    .login-input,
    button[type="submit"],
    .btn-gold-solid {
        width: 100% !important;
        box-sizing: border-box;
        font-size: 1rem !important;
        padding: 12px !important;
    }
}

/* ==========================================
   ARTE DESTACADO (SECCIÓN HOME)
   ========================================== */
.arte-home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.arte-home-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.arte-home-card:hover {
    transform: translateY(-8px);
}

.arte-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.arte-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.arte-home-card:hover .arte-img-wrapper img {
    transform: scale(1.05);
}

.arte-home-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 25, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arte-home-overlay .material-symbols-outlined {
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.arte-home-card:hover .arte-home-overlay {
    opacity: 1;
}

.arte-home-card:hover .arte-home-overlay .material-symbols-outlined {
    transform: scale(1);
}

.arte-home-info h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--blue-navy);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arte-home-info span {
    font-size: 0.85rem;
    color: var(--blue-slate);
}

/* Responsividad de Arte Home */
@media (max-width: 992px) {
    .arte-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .arte-home-grid {
        grid-template-columns: 1fr;
    }
}