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

:root {
    --primary: #2c3e50;
    --secondary: #34495e;
    --accent: #b8a55c;
    --accent-dark: #9d8a4a;
    --blue-masonic: #1e3a5f;
    --gold-masonic: #b8a55c;
    --light: #f5f5f5;
    --text: #333;
    --text-light: rgba(255, 255, 255, 0.9);
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
}

/* ============================================
   NAVIGATION - RESPONSIVE
   ============================================ */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 58, 95, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 0.8rem 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: 70px;
    display: flex;
    align-items: center;
}

nav.scrolled {
    background: rgba(30, 58, 95, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    height: 60px;
    padding: 0.8rem 3rem;
}

nav .nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .nav-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    z-index: 1001;
}

.nav-logo {
    height: 40px;
    width: auto;
    margin-right: 15px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

nav .nav-brand:hover .nav-logo {
    transform: rotate(5deg) scale(1.1);
}

nav .nav-brand:hover {
    color: var(--text-light);
}

/* Hamburger Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--accent);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin: 0;
}

nav ul li {
    display: inline-block;
}

nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

nav a:hover {
    color: var(--accent);
}

nav a:hover::before {
    width: 100%;
}

/* Blog Button */
.nav-blog-item {
    margin-left: 1rem;
}

.nav-blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b8a55c, #9d8a4a);
    color: white !important;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    box-shadow: 0 4px 18px rgba(184, 165, 92, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    transition: all 0.35s ease;
}

.nav-blog-btn:hover {
    background: white;
    color: #b8a55c !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(184, 165, 92, 0.5);
    border-color: #b8a55c;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    height: 70vh;
    min-height: 520px;
    max-height: 800px;
    margin-top: 90px;
    position: relative;
    background: #000;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-overlay {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 36, 0.75) 0%, rgba(15, 23, 36, 0.95) 100%);
    z-index: 1;

}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: var(--text-light);
    max-width: 680px;
    padding: 0 1.2rem
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 0.8rem;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 0.15em;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
    animation: fadeInUp 1s ease-out 0s backwards;
}

.hero-date {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    display: inline-block;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 5px;
}

.hero-content .number {
    color: var(--accent);
}

.hero-content p {
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    line-height: 1.35;
    margin-bottom: 1.1rem;
    font-weight: 300;
    background: linear-gradient(to bottom, rgba(30, 42, 56, 0.3) 0%, rgba(15, 23, 30, 0.5) 100%);

}

.hero-btn-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold-masonic);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(184, 165, 92, 0.4);
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-btn-cta:hover {
    background: white;
    color: var(--gold-masonic);
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Controls */
.hero-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 3rem;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    display: none;
}

.hero-controls.visible {
    display: flex;
}

.hero-btn {
    pointer-events: auto;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-btn:hover {
    background: var(--gold-masonic);
    opacity: 1;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dots .dot.active {
    background: var(--gold-masonic);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(184, 165, 92, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    opacity: 0.8;
    animation: bounce 2s infinite ease-in-out;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* Historia Section */
.historia-section {
    background: white;
    padding: 4rem 2rem;
}

.historia-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-weight: 300;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 40px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 40px);
    text-align: left;
}

.timeline-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(184, 165, 92, 0.25);
    transition: all 0.4s ease;
}

.timeline-content:hover {
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.15);
    transform: translateY(-5px);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-masonic), var(--accent-dark));
    color: white;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gold-masonic);
    border: 4px solid white;
    border-radius: 50%;
    top: 20px;
    box-shadow: 0 0 0 4px rgba(184, 165, 92, 0.3);
    z-index: 10;
}

.timeline-item:nth-child(odd)::after {
    right: calc(50% - 10px);
}

.timeline-item:nth-child(even)::after {
    left: calc(50% - 10px);
}

