:root {
    --bg-color: #FDFCF7;
    --accent-gold: #D4AF37;
    --dark-deep: #121212;
    --button-bg: #1A1A1A;
    --glass: rgba(255, 255, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(212, 175, 55, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(212, 175, 55, 0.03) 0%, transparent 30%);
    color: var(--dark-deep);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 480px;
    animation: fadeIn 0.8s ease-out;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.avatar-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.avatar {
    width: 100%;
    height: 100%;
    background: var(--dark-deep);
    border-radius: 35% 65% 65% 35% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.avatar i { color: var(--accent-gold); width: 42px; height: 42px; }

h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }

.description { font-size: 0.95rem; opacity: 0.6; line-height: 1.5; margin-bottom: 25px; text-align: center; }

/* Estilo para el botón de ubicación */
.maps-btn {
    display: grid;
    grid-template-columns: 50px 1fr 20px;
    align-items: center;
    background: white;
    color: var(--dark-deep);
    text-decoration: none;
    padding: 16px 15px;
    border-radius: 20px;
    font-weight: 700;
    border: 2px solid var(--accent-gold);
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.maps-btn i:first-child { justify-self: center; color: #ea4335; }

/* Tarjeta de Horarios */
.info-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 24px;
    border-radius: 24px;
    margin-bottom: 30px;
}

.info-card h2 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}

.time { 
    background: rgba(212, 175, 55, 0.1); 
    padding: 2px 8px; 
    border-radius: 6px; 
    font-weight: 700; 
    color: #8a6d10;
}

/* BOTONES DE REDES SOCIALES */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dropdown-container {
    width: 100%;
}

.link-card {
    display: grid;
    grid-template-columns: 50px 1fr 30px;
    align-items: center;
    background: var(--button-bg);
    color: white;
    text-decoration: none;
    padding: 20px 15px;
    border-radius: 22px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    width: 100%;
}

.link-card i:first-child {
    justify-self: center;
    width: 24px;
    height: 24px;
}

.link-card .chevron {
    transition: transform 0.3s ease;
}

.link-card.active .chevron {
    transform: rotate(90deg);
}

.link-card:hover {
    transform: scale(1.01);
    background: var(--accent-gold);
    color: var(--dark-deep);
    box-shadow: 0 12px 24px rgba(212, 175, 55, 0.25);
}

/* Contenido del Dropdown */
.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(0,0,0,0.03);
    border-radius: 0 0 22px 22px;
    padding: 0 10px;
}

.dropdown-container.active .dropdown-content {
    max-height: 300px;
    margin-top: 5px;
    padding: 10px;
}

.sub-link {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: var(--dark-deep);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: background 0.2s;
}

.sub-link i {
    justify-self: center;
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.sub-link:hover {
    background: #f0f0f0;
}

footer {
    margin-top: 50px;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.4;
    font-weight: 700;
}

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

/* RESPONSIVE TABLETS Y DESKTOP */
@media (min-width: 768px) {
    body {
        padding: 60px 20px;
    }

    .container {
        max-width: 600px;
    }

    h1 {
        font-size: 2.2rem;
    }

    .description {
        font-size: 1.05rem;
    }

    .avatar-container {
        width: 120px;
        height: 120px;
    }

    .avatar i {
        width: 52px;
        height: 52px;
    }

    .info-card {
        padding: 32px;
        border-radius: 28px;
    }

    .link-card {
        padding: 24px 20px;
        border-radius: 26px;
    }

    .link-card:hover {
        transform: scale(1.02);
    }

    .maps-btn {
        padding: 20px 18px;
        border-radius: 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 700px;
    }

    h1 {
        font-size: 2.4rem;
    }

    .links-grid {
        gap: 16px;
    }

    .link-card {
        padding: 26px 22px;
    }

    .info-card {
        padding: 36px;
    }
}
