/* ================================
   ESTILOS MODERNOS Y ELEGANTES V2
   Sistema de Diseño Premium para Iglesia
   ================================ */

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

:root {
    /* Premium Color Palette - MÁS VIBRANTE */
    --color-primary: #1e4d6b;
    --color-primary-light: #3a7ca5;
    --color-primary-dark: #0f2b3d;

    --color-accent: #d4af37;
    --color-accent-light: #f0d478;
    --color-accent-dark: #b8941f;

    --color-white: #FFFFFF;
    --color-off-white: #fafbfc;
    --color-light: #f7f9fb;
    --color-gray-100: #e5eaf0;
    --color-gray-200: #d0dae6;
    --color-gray-300: #9fb3c8;
    --color-gray-700: #3d4e5c;
    --color-gray-900: #1f2937;

    /* Professional Shadows */
    --shadow-xs: 0 1px 3px rgba(26, 58, 82, 0.05);
    --shadow-sm: 0 2px 8px rgba(26, 58, 82, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 58, 82, 0.1);
    --shadow-lg: 0 8px 32px rgba(26, 58, 82, 0.12);
    --shadow-xl: 0 16px 48px rgba(26, 58, 82, 0.15);
    --shadow-2xl: 0 24px 64px rgba(26, 58, 82, 0.18);

    --shadow-accent: 0 8px 24px rgba(201, 169, 97, 0.25);

    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', -apple-system, sans-serif;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--color-gray-900);
    background: linear-gradient(to bottom, #fafbfc 0%, #f0f4f8 100%);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--color-gray-100);
    z-index: 1000;
    transition: all var(--transition-base);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--color-accent);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.logo-left img,
.logo-right img {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-base);
    filter: drop-shadow(var(--shadow-xs));
}

.logo-left img:hover,
.logo-right img:hover {
    transform: scale(1.05);
}

.main-nav {
    flex: 1;
}

.main-nav>ul {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
}

.main-nav>ul>li {
    position: relative;
}

.main-nav>ul>li>a {
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-base);
    text-transform: uppercase;
    display: block;
}

.main-nav>ul>li>a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transition: transform var(--transition-base);
    transform-origin: center;
}

.main-nav>ul>li>a:hover {
    color: var(--color-accent);
}

.main-nav>ul>li>a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Submenu */
.submenu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    list-style: none;
    padding: var(--space-sm) 0;
    min-width: 240px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--color-gray-100);
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 0.5rem);
}

.submenu a {
    display: block;
    padding: var(--space-md) var(--space-lg);
    font-size: 0.875rem;
    color: var(--color-gray-700);
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
}

.submenu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.submenu a:hover {
    background: var(--color-light);
    color: var(--color-accent);
    padding-left: calc(var(--space-lg) + 8px);
}

.submenu a:hover::before {
    transform: scaleY(1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 2.5px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

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

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    animation: float 25s ease-in-out infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
    top: -10%;
    left: -5%;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-primary));
    bottom: -10%;
    right: -5%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 2;
    opacity: 0.15;
}

.hero-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(26, 58, 82, 0.7) 0%,
            rgba(26, 58, 82, 0.85) 50%,
            rgba(13, 31, 45, 0.9) 100%);
    z-index: 3;
}

.floating-notes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.note {
    position: absolute;
    font-size: 2rem;
    color: var(--color-accent);
    opacity: 0;
    animation: floatNote 18s ease-in-out infinite;
}

.note-1 {
    left: 10%;
    animation-delay: 0s;
}

.note-2 {
    left: 30%;
    animation-delay: 4s;
}

.note-3 {
    left: 50%;
    animation-delay: 8s;
}

.note-4 {
    left: 70%;
    animation-delay: 12s;
}

.note-5 {
    left: 90%;
    animation-delay: 16s;
}

@keyframes floatNote {
    0% {
        bottom: -50px;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }

    10% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.9;
        transform: translateX(40px) rotate(180deg);
    }

    90% {
        opacity: 0.4;
    }

    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(-20px) rotate(360deg);
    }
}

.hero-content-modern {
    position: relative;
    z-index: 10;
    max-width: 1100px;
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(201, 169, 97, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(201, 169, 97, 0.3);
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-2xl);
    animation: fadeInDown 1s ease 0.2s backwards;
}

.badge-icon {
    font-size: 1.75rem;
    animation: pulse 2.5s ease-in-out infinite;
}

