:root {
    --bg-color: #000000;
    --text-color: #e0e0e0;
    --accent-color: #c5a47e;
    /* Gold/Bronze */
    --secondary-text: #888;
    --font-heading: 'Playfair Display', serif;
    --font-subheading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    --spacing-container: 5vw;
    --spacing-section: 90px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
}

.section-label {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 20px;
}

.editorial-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 30px;
}

.lead-text {
    font-family: var(--font-subheading);
    font-size: 1.5rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 30px;
}

/* Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(197, 164, 126, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px var(--spacing-container);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    background-color: rgba(30, 30, 30, 0.85); /* Franja gris transparente */
    padding: 15px var(--spacing-container);
    mix-blend-mode: normal; /* Cambia el modo de mezcla cuando se ha hecho scroll */
    backdrop-filter: blur(10px);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center; /* Alinea verticalmente los elementos */
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 0; /* Añade padding vertical para alinear con el botón */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s ease;
}

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

.nav-links .book-btn {
    border: 1px solid #fff;
    padding: 15px 50px !important; /* Más espacio interno para que el texto no toque los bordes */
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-links .book-btn:hover {
    background-color: #fff;
    color: #000;
}

.menu-toggle {
    display: none;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-container);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    max-width: 800px;
}

.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
    opacity: 0;
    animation: fadeUp 1s ease 0.5s forwards;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: 30px;
}