/* Principles Grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
}

.principle-card {
    background: white;
    padding: 2rem 1.8rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.principle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.principle-icon {
    font-size: 2.6rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.principle-card h3 {
    color: var(--primary);
    margin: 0.8rem 0;
    font-size: 1.35rem;
}

.principle-card p {
    color: #666;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--blue-masonic) 0%, #243447 100%);
    color: var(--text-light);
    padding: 4.5rem 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(184, 165, 92, 0.2);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

.contact-item h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 165, 92, 0.15);
    border-radius: 50%;
    color: var(--gold-masonic);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.social-links a:hover {
    background: var(--gold-masonic);
    color: var(--blue-masonic);
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: var(--blue-masonic);
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    border-top: 2px solid var(--gold-masonic);
}

/* ============================================
   RESPONSIVE - TABLET & MOBILE
   ============================================ */

@media (max-width: 992px) {
    nav {
        padding: 0.8rem 2rem;
    }

    .nav-toggle {
        display: flex !important;
    }

    nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 350px;
        height: calc(100vh - 70px);
        background: rgba(30, 58, 95, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        z-index: 999;
    }

    nav ul.active {
        right: 0 !important;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
    }

    nav ul li a {
        display: block;
        padding: 1.2rem 2rem;
        font-size: 0.9rem;
    }

    .nav-blog-item {
        margin: 1.5rem 2rem 0 2rem !important;
        border-bottom: none !important;
    }

    .nav-blog-btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    nav a::before {
        display: none;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0.8rem 1.5rem;
        height: 65px;
    }

    nav ul {
        top: 65px;
        max-width: 300px;
    }

    .hero {
        height: 60vh;
        min-height: 460px;
        margin-top: 65px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 60px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-item::after {
        left: 21px !important;
    }

    section {
        padding: 3.5rem 1.5rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.8rem 1rem;
    }

    nav .nav-brand {
        font-size: 1rem;
    }

    .nav-logo {
        height: 30px;
    }

    nav ul {
        max-width: 280px;
    }
}

/* CONTACT SECTION — COMPACT MODE */
.contact-section {
    padding: 3rem 1.5rem;
    /* Antes 4.5rem 2rem */
}

.contact-grid {
    gap: 1.8rem;
    /* Antes 2.5rem */
}

.contact-item {
    padding: 1.4rem 1rem;
    /* Antes 2rem */
    border-radius: 10px;
    /* Menos redondeado */
    background: rgba(255, 255, 255, 0.06);
    /* Más sutil */
    box-shadow: none;
    /* Menos volumen */
}

.contact-item h3 {
    font-size: 1.1rem;
    /* Antes 1.3rem */
    margin-bottom: 0.6rem;
    /* Menos aire */
}

.contact-item p {
    font-size: 0.95rem;
    background: transparent;
    border: none;
}

.social-links a {
    width: 42px;
    height: 42px;
    /* Antes 50px */
    font-size: 1.2rem;
    /* Antes 1.5rem */
}

@media (max-width: 768px) {
    .contact-section {
        padding: 2.5rem 1rem;
    }

    .contact-item {
        padding: 1.2rem 0.8rem;
        background: transparent;
        border: none;
    }
}

.contact-section {
    border-radius: 24px 24px 0 0;
    /* Superior redondeado */
    overflow: hidden;
}

/* LOGIAS HERMANAS */
.sister-lodges {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 4rem 2rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
}

.lodges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.lodge-card {
    background: white;
    border: 1px solid rgba(184, 165, 92, 0.28);
    border-radius: 18px;
    text-align: center;
    padding: 2.3rem 1.8rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transition: all .35s ease;
}

.lodge-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.14);
}

.lodge-img {
    width: 100%;
    height: 180px;
    /* podés ajustar esta altura según lo que necesites */
    margin: 0 auto 1.1rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
    transition: all .35s ease;
    padding: 0.8rem;
    /* evita que bordes corten imágenes grandes */
}

.lodge-img img {
    width: auto;
    height: 100%;
    object-fit: contain;
    /* 👈 que se vea completa */
    transform: scale(1);
    transition: transform .45s ease;
}

.lodge-card:hover .lodge-img img {
    transform: scale(1.05);
}


.lodge-card h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.35rem;
}

.lodge-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.4rem;
    line-height: 1.6;
}

.lodge-btn {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    background: var(--gold-masonic);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 40px;
    text-decoration: none;
    transition: all .3s ease;
}

