/* Variables de diseño */
:root {
    /* Marca */
    --brand-500: #764ba2;
    --brand-400: #667eea;
    --brand-450: #7a1fb8;
    --brand-600: #5a3f91;

    /* Gradientes */
    --grad-primary-start: var(--brand-400);
    --grad-primary-end: var(--brand-500);

    /* Texto y neutros */
    --text-900: #2c3e50;
    --text-800: #34495e;
    --surface-0: #ffffff;
    --surface-50: #f8f9fa;
    --surface-100: #e9ecef;
    --border-200: #dddddd;

    /* Tipografía - aumentada 25% */
    --fs-h1: clamp(2.5rem, 6.25vw, 5rem);
    --fs-h2: clamp(2rem, 4vw, 3.5rem);
    --fs-h3: clamp(1.5rem, 2.75vw, 2.25rem);
    --fs-body: clamp(1.25rem, 1.5vw, 1.4rem);
}

/* Navegación suave */
html {
    scroll-behavior: smooth;
}

/* Indicador de navegación vertical (Notch) - Visible desde el inicio */
.page-navigator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 15px 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: slideInRight 1s ease-out 0.5s both, pulse 3s ease-in-out 2s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
    }
}

.page-navigator:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.05);
}

.nav-indicator {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    animation: dotPulse 4s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 90%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    45% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.nav-dot:nth-child(2) { animation-delay: 0.5s; }
.nav-dot:nth-child(3) { animation-delay: 1s; }
.nav-dot:nth-child(4) { animation-delay: 1.5s; }

.nav-dot:hover {
    background: var(--brand-400);
    transform: scale(1.3);
    border-color: var(--brand-500);
    animation: none;
}

.nav-dot.active {
    background: var(--brand-400);
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.4);
    border-color: var(--brand-500);
    animation: none;
}

/* Tooltip para mostrar el nombre de la sección */
.nav-dot::after {
    content: attr(title);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(138, 43, 226, 0.95);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.nav-dot:hover::after {
    opacity: 1;
    visibility: visible;
    right: 30px;
}

/* Flecha del tooltip */
.nav-dot:hover .nav-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}

/* Línea conectora entre puntos */
.nav-connector {
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, 
        var(--brand-400) 0%, 
        #ddd  50%, 
        #ddd 100%);
    transform: translateX(-50%);
    border-radius: 1px;
    transition: all 0.6s ease;
}

/* Responsive: mantener visible en tablets, ocultar solo en móviles pequeños */
@media (max-width: 600px) {
    .page-navigator {
        display: none;
    }
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    margin: 0;
    color: var(--text-900);
    background-color: var(--surface-50);
    line-height: 1.6;
}

/* Contenedor principal para centrar contenido */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header y navegación */
header {
    background-color: var(--surface-0);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Toggle de menú móvil */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid #8a2be2;
    color: #8a2be2;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

nav .logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8a2be2;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #8a2be2;
}

/* Enlace para saltar contenido (accesibilidad) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 10000;
    border-radius: 4px;
}
.skip-link:focus {
    top: 10px;
}

/* Banner principal / Hero Section */
.hero {
    background: linear-gradient(135deg, var(--grad-primary-start) 0%, var(--grad-primary-end) 100%);
    color: white;
    text-align: center;
    padding: 6rem 2rem 4rem; /* Reducido de 8rem a 6rem */
    position: relative;
    overflow: hidden;
    min-height: 45vh; /* Reducido de 60vh a 45vh */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Indicación visual para scroll */
.hero::after {
    content: '⬇️ Descubre más abajo ⬇️';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-text h1 {
    font-size: var(--fs-h1);
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: -1px;
    color: #fff;
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: #fff;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mapa de contenido en el hero */
.page-map {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 0.5s both;
    position: relative;
    z-index: 5;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-map h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.map-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.map-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 120px;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.map-link:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.map-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.map-text {
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero a,
.hero h2,
.hero h3,
.hero h4 {
    color: #fff;
}

.hero .btn.btn-secondary:hover {
    color: var(--brand-400);
}

.btn {
    background: linear-gradient(45deg, var(--grad-primary-start), var(--grad-primary-end));
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: inline-block;
    margin: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-primary {
    background: linear-gradient(45deg, var(--grad-primary-start), var(--grad-primary-end));
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--brand-400);
    border-color: white;
}

.btn-small {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    margin: 0.3rem;
}

/* Secciones principales */
main section {
    padding: 5rem 0;
}

/* Sección de introducción */
.intro {
    background: var(--surface-0);
    text-align: center;
}

.intro h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--brand-400);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 3rem 0;
    text-align: left;
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.intro-image {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-image .placeholder-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.intro-image .placeholder-image:hover {
    transform: scale(1.05);
}

/* Sección de próximas actividades */
.upcoming-events {
    background: linear-gradient(135deg, var(--surface-50) 0%, var(--surface-100) 100%);
}

.upcoming-events h2 {
    text-align: center;
    color: var(--text-900);
    margin-bottom: 3rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-highlight {
    background: var(--surface-0);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--brand-400);
}

.event-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.event-highlight h3 {
    color: var(--text-900);
    margin-bottom: 1rem;
}

.event-date {
    font-weight: bold;
    color: var(--brand-400);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.calendar-link {
    text-align: center;
    margin-top: 3rem;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--brand-400) 0%, var(--brand-500) 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 4rem;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Estilos específicos para el equipo */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member .team-photo {
    width: 100%;
    max-width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--brand-400);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-member h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.team-member .event-date {
    font-weight: bold;
    color: var(--brand-400);
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Títulos con jerarquía visual mejorada */
h1 {
    font-size: var(--fs-h1);
    font-weight: 900;
    color: var(--text-900);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--grad-primary-start), var(--grad-primary-end));
    border-radius: 2px;
}

h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--brand-400);
    margin: 3rem 0 2rem 0;
    text-align: center;
    position: relative;
}

h2::before {
    content: '●';
    color: #764ba2;
    margin-right: 0.5rem;
    font-size: 1rem;
}

h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--text-900);
    margin-bottom: 1rem;
    text-align: left;
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--brand-400);
    margin-bottom: 0.8rem;
}

