* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;
}
body {
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}
.custom-cursor {
    position: fixed;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(155, 34, 38, 0.15) 0%, rgba(155, 34, 38, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    will-change: transform;
}
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader-core {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader-core::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: #9b2226;
    border-bottom-color: #9b2226;
    border-radius: 50%;
    animation: spinRing 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.pulse-icon {
    width: 50px;
    height: auto;
    animation: pulseIcon 1.5s ease-in-out infinite;
}
@keyframes spinRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 15px rgba(155, 34, 38, 0.3)); }
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(155, 34, 38, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    width: 100%;
    max-width: 100vw;
    border-radius: 0 0 25px 25px;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1), max-width 0.6s cubic-bezier(0.25, 1, 0.5, 1), top 0.6s cubic-bezier(0.25, 1, 0.5, 1), border-radius 0.6s cubic-bezier(0.25, 1, 0.5, 1), padding 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.6s ease;
}
.navbar.scrolled {
    top: 15px;
    width: 90%;
    max-width: 1200px;
    border-radius: 50px;
    padding: 10px 4%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: rgba(138, 28, 32, 0.98);
}
.logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s ease;
}
.logo img:hover {
    transform: scale(1.05);
}
.navbar.scrolled .logo img {
    height: 40px;
}
.hamburger {
    display: none !important;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10001;
    width: 30px;
    height: 30px;
}
.hamburger i {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open i.fa-bars {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}
.hamburger.open::after {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    font-size: 30px;
    opacity: 1;
    animation: fadeInRotate 0.3s forwards;
}
@keyframes fadeInRotate {
    0% { opacity: 0; transform: translate(-50%, -50%) rotate(-90deg) scale(0); }
    100% { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1); }
}
.hamburger:active {
    transform: scale(0.9);
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
}
.nav-links li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.nav-links li a:hover {
    color: #ffffff;
}
.btn-register {
    background: #ffffff !important;
    color: #9b2226 !important;
    padding: 12px 28px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: padding 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 800;
}
.navbar.scrolled .btn-register {
    padding: 10px 24px;
}
.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: #fdf2f2 !important;
}
.btn-primary {
    background: #9b2226;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(155, 34, 38, 0.15);
}
.btn-primary:hover {
    background: #7a1515;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(155, 34, 38, 0.25);
}
.site-footer {
    background: linear-gradient(180deg, #9b2226 0%, #4a0e10 100%);
    padding: 40px 5% 25px;
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    position: relative;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    box-shadow: 0 -10px 30px rgba(155, 34, 38, 0.08);
}
.site-footer .social-icons {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.site-footer .social-icons > a:not(.whatsapp-link) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: all 0.4s ease;
}
.site-footer .social-icons > a:not(.whatsapp-link) img {
    width: 22px;
    height: 22px;
    transition: all 0.4s ease;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}
.site-footer .social-icons > a:not(.whatsapp-link):hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}
.site-footer .social-icons > a:not(.whatsapp-link):hover img {
    opacity: 1;
    transform: scale(1.1);
}
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.6s ease;
}
.whatsapp-link img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: all 0.6s ease;
}
.whatsapp-tooltip {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.7s ease-in-out;
    padding-left: 0;
}
.whatsapp-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}
.whatsapp-link:hover img {
    opacity: 1;
    transform: scale(1.05);
}
.whatsapp-link:hover .whatsapp-tooltip {
    max-width: 200px;
    opacity: 1;
    padding-left: 8px;
    padding-right: 4px;
}
.site-footer .copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    font-size: 13px;
    line-height: 1.6;
}
.site-footer .copyright a {
    color: #ffda6a;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-footer .copyright a:hover {
    color: #ffffff;
}
@media (max-width: 768px) {
    .custom-cursor { display: none !important; }
    .navbar { 
        padding: 15px 20px; 
    }
    .navbar.scrolled {
        top: 10px;
        width: 95%;
        border-radius: 20px;
        padding: 12px 20px;
    }
    .hamburger { display: flex !important; align-items: center; justify-content: center; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(155, 34, 38, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), padding 0.5s cubic-bezier(0.25, 1, 0.5, 1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        gap: 25px;
        z-index: 9999;
        border-radius: 0 0 25px 25px;
    }
    .nav-links.active {
        max-height: 500px;
        padding: 30px 0 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .navbar.scrolled .nav-links { border-radius: 0 0 20px 20px; }
    .nav-links li {
        opacity: 0;
        transform: translateY(-15px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        width: 100%;
        text-align: center;
    }
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links li a {
        font-size: 18px;
        display: inline-block;
        width: 100%;
        padding: 5px 0;
    }
    .nav-links li a.btn-register {
        width: auto;
        display: inline-block;
        padding: 14px 40px;
        font-size: 16px;
    }
    .site-footer {
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
        padding: 30px 5% 20px;
    }
    .site-footer .copyright p {
        font-size: 12px;
    }
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}