/* ============================================
   HELADERÍA KAFIT — Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--kafit-secondary);
}

.hero__slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide.active { opacity: 1; }

.hero__slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--kafit-gradient-hero);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: var(--space-8) var(--space-6);
    width: 100%;
    display: flex;
    align-items: center;
}

.hero__text {
    max-width: 650px;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--kafit-white);
    margin-bottom: var(--space-6);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero__tag-dot {
    width: 8px; height: 8px;
    background: var(--kafit-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-weight: 700;
    color: var(--kafit-white);
    line-height: 1.05;
    margin-bottom: var(--space-6);
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero__title span {
    color: var(--kafit-accent);
    display: inline;
}

.hero__subtitle {
    font-size: var(--text-xl);
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-8);
    line-height: 1.5;
    max-width: 500px;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* ── Hero Slider Dots ── */
.hero__dots {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: var(--space-3);
}

.hero__dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.hero__dot.active {
    background: var(--kafit-white);
    transform: scale(1.2);
}

/* ── Floating Product Image ── */
.hero__floating {
    position: absolute;
    right: -50px;
    bottom: -30px;
    z-index: 2;
    width: 500px;
    opacity: 0.25;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero { min-height: 75vh; }
    .hero__floating { display: none; }
    .hero__buttons { flex-direction: column; }
    .hero__buttons .btn { width: 100%; justify-content: center; }
}