/* Párrafos con mejor legibilidad - tamaño aumentado */
p {
    font-size: var(--fs-body);
    line-height: 1.8;
    color: var(--text-800);
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Texto en hero con tamaño aumentado */
.hero-text p {
    font-size: 1.75rem; /* Aumentado de 1.4rem */
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: #fff;
    line-height: 1.6;
}

/* Texto en secciones intro con tamaño aumentado */
.intro-text p {
    font-size: 1.5rem; /* Aumentado de 1.2rem */
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Texto en tarjetas con tamaño aumentado */
.event-card p, .event-highlight p {
    font-size: 1.125rem; /* Base aumentada */
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Fecha de eventos más prominente */
.event-date {
    font-weight: bold;
    color: var(--brand-400);
    font-size: 1.375rem; /* Aumentado de 1.1rem */
    margin-bottom: 1rem;
}

/* CTA section con texto más grande */
.cta-section p {
    font-size: 1.5rem; /* Aumentado de 1.2rem */
    margin-bottom: 2rem;
    opacity: 0.9;
}

.intro {
    text-align: center;
    background: var(--surface-0);
    padding: 4rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.intro h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--brand-400);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 2rem 0;
    text-align: left;
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.intro-image {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Calendario de inicio - mejor posicionamiento */
.home-calendar {
    background: var(--surface-0);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 3rem auto 0;
    max-width: 600px;
    text-align: left;
    border-left: 4px solid var(--brand-400);
}

.home-calendar h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--brand-400);
    text-align: center;
    font-size: 1.5rem;
}

.home-calendar ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.home-calendar li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--surface-100);
    transition: background-color 0.2s ease;
}

.home-calendar li:hover {
    background-color: var(--surface-50);
    border-radius: 8px;
    padding-left: 1rem;
    margin: 0 -1rem;
}

.home-calendar li:last-child {
    border-bottom: none;
}

.home-calendar a {
    color: var(--brand-500);
    text-decoration: none;
    font-weight: 500;
}

.home-calendar a:hover {
    text-decoration: underline;
    color: var(--brand-600);
}