.badge-text {
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero-title-modern {
    margin-bottom: var(--space-xl);
}

.title-line {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    animation: fadeInUp 1s ease 0.4s backwards;
    display: block;
    margin-bottom: var(--space-sm);
}

.title-highlight {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg,
            var(--color-accent-light) 0%,
            var(--color-accent) 50%,
            #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease 0.6s backwards;
    display: block;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
    animation: fadeIn 1s ease 0.8s backwards;
}

.hero-divider::before,
.hero-divider::after {
    content: '';
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.5), transparent);
}

.divider-icon {
    font-size: 1.25rem;
    color: var(--color-accent);
    opacity: 0.8;
}

.hero-subtitle-modern {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.03em;
    animation: fadeInUp 1s ease 1s backwards;
}

.hero-church {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 1s ease 1.1s backwards;
}

.hero-verse {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
    line-height: 1.8;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    animation: fadeInUp 1s ease 1.2s backwards;
}

.verse-reference {
    display: block;
    margin-top: var(--space-md);
    font-size: 1rem;
    color: var(--color-accent-light);
    font-weight: 600;
    font-style: normal;
}

.hero-cta {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 1s ease 1.4s backwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: 2px solid transparent;
}

.primary-cta {
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    color: white;
    box-shadow: var(--shadow-accent);
}

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(201, 169, 97, 0.4);
}

.secondary-cta {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.secondary-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: fadeIn 1s ease 1.6s backwards;
}

.scroll-mouse {
    width: 28px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 20px;
        opacity: 0.5;
    }

    100% {
        top: 32px;
        opacity: 0;
    }
}

.scroll-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

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

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

.content-section {
    padding: var(--space-3xl) var(--space-xl);
    position: relative;
}

.content-section.alt-bg {
    background: linear-gradient(to bottom, #f7f9fb 0%, #eef3f8 100%);
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: var(--space-3xl);
    position: relative;
    padding-bottom: var(--space-lg);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.content-text {
    max-width: 900px;
    margin: 0 auto var(--space-2xl);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-gray-700);
}

.content-text p {
    margin-bottom: var(--space-lg);
}

.scripture {
    font-family: var(--font-display);
    font-size: 1.15rem;
    text-align: center;
    color: var(--color-gray-700);
    padding: var(--space-xl);
    background: rgba(201, 169, 97, 0.05);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
}

/* ================================
   IMAGE GALLERY
   ================================ */

.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.gallery-image {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.gallery-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--color-gray-200), var(--color-gray-300));
    transition: filter var(--transition-base);
}

.hover-color:hover .image-placeholder {
    filter: grayscale(0%);
}

/* ================================
   INTEGRANTES - DISEÑO ELEGANTE EN GRID
   ================================ */

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.member-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
    transition: all var(--transition-base);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.member-section:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

/* Header de la sección con gradiente */
.member-section-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    padding: var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.member-section-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.member-section-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    display: block;
}

.member-section-title h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.member-section-title .count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Lista de miembros estilo vertical limpio */
.members-list {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1;
    max-height: 350px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) var(--color-gray-100);
}

/* Scrollbar estilizado para webkit browsers */
.members-list::-webkit-scrollbar {
    width: 6px;
}

.members-list::-webkit-scrollbar-track {
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
}

.members-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-accent), var(--color-accent-dark));
    border-radius: var(--radius-full);
}

.members-list::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-dark);
}

.member-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: default;
    background: transparent;
    border: 1px solid transparent;
}

.member-item:hover {
    background: var(--color-light);
    border-color: var(--color-gray-100);
    transform: translateX(4px);
}

.member-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border: 2px solid var(--color-light);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-base);
}

.member-avatar::after {
    content: '♪';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem;
    opacity: 0.4;
    color: white;
}

.member-avatar[style*="background-image"]::after {
    display: none;
}

.member-initials {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-display);
    z-index: 10;
}

.member-item:hover .member-avatar {
    transform: scale(1.15);
    box-shadow: var(--shadow-sm);
}

.member-info {
    flex: 1;
}

.member-info h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.4;
}

