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

/* Layout global */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: rgb(44, 44, 44);
    padding-top: 0;
    background-color: rgb(237, 215, 215);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation Bar */
.navbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding: 1rem 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    bottom: auto;
    background-color: rgba(255, 182, 193, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.navbar h3 {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar li {
    position: relative;
    padding: 0 1rem;
}

.navbar li + li::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 50%;
    width: 1px;
    height: 1.2rem;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.35);
}

.navbar.sticky li + li::before {
    background-color: rgba(0, 0, 0, 0.18);
}

.navbar a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}


.navbar a:hover {
    color: rgb(118, 198, 206);
}

.navbar a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.navbar.sticky h3,
.navbar.sticky a {
    color: rgb(44, 44, 44);
    text-shadow: none;
}

.navbar.sticky a:hover {
    color: rgb(153, 51, 102);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.6);
}
.hero-logo {
    position: relative;
    width: clamp(250px, 50vw, 950px);
    height: auto;
    z-index: 1;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 80px 40px;
    min-height: 500px;
    border-bottom: none;
}

section h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    margin-bottom: 30px;
    color: rgb(153, 51, 102);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Legal Pages */
.legal-page {
    padding: 80px 40px;
}

.legal-page h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
    color: rgb(44, 44, 44);
}

.legal-page h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    margin: 28px 0 10px;
    color: rgb(153, 51, 102);
}

.legal-page p {
    margin: 0 0 12px;
    color: rgb(60, 60, 60);
}

/* Footer */
.site-footer {
    background-color: rgba(255, 182, 193, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 32px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer p {
    margin: 0;
    color: rgb(44, 44, 44);
    font-size: 0.95rem;
}

.footer-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-links a {
    color: rgb(44, 44, 44);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: rgb(153, 51, 102);
}

.footer-sep {
    color: rgba(44, 44, 44, 0.4);
}

.footer-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: rgb(153, 51, 102);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-back:hover {
    background-color: rgb(123, 39, 82);
    transform: translateY(-1px);
}

/* Index Cards / Galería de categorías */
.index {
    padding: 80px 40px;
    margin-top: 40px;
}

.index-gallery {
    padding: 80px 40px 0 40px;
    min-height: auto;
}

.index-gallery .index-container {
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.index-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 24px;
    padding: 0 24px;
    align-items: stretch;
}

.index a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: stretch;
}

.index-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    padding: 20px 24px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    text-align: left;
}

.index-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.index-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.index-gallery a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.index-gallery .index-card {
    display: contents;
}

.index-gallery .index-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.index-gallery a:hover .index-card img {
    transform: scale(1.03);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.index-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    flex: 1;
}

.index-card h1 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 0;
    color: #222;
}

.index-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .navbar ul {
        gap: 1.2rem;
    }

    .navbar li {
        padding: 0 0.8rem;
    }

    .index-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .index-gallery .index-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .album-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: center;
    }

    .navbar ul {
        justify-content: center;
        gap: 0.8rem 1.2rem;
    }

    .navbar li {
        padding: 0 0.6rem;
    }

    .navbar li + li::before {
        height: 0.9rem;
        background-color: rgba(255, 255, 255, 0.2);
    }

    .hero h1 {
        font-size: clamp(2rem, 6vw, 2.6rem);
    }

    .hero-logo {
        width: clamp(220px, 60vw, 750px);
    }

    section {
        padding: 48px 20px;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .navbar ul {
        font-size: 0.9rem;
    }

    .navbar h3 {
        font-size: 1.2rem;
    }

    .index, .index-gallery {
        padding: 48px 20px;
    }

    .index-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .index-card {
        flex-direction: row;
        height: auto;
        padding: 20px;
        gap: 16px;
        text-align: left;
    }

    .index-card img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .index-gallery .index-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .album-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.6rem 0;
    }

    .navbar .container {
        flex-direction: column;
        align-items: center;
    }

    .navbar ul {
        gap: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    .navbar li {
        padding: 0 0.4rem;
    }

    .navbar li + li::before {
        display: none;
    }

    .hero-logo {
        width: clamp(220px, 70vw, 600px);
        margin-bottom: 10px;
    }

    section {
        padding: 40px 16px;
    }

    .index, .index-gallery {
        padding: 40px 16px;
    }

    .index-container {
        grid-template-columns: 1fr;
        padding: 0 16px;
        gap: 16px;
    }

    .index-card {
        flex-direction: row;
        height: auto;
        padding: 16px;
        gap: 12px;
        text-align: left;
    }

    .index-card img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .index-card h1 {
        font-size: 1.1rem;
    }

    .index-card p {
        font-size: 0.85rem;
    }

    .index-gallery .index-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
.gallery-navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 182, 193, 0.97);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.6rem 0;
    z-index: 1000;
    backdrop-filter: blur(6px);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-navbar.nav-hidden {
    transform: translateY(-110%);
    box-shadow: none;
}

