/* =============================================
   BANUEV — Global Styles (Static HTML version)
   ============================================= */

:root {
    --orange-primary: #E8751A;
    --orange-dark: #C45F10;
    --orange-light: #F59E3F;
    --amber-warm: #D4A24C;
    --gold-soft: #C9A84C;
    --beige-light: #FBF8F3;
    --beige-warm: #F5EDE0;
    --cream: #FFFDF8;
    --text-dark: #2C2418;
    --text-body: #5A4E3C;
    --text-muted: #8C7E6A;
    --separator: #E8DFD0;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-body);
    background: var(--cream);
    overflow-x: hidden;
}

img { max-width: 100%; }

.font-display {
    font-family: 'Playfair Display', serif;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled,
.navbar.navbar-solid {
    background: rgba(255, 253, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(44, 36, 24, 0.06);
    padding: 0.6rem 2rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.navbar-logo img {
    height: 42px;
    width: auto;
    transition: height 0.3s ease;
}

.navbar.scrolled .navbar-logo img,
.navbar.navbar-solid .navbar-logo img {
    height: 36px;
}

.navbar-logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.03em;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile menu toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    position: fixed;
    top: 1rem;
    right: 2rem;
    z-index: 201;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Hamburger → X animation */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 253, 248, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.03em;
    padding: 0.9rem 2rem;
    transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(15px);
    position: relative;
}

.mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for links */
.mobile-menu a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.16s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.24s; }
.mobile-menu a:nth-child(6) { transition-delay: 0.28s; }
.mobile-menu a:nth-child(7) { transition-delay: 0.32s; }

.mobile-menu a:hover {
    color: var(--orange-primary);
    transform: translateX(4px);
}

.mobile-menu a::after {
    content: '';
    position: absolute;
    bottom: 0.6rem;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: var(--separator);
    opacity: 0.5;
}

.mobile-menu a:last-child::after {
    display: none;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--orange-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(232, 117, 26, 0.3);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(232, 117, 26, 0.4);
}

.btn-primary svg {
    width: 16px;
    height: 16px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2.2rem;
    background: transparent;
    color: var(--orange-primary);
    border: 2px solid var(--orange-primary);
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
    background: var(--orange-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(232, 117, 26, 0.3);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    background: #fff;
    color: var(--orange-primary);
    border: none;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ===== SECTIONS COMMON ===== */
.section {
    padding: 6rem 2rem;
}

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

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--orange-primary);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(44, 36, 24, 0.35) 0%,
        rgba(44, 36, 24, 0.55) 40%,
        rgba(44, 36, 24, 0.75) 100%
    );
    z-index: 1;
}