.hero-title span {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.hero-title .line-1 {
    animation-delay: 0.8s;
}

.hero-title .line-2 {
    animation-delay: 1s;
}

.hero-subtitle {
    font-family: var(--font-subheading);
    font-size: 1.8rem;
    font-style: italic;
    opacity: 0;
    animation: fadeUp 1s ease 1.2s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: var(--spacing-container);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.scroll-indicator .line {
    width: 50px;
    height: 1px;
    background-color: #fff;
}

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

/* Editorial Layouts */
.editorial-section {
    padding: var(--spacing-section) 0;
}

.container {
    padding: 0 var(--spacing-container);
    max-width: 1400px;
    margin: 0 auto;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.editorial-grid.reverse .editorial-text {
    order: -1;
}

.text-right {
    text-align: right;
}

.text-right .artist-list {
    justify-content: flex-end;
}

.text-right .price-tag {
    display: block;
    margin-bottom: 20px;
}

.text-right .text-link {
    display: inline-block;
}

.editorial-image {
    position: relative;
    overflow: hidden;
}

.editorial-image img {
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    backdrop-filter: blur(5px);
    display: flex;
    gap: 20px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    color: var(--secondary-text);
}

.quote-block {
    border-left: 1px solid var(--accent-color);
    padding-left: 30px;
    margin-top: 40px;
}

.quote-block blockquote {
    font-family: var(--font-subheading);
    font-size: 1.3rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 15px;
}

.quote-block cite {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.subtitle {
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin: 30px 0;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: var(--secondary-text);
}

.feature-list li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.artist-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.artist-list span {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent-color);
    font-size: 1.1rem;
    position: relative;
}

.artist-list span:not(:last-child)::after {
    content: '/';
    margin-left: 15px;
    color: #333;
    font-style: normal;
}

.context-text {
    margin-bottom: 30px;
    color: var(--secondary-text);
}

.editorial-media-wrapper {
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    background-color: transparent;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.caption {
    margin-top: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555;
    text-align: right;
}

.women-section .caption {
    text-align: left;
}

.text-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 5px;
    transition: color 0.3s;
}

.text-link:hover {
    color: var(--accent-color);
}

.price-tag {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 30px;
}

/* Gallery Button - Styled like text-link for consistency */
.gallery-btn {
    background: transparent;
    border: none;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 5px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s;
    margin: 20px 0;
    display: inline-block;
}

.lightbox {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    display: none; /* Ocultar por defecto */
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 85%;
    animation: zoom 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    object-fit: contain;
}

.lightbox-video {
    max-width: 90%;
    max-height: 90%;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 45px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-color);
    text-decoration: none;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1001;
    border-radius: 4px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(197, 164, 126, 0.6);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    z-index: 1001;
    font-family: var(--font-body);
}

/* Bio Section Extended Styles */
.bio-description {
    margin-bottom: 0; /* Removed default margin-bottom */
}

.bio-description p:last-child {
    margin-bottom: 0; /* Remove bottom margin from last paragraph */
}

.bio-description p {
    margin-bottom: 20px;
    color: var(--secondary-text);
    line-height: 1.8;
}

.editorial-subheading {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    margin-top: 80px;
    margin-bottom: 30px;
}

.bio-repertoire-intro {
    color: var(--secondary-text);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Bio Grid 2x2 - Now actually 3 rows */
.bio-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* grid-template-rows removed to allow auto rows */
    column-gap: 40px;
    row-gap: 0;
    margin-bottom: 60px;
}

/* DEBUG: Grid colors removed */
.bio-grid-item {
    position: relative;
}

.bio-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bio-text-top {
    padding: 20px;
}

.bio-text-bottom {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bio-image-top,
.bio-image-bottom {
    /* overflow: hidden; REMOVED to prevent hiding top part */
    min-height: 400px;
}

.bio-image-top {
    display: flex;
    align-items: center; /* Centrado vertical */
    justify-content: center;
    padding: 0; /* Sin padding */
}

.bio-image-bottom {
    display: flex;
    justify-content: center;
    align-items: center; /* Centrado vertical */
    padding: 0;
}

.bio-image-bottom img {
    width: auto;
    height: 80%;
    max-width: 100%;
    object-fit: contain;
    object-position: center; /* Centrado */
    margin: 0;
}

.bio-image-top img {
    width: 70%;
    height: auto;
    object-fit: contain;
}

/* Responsive Bio Grid */
@media (max-width: 768px) {
    .bio-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .bio-image-top,
    .bio-image-bottom {
        min-height: 300px;
    }
}

/* Bio Hero Title - Large & Dramatic */
.bio-hero-title-large {
    font-family: 'Playfair Display', serif;
    font-size: 7rem;
    font-weight: 900;
    line-height: 0.9;
    color: #fff;
    margin: 30px 0 20px;
    letter-spacing: -0.04em;
}

.bio-subtitle-elegant {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 30px 5px;
    letter-spacing: 0.02em;
}

/* Artistic Quote Block - Magazine Style */
.bio-quote-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Top aligned */
}

.bio-quote-artistic {
    /* margin-top: 60px; REMOVED since it's in its own grid item now */
    padding: 60px 40px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    text-align: right; /* Right aligned text */
}

.quote-mark-open,
.quote-mark-close {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    opacity: 0.6;
    line-height: 1;
    vertical-align: top;
}

.quote-mark-open {
    margin-right: 10px;
}

.quote-mark-close {
    margin-left: 10px;
}

.bio-quote-artistic blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    line-height: 1.3;
    color: #fff;
    font-weight: 600;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}

.bio-quote-artistic cite {
    display: block;
    margin-top: 25px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
    font-style: normal;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Responsive Typography */
@media (max-width: 1024px) {
    .bio-hero-title-large {
        font-size: 5rem;
    }
    
    .bio-subtitle-elegant {
        font-size: 1.6rem;
    }
    
    .bio-quote-artistic blockquote {
        font-size: 1.8rem;
    }
    
    .quote-mark-open,
    .quote-mark-close {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .bio-hero-title-large {
        font-size: 3.5rem;
    }
    
    .bio-subtitle-elegant {
        font-size: 1.4rem;
    }
    
    .bio-quote-artistic {
        padding: 40px 20px 30px;
    }
    
    .bio-quote-artistic blockquote {
        font-size: 1.5rem;
    }
    
    .quote-mark-open,
    .quote-mark-close {
        font-size: 2.5rem;
    }
}

/* Shows Section */
.bio-shows-section {
    margin-top: 80px;
}

.bio-shows-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.bio-show-card {
    background-color: rgb(15, 15, 15);
    border: 1px solid #222;
    padding: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.bio-show-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(197, 164, 126, 0.2);
}

.bio-show-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.bio-show-card:hover h4 {
    color: #fff;
}

.bio-show-card p {
    color: var(--secondary-text);
    line-height: 1.7;
}

/* Technical Section */
.bio-tech-section {
    margin-top: 80px;
}

.bio-tech-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
}

.bio-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.bio-tech-card {
    background-color: rgba(197, 164, 126, 0.05);
    border: 1px solid rgba(197, 164, 126, 0.2);
    padding: 30px;
}

.bio-tech-card h5 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.bio-tech-card p {
    color: var(--secondary-text);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Projects Section */
.bio-projects-section {
    margin-top: 80px;
    margin-bottom: 40px;
}

.bio-projects-section>p {
    color: var(--secondary-text);
    margin-bottom: 40px;
    line-height: 1.8;
}

.bio-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.bio-project-item {
    padding: 30px 0;
    border-top: 1px solid #222;
}

.bio-project-item h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.bio-project-item p {
    color: var(--secondary-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.bio-meta {
    text-align: center;
    color: var(--accent-color);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    padding-top: 40px;
    border-top: 1px solid #222;
}

/* Tech Section */
.tech-section {
    background-color: #111;
    padding: 80px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
}

.tech-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.tech-item p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-section) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-details {
    margin-top: 40px;
}

.contact-details p {
    margin-bottom: 10px;
}

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

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

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: transparent;
    border: 1px solid #333;
    padding: 15px;
    color: #fff;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    background-color: var(--accent-color);
    color: #000;
    border: none;
    padding: 15px 30px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: #fff;
}

/* Footer */
footer {
    padding: 50px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
}

.credits {
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Shows Intro Separator - Editorial Style */
.shows-intro-separator {
    padding: 120px 0;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
}

.shows-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 40px;
    font-weight: 500;
}

.intro-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.intro-divider {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
    margin: 0 auto;
}

/* Responsive Shows Intro */
@media (max-width: 768px) {
    .shows-intro-separator {
        padding: 80px 0;
    }
    
    .intro-quote {
        font-size: 2rem;
    }
    
    .intro-description {
        font-size: 1rem;
    }
}

/* Fiesta Section - Centered Vertical Layout */
.fiesta-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.fiesta-header {
    margin-bottom: 60px;
}

.fiesta-header .section-label {
    display: inline-block;
    margin-bottom: 20px;
}

.fiesta-header .editorial-heading {
    margin-bottom: 20px;
}

.fiesta-header .subtitle {
    font-size: 1.4rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.fiesta-video-wrapper {
    position: relative;
}

.fiesta-album-art {
    width: 100%;
    max-width: 294px;
    height: auto;
    display: block;
    margin: 0 auto;
    border: none;
}

.fiesta-info {
    margin-top: 60px;
}

.fiesta-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.fiesta-info .context-text {
    margin-bottom: 40px;
    text-align: center;
}

.fiesta-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.fiesta-cta .price-tag {
    margin: 0;
}

.fiesta-cta .text-link {
    margin: 0;
}

/* Responsive Fiesta */
@media (max-width: 768px) {
    .fiesta-header .subtitle {
        font-size: 1.2rem;
    }
    
    .fiesta-description {
        font-size: 1rem;
    }
    
    .fiesta-album-art {
        max-width: 100%;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .editorial-grid.reverse .editorial-text {
        order: 0;
    }

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

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 30px;
        height: 2px;
        background-color: #fff;
        margin-bottom: 6px;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .bio-shows-grid {
        grid-template-columns: 1fr;
    }

    .bio-tech-grid {
        grid-template-columns: 1fr;
    }

    .bio-projects-grid {
        grid-template-columns: 1fr;
    }
}
/* ===================================== */
/* CHAT WIDGET */
/* ===================================== */
#chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: var(--font-body);
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.chat-icon {
    width: 28px;
    height: 28px;
}

.chat-icon.hidden {
    display: none;
}

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    height: 550px;
    max-height: calc(100vh - 120px);
    background-color: var(--bg-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(197, 164, 126, 0.3);
}

.chat-window.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.chat-header {
    background-color: var(--accent-color);
    color: white;
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.chat-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.chat-close-btn:hover {
    transform: scale(1.2);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    align-items: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.bot {
    justify-content: flex-start;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 75%;
    word-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message-bubble strong {
    font-weight: 700;
}

.message-bubble em {
    font-style: italic;
}

/* ======================================== */
/* GALERÍAS DE PREVIEW */
/* ======================================== */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    width: 100%;
    margin-top: 1rem;
}

.gallery-item {
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chat-message.user .message-bubble {
    background-color: var(--accent-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.bot .message-bubble {
    background-color: rgba(197, 164, 126, 0.1);
    color: var(--text-color);
    border-bottom-left-radius: 4px;
}

.chat-input-container {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid rgba(197, 164, 126, 0.2);
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(197, 164, 126, 0.3);
    border-radius: 24px;
    background-color: transparent;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    border-color: var(--accent-color);
}

.chat-input::placeholder {
    color: var(--secondary-text);
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.2s ease;
}

.chat-send-btn:hover {
    transform: scale(1.1);
}

.chat-send-btn svg {
    width: 20px;
    height: 20px;
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-send-btn:disabled:hover {
    transform: scale(1);
}

/* Scrollbar del chat */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

/* Responsive Chat */
@media (max-width: 768px) {
    .chat-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
        right: 20px;
        bottom: 90px;
    }
    
    .message-bubble {
        max-width: 85%;
    }

    /* Galerías en móvil: 2 columnas */
    .media-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* Fiesta Section Side-by-Side Images */
.fiesta-images-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
}

.fiesta-image-side {
    width: 400px;
    height: 400px;
    object-fit: cover;
    display: block;
}

@media (max-width: 850px) {
    .fiesta-image-side {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 768px) {
    .fiesta-images-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .fiesta-image-side {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
}