/* Colores por sección - MÁS VIBRANTES */
.member-section[data-section="Director"] .member-section-header {
    background: linear-gradient(135deg, #d4af37, #f0d478);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.member-section[data-section="Subdirector"] .member-section-header {
    background: linear-gradient(135deg, #1e4d6b, #3a7ca5);
    box-shadow: 0 4px 20px rgba(58, 124, 165, 0.3);
}

.member-section[data-section="Director Alabanza"] .member-section-header {
    background: linear-gradient(135deg, #3a7ca5, #5b9ec8);
    box-shadow: 0 4px 20px rgba(58, 124, 165, 0.3);
}

.member-section[data-section="Piano"] .member-section-header {
    background: linear-gradient(135deg, #4a90b8, #6bb6d9);
    box-shadow: 0 4px 20px rgba(74, 144, 184, 0.3);
}

.member-section[data-section="String"] .member-section-header,
.member-section[data-section="Bass"] .member-section-header {
    background: linear-gradient(135deg, #b8941f, #d4af37);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.member-section[data-section="Drums"] .member-section-header {
    background: linear-gradient(135deg, #1e4d6b, #d4af37);
    box-shadow: 0 4px 20px rgba(30, 77, 107, 0.3);
}

.member-section[data-section="Guit. Eléctrica"] .member-section-header,
.member-section[data-section="Guit. Acústica"] .member-section-header {
    background: linear-gradient(135deg, #2a5f85, #1e4d6b);
    box-shadow: 0 4px 20px rgba(30, 77, 107, 0.3);
}

.member-section[data-section="Vocalista"] .member-section-header {
    background: linear-gradient(135deg, #d4af37, #3a7ca5);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* Variaciones de color para avatares */
.member-item:nth-child(6n+1) .member-avatar {
    background: linear-gradient(135deg, #1a3a52, #2c5f7f);
}

.member-item:nth-child(6n+2) .member-avatar {
    background: linear-gradient(135deg, #c9a961, #a58940);
}

.member-item:nth-child(6n+3) .member-avatar {
    background: linear-gradient(135deg, #2c5f7f, #1a3a52);
}

.member-item:nth-child(6n+4) .member-avatar {
    background: linear-gradient(135deg, #a58940, #c9a961);
}

.member-item:nth-child(6n+5) .member-avatar {
    background: linear-gradient(135deg, #1a3a52, #c9a961);
}

.member-item:nth-child(6n+6) .member-avatar {
    background: linear-gradient(135deg, #2c5f7f, #a58940);
}

/* ================================
   BUTTONS
   ================================ */

.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 169, 97, 0.35);
}

.button-group {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    margin: var(--space-xl) 0;
    flex-wrap: wrap;
}

/* ================================
   ORGANIGRAMA - DISEÑO LIMPIO Y ALINEADO
   ================================ */

.org-chart {
    margin-top: var(--space-2xl);
    position: relative;
}

.org-level {
    margin-bottom: var(--space-3xl);
    position: relative;
}

/* Línea conectora sutil */
.org-level::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 1.5rem;
    background: linear-gradient(to bottom, rgba(201, 169, 97, 0.3), transparent);
}

.org-level:last-child::after {
    display: none;
}

.level-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: var(--space-2xl);
    position: relative;
    padding-bottom: var(--space-md);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.level-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    border-radius: var(--radius-sm);
}

.org-row {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: var(--space-2xl);
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.org-box {
    background: white;
    padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--color-gray-100);
    position: relative;
    min-width: 300px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(20px);
}

.org-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.org-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

/* Badge flotante en la parte superior */
.org-role-badge {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.org-box.director .org-role-badge {
    background: linear-gradient(135deg, #d4af37, #f0d478);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.org-box.subdirector .org-role-badge {
    background: linear-gradient(135deg, #1e4d6b, #3a7ca5);
    box-shadow: 0 8px 30px rgba(58, 124, 165, 0.4);
}

.org-box.group .org-role-badge {
    background: linear-gradient(135deg, #3a7ca5, #d4af37);
    box-shadow: 0 8px 30px rgba(58, 124, 165, 0.4);
}

.org-box h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-top: var(--space-md);
    margin-bottom: var(--space-lg);
    font-weight: 700;
    line-height: 1.4;
}

.org-box p {
    color: var(--color-gray-700);
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Instruments Grid */
.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* Forzar máximo 4 columnas en pantallas grandes */
@media (min-width: 1200px) {
    .instruments-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 3 columnas en tablets */
@media (min-width: 768px) and (max-width: 1199px) {
    .instruments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.instrument-section {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border-left: 4px solid var(--color-accent);
    border: 1px solid var(--color-gray-100);
}

.instrument-section:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-primary);
}

.instrument-section h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: var(--space-md);
}

.instrument-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

.instrument-section h4::before {
    content: '';
    display: block;
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.instrument-section:nth-child(1) h4::before {
    content: '🎹';
}

.instrument-section:nth-child(2) h4::before {
    content: '🎻';
}

.instrument-section:nth-child(3) h4::before {
    content: '🎸';
}

.instrument-section:nth-child(4) h4::before {
    content: '🥁';
}

.instrument-section:nth-child(5) h4::before {
    content: '🎸';
}

.instrument-section:nth-child(6) h4::before {
    content: '🎸';
}

.instrument-section:nth-child(7) h4::before {
    content: '🎤';
}

.instrument-section ul {
    list-style: none;
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) var(--color-gray-100);
}

/* Scrollbar estilizado para webkit browsers */
.instrument-section ul::-webkit-scrollbar {
    width: 5px;
}

.instrument-section ul::-webkit-scrollbar-track {
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
}

.instrument-section ul::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-accent), var(--color-accent-dark));
    border-radius: var(--radius-full);
}

.instrument-section ul::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-dark);
}

.instrument-section li {
    padding: var(--space-sm) var(--space-md);
    color: var(--color-gray-700);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--color-gray-100);
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-xs);
}

.instrument-section li:hover {
    background: var(--color-light);
    padding-left: var(--space-lg);
    color: var(--color-primary);
}

.instrument-section li:last-child {
    border-bottom: none;
}

/* ================================
   GROUPS CARDS
   ================================ */

.groups-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.group-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border-top: 4px solid var(--color-accent);
    border: 1px solid var(--color-gray-100);
}

.group-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.group-card h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-gray-100);
}

.group-list {
    list-style: none;
}

.group-list li {
    padding: var(--space-md) 0;
    font-size: 0.95rem;
    color: var(--color-gray-700);
    border-bottom: 1px solid var(--color-gray-100);
}

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

.group-list strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* ================================
   TABLES - PARTICIPATION
   ================================ */

.month-title {
    font-family: var(--font-display);
    font-size: 2rem;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table-container {
    overflow-x: auto;
    margin: var(--space-xl) 0;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--color-gray-100);
}

.participation-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.participation-table thead {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: white;
}

.participation-table th {
    padding: var(--space-lg) var(--space-lg);
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
    text-transform: uppercase;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.participation-table th:last-child {
    border-right: none;
}

.participation-table td {
    padding: var(--space-lg) var(--space-lg);
    border-bottom: 1px solid var(--color-gray-100);
    color: var(--color-gray-700);
    font-size: 0.95rem;
}

.participation-table tbody tr {
    transition: all var(--transition-fast);
    background: white;
}

.participation-table tbody tr:nth-child(even) {
    background: var(--color-light);
}

.participation-table tbody tr:hover {
    background: rgba(201, 169, 97, 0.08);
    transform: scale(1.005);
    box-shadow: inset 4px 0 0 0 var(--color-accent);
}

/* ================================
   SEARCH & SONGS
   ================================ */

.search-header {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--color-gray-100);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all var(--transition-base);
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(201, 169, 97, 0.15);
    transform: translateY(-1px);
}

.songs-container,
.partituras-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
}

.songs-list,
.partituras-list {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid var(--color-gray-100);
}

.songs-list ul,
.partituras-list ul {
    list-style: none;
}

.song-link,
.partitura-link {
    display: block;
    padding: var(--space-md);
    color: var(--color-gray-700);
    border-bottom: 1px solid var(--color-gray-100);
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-xs);
}

.song-link:hover,
.partitura-link:hover {
    background: var(--color-light);
    color: var(--color-primary);
    padding-left: var(--space-lg);
}

.song-link.active,
.partitura-link.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    font-weight: 600;
}

.song-preview {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-accent);
    border: 1px solid var(--color-gray-100);
}

