/* ==================== HERO SECTION - MOBILE OPTIMIZED ==================== */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0 !important;
    padding: 0 !important;
    min-height: 80vh !important;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;        /* was: height: 100%;  → now always equals the section */
    min-height: 550px;   /* keep as a floor for short screens */
    max-height: none;    /* was: 800px → removes the cap that can re-create the gap */
    background-color: #000;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #000;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* KEY FIX: Ensure images cover the entire area on ALL screen sizes */
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
}

.hero-slide.active .hero-image {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 14px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.text-gold {
    color: #d4af37;
}

.hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.95;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-hero-primary,
.btn-hero-secondary,
.btn-hero-whatsapp {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 2px solid transparent;
}

.btn-hero-primary {
    background: #d4af37;
    color: #000;
}

.btn-hero-primary:hover {
    background: #c49f27;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-hero-secondary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

.btn-hero-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-hero-whatsapp:hover {
    background: #12B856;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
}

.trust-item i {
    color: #d4af37;
    font-size: 16px;
}

/* Slider Controls */
.hero-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-control:hover {
    background: rgba(212, 175, 55, 0.9);
    color: #000;
}

.hero-prev {
    left: 15px;
}

.hero-next {
    right: 15px;
}

/* Slider Dots */
.hero-dots {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: #d4af37;
    border-color: #fff;
    transform: scale(1.2);
}

/* Hero Info Bar - Mobile Optimized */
.hero-info-bar {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 4;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.info-item i {
    font-size: 22px;
    color: #d4af37;
    flex-shrink: 0;
}

.info-item div {
    display: flex;
    flex-direction: column;
}

.info-item strong {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    line-height: 1.2;
}

.info-item span {
    font-size: 14px;
    color: #666;
}

.info-divider {
    width: 1px;
    height: 40px;
    background: #ddd;
}

/* ==================== TABLET (768px+) ==================== */
@media (min-width: 768px) {
    .hero-slider {
        height: 100%;
        min-height: 650px;
    }
    
    .hero-content {
        bottom: 120px;
        padding: 30px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        max-width: 600px;
    }
    
    .hero-badge {
        font-size: 14px;
        padding: 8px 20px;
    }
    
    .hero-cta-group {
        gap: 16px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-whatsapp {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .trust-item {
        font-size: 14px;
    }
    
    .hero-control {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .hero-prev {
        left: 20px;
    }
    
    .hero-next {
        right: 20px;
    }
    
    .hero-dots {
        bottom: 160px;
    }
    
    .hero-dot {
        width: 14px;
        height: 14px;
    }
    
    .hero-info-bar {
        padding: 20px 30px;
    }
    
    .info-item i {
        font-size: 26px;
    }
    
    .info-item strong {
        font-size: 14px;
    }
    
    .info-item span {
        font-size: 14px;
    }
}

/* ==================== DESKTOP (1024px+) ==================== */
@media (min-width: 1024px) {
    .hero-slider {
        height: 100%;
        min-height: 700px;
    }
    
    .hero-content {
        bottom: 140px;
        padding: 40px;
        max-width: 800px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        max-width: 700px;
    }
    
    .hero-badge {
        font-size: 15px;
        padding: 10px 24px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-whatsapp {
        padding: 18px 36px;
        font-size: 17px;
    }
    
    .hero-trust-badges {
        gap: 30px;
    }
    
    .trust-item {
        font-size: 15px;
    }
    
    .hero-control {
        width: 55px;
        height: 55px;
        font-size: 20px;
        opacity: 0;
        transition: opacity 0.3s ease, all 0.3s ease;
    }
    
    .hero-section:hover .hero-control {
        opacity: 1;
    }
    
    .hero-dots {
        bottom: 180px;
    }
    
    .hero-dot {
        width: 16px;
        height: 16px;
    }
    
    .hero-info-bar {
        padding: 24px 60px;
    }
    
    .info-item {
        gap: 15px;
    }
    
    .info-item i {
        font-size: 30px;
    }
    
    .info-item strong {
        font-size: 14px;
    }
    
    .info-item span {
        font-size: 14px;
    }
}

/* ==================== LARGE DESKTOP (1400px+) ==================== */
@media (min-width: 1400px) {
    .hero-content {
        max-width: 900px;
    }
    
    .hero-title {
        font-size: 58px;
    }
}

/* ==================== SMALL MOBILE ( less than 480px) ==================== */
@media (max-width: 479px) {
    .hero-section {
        min-height: 55vh !important;
    }
    
    .hero-slider {
        height: 50vh;
        min-height: 400px;
        max-height: 500px;
        background-color: #000;
    }
    
    .hero-slide {
        background-color: #000;
    }
    
    /* KEY FIX: Use cover instead of contain to fill the container */
    .hero-image {
        object-fit: cover !important;
        object-position: center center !important;
    }
    
    .hero-content {
        bottom: 90px;
        padding: 15px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-trust-badges {
        gap: 15px;
    }
    
    .trust-item {
        font-size: 14px;
    }
    
    .hero-control {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .hero-dots {
        bottom: 130px;
    }
    
    .hero-info-bar {
        padding: 12px 8px;
    }
    
    .info-item i {
        font-size: 18px;
    }
    
    .info-item strong {
        font-size: 14px;
    }
    
    .info-item span {
        font-size: 14px;
    }
    
    .info-divider {
        height: 30px;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slide.active .hero-badge,
.hero-slide.active .hero-title,
.hero-slide.active .hero-subtitle,
.hero-slide.active .hero-cta-group,
.hero-slide.active .hero-trust-badges {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-slide.active .hero-title {
    animation-delay: 0.1s;
}

.hero-slide.active .hero-subtitle {
    animation-delay: 0.2s;
}

.hero-slide.active .hero-cta-group {
    animation-delay: 0.3s;
}

.hero-slide.active .hero-trust-badges {
    animation-delay: 0.4s;
}