/* Hero Section Moderna */

.hero-modern {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 140px 0 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DC 100%);
}

/* Formas de Fondo Animadas */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--naranja), var(--rojo));
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--amarillo), var(--naranja));
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--rojo), var(--naranja));
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(20px, 20px) rotate(270deg);
    }
}

/* Contenido del Hero */
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap;
}

/* Texto del Hero */
.hero-text {
    flex: 0 1 45%;
    min-width: 280px;
    max-width: 500px;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--naranja), var(--rojo));
    color: var(--blanco);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
    animation: pulse 2s infinite;
}

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

.hero-badge i {
    font-size: 1.1rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--gris-oscuro);
    margin: 0 0 12px 0;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--naranja) 0%, var(--rojo) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
    margin: 0 0 20px 0;
    max-width: 100%;
}

/* Estadísticas */
.hero-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #FFE8DC 0%, #FFD4C0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--naranja);
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-text strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gris-oscuro);
    line-height: 1;
}

.stat-text span {
    font-size: 0.7rem;
    color: #666;
    margin-top: 2px;
}

/* Botones del Hero */
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--naranja) 0%, var(--rojo) 100%);
    color: var(--blanco);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

.btn-hero-secondary {
    background: var(--blanco);
    color: var(--naranja);
    border: 2px solid var(--naranja);
}

.btn-hero-secondary:hover {
    background: var(--naranja);
    color: var(--blanco);
    transform: translateY(-3px);
}

/* Imágenes del Hero */
.hero-images {
    position: relative;
    flex: 0 1 45%;
    min-width: 280px;
    height: 450px;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-card {
    position: absolute;
    background: var(--blanco);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-image-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.card-1 {
    width: 220px;
    height: 220px;
    top: 20px;
    left: 20px;
    z-index: 3;
    animation: floatCard 6s infinite ease-in-out;
}

.card-2 {
    width: 180px;
    height: 180px;
    top: 160px;
    right: 40px;
    z-index: 2;
    animation: floatCard 6s infinite ease-in-out 2s;
}

.card-3 {
    width: 160px;
    height: 160px;
    bottom: 20px;
    left: 120px;
    z-index: 1;
    animation: floatCard 6s infinite ease-in-out 4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Badges de Imágenes */
.image-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blanco);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-popular {
    background: linear-gradient(135deg, var(--naranja), var(--rojo));
}

.badge-new {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.badge-offer {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

/* Elementos Flotantes Decorativos */
.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--amarillo), var(--naranja));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--blanco);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: floatElement 8s infinite ease-in-out;
}

.element-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.element-2 {
    bottom: 20%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-modern {
        padding: 120px 0 60px;
    }

    .hero-content {
        flex-wrap: wrap;
        gap: 30px;
    }

    .hero-text {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .hero-images {
        flex: 1 1 100%;
        height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .card-1 {
        width: 200px;
        height: 200px;
    }

    .card-2 {
        width: 160px;
        height: 160px;
        top: 100px;
    }

    .card-3 {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .hero-content {
        flex-wrap: nowrap;
        gap: 20px;
    }

    .hero-text {
        flex: 0 1 50%;
        min-width: 200px;
    }

    .hero-images {
        flex: 0 1 40%;
        min-width: 180px;
        height: 350px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 16px;
    }

    .stat-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        border-radius: 6px;
    }

    .stat-item {
        gap: 4px;
    }

    .stat-text strong {
        font-size: 0.8rem;
    }

    .stat-text span {
        font-size: 0.6rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 8px 14px;
        font-size: 0.7rem;
    }

    .card-1 {
        width: 140px;
        height: 140px;
        left: 50%;
        top: 10px;
        transform: translateX(-60%);
    }

    .card-2 {
        width: 110px;
        height: 110px;
        left: 50%;
        top: 110px;
        right: auto;
        transform: translateX(35%);
    }

    .card-3 {
        width: 90px;
        height: 90px;
        left: 50%;
        bottom: 15px;
        transform: translateX(-50%);
    }

    .floating-element {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-modern {
        padding: 90px 0 40px;
    }

    .hero-content {
        flex-wrap: nowrap;
        gap: 15px;
    }

    .hero-text {
        flex: 0 1 55%;
        min-width: 150px;
    }

    .hero-images {
        flex: 0 1 40%;
        min-width: 140px;
        height: 280px;
    }

    .hero-title {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
        gap: 3px;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 0.7rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-stats {
        gap: 6px;
        margin-bottom: 12px;
    }

    .stat-icon {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
        border-radius: 5px;
    }

    .stat-item {
        gap: 3px;
    }

    .stat-text strong {
        font-size: 0.7rem;
    }

    .stat-text span {
        font-size: 0.55rem;
    }

    .hero-buttons {
        gap: 6px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 7px 12px;
        font-size: 0.65rem;
        gap: 4px;
        border-radius: 7px;
    }

    .card-1 {
        width: 110px;
        height: 110px;
        left: 50%;
        top: 10px;
        transform: translateX(-65%);
    }

    .card-2 {
        width: 85px;
        height: 85px;
        left: 50%;
        top: 90px;
        transform: translateX(40%);
    }

    .card-3 {
        width: 70px;
        height: 70px;
        left: 50%;
        bottom: 10px;
        transform: translateX(-45%);
    }

    .card-1:hover {
        transform: translateX(-65%) translateY(-5px) scale(1.05);
    }

    .card-2:hover {
        transform: translateX(40%) translateY(-5px) scale(1.05);
    }

    .card-3:hover {
        transform: translateX(-45%) translateY(-5px) scale(1.05);
    }

    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
