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

:root {
    --burgundy: #8B1F1F;
    --burgundy-light: #A63939;
    --cream: #F8F6F2;
    --cream-dark: #E8E4DC;
    --charcoal: #1A1716;
    --gold: #C4A052;
    --white: #FFFFFF;
    --gray-text: #4A4644;
}

body {
    font-family: 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(248, 246, 242, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 31, 31, 0.1);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    position: relative;
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(248, 246, 242, 0.70) 0%, rgba(248, 246, 242, 0.60) 100%);
    z-index: 1;
}

/* Hero background image */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
    animation: fadeInLeft 1s ease-out 0.3s backwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    font-family: 'EB Garamond', serif;
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
    padding-top: 4rem;
}

.hero h1 strong {
    font-weight: 700;
    color: var(--burgundy);
    display: block;
}

.hero p {
    font-size: 1.2rem;
    color: var(--charcoal);
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.cta-primary {
    display: inline-block;
    background: var(--burgundy);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(139, 31, 31, 0.2);
}

.cta-primary:hover {
    background: var(--burgundy-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 31, 31, 0.3);
}

/* Floating musical notes decoration */
.musical-notes {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 1;
}

.note {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    color: var(--burgundy);
    animation: float 6s ease-in-out infinite;
}

.note:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.note:nth-child(2) { top: 40%; left: 60%; animation-delay: 1s; }
.note:nth-child(3) { top: 70%; left: 30%; animation-delay: 2s; }
.note:nth-child(4) { top: 25%; left: 80%; animation-delay: 1.5s; }
.note:nth-child(5) { top: 85%; left: 70%; animation-delay: 0.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-family: 'EB Garamond', serif;
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--charcoal);
}

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

.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid rgba(139, 31, 31, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(139, 31, 31, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.service-card p {
    color: var(--charcoal);
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-text);
    font-size: 0.95rem;
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--burgundy);
    font-weight: bold;
}

/* Stats Section */
.stats {
    padding: 6rem 5%;
    background: var(--charcoal);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    animation: fadeIn 1s ease-out backwards;
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }

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

.stat-number {
    font-family: 'EB Garamond', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--burgundy);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

/* About Section */
.about {
    padding: 8rem 5%;
    background: var(--white);
    position: relative;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-family: 'EB Garamond', serif;
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
}

.about-text .highlight {
    color: var(--burgundy);
    font-weight: 600;
}

.about-features {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 1rem;
    margin-bottom: 0;
}

.about-image {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 31, 31, 0.15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
    background: var(--cream);
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 31, 31, 0.05), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Collage images */
.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.collage-img:hover {
    transform: scale(1.05);
    z-index: 2;
}

.collage-img-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.collage-img-2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.collage-img-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text h2 {
        font-size: 2.5rem;
    }

    .about-image {
        height: 400px;
        grid-template-rows: 2fr 1fr 1fr;
    }

    .collage-img-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .collage-img-2 {
        grid-column: 1 / 2;
        grid-row: 2 / 4;
    }

    .collage-img-3 {
        grid-column: 2 / 3;
        grid-row: 2 / 4;
    }
}

/* Process Section */
.process {
    padding: 8rem 5%;
    background: var(--cream);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold);
}

.process-steps {
    max-width: 900px;
    margin: 4rem auto 0;
}