.song-preview h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

/* ================================
   FOOTER
   ================================ */

.main-footer {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: white;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    margin-top: var(--space-3xl);
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.main-footer p {
    margin-bottom: var(--space-sm);
    opacity: 0.9;
    line-height: 1.6;
}

.main-footer p:last-child {
    font-style: italic;
    font-size: 0.9rem;
}

/* ================================
   MODALS
   ================================ */

.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 58, 82, 0.5);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.custom-modal.show {
    opacity: 1;
}

.custom-modal-content {
    background: white;
    width: 90%;
    max-width: 900px;
    height: 85vh;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform var(--transition-slow);
    border: 1px solid var(--color-gray-100);
}

.custom-modal.show .custom-modal-content {
    transform: translateY(0);
}

.custom-modal-header {
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--color-gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.custom-modal-header h3 {
    font-family: var(--font-display);
    color: white;
    margin: 0;
    font-size: 1.35rem;
}

.close-modal-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.custom-modal-body {
    flex: 1;
    overflow: hidden;
    background: var(--color-light);
}

.custom-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.custom-modal-footer {
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--color-gray-100);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
    background: white;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* ================================
   SCROLL ANIMATIONS
   ================================ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   CURSOR FOLLOWER
   ================================ */

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    font-size: 1.5rem;
    color: var(--color-accent);
    opacity: 0.3;
    pointer-events: none;
    z-index: 9999;
    transition: opacity var(--transition-fast);
}

