/*
Theme Name: Control Vital
Theme URI: http://controlvital.com
Author: Marlon Molina
Author URI: https://controlvital.com
Description: Una landing page de alta conversión para el ebook Control Vital, optimizada para dispositivos móviles y enfocada en bienestar.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: controlvital
*/

/* =========================================
   VARIABLES & BASE
   ========================================= */
:root {
    --color-primary: #1B4332;
    /* Forest Green */
    --color-secondary: #2D6A4F;
    /* Leaf Green */
    --color-light-green: #D8F3DC;
    /* Light Green */
    --color-cta: #FF8FA3;
    /* Salmon / Soft Orange */
    --color-cta-hover: #FF708A;
    --color-bg: #FAFAFA;
    /* Cream/White */
    --color-bg-gray: #F3F4F6;
    --color-text: #333333;
    --color-text-light: #555555;
    --color-white: #FFFFFF;
    --color-dark: #111111;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(27, 67, 50, 0.15);

    --transition: all 0.3s ease;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   UTILITIES & LAYOUT
   ========================================= */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.bg-gray {
    background-color: var(--color-bg-gray);
}

.bg-green {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.bg-light-green {
    background-color: var(--color-light-green);
}

.bg-dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

section {
    padding: 80px 0;
}

h1,
h2,
h3,
h4 {
    font-family: 'Fira Sans', sans-serif;
    line-height: 1.1;
    margin-bottom: 16px;
    font-weight: 700;
}

h1,
h2 {
    font-size: clamp(2rem, 5vw, 48px);
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
}
.title-primary {
    font-size: clamp(2rem, 5vw, 48px);
    color: var(--color-primary);
    text-align: left;
    margin-bottom: 40px;
}
.bg-green h2 {
    color: var(--color-white);
}

.text-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.text-block p {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--color-text-light);
}

.bg-green .text-block p {
    color: rgba(255, 255, 255, 0.9);
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary) !important;
}

/* =========================================
   BUTTONS & CTA
   ========================================= */
.cta-button {
    display: inline-block;
    background-color: var(--color-cta);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 350px;
}

.cta-button.ready {
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--color-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 143, 163, 0.4);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 143, 163, 0.7);
    }

    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 15px rgba(255, 143, 163, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 143, 163, 0);
    }
}

/* =========================================
   HEADER
   ========================================= */
.header {
    height: 70px;
    background-color: var(--color-bg);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.06));
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 180px;
    background-color: var(--color-bg);
    border-radius: 0 0 160px 160px;
    z-index: -1;
}

