:root {
    --gold-primary: #D4AF37;
    --gold-light: #F4E5B1;
    --gold-dark: #B8941E;
    --black-primary: #0a0a0a;
    --black-secondary: #1a1a1a;
    --black-light: #2d2d2d;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--black-primary);
    color: var(--white);
}

/* NAVBAR */
.navbar {
    background: linear-gradient(135deg, var(--black-primary) 0%, var(--black-secondary) 100%) !important;
    border-bottom: 0.125rem solid var(--gold-dark);
    box-shadow: 0 0.125rem 1.25rem rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(0.625rem);
    padding-left: 20px;
    padding-right: 20px;
}

.navbar-brand {
    color: var(--gold-primary) !important;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.125rem;
    text-shadow: 0 0 0.9375rem rgba(212, 175, 55, 0.5);
}

.btn-outline-light {
    color: var(--gold-primary) !important;
    border-color: var(--gold-dark) !important;
    font-weight: 600;
    letter-spacing: 0.0625rem;
}

.btn-outline-light:hover {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%) !important;
    color: var(--black-primary) !important;
}

/* COVER PORTADA */
.cover {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(212, 175, 55, 0.2) 100%);
    z-index: 0;
}

.cover-content {
    z-index: 2;
    opacity: 0;
    transform: translateY(3rem);
    animation: fadeInUp 1s ease-out forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    padding: 0 5%;
}

.cover-content h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 0.625rem rgba(212, 175, 55, 0.5)); }
    to { filter: drop-shadow(0 0 1.875rem rgba(212, 175, 55, 0.8)); }
}

.cover-content .linea {
    width: 9.375rem;
    height: 0.25rem;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 1.25rem auto;
    animation: expandLine 1.5s ease;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 9.375rem; }
}

.cover-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--gold-light);
    letter-spacing: 0.0625rem;
    line-height: 1.8;
    margin-bottom: 1.875rem;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(3rem); }
    100% { opacity: 1; transform: translateY(0); }
}

/* LEER MÁS Y FLECHAS */
.read-more {
    position: absolute;
    bottom: 3.125rem;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.read-more span {
    color: var(--gold-light);
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.125rem;
    margin-bottom: 0.9375rem;
    display: block;
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.arrows i {
    font-size: 2rem;
    color: var(--gold-primary);
    animation: moverFlechaAbajo 1.5s infinite ease-in-out;
    filter: drop-shadow(0 0 0.625rem rgba(255, 204, 36, 0.774));
}

.arrows i:nth-child(1) {
    animation-delay: 0s;
}

.arrows i:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes moverFlechaAbajo {
    0% {
        transform: translateY(-10px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(10px);
        opacity: 0.3;
    }
}

/* BOTÓN SACAR TURNO */
.btn-transparente {
    background: transparent;
    border: 3px solid var(--gold-primary);
    color: var(--gold-light);
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 40px;
}

.btn-transparente::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-transparente:hover::before {
    width: 400px;
    height: 400px;
}

.btn-transparente:hover {
    color: var(--black-primary);
    border-color: var(--gold-light);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    transform: translateY(-3px);
}

/* SECCIONES */
.container-fluid {
    padding: 0;
}

.section {
    height: 55vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 0.5s ease;
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.section:hover::before {
    opacity: 0;
}

.section:hover {
    transform: scale(1.02);
}

/* Colores overlay para cada sección */
.section-1::before {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.85) 0%, rgba(184, 148, 30, 0.75) 100%);
}

.section-2::before {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.75) 100%);
}

.section-3::before {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.85) 0%, rgba(244, 229, 177, 0.75) 100%);
}

.section-4::before {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.85) 0%, rgba(10, 10, 10, 0.75) 100%);
}

.section-5::before {
    background: linear-gradient(135deg, rgba(184, 148, 30, 0.85) 0%, rgba(212, 175, 55, 0.75) 100%);
}

.contenido-seccion {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px;
    transition: all 0.5s ease;
}

.section:hover .contenido-seccion {
    transform: translateY(-10px);
}

.titulo-sec {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.section:hover .titulo-sec {
    color: var(--gold-primary);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.parr {
    border-top: 3px solid var(--white);
    padding: 20px 10px 10px 10px;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.6;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.section:hover .parr {
    border-top-color: var(--gold-primary);
    color: var(--gold-light);
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(180deg, var(--black-secondary) 0%, var(--black-primary) 100%);
    border-top: 3px solid var(--gold-dark);
    padding: 60px 0 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px 40px 30px;
}

.footer-section {
    animation: fadeInUp 0.8s ease-out;
}

.footer-section h3 {
    color: var(--gold-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.footer-section p {
    color: var(--gold-light);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gold-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: '▸';
    margin-right: 8px;
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-links a:hover::before {
    transform: translateX(5px);
}

/* Redes Sociales */
.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--black-light);
    border: 2px solid var(--gold-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    transition: all 0.4s ease;
    z-index: 0;
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

.social-links a:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.social-links a i {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.social-links a:hover i {
    color: var(--black-primary);
}

/* Información de contacto */
.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gold-light);
    font-size: 0.95rem;
}

.contact-info i {
    color: var(--gold-primary);
    font-size: 1.1rem;
    margin-right: 12px;
    min-width: 20px;
}

/* Barra de copyright */
.footer-bottom {
    background: var(--black-primary);
    border-top: 1px solid var(--gold-dark);
    padding: 25px 30px;
    text-align: center;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: var(--gold-light);
    font-size: 0.9rem;
}

.designer {
    color: var(--gold-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.designer i {
    color: var(--gold-primary);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
}

.designer-name {
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* MODALES */
.modal-content {
    background: linear-gradient(145deg, var(--black-secondary) 0%, var(--black-primary) 100%);
    border: 2px solid var(--gold-dark);
    color: var(--white);
    border-radius: 20px;
}

.modal-header {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: 18px 18px 0 0;
}

.modal-title {
    color: var(--black-primary);
    font-weight: 700;
    letter-spacing: 2px;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border: none;
    background: var(--black-secondary);
    border-radius: 0 0 18px 18px;
}

.form-label {
    color: var(--gold-light);
    font-weight: 600;
}

.form-control {
    background: var(--black-light);
    border: 2px solid var(--gold-dark);
    color: var(--white);
    border-radius: 10px;
}

.form-control:focus {
    background: var(--black-secondary);
    border-color: var(--gold-primary);
    color: var(--white);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%) !important;
    border: none !important;
    color: var(--black-primary) !important;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
}

.btn-close {
    filter: brightness(0) invert(1);
}

.dropdown-menu {
    background: var(--black-secondary);
    border: 2px solid var(--gold-dark);
    border-radius: 12px;
}

.dropdown-item {
    color: var(--gold-light);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 100%);
    color: var(--black-primary);
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .cover {
        height: 100vh;
    }

    .cover-content {
        padding: 0 1.25rem;
    }

    .read-more {
        bottom: 1.875rem;
    }

    .arrows i {
        font-size: 1.5rem;
    }

    .section {
        height: 40vh;
    }

    .titulo-sec {
        font-size: 1.8rem;
    }

    .parr {
        font-size: 0.95rem;
    }

    .btn-transparente {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px 30px 20px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 0.75rem;
}

::-webkit-scrollbar-track {
    background: var(--black-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 0.375rem;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}