/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #04328d;
    --secondary-color: #ffffff;
    --accent-color: #0056b3;
    --text-dark: #333333;
    --text-light: #666666;
    --gradient: linear-gradient(135deg, #0f4ac1 0%, #1674d9 100%);
    --gradient-alt: linear-gradient(45deg, #04328d, #0066cc, #0056b3);
    --shadow: 0 10px 30px rgba(4, 50, 141, 0.1);
    --shadow-hover: 0 15px 40px rgba(4, 50, 141, 0.2);
    --shadow-large: 0 25px 50px rgba(4, 50, 141, 0.15);
    --border-radius: 12px;
    --border-radius-large: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;

    /* Derivados de colores corporativos */
    --primary-light: rgba(4, 50, 141, 0.1);
    --primary-medium: rgba(4, 50, 141, 0.2);
    --accent-light: rgba(0, 86, 179, 0.1);
    --accent-medium: rgba(0, 86, 179, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: #fafbfc;
}

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(4, 50, 141, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container img {
    width: 300px;
    height: fit-content;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--primary-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--primary-light);
}

/* Main Content */
main {
    margin-top: 80px;
    overflow: hidden;
}

/* Hero Section - Diseño de escenario */
.hero {
    background: url('../img/maestro-de-ceremonia-con-experiencia.webp');
    color: var(--secondary-color);
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
    clip-path: ellipse(100% 100% at 50% 0%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0, 0, 0);
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,20 L100,20 L95,15 L90,18 L85,12 L80,16 L75,10 L70,14 L65,8 L60,12 L55,6 L50,10 L45,4 L40,8 L35,2 L30,6 L25,0 L20,4 L15,2 L10,6 L5,4 L0,8 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 200px 20px;
    background-repeat: repeat-x;
    animation: curtain 4s linear infinite;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-spotlight {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: spotlightMove 8s ease-in-out infinite;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    display: flex;
    justify-self: center;
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.badge:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.badge-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section - Diseño de programa de evento */
.about-section {
    padding: 8rem 2rem;
    background: var(--secondary-color);
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::before {
    content: '🎭';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    opacity: 0.8;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.presenter-card {
    background: var(--gradient);
    color: var(--secondary-color);
    padding: 4rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-large);
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
}

.presenter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 60px 60px;
    opacity: 0.3;
}

.presenter-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

.presenter-avatar {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 4px solid rgba(255, 255, 255, 0.3);
    animation: pulse 3s infinite;
}

.presenter-content>img {
    width: 250px;
    height: auto;
    border-radius: 8px;
}

.presenter-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.presenter-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.credential {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.presenter-description {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* Services Section - Diseño de backstage */
.services-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.services-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(350px, 450px));
    gap: 3rem;
    margin-top: 4rem;
    justify-content: center;
    align-content: center;
}

.service-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-large);
}

.service-header {
    background: var(--gradient);
    color: var(--secondary-color);
    padding: 2.5rem 2rem;
    position: relative;
    text-align: center;
    border-radius: 12px;
}

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    animation: shine 3s ease-in-out infinite;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.service-tagline {
    opacity: 0.9;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.service-content {
    padding: 2.5rem 2rem;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '🎪';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Team Section - Diseño de crew */
.team-section {
    padding: 8rem 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="teampattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23teampattern)"/></svg>');
}

.team-content {
    position: relative;
    z-index: 2;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.team-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.team-member h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-member p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Cultural Section */
.cultural-section {
    padding: 8rem 2rem;
    background: var(--secondary-color);
    position: relative;
}

.cultural-showcase {
    background: var(--gradient-alt);
    color: var(--secondary-color);
    padding: 4rem;
    border-radius: var(--border-radius-large);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.cultural-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><path d="M0,40 Q20,20 40,40 T80,40 L80,80 L0,80 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 80px 80px;
    animation: wave 6s linear infinite;
}

.cultural-content {
    position: relative;
    z-index: 2;
}

.cultural-content h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.cultural-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.cultural-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.cultural-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.cultural-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.cultural-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: var(--secondary-color);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: var(--secondary-color);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.8;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-section>ul {
    font-size: 0.9rem;
    padding: 0px 15px;
    list-style-position: inside;
}

.footer-section>ul>li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer img {
    justify-self: center;
    align-self: center;
    width: 250px;
    height: fit-content;
    border-radius: 12px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spotlightShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    33% {
        background-position: 100% 50%;
    }

    66% {
        background-position: 50% 100%;
    }
}

@keyframes spotlightMove {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes curtain {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: 200px;
    }
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: 80px;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
/* Tablet */
@media (max-width: 1024px) {
    .presenter-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .presenter-content>img {
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .services-stage {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content h2 {
        font-size: 2.6rem;
    }

    .hero-badges {
        grid-template-columns: repeat(2, 1fr);

    }

    .badge {
        padding: 1rem;
    }
}

/* Tablet Pequeña */
@media (max-width: 900px) {
    .hero {
        background-position: center;
        padding: 6rem 2rem 4rem;
    }

    .about-section,
    .services-section,
    .team-section,
    .cultural-section,
    .cta-section {
        padding: 6rem 2rem;
    }

    .section-title {
        font-size: 2.6rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móvil */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }

    .nav-container img {
        width: 300px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
        gap: 1rem;
    }

    .nav-menu.active {
        transform: translateY(0px);
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        clip-path: none;
        padding: 5rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .hero-badges {
        grid-template-columns: 250px;
        gap: 1rem;
        justify-content: center;
        align-content: center;
    }

    .badge {
        padding: 1.5rem 1rem;
    }

    .services-stage {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .cultural-features {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .presenter-card {
        padding: 2.5rem 1.5rem;
        margin: 2rem 0;
    }

    .presenter-info h3 {
        font-size: 1.8rem;
    }

    .presenter-credentials {
        justify-content: center;
    }

    .cultural-showcase {
        padding: 2.5rem 1.5rem;
    }

    .cultural-content h3 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }
}

/* Móvil Pequeño */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .presenter-content>img {
        width: 100%;
        max-width: 300px;
    }

    .service-card,
    .team-member,
    .cultural-feature {
        padding: 1.5rem;
    }

    .service-header {
        padding: 1.5rem 1rem;
    }

    .service-content {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
    }
}