/* ================================
   ADDITIONAL BUTTON STYLES
   ================================ */

/* Soft Button */
.btn-soft {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(26, 58, 82, 0.05);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-soft:hover {
    background: rgba(26, 58, 82, 0.1);
    transform: translateY(-2px);
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-soft i {
    font-size: 1rem;
}

/* Text Button */
.btn-text {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-accent);
    border: none;
    cursor: pointer;
}

.btn-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.35);
}

/* Download Buttons (Desktop & Mobile) */
.btn-download-desktop,
.btn-download-mobile {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    color: white;
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: var(--shadow-accent);
    transition: all var(--transition-base);
}

.btn-download-desktop:hover,
.btn-download-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.4);
}

.btn-download-mobile-wrapper {
    display: none;
    text-align: center;
    margin-top: var(--space-xl);
}

.btn-download-mobile {
    margin: 0 auto;
}

/* Desktop: show header button, hide mobile button */
@media (min-width: 769px) {
    .btn-download-desktop {
        display: inline-flex;
    }

    .btn-download-mobile-wrapper {
        display: none !important;
    }
}

/* Mobile: hide header button, show mobile button */
@media (max-width: 768px) {
    .btn-download-desktop {
        display: none !important;
    }

    .btn-download-mobile-wrapper {
        display: block;
    }
}

/* ================================
   AUDIO PLAYER STYLES
   ================================ */

.audio-clean {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    margin-bottom: var(--space-xl);
}

.audio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.audio-title {
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.audio-actions a {
    color: var(--color-gray-300);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.audio-actions a:hover {
    color: #28a745;
}

/* ================================
   UTILITY CLASSES
   ================================ */

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

.mt-1 {
    margin-top: var(--space-md);
}

.mt-2 {
    margin-top: var(--space-xl);
}

.mt-3 {
    margin-top: var(--space-2xl);
}

.mb-1 {
    margin-bottom: var(--space-md);
}

.mb-2 {
    margin-bottom: var(--space-xl);
}

.mb-3 {
    margin-bottom: var(--space-2xl);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {

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

    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .org-row {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {

    /* Mobile Menu */
    .menu-toggle {
        display: flex;
        order: 3;
    }

    .logo-right {
        display: none;
    }

    .logo-left {
        order: 1;
    }

    .header-container {
        padding: var(--space-md) var(--space-lg);
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: white;
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-slow);
        overflow-y: auto;
        padding-top: 100px;
        z-index: 1000;
    }

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

    .main-nav>ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--space-lg) 0;
    }

    .main-nav>ul>li {
        border-bottom: 1px solid var(--color-gray-100);
    }

    .main-nav>ul>li>a {
        display: block;
        padding: var(--space-lg) var(--space-xl);
        font-size: 1rem;
    }

    .main-nav>ul>li>a::after {
        display: none;
    }

    .submenu {
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        border-left: 3px solid var(--color-accent);
        background: var(--color-light);
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height var(--transition-slow);
    }

    .has-submenu.active .submenu {
        max-height: 600px;
    }

    .submenu a {
        padding: var(--space-md) var(--space-2xl) var(--space-md) var(--space-3xl);
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-base);
    }

    body.menu-open::before {
        opacity: 1;
        pointer-events: all;
    }

    /* Hero Responsive */
    .title-line {
        font-size: 1.75rem;
    }

    .title-highlight {
        font-size: 3rem;
    }

    .hero-subtitle-modern {
        font-size: 1.75rem;
    }

    .hero-church {
        font-size: 1rem;
    }

    .hero-verse {
        font-size: 1.05rem;
        padding: var(--space-lg);
    }

    .hero-cta {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .logo-left img {
        height: 45px;
    }

    .title-line {
        font-size: 1.5rem;
    }

    .title-highlight {
        font-size: 2.5rem;
    }

    .hero-subtitle-modern {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-section {
        padding: var(--space-2xl) var(--space-lg);
    }

    .members-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .member-card {
        padding: var(--space-md) var(--space-lg);
    }

    .member-photo {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .member-card h3 {
        font-size: 1rem;
    }

    .member-card p {
        font-size: 0.8rem;
    }

    .group-card,
    .org-box {
        padding: var(--space-lg);
    }

    .participation-table th,
    .participation-table td {
        font-size: 0.8rem;
        padding: var(--space-sm) var(--space-md);
    }

    .org-row {
        grid-template-columns: 1fr;
    }
}

/* ================================
   NUEVOS ESTILOS: EVENTO ESPECIAL
   ================================ */
.evento-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    width: fit-content;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.is-special-event td {
    background-color: rgba(212, 175, 55, 0.05) !important;
}