.gallery-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.gallery-navbar h3 {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.gallery-navbar ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-navbar li {
    position: relative;
    padding: 0 1rem;
}

.gallery-navbar li + li::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 50%;
    width: 1px;
    height: 1.2rem;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.35);
}

.gallery-navbar.sticky li + li::before {
    background-color: rgba(0, 0, 0, 0.18);
}

.gallery-navbar a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}


.gallery-navbar a:hover {
    color: rgb(118, 198, 206);
}

.gallery-navbar a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.gallery-navbar.sticky h3,
.gallery-navbar.sticky a {
    color: rgb(44, 44, 44);
    text-shadow: none;
}

.gallery-navbar.sticky a:hover {
    color: rgb(153, 51, 102);
}
/* Albums / Galerías */
.albumes {
    background-color: rgb(237, 215, 215);
}

.albumes-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.albumes-header h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: rgb(44, 44, 44);
}

.albumes-header p {
    color: rgb(90, 90, 90);
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.album-card {
    position: relative;
    min-height: 180px;
    border: none;
    border-radius: 16px;
    padding: 16px;
    text-align: left;
    color: #fff;
    background-color: #d66b8e;
    background-image: var(--album-cover);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.album-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.album-card.is-active {
    outline: 2px solid rgb(153, 51, 102);
    outline-offset: 2px;
}

.album-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55));
}

.album-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.album-card-title {
    font-weight: 700;
    font-size: 1rem;
}

.album-card-date {
    font-weight: 400;
    font-size: 0.9rem;
    opacity: 0.95;
}

.album-card-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

.album-view {
    background-color: rgb(237, 215, 215);
}

/* Inline album viewer (galeria.html) */
.album-inline-view {
    grid-column: 1 / -1;
    background-color: transparent;
    border-radius: 0;
    border: none;
    border-top: 2px solid rgba(153, 51, 102, 0.25);
    border-bottom: 2px solid rgba(153, 51, 102, 0.25);
    padding: 28px 0;
    margin: 4px 0;
    animation: inlinePanelIn 0.2s ease-out;
}

@keyframes inlinePanelIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.album-inline-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.album-inline-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: rgb(160, 160, 160);
    cursor: pointer;
    padding: 0 4px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.album-inline-close:hover {
    color: rgb(153, 51, 102);
}

.album-inline-photos {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* News Section */
.news {
    background-color: #fff;
    padding: 80px 40px;
}

.news h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    margin-bottom: 30px;
    color: rgb(153, 51, 102);
    text-align: center;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding: 0 24px;
}

.news-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background-color: rgb(250, 238, 238);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-card-content {
    padding: 24px;
}

.news-card-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgb(153, 51, 102);
    margin-bottom: 8px;
}

.news-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: rgb(44, 44, 44);
    line-height: 1.3;
}

.news-card-date {
    font-size: 0.85rem;
    color: rgb(120, 120, 120);
    margin-bottom: 12px;
    display: block;
}

.news-card-content p {
    color: rgb(90, 90, 90);
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: justify;
}

/* About Me Section */
.about-me {
    background-color: rgb(237, 215, 215);
    padding: 80px 40px;
}

.about-me h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    margin-bottom: 30px;
    color: rgb(153, 51, 102);
    text-align: center;
}

.about-me-content {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 32px;
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 18px 50px rgba(153, 51, 102, 0.08);
}

.about-me-image {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, rgba(153, 51, 102, 0.08), rgba(237, 215, 215, 0.35));
}

.about-me-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-me-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgb(60, 60, 60);
    text-align: justify;
    margin: 0;
}

/* Blog Section */
.blog {
    padding: 80px 40px;
    background-color: #faf8f5;
}

.blog-header {
    text-align: center;
    margin-bottom: 48px;
}

.blog-header h1 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
    color: rgb(153, 51, 102);
}

