.activoz-hero-stories-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-stories-container {
    position: relative;
    min-height: 600px;
    background-color: #E9E7DE;
    background-size: auto;
    background-repeat: repeat;
    background-position: 0 0;
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-stories-container {
        min-height: 700px;
        padding: 8rem 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-stories-container {
        min-height: 800px;
        padding: 10rem 6rem;
    }
}

/* Formas decorativas flotantes en esquinas */
.floating-shapes {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    opacity: 0.9;
}

.floating-shapes-top-left {
    top: 0;
    left: 0;
    animation: float-top-left 8s ease-in-out infinite;
}

.floating-shapes-top-right {
    top: 0;
    right: 0;
    animation: float-top-right 8s ease-in-out infinite;
}

.floating-shapes-bottom-left {
    bottom: 0;
    left: 0;
    animation: float-bottom-left 8s ease-in-out infinite;
}

.floating-shapes-bottom-right {
    bottom: 0;
    right: 0;
    animation: float-bottom-right 8s ease-in-out infinite;
}

.floating-shapes-img {
    max-width: 200px;
    width: auto;
    height: auto;
}

@media (min-width: 768px) {
    .floating-shapes-img {
        max-width: 250px;
    }
}

@media (min-width: 1024px) {
    .floating-shapes-img {
        max-width: 300px;
    }
}

/* Animaciones flotantes */
@keyframes float-top-left {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(10px, 10px) rotate(2deg);
    }
}

@keyframes float-top-right {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-10px, 10px) rotate(-2deg);
    }
}

@keyframes float-bottom-left {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(10px, -10px) rotate(-2deg);
    }
}

@keyframes float-bottom-right {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-10px, -10px) rotate(2deg);
    }
}

/* Contenido principal */
.hero-stories-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-stories-text {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #1C2738;
    margin: 0 0 1.5rem 0;
    font-weight: 400;
}

.hero-stories-highlight {
    color: #046E5A;
    font-family: 'Delicious Handrawn', cursive;
    font-weight: 400;
    text-decoration-color: #046E5A;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    font-size: 1.1em;
}

.hero-stories-secondary-text {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1C2738;
    margin: 0;
    font-weight: 400;
}

@media (min-width: 768px) {
    .hero-stories-text {
        font-size: 2rem;
        line-height: 1.7;
    }
    
    .hero-stories-secondary-text {
        font-size: 1.25rem;
        line-height: 1.7;
    }
}

@media (min-width: 1024px) {
    .hero-stories-text {
        font-size: 2.8rem;
        line-height: 1.4;
    }
    
    .hero-stories-secondary-text {
        font-size: 1.5rem;
        line-height: 1.6;
    }
}

/* Ajustes responsivos para formas flotantes */
@media (max-width: 767px) {
    .floating-shapes-top-left {
        top: -20px;
        left: -20px;
    }
    
    .floating-shapes-top-right {
        top: -20px;
        right: -20px;
    }
    
    .floating-shapes-bottom-left {
        bottom: -20px;
        left: -20px;
    }
    
    .floating-shapes-bottom-right {
        bottom: -20px;
        right: -20px;
    }
    
    .floating-shapes-img {
        opacity: 0.6;
        max-width: 120px;
    }
}