.step {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.step-number {
    font-family: 'EB Garamond', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
    opacity: 0.3;
    min-width: 80px;
}

.step-content h3 {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.step-content p {
    color: var(--charcoal);
    opacity: 0.7;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 8rem 5%;
    background: linear-gradient(135deg, var(--burgundy) 0%, #6B1616 100%);
    color: var(--white);
    text-align: center;
}

.contact h2 {
    font-family: 'EB Garamond', serif;
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.contact p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--white);
    color: var(--burgundy);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
}

footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--cream);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0;
        padding: 1rem 0;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

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

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

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

    nav {
        padding: 1rem 5%;
    }

    .logo img {
        max-width: 120px;
    }

    /* Hero */
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 8rem 5% 4rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-bg img {
        object-position: center;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .musical-notes {
        display: none;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Services */
    .services {
        padding: 4rem 5%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.6rem;
    }

    /* Stats */
    .stats {
        padding: 4rem 5%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    /* About */
    .about {
        padding: 4rem 5%;
    }

    /* Process */
    .process {
        padding: 4rem 5%;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .step-number {
        font-size: 2.5rem;
        min-width: auto;
    }

    .step-content h3 {
        font-size: 1.6rem;
    }

    /* Contact */
    .contact {
        padding: 4rem 5%;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .contact p {
        font-size: 1.1rem;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .contact-btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }

    /* Footer */
    footer {
        padding: 2.5rem 5%;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Form responsive */
    .form-row-responsive {
        grid-template-columns: 1fr !important;
    }
}

/*CUSTOM*/
.text-center {
    text-align: center;
}
.tehackeo {
    background-color: white;
    margin-top: -28px;
    height: 40px;
    z-index: 1;
    position: relative;
}

.tehackeo-yutu {
    background-color: white;
    margin-top: -48px;
    height: 40px;
    z-index: 700000;
    position: relative;
}

.pt-0 {
    padding-top: 0  !important;
}

/*--------------Floating btn-------*/
.float {
    position: fixed;
    width: 47px;
    height: 47px;
    bottom: 65px;
    right: 23px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.float a {
    color: #ffffff !important;
}

.my-float {
    margin-top: 1px;
}

.tooltip {
    position: absolute;
    bottom: 120%;
    right: 0;
    background-color: #25d366;
    color: white !important;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 20%;
    border-width: 5px;
    border-style: solid;
    border-color: #25d366 transparent transparent transparent;
}

.float:hover .tooltip {
    opacity: 1;
    visibility: hidden;
    transform: translateY(0);
}

/* Hero Repertorio */
.hero-repertorio {
    padding: 10rem 5% 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
}

.hero-repertorio h1 {
    font-family: 'EB Garamond', serif;
    font-size: 4rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.hero-repertorio p {
    font-size: 1.3rem;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Progress Steps */
.progress-steps {
    max-width: 800px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cream-dark);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cream-dark);
    color: var(--gray-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: var(--burgundy);
    color: var(--white);
    transform: scale(1.2);
}

.step.completed .step-circle {
    background: var(--gold);
    color: var(--charcoal);
}

.step-label {
    font-size: 0.85rem;
    color: var(--gray-text);
    text-align: center;
}

/* Main Content */
.main-content {
    padding: 0 5% 5rem;
}

.repertorio-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Step Sections */
.step-section {
    display: none;
}

.step-section.active {
    display: block;
}

/* Ensemble Selection */
.ensemble-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.ensemble-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 3px solid var(--cream-dark);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ensemble-card:hover {
    border-color: var(--burgundy);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 31, 31, 0.15);
}

.ensemble-card.selected {
    border-color: var(--burgundy);
    background: rgba(139, 31, 31, 0.05);
}

.ensemble-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.ensemble-card h3 {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.ensemble-card p {
    color: var(--gray-text);
    font-size: 0.95rem;
}

/* Category Section */
.category-section {
    margin-bottom: 3rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--cream-dark);
}

.category-title {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    color: var(--burgundy);
}

.required-badge {
    background: var(--burgundy);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.song-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.song-card:hover {
    border-color: var(--burgundy);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 31, 31, 0.15);
}

.song-card.selected {
    border-color: var(--burgundy);
    background: rgba(139, 31, 31, 0.05);
}

.song-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--burgundy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.song-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.song-artist {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.song-actions {
    display: flex;
    gap: 0.5rem;
}

.play-btn {
    padding: 0.5rem 1rem;
    background: var(--cream-dark);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: var(--burgundy);
    color: var(--white);
}

.song-card.highlight {
    border: 2px solid var(--gold);
    background: linear-gradient(135deg, rgba(196, 160, 82, 0.05) 0%, var(--white) 100%);
}

/* Client Data Form Repertorio */
.client-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--cream-dark);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label.required::after {
    content: ' *';
    color: var(--burgundy);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--cream-dark);
    border-radius: 12px;
    font-family: 'Avenir', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    -webkit-appearance: none;
    appearance: none;
    min-height: 52px;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(139, 31, 31, 0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Image Preview (Hidden) */
#imagePreview {
    position: absolute;
    left: -9999px;
    width: 630px;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    padding: 3rem 2.5rem;
    font-family: 'Avenir', sans-serif;
}

.preview-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--burgundy);
}

.preview-logo {
    max-width: 180px;
    margin: 0 auto 1rem;
}

.preview-title {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    color: var(--burgundy);
    font-weight: 600;
}

.preview-section {
    margin-bottom: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--cream-dark);
}

.preview-section-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.4rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-data-row {
    display: flex;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.preview-data-label {
    font-weight: 600;
    color: var(--charcoal);
    min-width: 100px;
}

.preview-data-value {
    color: var(--gray-text);
}

.preview-song-item {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
}

.preview-song-moment {
    font-weight: 600;
    color: var(--burgundy);
    font-size: 0.9rem;
}

.preview-song-title {
    color: var(--charcoal);
    font-size: 0.95rem;
    margin-top: 0.2rem;
}

.preview-notes {
    background: var(--cream);
    padding: 1rem;
    border-radius: 10px;
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.preview-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 3px solid var(--burgundy);
    color: var(--gray-text);
    font-size: 0.9rem;
}

.preview-footer strong {
    color: var(--burgundy);
    font-size: 1.1rem;
}

.generate-btn {
    width: 100%;
    padding: 1.3rem;
    background: var(--burgundy);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.generate-btn:hover:not(:disabled) {
    background: var(--burgundy-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 31, 31, 0.3);
}

.generate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Mass Type Selection */
.mass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.mass-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid var(--cream-dark);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mass-card:hover,
.mass-card.selected {
    border-color: var(--burgundy);
    background: rgba(139, 31, 31, 0.05);
}

.mass-card h4 {
    font-family: 'EB Garamond', serif;
    font-size: 1.6rem;
    color: var(--charcoal);
    margin-bottom: 0.8rem;
}

.mass-card p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Selection Panel */
.selection-panel {
    position: sticky;
    top: 100px;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--burgundy);
    max-height: 80vh;
    overflow-y: auto;
}

.selection-panel h3 {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.summary-section {
    margin-bottom: 1.5rem;
}

.summary-label {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-value {
    background: var(--cream);
    padding: 0.8rem;
    border-radius: 8px;
    color: var(--gray-text);
    font-size: 0.95rem;
}

.selected-songs-list {
    list-style: none;
}

.selected-song-item {
    background: var(--cream);
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.selected-song-item strong {
    color: var(--burgundy);
}

/* Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--cream-dark);
}

.nav-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Avenir', sans-serif;
    font-size: 1rem;
}

.nav-btn-secondary {
    background: var(--cream-dark);
    color: var(--charcoal);
}

.nav-btn-secondary:hover {
    background: var(--cream);
}

.nav-btn-primary {
    background: var(--burgundy);
    color: var(--white);
}

.nav-btn-primary:hover {
    background: var(--burgundy-light);
    transform: translateY(-2px);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.send-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--burgundy);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.send-btn:hover {
    background: var(--burgundy-light);
    transform: translateY(-3px);
}

/* Mobile Repertorio */
@media (max-width: 968px) {
    .hero-repertorio h1 {
        font-size: 2.5rem;
    }

    .repertorio-container {
        grid-template-columns: 1fr;
    }

    .selection-panel {
        position: static;
        margin-top: 2rem;
    }

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

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

    .step-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .progress-steps {
        font-size: 0.8rem;
    }

    .step-label {
        font-size: 0.7rem;
    }
}

/* Article Header */
.article-header {
    padding: 10rem 5% 3rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    text-align: center;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--burgundy);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-title {
    font-family: 'EB Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta-header {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: var(--gray-text);
    margin-top: 2rem;
}

.article-meta-header span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Article Content */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 5% 6rem;
    background: var(--white);
}

.featured-image-article {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    opacity: 0.2;
}

.article-content h2 {
    font-family: 'EB Garamond', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
}

.article-content h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--burgundy);
    margin: 2.5rem 0 1rem;
}

.article-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.article-content strong {
    color: var(--burgundy);
    font-weight: 600;
}

.highlight-box {
    background: var(--cream);
    border-left: 4px solid var(--burgundy);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 10px;
}

.highlight-box p {
    margin: 0;
    font-style: italic;
    color: var(--gray-text);
}

.song-list {
    background: var(--white);
    border: 2px solid var(--cream-dark);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.song-list h4 {
    font-family: 'EB Garamond', serif;
    font-size: 1.4rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.song-list ul {
    list-style: none;
    padding-left: 0;
}

.song-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--cream-dark);
    font-size: 1.05rem;
}

.song-list li:last-child {
    border-bottom: none;
}

.song-list li:before {
    content: "♪ ";
    color: var(--burgundy);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 4rem 0;
}

.cta-box h3 {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: var(--white);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--white);
    color: var(--burgundy);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* CTA Box for Articles */
.cta-article {
      background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 4rem 0;
}

.article-container .cta-article h3 {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.article-container .article-content .cta-article p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: var(--white);
}

.table-of-contents h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.table-of-contents ul {
    list-style: none;
    padding-left: 0;
}

.table-of-contents li {
    padding: 0.5rem 0;
}

.table-of-contents a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: var(--burgundy);
}

/* FAQ Schema */
.faq-section {
    margin: 3rem 0;
}

.faq-item {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.faq-question {
    font-family: 'EB Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 0.8rem;
}

.faq-answer {
    color: var(--charcoal);
    line-height: 1.8;
}

/* Related Articles */
.related-articles {
    background: var(--cream);
    padding: 4rem 5%;
    margin-top: 5rem;
}

.related-articles h3 {
    font-family: 'EB Garamond', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--charcoal);
}

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

.related-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card h4 {
    font-family: 'EB Garamond', serif;
    font-size: 1.4rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.related-card p {
    font-size: 1rem;
    color: var(--gray-text);
    margin-bottom: 1rem;
}

.related-card a {
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 600;
}

.related-card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2.5rem;
    }

    .article-container {
        padding: 3rem 5%;
    }

    .article-content h2 {
        font-size: 1.8rem;
    }
}

/* Blog Page Styles */
/* Hero */
.hero-blog {
    padding: 10rem 5% 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
}

.hero-blog h1 {
    font-family: 'EB Garamond', serif;
    font-size: 4rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.hero-blog p {
    font-size: 1.3rem;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Container */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 5%;
}

/* Featured Article */
.featured-article {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 20px 60px rgba(139, 31, 31, 0.1);
    position: relative;
}

.featured-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(135deg, rgba(139, 31, 31, 0.3) 0%, rgba(166, 57, 57, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.featured-image {
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.3;
}

.featured-content {
    padding: 3rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray-text);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-content h2 {
    font-family: 'EB Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-excerpt {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.read-more {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--burgundy);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: var(--burgundy-light);
    transform: translateY(-2px);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.article-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 31, 31, 0.15);
    border-color: var(--burgundy);
}

.article-image {
    height: 220px;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
    position: relative;
}

/* Emoji icons with low opacity */
.article-image:not(:has(img)) {
    opacity: 0.3;
}

/* Images */
.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay burgundy for images */
.article-image:has(img)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 31, 31, 0.4) 0%, rgba(166, 57, 57, 0.3) 100%);
    pointer-events: none;
}

.article-content {
    padding: 2rem;
}

.article-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--burgundy);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-content h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content p {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.article-link {
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.article-link:hover {
    gap: 1rem;
}

/* Categories Filter */
.categories-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    justify-content: center;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--burgundy);
    background: transparent;
    color: var(--burgundy);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Avenir', sans-serif;
}

.category-btn:hover,
.category-btn.active {
    background: var(--burgundy);
    color: var(--white);
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
    padding: 4rem;
    border-radius: 20px;
    margin-top: 5rem;
    text-align: center;
    color: var(--white);
}

.newsletter h3 {
    font-family: 'EB Garamond', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Avenir', sans-serif;
}

.newsletter-form button {
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--burgundy);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Avenir', sans-serif;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   Contact Form (Index) - Fix for inline styled inputs
   ========================================================================== */
#contacto form input,
#contacto form select,
#contacto form textarea {
    min-height: 54px !important;
    height: 54px !important;
    font-size: 16px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
}