.lodge-btn:hover {
    background: white;
    color: var(--gold-masonic);
    box-shadow: 0 10px 28px rgba(184, 165, 92, 0.35);
}

@media (max-width: 480px) {
    .lodge-img {
        height: 150px;
        padding: 0.6rem;
    }
}

/* ============ SKELETON LOADER MEJORADO ============ */
.skeleton-slide {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.skeleton-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* Spinner central - ÚNICO elemento flotante */
.skeleton-slide::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border: 5px solid rgba(186, 148, 89, 0.15);
    border-top-color: var(--accent, #ba9459);
    border-right-color: var(--accent, #ba9459);
    border-radius: 50%;
    animation: skeleton-spin 1.2s linear infinite;
    z-index: 100;
    box-shadow: 0 0 30px rgba(186, 148, 89, 0.2);
}

/* Texto "Cargando artículos..." */
.skeleton-slide::after {
    content: 'Cargando artículos...';
    position: absolute;
    top: calc(50% + 60px);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    animation: skeleton-pulse-text 1.8s ease-in-out infinite;
    z-index: 100;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

@keyframes skeleton-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes skeleton-pulse-text {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* OCULTAR elementos skeleton del hero-content para evitar superposición */
.skeleton-slide .hero-content {
    opacity: 0;
    pointer-events: none;
}

/* Alternativamente, si quieres mostrar barras de skeleton, usa esto en vez de lo anterior: */
/* 
.skeleton-slide .hero-content {
    position: relative;
    z-index: 1;
    opacity: 0.3;
}

.skeleton-slide .hero-content > * {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(186, 148, 89, 0.08) 25%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(186, 148, 89, 0.08) 75%,
        rgba(255, 255, 255, 0.03) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 2.5s infinite ease-in-out;
    border-radius: 8px;
    border: 1px solid rgba(186, 148, 89, 0.08);
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton-badge {
    width: 140px;
    height: 28px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.skeleton-title {
    width: 70%;
    max-width: 500px;
    height: 50px;
    margin-bottom: 1rem;
}

.skeleton-date {
    width: 130px;
    height: 18px;
    margin-bottom: 1.5rem;
}

.skeleton-text {
    width: 85%;
    max-width: 600px;
    height: 18px;
    margin-bottom: 0.8rem;
}

.skeleton-text.short {
    width: 55%;
    max-width: 400px;
}

.skeleton-button {
    width: 160px;
    height: 44px;
    margin-top: 1.5rem;
    border-radius: 25px;
}

.skeleton-slide .hero-content h1,
.skeleton-slide .hero-content p,
.skeleton-slide .hero-content a {
    color: transparent;
    user-select: none;
}
*/

/* Transición suave cuando carga la imagen real */
.hero-slide {
    background-color: #1a1a2e;
    background-size: cover;
    background-position: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide:not(.image-loaded) {
    background-image: none !important;
}

.hero-slide.image-loaded {
    animation: fadeInSlide 0.8s ease-out forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Ocultar spinner cuando carga el contenido */
.hero-slide.image-loaded::before,
.hero-slide.image-loaded::after {
    opacity: 0;
    transition: opacity 0.4s ease-out;
    pointer-events: none;
}

/* Mostrar hero-content cuando carga */
.hero-slide.image-loaded .hero-content {
    opacity: 1 !important;
    pointer-events: auto !important;
    animation: fadeInContent 0.8s ease-out 0.2s forwards;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de brillo sutil en el fondo */
.skeleton-slide {
    animation: skeleton-bg-pulse 3s ease-in-out infinite;
}

@keyframes skeleton-bg-pulse {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .skeleton-slide::before {
        width: 60px;
        height: 60px;
        border-width: 4px;
    }

    .skeleton-slide::after {
        font-size: 0.9rem;
        top: calc(50% + 50px);
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .skeleton-slide::before {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }

    .skeleton-slide::after {
        font-size: 0.85rem;
        top: calc(50% + 40px);
    }
}

/* Asegurar que scroll indicator no interfiera */
.skeleton-slide ~ .scroll-indicator {
    z-index: 50;
}