.home-calendar .btn {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

.featured-events {
    background: var(--surface-0);
    padding: 5rem 0;
}

.featured-events h2 {
    color: var(--text-900);
    margin-bottom: 3rem;
    text-align: center;
}

.event-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.event-card {
    background: var(--surface-50);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 5px solid var(--brand-400);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, var(--grad-primary-start), var(--grad-primary-end));
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.event-card h3 {
    color: var(--text-900);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    text-align: left;
}

.event-card p {
    color: var(--text-800);
    text-align: left;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.event-card strong {
    color: var(--brand-400);
    font-weight: 600;
}

footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 1rem 2rem;
    text-align: center;
}

/* Estilos específicos para proyectos */
.content {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-hero {
    margin: 3rem 0;
    text-align: center;
}

.project-main-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.project-main-image:hover {
    transform: scale(1.02);
}

.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.project-card {
    background: var(--surface-0);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--brand-400);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.project-card h3 {
    color: var(--text-900);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.project-card p {
    color: var(--text-800);
    line-height: 1.7;
    text-align: left;
}

.project-card strong {
    color: var(--brand-400);
    font-weight: 600;
}

.project-card ul {
    text-align: left;
    padding-left: 1.5rem;
}

.project-card li {
    margin-bottom: 0.8rem;
    color: #34495e;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Imagen en tarjetas de eventos (consistencia visual) */
.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Sección de alianzas */
.alliance-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin: 2rem auto;
    display: block;
}

.alliance-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.alliance-group {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.alliance-group h4 {
    color: var(--brand-400);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.alliance-group ul {
    list-style: none;
    padding: 0;
}

.alliance-group li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--surface-100);
    color: var(--text-800);
}

.alliance-group li:last-child {
    border-bottom: none;
}

/* Responsivo mejorado */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .menu-toggle {
        display: inline-block;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        display: none;
    }

    nav ul.active {
        display: flex;
    }

    .hero {
        padding: 4rem 1rem 3rem; /* Ajustado para móvil */
        min-height: 35vh; /* Reducido para móvil */
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Mapa de contenido responsive */
    .page-map {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    .map-links {
        flex-direction: column;
        gap: 0.7rem;
    }

    .map-link {
        flex-direction: row;
        justify-content: flex-start;
        padding: 0.6rem;
        min-width: auto;
        width: 100%;
    }

    .map-icon {
        margin-right: 0.7rem;
        margin-bottom: 0;
        font-size: 1.2rem;
    }

    .map-text {
        text-align: left;
        font-size: 0.85rem;
    }

    .hero::after {
        bottom: 10px;
        font-size: 0.85rem;
    }
    
    .intro h2 {
        font-size: 2.2rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .intro-text {
        order: 1;
    }
    
    .intro-image {
        order: 2;
        margin-top: 1rem;
    }
    
    .events-grid,
    .event-list,
    .services-grid,
    .artists-grid,
    .project-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-main-image {
        height: 250px;
    }

    .mission-vision,
    .team {
        grid-template-columns: 1fr;
    }

    main section {
        padding: 3rem 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-card, .event-highlight {
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-section {
        padding: 2rem;
        margin-top: 2rem;
    }
}

/* Efectos de hover mejorados */
.placeholder-image {
    transition: all 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.placeholder-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Iconos y emojis - mejor renderizado */
h1, h2, h3 {
    font-variant-emoji: color;
}

/* Efectos de animación suave */
.project-card, .event-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Respeto a usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Accesibilidad: foco visible en enlaces y botones */
a:focus-visible,
.btn:focus-visible,
button:focus-visible {
    outline: 3px solid #764ba2;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mejoras en la legibilidad */
strong {
    color: var(--brand-400);
    font-weight: 600;
}

em {
    color: var(--brand-500);
    font-style: italic;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-media a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}

.card h3 {
    color: #8a2be2;
    margin-top: 0;
}

.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-member {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

/* Team Photos */
.team-photo {
    width: 100%;
    max-width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #8a2be2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}

/* Service Images */
.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.artist-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}

.artist-card h3 {
    color: #8a2be2;
    margin-top: 0;
}

.artist-card ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

/* Contact Page Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.contact-info, .contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item h3 {
    color: #8a2be2;
    margin-bottom: 10px;
}

.contact-item p {
    line-height: 1.6;
}

.contact-item a {
    color: #8a2be2;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.btn {
    background-color: #8a2be2;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #7a1fb8;
}

.map-section {
    margin: 40px 0;
    text-align: center;
}

.map-placeholder {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Intro Section with Image */
.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 2rem 0;
    text-align: left;
}

.intro-text {
    padding: 20px;
}

.intro-image {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Artist Images */
.artist-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Project Images */
.project-hero {
    text-align: center;
    margin: 30px 0;
}

.project-main-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.alliances-image {
    text-align: center;
    margin: 30px 0;
}

.alliance-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.alliance-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.alliance-group {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.alliance-group h4 {
    color: #8a2be2;
    margin-bottom: 15px;
}

.alliance-group ul {
    margin: 0;
    padding-left: 20px;
}

.alliance-group li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Event Calendar */
.event-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.calendar-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.calendar-item h4 {
    color: #8a2be2;
    margin-bottom: 15px;
    border-bottom: 2px solid #8a2be2;
    padding-bottom: 5px;
}

.calendar-item ul {
    margin: 0;
    padding-left: 20px;
}

.calendar-item li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.calendar-item strong {
    color: #333;
}

/* Collaboration Info */
.collaboration-info {
    background: linear-gradient(135deg, #8a2be2 0%, #7a1fb8 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
}

.collaboration-info h3 {
    margin-bottom: 20px;
    font-size: 1.5em;
}

.collaboration-info ul {
    text-align: left;
    display: inline-block;
    margin: 20px 0;
}

.collaboration-info li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.collaboration-info li:before {
    content: "🎨";
    position: absolute;
    left: 0;
}

.collaboration-info p:last-child {
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.1em;
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 4rem 1rem;
        min-height: 40vh;
    }

    .hero-text p {
        font-size: 1rem;
    }

    nav .logo a {
        font-size: 1.2rem;
    }
    
    .intro h2 {
        font-size: 1.8rem;
    }
    
    .featured-events {
        padding: 3rem 0;
    }
    
    .event-card, .event-highlight {
        padding: 1.5rem;
    }
    
    .cta-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .cta-section h3 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
