body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f6f7fb;
    line-height: 1.6;
    color: #2b2d31;
}

#page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255,255,255,0.9);
    backdrop-filter: saturate(1.2) blur(8px);
    border-bottom: 1px solid #e6e8eb;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    padding: 10px 16px;
    z-index: 1030;
}

#nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d0d3d6;
    border-radius: 10px;
    background: #fff;
}
#nav-toggle .bar {
    width: 20px;
    height: 2px;
    background: #16181d;
    margin: 3px 0;
    transition: transform .2s ease;
}

.navbar-brand .site-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #16181d;
    font-size: 1.4rem;
    letter-spacing: .5px;
}
.brand-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.usermenu-link {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    padding: 0.5rem 0.75rem;
}
.usermenu-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}
.dropdown-toggle i {
    color: #666;
}

#frontpage-banner {
    background-image: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url("../img/fondo.jpg");
    background-attachment: fixed; 
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding-top: 56px;
    box-sizing: border-box;
    flex-grow: 1;
    width: 100%;
}

#frontpage-banner-content {
    color: #fff;
    max-width: 980px;
    padding: 36px;
    background: rgba(22, 24, 29, 0.6);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    margin: 24px;
}

#frontpage-banner-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .6px;
    animation: fadeInUp .8s ease both;
}

#frontpage-banner-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #c9d1d9;
}

#frontpage-banner-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #e6edf3;
    animation: fadeIn .8s ease .2s both;
}

.workshop-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.45));
    animation: fadeIn .8s ease both;
}

.arrow-link svg {
    margin-top: 36px; 
    width: 56px;
    opacity: 0.95;
    transition: transform .3s ease-in-out;
    animation: float 2.4s ease-in-out infinite;
}
.arrow-link svg:hover {
    transform: translateY(6px);
}

#page-footer {
    background-color: #333;
    color: #ddd;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    margin-top: auto;
}

#goto-top-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: background-color .25s ease, transform .15s ease;
}
#goto-top-link:hover { background-color: rgba(0, 0, 0, 0.9); transform: translateY(-2px); }
.chevron-up { display: inline-block; width: 14px; height: 14px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(-45deg); }

@keyframes fadeIn {
    from { opacity: 0; transform: translate3d(0, 10px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 20px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@media (max-width: 768px) {
    #frontpage-banner {
        min-height: 80vh;
    }
    #frontpage-banner-content {
        max-width: 95%;
        padding: 22px;
        margin: 10px;
    }
    #frontpage-banner-content h1 {
        font-size: 1.7rem;
    }
    .workshop-logo { max-width: 180px; }
    .navbar-collapse { margin-top: 10px; }
}
@media (min-width: 768px) {
    .navbar-collapse { display: flex !important; flex-basis: auto; }
    #nav-toggle { display: none; }
}
html { scroll-behavior: smooth; }

.reveal { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .6s ease, transform .6s ease; }
.reveal.reveal-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.navbar-nav .nav-link {
    color: #2b2d31;
    padding: .5rem .75rem;
    border-radius: 8px;
    transition: background-color .2s ease, color .2s ease;
}
.navbar-nav .nav-link:hover {
    background-color: #f1f3f5;
    color: #111;
}
.navbar-collapse {
    background: rgba(255,255,255,0.98);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    padding: .5rem;
    display: none;
}
.navbar-collapse.show { display: block; }
.navbar-nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.navbar-nav .nav-item { margin-left: 6px; }
.desc-section {
    padding: 30px 15px 60px;
}
.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #16181d;
}
.desc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .desc-grid { grid-template-columns: 1fr 1fr; } }
.info-card {
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    padding: 22px;
}
.info-card p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #2b2d31;
}