.blog-header p {
    font-size: 1.1rem;
    color: rgb(90, 90, 90);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-post {
    background-color: #f3e8dc   ;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.blog-post-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 28px;
}

.blog-post-date {
    display: block;
    font-size: 0.85rem;
    color: rgb(153, 51, 102);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-post h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: rgb(44, 44, 44);
    line-height: 1.3;
}

.blog-post p {
    color: rgb(90, 90, 90);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-post-link {
    display: inline-block;
    color: rgb(153, 51, 102);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.blog-post-link:hover {
    color: rgb(123, 39, 82);
}

@media (max-width: 768px) {
    .news, .about-me, .blog {
        padding: 48px 20px;
    }
    
    .news-container {
        padding: 0 20px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card-image {
        height: 180px;
    }
    
    .about-me-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .about-me-image {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }
    
    .about-me-text p {
        font-size: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .news, .about-me, .blog {
        padding: 40px 16px;
    }
    
    .news-container {
        padding: 0 16px;
        gap: 16px;
    }
    
    .news-card-image {
        height: 160px;
    }
    
    .news-card-content {
        padding: 20px;
    }
    
    .news-card-content h3 {
        font-size: 1.15rem;
    }
    
    .about-me-content {
        padding: 20px;
        gap: 20px;
    }
    
    .about-me-text p {
        font-size: 0.95rem;
    }
    
    .blog-post-content {
        padding: 20px;
    }
}

.album-view-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.album-view-header h2 {
    margin-bottom: 6px;
    color: rgb(44, 44, 44);
}

.album-view-header p {
    color: rgb(90, 90, 90);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.photo-item {
    border: none;
    padding: 0;
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.photo-item img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.photo-item:hover img {
    transform: scale(1.03);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2000;
    padding: 24px;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: min(900px, 85vw);
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4);
}

.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.95rem;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.lightbox-close {
    top: 24px;
    right: 24px;
    font-size: 2rem;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .album-view-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .albumes-header {
        margin-bottom: 20px;
    }

    .albumes-header h1 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }

    .lightbox-prev,
    .lightbox-next {
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
    }

    .legal-page {
        padding: 60px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 12px;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }

    .album-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }

    .index-gallery .index-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .albumes {
        padding: 40px 16px;
    }

    .album-view {
        padding: 40px 16px;
    }

    .albumes-header h1 {
        font-size: 1.6rem;
    }

    .albumes-header p {
        font-size: 0.9rem;
    }

    .legal-page {
        padding: 48px 16px;
    }

    .site-footer {
        padding: 24px 0;
    }

    .footer-content {
        padding: 0 16px;
    }

    .album-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .album-card {
        min-height: 160px;
        padding: 14px;
    }

    .album-card-title {
        font-size: 0.95rem;
    }

    .album-card-date,
    .album-card-count {
        font-size: 0.85rem;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }

    .lightbox {
        padding: 16px;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
        font-size: 1.8rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 34px;
        height: 34px;
        font-size: 1.3rem;
        left: 8px;
    }

    .lightbox-next {
        left: auto;
        right: 8px;
    }

    .lightbox img {
        max-width: 90vw;
        max-height: 75vh;
    }

    .lightbox-caption {
        bottom: 16px;
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .index-gallery .index-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lightbox {
        padding: 16px;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
        font-size: 1.8rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 34px;
        height: 34px;
        font-size: 1.3rem;
        left: 8px;
    }

    .lightbox-next {
        left: auto;
        right: 8px;
    }

    .lightbox img {
        max-width: 90vw;
        max-height: 75vh;
    }

    .lightbox-caption {
        bottom: 16px;
        font-size: 0.85rem;
        padding: 0 10px;
    }
}

/* ====================================
   PAGE-SPECIFIC STYLES
   ==================================== */

/* FESTIBUUUR PAGE */
.festibuuur-page .navbar.sticky {
    background-color: rgb(214, 117, 3);
}

.festibuuur-page .navbar.sticky a:hover {
    color: rgb(0, 124, 58);
}

.festibuuur-page .albumes {
    background-color: rgb(252, 207, 118);
}

.festibuuur-page .album-view {
    background-color: rgb(252, 207, 118);
}

.festibuuur-page .albumes-header h1,
.festibuuur-page .albumes-header p,
.festibuuur-page .album-view-header h2,
.festibuuur-page .album-view-header p {
    color: rgb(33, 46, 18);
}

/* ARQUIBUUUR PAGE */
.arquibuuur-page .navbar.sticky {
    background-color: rgb(141, 125, 109);
}

.arquibuuur-page .navbar a:hover {
    color: rgb(145, 79, 64);
}

.arquibuuur-page .navbar.sticky a:hover {
    color: rgb(76, 68, 60);
}

.arquibuuur-page .albumes {
    background-color: rgb(252, 233, 220);
}

.arquibuuur-page .album-view {
    background-color: rgb(252, 233, 220);
}

.arquibuuur-page .album-card.is-active {
    outline: 2px solid rgb(255, 87, 34);
    outline-offset: 2px;
}

/* BELENBRUUUM PAGE */
.belenbruuum-page .navbar.sticky {
    background-color: rgb(40, 49, 100);
}

.belenbruuum-page .navbar a:hover {
    color: rgb(236, 210, 62);
}

.belenbruuum-page .navbar.sticky a:hover {
    color: rgb(90, 60, 30);
}

.belenbruuum-page .albumes {
    background-color: rgb(216, 215, 215);
}

.belenbruuum-page .album-view {
    background-color: rgb(216, 215, 215);
}

/* ===== Blog Post ===== */

/* Navbar compacta para posts */
.post-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #d4b896    ;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.6rem 0;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-navbar.nav-hidden {
    transform: translateY(-110%);
    box-shadow: none;
}

.post-navbar--pink {
    background-color: rgba(255, 182, 193, 0.97);
}

.post-navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.post-navbar nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.post-navbar nav ul li a {
    text-decoration: none;
    color: rgb(44, 44, 44);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.post-navbar nav ul li a:hover,
.post-navbar nav ul li a.active {
    color: rgb(153, 51, 102);
}

/* Página de post: fondo crema */
.post-page {
    background-color: #faf8f5;
}

.post-page:not(.collabs-page) .site-footer {
    background-color: #d4b896;
}

.post-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.post-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgb(153, 51, 102);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 40px;
    transition: color 0.2s ease;
}

.post-back:hover {
    color: rgb(123, 39, 82);
}

.post-header {
    margin-bottom: 40px;
}

.post-header h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: rgb(153, 51, 102);
    line-height: 1.2;
    margin-bottom: 12px;
    font-family: 'Abril Fatface', serif;
    font-weight: 400;
}

.post-subtitle {
    font-size: 1.1rem;
    color: rgb(90, 90, 90);
    font-style: italic;
    margin-bottom: 20px;
}

.post-date {
    font-size: 0.9rem;
    color: rgb(130, 130, 130);
}

.post-cover {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 48px;
}

.post-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    color: rgb(60, 60, 60);
    line-height: 1.8;
    font-size: 1.05rem;
    font-family: Georgia, 'Times New Roman', serif;
    border-left: 3px solid rgb(153, 51, 102);
    padding-left: 28px;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content h2 {
    font-size: 1.3rem;
    color: rgb(44, 44, 44);
    margin: 40px 0 16px;
}

.post-content figure {
    margin: 40px 0;
    text-align: center;
}

.post-content figure img {
    width: 100%;
    border-radius: 8px;
}

.post-content figcaption {
    font-size: 0.9rem;
    color: rgb(130, 130, 130);
    font-style: italic;
    margin-top: 10px;
}

.post-content ul,
.post-content ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.post-content li {
    margin-bottom: 12px;
}

.post-content strong {
    color: rgb(44, 44, 44);
}

.post-footer {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.post-footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgb(153, 51, 102);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.post-footer a:hover {
    color: rgb(123, 39, 82);
}

/* Tarjeta de archivo WordPress */
.blog-post-archive {
    border-style: dashed;
    opacity: 0.85;
}

.belenbruuum-page .album-card.is-active {
    outline: 2px solid rgb(236, 210, 62);
    outline-offset: 2px;
}

/* BELENPUUUR PAGE */
.belenpuuur-page .navbar.sticky {
    background-color: rgb(204, 98, 32);
}

.belenpuuur-page .navbar a:hover {
    color: rgb(105, 42, 23);
}

.belenpuuur-page .navbar.sticky a:hover {
    color: rgb(243, 210, 136);
}

.belenpuuur-page .albumes {
    background-color: rgb(255, 243, 216);
}

.belenpuuur-page .album-view {
    background-color: rgb(255, 243, 216);
}

.belenpuuur-page .album-card.is-active {
    outline: 2px solid rgb(255, 152, 0);
    outline-offset: 2px;
}

/* CHINCHINBUUUR PAGE */
.chinchinbuuur-page .navbar.sticky {
    background-color: rgb(86, 68, 68);
}

.chinchinbuuur-page .navbar a:hover {
    color: rgb(207, 136, 181);
}

.chinchinbuuur-page .navbar.sticky h3,
.chinchinbuuur-page .navbar.sticky a {
    color: rgb(237, 215, 215);
}

.chinchinbuuur-page .navbar.sticky a:hover {
    color: rgb(207, 136, 181);
}

.chinchinbuuur-page .albumes {
    background-color: rgb(230, 220, 220);
}

.chinchinbuuur-page .album-view {
    background-color: rgb(230, 220, 220);
}

.chinchinbuuur-page .album-card.is-active {
    outline: 2px solid rgb(244, 67, 54);
    outline-offset: 2px;
}

/* ====================================
   CONTACT PAGE
   ==================================== */

.contact {
    background-color: rgb(237, 215, 215);
    padding: 80px 40px;
}

.contact-header {
    text-align: center;
    margin-bottom: 56px;
}

.contact-header h1 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: rgb(153, 51, 102);
    margin-bottom: 12px;
}

.contact-header p {
    font-size: 1.1rem;
    color: rgb(90, 90, 90);
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    max-width: 960px;
    margin: 0 auto;
}

/* Info column */
.contact-info h2 {
    font-size: 1.4rem;
    color: rgb(44, 44, 44);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 0.95rem;
    color: rgb(80, 80, 80);
    line-height: 1.7;
    margin-bottom: 14px;
}

.contact-social {
    margin-top: 32px;
}

.contact-social h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgb(120, 120, 120);
    margin-bottom: 14px;
}

.contact-social-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgb(44, 44, 44);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.contact-social-link:hover {
    color: rgb(153, 51, 102);
}

/* Form column */
.contact-form-wrap {
    background-color: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgb(60, 60, 60);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: rgb(44, 44, 44);
    background-color: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(153, 51, 102);
    box-shadow: 0 0 0 3px rgba(153, 51, 102, 0.12);
    background-color: #fff;
}

.contact-submit {
    align-self: flex-start;
    padding: 12px 28px;
    background-color: rgb(153, 51, 102);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover {
    background-color: rgb(123, 39, 82);
    transform: translateY(-1px);
}

.contact-back-wrap {
    background-color: rgb(237, 215, 215);
    display: flex;
    justify-content: center;
    padding: 0 0 48px;
}

@media (max-width: 768px) {
    .contact {
        padding: 48px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form-wrap {
        padding: 28px 24px;
    }
}

/* Collaborations Page */
.collabs-page {
    background: linear-gradient(180deg, #faf8f5 0%, #edd7d7 100%);
}

.collabs-hero {
    padding: 72px 40px 24px;
}

.collabs-hero-inner {
    max-width: 980px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 18px 45px rgba(153, 51, 102, 0.08);
}

.collabs-kicker {
    margin-bottom: 10px;
    color: rgb(153, 51, 102);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.collabs-hero h1 {
    margin: 0 0 16px;
    color: rgb(44, 44, 44);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.collabs-hero p {
    margin: 0;
    max-width: 68ch;
    color: rgb(60, 60, 60);
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
}

.collabs-list {
    padding: 12px 40px 80px;
}

.collabs-section-title {
    text-align: center;
    margin-bottom: 32px;
}

.collabs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.collab-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.collab-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(153, 51, 102), rgb(214, 149, 85));
}

.collab-eyebrow {
    margin-top: 2px;
    color: rgb(153, 51, 102);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.collab-card h2 {
    margin: 0;
    color: rgb(44, 44, 44);
    font-size: 1.45rem;
    line-height: 1.2;
}
.collab-card h3 {
    margin: 0;
    color: rgb(60, 60, 60);
    font-size: 1rem;
    line-height: 1.8;
}
.collab-card p {
    margin: 0;
    color: rgb(60, 60, 60);
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
}

.collab-action {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgb(153, 51, 102);
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.collab-action:hover {
    background: rgb(123, 39, 82);
    transform: translateY(-1px);
}

.collabs-note {
    max-width: 760px;
    margin: 32px auto 0;
    color: rgb(90, 90, 90);
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .contact {
        padding: 48px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form-wrap {
        padding: 28px 24px;
    }

    .collabs-hero {
        padding: 56px 20px 20px;
    }

    .collabs-hero-inner {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .collabs-list {
        padding: 8px 20px 64px;
    }

    .collabs-grid {
        grid-template-columns: 1fr;
    }

    .collab-card {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 40px 16px;
    }

    .contact-form-wrap {
        padding: 24px 20px;
    }

    .contact-submit {
        width: 100%;
        text-align: center;
    }

    .collabs-hero {
        padding: 40px 16px 16px;
    }

    .collabs-hero-inner {
        padding: 24px 18px;
    }

    .collabs-card,
    .collab-card {
        padding: 22px 18px;
    }

    .collab-action {
        width: 100%;
    }
}