.hero-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 80% 60% at 50% 40%,
        rgba(232, 117, 26, 0.12) 0%,
        transparent 70%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 820px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    width: 80px;
    height: auto;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-title em {
    color: var(--orange-light);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-indicator svg {
    width: 20px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== ABOUT ===== */
.about {
    background: var(--beige-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 36, 24, 0.1);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

.about-image-accent {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--orange-primary);
    opacity: 0.15;
    z-index: -1;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 1rem;
}

.about-text p:last-of-type {
    margin-bottom: 2rem;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.about-link:hover {
    gap: 0.8rem;
}

.about-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* ===== FEATURED WORKS ===== */
.works {
    background: var(--cream);
}

.works-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.works-header .section-desc {
    margin: 0 auto;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.work-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(44, 36, 24, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(232, 223, 208, 0.5);
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(44, 36, 24, 0.12);
}

.work-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.work-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    background: rgba(232, 117, 26, 0.9);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
}

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

.work-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.work-card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.work-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--orange-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.work-card-link:hover {
    gap: 0.7rem;
}

.work-card-link svg {
    width: 16px;
    height: 16px;
}

/* ===== MISSION / VALUES ===== */
.mission {
    background: var(--beige-light);
}

.mission-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.mission-header .section-desc {
    margin: 0 auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.mission-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(232, 223, 208, 0.5);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(44, 36, 24, 0.08);
}

.mission-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(232, 117, 26, 0.1), rgba(201, 168, 76, 0.1));
}

.mission-icon svg {
    width: 28px;
    height: 28px;
    color: var(--orange-primary);
}

.mission-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.mission-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--cream);
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header .section-desc {
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(44, 36, 24, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(1) img {
    height: 100%;
    min-height: 360px;
}

.gallery-item:not(:first-child) img {
    height: 170px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

/* ===== NEWS CARDS (shared) ===== */
.novedades {
    background: var(--beige-light);
}

.novedades-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.novedades-header .section-desc {
    margin: 0 auto;
}

.novedades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(44, 36, 24, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(232, 223, 208, 0.5);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(44, 36, 24, 0.12);
}

.news-card.filtering-out {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}

.news-card.filtering-in {
    animation: cardAppear 0.4s ease-out forwards;
}

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

.news-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.news-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    background: rgba(232, 117, 26, 0.9);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
}

.news-card-date,
.news-card-date-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    padding: 0.25rem 0.7rem;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 50px;
}

.news-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.news-card-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex: 1;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--orange-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.news-card-link:hover {
    gap: 0.7rem;
}

.news-card-link svg {
    width: 16px;
    height: 16px;
}

.novedades-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ===== NOVEDADES PAGE ===== */
.page-header {
    padding: 8rem 2rem 3rem;
    text-align: center;
    background: var(--beige-light);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(232, 117, 26, 0.04);
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.page-header .breadcrumb {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.page-header .breadcrumb a {
    color: var(--orange-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.page-header .breadcrumb a:hover {
    opacity: 0.7;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.page-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Filters */
.filters-bar {
    padding: 0 2rem;
    background: var(--cream);
    position: sticky;
    top: 64px;
    z-index: 50;
    border-bottom: 1px solid var(--separator);
}

.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.filters-container::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 0.5rem 1.2rem;
    border: 1.5px solid var(--separator);
    border-radius: 50px;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

.filter-btn.active {
    background: var(--orange-primary);
    border-color: var(--orange-primary);
    color: #fff;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.3rem;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.3);
}

.filter-btn:not(.active) .filter-count {
    background: rgba(140, 126, 106, 0.15);
    color: var(--text-muted);
}

/* Featured card */
.featured-section {
    padding: 3rem 2rem 0;
}

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

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(44, 36, 24, 0.08);
    border: 1px solid rgba(232, 223, 208, 0.5);
    transition: all 0.4s ease;
}

.featured-card:hover {
    box-shadow: 0 16px 50px rgba(44, 36, 24, 0.12);
}

.featured-card-image {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

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

.featured-card:hover .featured-card-image img {
    transform: scale(1.03);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-badge-star {
    padding: 0.35rem 0.9rem;
    background: var(--gold-soft);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
}

.featured-badge-category {
    padding: 0.35rem 0.9rem;
    background: rgba(232, 117, 26, 0.9);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
}

.featured-card-body {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-card-body .news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.featured-card-body .news-date svg {
    width: 14px;
    height: 14px;
}

.featured-card-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.featured-card-body p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* News Section */
.news-section {
    padding: 3rem 2rem 5rem;
}

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

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.load-more-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.no-results.visible {
    display: block;
}

.no-results svg {
    width: 64px;
    height: 64px;
    color: var(--separator);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== ARTICLE PAGE ===== */
.article-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44, 36, 24, 0.1) 0%, rgba(44, 36, 24, 0.6) 100%);
}

.article-content {
    max-width: 800px;
    margin: -4rem auto 0;
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 40px rgba(44, 36, 24, 0.1);
}

.article-breadcrumb {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.article-breadcrumb a {
    color: var(--orange-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.article-breadcrumb a:hover {
    opacity: 0.7;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-category {
    padding: 0.3rem 0.8rem;
    background: rgba(232, 117, 26, 0.1);
    color: var(--orange-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
}

.article-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-date svg {
    width: 14px;
    height: 14px;
}

.article-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 2rem;
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 1.2rem;
}

.article-body strong {
    color: var(--text-dark);
}

.article-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 2.5rem 0 1rem;
}

.article-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 2rem 0 0.8rem;
}

/* Article gallery */
.article-gallery {
    margin: 2.5rem 0;
}

.article-gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.article-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.article-gallery-grid .gallery-item img {
    height: 160px;
    width: 100%;
    object-fit: cover;
}

/* Article video */
.article-video {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(44, 36, 24, 0.08);
}

.article-video video {
    width: 100%;
    display: block;
}

/* Back to list link */
.article-back {
    margin: 3rem 0;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand img {
    height: 48px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}

.footer h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange-light);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--orange-primary);
    transform: translateY(-2px);
}

.social-links svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom img {
    height: 24px;
    opacity: 0.4;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .works-grid { grid-template-columns: repeat(2, 1fr); }
    .novedades-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-item:nth-child(1) { grid-column: span 2; }
    .gallery-item:not(:first-child) img { height: 150px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .featured-card { grid-template-columns: 1fr; }
    .featured-card-image { min-height: 240px; }
    .article-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .works-grid { grid-template-columns: 1fr; }
    .novedades-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .mission-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(1) { grid-column: span 2; }
    .section { padding: 4rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .featured-card-body { padding: 2rem; }
    .article-content { margin: -2rem 1rem 0; padding: 2rem; }
    .article-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .mission-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item:nth-child(1) { grid-column: span 2; }
    .gallery-item:not(:first-child) img { height: 130px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .article-gallery-grid { grid-template-columns: 1fr 1fr; }
}