.header .container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.logo {
    height: 170px;
    display: block;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* =========================================
   1. HERO SECTION
   ========================================= */
.hero {
    padding: 180px 0 80px;
    /* Added padding to clear the large overhanging logo */
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-light-green) 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-text {
    text-align: center;
    max-width: 600px;
}

.hero h1 {
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.subheadline {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-badges span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.6);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
}

.hero-image img:hover {
    transform: translateY(-5px) rotate(0deg);
}

/* =========================================
   4. BENEFICIOS
   ========================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--color-light-green);
}

.benefit-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: simpleFloat 3s ease-in-out infinite;
    transition: var(--transition);
}

@keyframes simpleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.benefit-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-card p {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.1rem;
    line-height: 1.3;
}

/* =========================================
   5. QUÉ INCLUYE (LISTA VISUAL)
   ========================================= */
.que-incluye {
    background-image: linear-gradient(rgba(27, 67, 50, 0.85), rgba(27, 67, 50, 0.85)), url('./resources/img/que-incluye.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    padding: 100px 0;
}

.que-incluye h2 {
    color: var(--color-white);
}

.list-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.checklist {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .checklist {
        grid-template-columns: repeat(2, 1fr);
    }
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
}

.check {
    color: var(--color-secondary);
    font-weight: bold;
    font-size: 1rem;
    background: var(--color-white);
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(45, 106, 79, 0.3);
}

/* =========================================
   6. CÓMO FUNCIONA
   ========================================= */
.como-funciona {
    background-color: var(--color-white);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.step {
    text-align: center;
    position: relative;
    flex: 1;
}

.step-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    background: var(--color-light-green);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: organicMorph 8s ease-in-out infinite;
}

@keyframes organicMorph {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

.step:hover .step-icon-wrapper {
    transform: scale(1.1);
    background: var(--color-secondary);
}

.step-icon {
    font-size: 40px;
}

.step:hover .step-icon {
    transform: scale(1.2);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    background: var(--color-cta);
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(255, 143, 163, 0.4);
    border: 3px solid var(--color-white);
}

.step h3 {
    color: var(--color-primary);
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.step p {
    color: var(--color-text-light);
    font-size: 1rem;
    max-width: 250px;
    margin: 0 auto;
}

/* =========================================
   7. RESULTADOS REALES
   ========================================= */
.resultados-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.resultados-image {
    flex: 1;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.resultados-main {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.resultados-decoration {
    position: absolute;
    top: -10%;
    left: -60%;
    width: 100%;
    height: 120%;
    object-fit: contain;
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
}

.resultados-text {
    flex: 1;
    text-align: left;
}

.resultados-text h2 {
    text-align: left;
    margin-bottom: 24px;
}

.resultados-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

@media (min-width: 768px) {
    .resultados-container {
        flex-direction: row;
        gap: 60px;
    }
}

/* =========================================
   8. TESTIMONIOS (CAROUSEL)
   ========================================= */
.testimonios {
    position: relative;
    padding: 120px 0 150px;
    /* background-color: var(--color-bg); */
    background-color: #f4f2e9;
    overflow: hidden;
}

.wave-bg,
.wave-bg-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-bg {
    top: 0;
}

.wave-bg-bottom {
    bottom: 0;
    transform: rotate(180deg);
}

.wave-bg svg,
.wave-bg-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.wave-bg .shape-fill,
.wave-bg-bottom .shape-fill {
    fill: var(--color-light-green);
}

.section-header .subtitle {
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 40px;
    font-weight: 600;
}

.testimonials-carousel-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.carousel-nav:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: -60px;
}

.carousel-nav.next {
    right: -60px;
}

@media (max-width: 1024px) {
    .carousel-nav.prev {
        left: -20px;
    }

    .carousel-nav.next {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .carousel-nav.prev {
        left: 5px;
    }

    .carousel-nav.next {
        right: 5px;
    }
}

.testimonials-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 30px;
    padding: 20px 0;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    background: var(--color-white);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.quote-mark {
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 80px;
    /* color: var(--color-light-green); */
    color: var(--color-primary);
    line-height: 1;
    font-family: Georgia, serif;
    /* opacity: 0.5; */
}

.testimonial-item .quote {
    font-size: 1.3rem;
    font-style: normal;
    color: var(--color-text);
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 500;
}

.user-avatar-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    /* border: 4px solid var(--color-light-green); */
    border: 4px solid var(--color-primary);
    box-shadow: var(--shadow-md);
}

.user-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-item .name {
    display: block;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--color-light-green);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--color-secondary);
    transform: scale(1.3);
}

/* =========================================
   9. OFERTA
   ========================================= */
.oferta {
    /* background-color: var(--color-bg-gray); */
    background-color: #d8f3dc;
    padding: 100px 0;
}

.offer-box {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    box-shadow: 0 30px 60px rgba(27, 67, 50, 0.15);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border: 1px solid rgba(45, 106, 79, 0.1);
    text-align: center;
}

.offer-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-cta);
    color: var(--color-white);
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-block;
}

.pricing {
    margin-bottom: 32px;
}

.price-old {
    color: var(--color-text-light);
    font-size: 1.1rem;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.price-new {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.price-new strong {
    font-size: 3.5rem;
    line-height: 1;
    display: block;
    color: var(--color-secondary);
}

/* =========================================
   10. GARANTÍA
   ========================================= */
.garantia {
    padding: 100px 0;
    background-color: #E6EEC9;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.garantia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./resources/img/garantia.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.garantia .container {
    position: relative;
    z-index: 2;
}

.garantia-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 2px dashed var(--color-secondary);
    box-shadow: var(--shadow-lg);
}

.garantia-icon {
    font-size: 60px;
    background: var(--color-bg);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: inset 0 0 15px rgba(45, 106, 79, 0.1);
}

.garantia-info h2 {
    color: var(--color-primary);
    margin-bottom: 16px;
    font-size: 1.8rem;
}

.garantia-info p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .garantia-card {
        flex-direction: row;
        text-align: left;
        padding: 50px;
    }

    .garantia-info h2 {
        text-align: left;
    }
}

/* =========================================
   11. FAQ ACORDEÓN
   ========================================= */
.accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.accordion-header {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-primary);
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.accordion-header .icon {
    font-size: 1.8rem;
    color: var(--color-secondary);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.accordion-header.active {
    color: var(--color-secondary);
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: var(--color-bg-gray);
}

.accordion-content p {
    padding: 0 30px 24px;
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* =========================================
   12. CTA FINAL
   ========================================= */
.cta-final {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    overflow: hidden;
}

.cta-final-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    text-align: center;
}

.cta-final-text h2 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final-image {
    width: 100%;
    max-width: 450px;
}

.mockup-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: floatSimple 4s ease-in-out infinite;
}

@keyframes floatSimple {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@media (min-width: 992px) {
    .cta-final-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    .cta-final-text {
        flex: 1;
        max-width: 600px;
    }

    .cta-subtitle {
        margin-left: 0;
    }

    .cta-final-image {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }
}

/* =========================================
   13. FOOTER
   ========================================= */
.footer {
    padding: 60px 0;
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.6);
}

.footer p {
    margin-bottom: 12px;
}

.footer .small {
    font-size: 0.85rem;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.4;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   MEDIA QUERIES (DESKTOP)
   ========================================= */
@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .hero-text {
        text-align: left;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .trust-badges {
        justify-content: flex-start;
    }

    .cta-button {
        margin: 0;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        flex-direction: row;
        align-items: flex-start;
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =========================================
   PROBLEMA & SOLUCIÓN
   ========================================= */
.bg-green .lead-text {
    color: var(--color-light-green) !important;
}

.problema {
    background-image: url('./resources/img/leafs-left.png'), url('./resources/img/leafs-right.png');
    background-position: left center, right center;
    background-repeat: no-repeat, no-repeat;
    background-size: auto 100%, auto 100%;
    background-color: var(--color-secondary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    height: 85vh;
    align-content: center;
}

.solucion {
    background-image: linear-gradient(to bottom, rgba(250, 250, 250, 0.95) 0%, rgba(250, 250, 250, 0.85) 60%, rgba(250, 250, 250, 0.2) 100%), url('./resources/img/2-7.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.floating-salad-container {
    position: relative;
    height: 0;
    z-index: 10;
    pointer-events: none;
}

.floating-salad {
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    max-width: 45vw;
    transform: translate(-15%, -50%);
    z-index: 10;
    animation: floatBounce 4s ease-in-out infinite;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.2));
}

@keyframes floatBounce {

    0%,
    100% {
        transform: translate(-15%, -50%);
    }

    50% {
        transform: translate(-15%, calc(-50% - 30px));
    }
}

@media (max-width: 767px) {
    .floating-salad {
        width: 90px;
        transform: translate(-5%, -50%);
    }
}

.solucion-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.solucion-text {
    text-align: center;
    max-width: 600px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
}

.solucion-text .subtitle {
    display: block;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.solucion-text h2 {
    margin-bottom: 24px;
    text-align: center;
}

.solucion-text p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    font-weight: 500;
}

@media (min-width: 768px) {
    .solucion {
        background-image: linear-gradient(to right, rgba(250, 250, 250, 0.95) 0%, rgba(250, 250, 250, 0.85) 50%, rgba(250, 250, 250, 0) 100%), url('./resources/img/2-7.jpg');
    }

    .solucion-content {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        min-height: 450px;
    }

    .solucion-text {
        flex: 0 0 50%;
        text-align: left;
        background: transparent;
        backdrop-filter: none;
        padding: 0;
    }

    .solucion-text h2 {
        text-align: left;
    }
}