
/* Colores corporativos exactos */
:root {
    --primary: #261900;
    --gold: #B99251;
}
.bg-primary { background-color: #181818; }
.text-primary { color: #261900; }
.border-primary { border-color: #261900; }
.bg-gold { background-color: #B99251; }
.text-gold { color: #B99251; }
.border-gold { border-color: #B99251; }

html {
    background: #222;
}
html {
    color-scheme: dark !important;
}
/* Tipografía elegante */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}
/* Efectos sutiles */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
}

/* Línea decorativa */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #B99251;
}

/* Divider personalizado */
.divider {
    height: 2px;
    background: linear-gradient(90deg, #B99251 0%, #261900 100%);
    width: 80px;
    margin: 1.5rem 0;
}

/* Scroll padding para header fijo */
section[id] {
    scroll-margin-top: 80px;
}

/* Overlay para el menú móvil */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 45;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menú móvil deslizable */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background-color: #222; /* Color primary */
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Estilos para enlaces del menú móvil */
.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    /* border-bottom: 1px solid rgba(219, 193, 70, 0.2); */
    transition: background-color 0.2s ease;
}

.mobile-menu a:hover {
    background-color: rgba(219, 193, 70, 0.1);
}

.mobile-menu .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #B99251;
    font-size: 1.5rem;
    padding: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
}

.mobile-menu .close-btn:hover {
    background-color: rgba(219, 193, 70, 0.1);
    border-radius: 50%;
}

/* Iconos sociales en menú móvil */
.mobile-menu .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    border-bottom: none;
}

.mobile-menu .social-icons a {
    padding: 0;
    border-bottom: none;
    font-size: 1.5rem;
}

.mobile-menu .social-icons a:hover {
    background: transparent;
    transform: scale(1.1);
}

/* ============================================
   HERO SECTION - Estilos
   ============================================ */

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0a;
}

/* ============================================
   Video de fondo
   ============================================ */

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.797);
    /* Ajusta la opacidad según necesites */
    z-index: 1;
}

/* ============================================
   Capas de fondo (sobre el video)
   ============================================ */

.hero-gradient-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-gradient-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(185, 146, 81, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(185, 146, 81, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(185, 146, 81, 0.05) 0%, transparent 40%);
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(185, 146, 81, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(185, 146, 81, 0.5) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* ============================================
   Contenido principal
   ============================================ */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem;
    width: 100%;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ============================================
   Badge
   ============================================ */

.hero-badge {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.hero-badge-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(185, 146, 81, 0.3);
    color: #B99251;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 300;
}

.hero-badge-dot {
    width: 0.375rem;
    height: 0.375rem;
    background: #B99251;
    border-radius: 50%;
    display: inline-block;
}

/* ============================================
   Título principal
   ============================================ */

.hero-title-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Líneas decorativas */
.hero-title-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 1px;
    background: rgba(185, 146, 81, 0.3);
}

.hero-title-line-top {
    top: -2rem;
}

.hero-title-line-bottom {
    bottom: -2rem;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 300;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 7.5rem;
    }
}

.hero-title-word {
    display: block;
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-title-word-1 {
    color: #ffffff;
    animation-delay: 0.4s;
}

.hero-title-word-2 {
    color: #B99251;
    animation-delay: 0.6s;
}

/* ============================================
   Subtítulo
   ============================================ */

.hero-subtitle {
    font-size: 1.25rem;
    color: #B99251;
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* ============================================
   Descripción
   ============================================ */

.hero-description {
    margin-top: 1.5rem;
    max-width: 36rem;
    color: #9ca3af;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s forwards;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.125rem;
    }
}

/* ============================================
   Botones
   ============================================ */

.hero-buttons {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-btn {
    padding: 1rem 2rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Botón primario */
.hero-btn-primary {
    background: #B99251;
    color: #000000;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary:hover {
    background: #C9A86C;
    transform: scale(1.02);
}

.hero-btn-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.hero-btn-icon {
    flex-shrink: 0;
}

.hero-btn-arrow {
    transition: transform 0.3s ease;
}

.hero-btn-primary:hover .hero-btn-arrow {
    transform: translateX(4px);
}

/* Botón secundario */
.hero-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    background: transparent;
}

.hero-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   Scroll indicator
   ============================================ */

.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.5s forwards;
}

.hero-scroll-text {
    font-size: 0.625rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.hero-scroll-line {
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, rgba(185, 146, 81, 0.5), transparent);
}

/* ============================================
   Animaciones
   ============================================ */

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

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

/* ============================================
   Media Queries adicionales
   ============================================ */

/* Ajuste para pantallas muy pequeñas */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        width: 100%;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .hero-scroll-indicator {
        bottom: 1.5rem;
    }
}

/* Ajuste para el video en móviles */
@media (max-width: 768px) {
    .hero-video-bg video {
        object-fit: cover;
    }
}



/* Modelo */
.grupo-card {
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.grupo-card.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Efecto de hover en las cards */
.grupo-card .relative {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.grupo-card:hover .relative {
    transform: translateY(-4px);
}

/* Efecto de brillo en la card destacada */
.grupo-card:nth-child(3) .relative {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(185, 146, 81, 0.15);
    }
    50% {
        box-shadow: 0 0 40px rgba(185, 146, 81, 0.25);
    }
}