#contacto form textarea {
    height: auto !important;
    min-height: 100px !important;
}

#contacto form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A4644' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    padding-right: 2.5rem !important;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-blog h1 {
        font-size: 2.5rem;
    }

    .hero-blog p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-blog {
        padding: 8rem 5% 3rem;
    }

    .blog-container {
        padding: 3rem 5%;
    }

    .featured-image {
        height: 250px;
    }

    .featured-article::before {
        height: 250px;
    }

    .featured-content {
        padding: 2rem 1.5rem;
    }

    .featured-content h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .article-excerpt {
        font-size: 0.95rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-card h3 {
        font-size: 1.5rem;
    }

    .categories-filter {
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .category-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .newsletter {
        padding: 2rem 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter h3 {
        font-size: 1.8rem;
    }

    .newsletter p {
        font-size: 1rem;
    }

    .read-more {
        font-size: 0.95rem;
    }
}

/* ==========================================
   CATÁLOGO DE SERVICIOS
   ========================================== */

.catalogo {
    padding: 8rem 5%;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    position: relative;
}

.catalogo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}

/* Tabs de filtro */
.catalogo-tabs {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4rem;
}

.catalogo-tab {
    padding: 0.55rem 1.4rem;
    border: 1.5px solid rgba(139, 31, 31, 0.3);
    background: transparent;
    color: var(--gray-text);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.87rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
}

.catalogo-tab:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
    background: rgba(139, 31, 31, 0.05);
}

.catalogo-tab.active {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
    box-shadow: 0 4px 16px rgba(139, 31, 31, 0.28);
}

/* Grid de tarjetas */
.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta individual */
.catalogo-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(139, 31, 31, 0.1);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    animation: fadeInCard 0.4s ease forwards;
}

.catalogo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(139, 31, 31, 0.13);
    border-color: rgba(139, 31, 31, 0.22);
}

.catalogo-card.hidden {
    display: none;
}

/* Video embed */
.catalogo-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: var(--charcoal);
}

.catalogo-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Cuerpo de la tarjeta */
.catalogo-card-body {
    padding: 1.75rem;
}

.catalogo-tag {
    display: inline-block;
    background: rgba(139, 31, 31, 0.08);
    color: var(--burgundy);
    font-size: 0.74rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    padding: 0.28rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
    font-weight: 600;
}

.catalogo-card-body h4 {
    font-family: 'EB Garamond', serif;
    font-size: 1.45rem;
    color: var(--charcoal);
    margin-bottom: 0.45rem;
    font-weight: 600;
    line-height: 1.3;
}

.catalogo-card-body p {
    color: var(--gray-text);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.catalogo-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--burgundy);
    color: var(--white);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.87rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.catalogo-cta:hover {
    background: var(--burgundy-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 31, 31, 0.28);
}

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

/* Responsive catálogo */
@media (max-width: 768px) {
    .catalogo {
        padding: 5rem 5%;
    }

    .catalogo-tabs {
        gap: 0.45rem;
        margin-bottom: 2.5rem;
    }

    .catalogo-tab {
        font-size: 0.8rem;
        padding: 0.48rem 1rem;
    }

    .catalogo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

