* {
    scrollbar-width: auto;
    scrollbar-color: #E4F2BE #0C5E57;
    scrollbar-face-color: #E4F2BE;
    scrollbar-base-color: #E4F2BE;
    scrollbar-3dlight-color: #E4F2BE;
    scrollbar-highlight-color: #E4F2BE;
    scrollbar-track-color: #0C5E57;
    scrollbar-arrow-color: #0C5E57;
    scrollbar-shadow-color: #E4F2BE;
    scrollbar-dark-shadow-color: #E4F2BE;
}
*::-webkit-scrollbar { width: 15px; height: 3px;}
*::-webkit-scrollbar-button { background-color: #0C5E57;}
*::-webkit-scrollbar-track { background-color: #E4F2BE;}
*::-webkit-scrollbar-track-piece { background-color: #0C5E57;}
*::-webkit-scrollbar-thumb { height: 50px; background-color: #E4F2BE; border-radius: 2px;}
*::-webkit-scrollbar-corner { background-color: #E4F2BE;}
*::-webkit-resizer { background-color: #666;}

@font-face {
    font-family: 'Agrandir';
    src: url('fonts/Agrandir-GrandHeavy.otf') format('opentype');
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Medium.otf') format('opentype');
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #F7F7F7;
    color: #0C5E57;
}

.header {
    background: linear-gradient(135deg, #E4F2BE, #D7CEE5);
    text-align: center;
    position: relative;
}

.header-banner {
    width: 100%;
    height: auto;
    max-height: 700px; /* Ajusta el tamaño máximo si es necesario */
    object-fit: cover; /* Asegura que la imagen cubra el ancho manteniendo la relación de aspecto */
}

.header h1 {
    font-size: 3.5em;
    margin: 0;
}

.header .subtext {
    font-size: 1.5em;
    margin: 10px 0;
}

.header .highlight-text {
    font-size: 1.2em;
    color: #0C5E57;
    background-color: #D7CEE5;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.header-image {
    position: absolute;
    right: 10px;
    bottom: 0;
    max-width: 300px;
}

.gallery-section, .benefits-section, .how-it-works, .plans-section, .faq-section {
    padding: 40px 20px;
    text-align: center;
}

.gallery-container, .plans-container, .steps-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-item, .benefit-image, .plan-card, .step {
    background-color: #E4F2BE;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 200px;
    transition: transform 0.3s ease;
}

.gallery-item:hover, .benefit-image:hover, .plan-card:hover, .step:hover {
    transform: scale(1.05);
}

.gallery-section {
    background-color: #FFF;
}

.category-tags span {
    background-color: #D7CEE5;
    padding: 5px 10px;
    border-radius: 5px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.gallery-item {
    background-color: #E4F2BE;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    flex: 1 1 calc(33% - 20px);
    max-width: calc(33% - 20px);
    display: none; /* Ocultar por defecto */
}

.gallery-item.show {
    display: block; /* Mostrar los elementos seleccionados */
}

.category.active {
    background-color: #0C5E57;
    color: #FFF;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: pointer;
}

.category {
    padding: 10px 15px;
    background-color: #D7CEE5;
    color: #0C5E57;
    border-radius: 60px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category:hover {
    background-color: #E4F2BE;
    color: #0C5E57;
    border-color: #0C5E57;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.category.active {
    background-color: #0C5E57;
    color: #FFF;
    border-color: #0C5E57;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.benefit-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-image img:hover {
    transform: scale(1.05);
}

.benefit-info h2 {
    font-size: 1.8em;
    color: #0C5E57;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.2em;
}

.benefits-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.check-icon {
    font-size: 1.5em;
    color: #0C5E57;
    margin-right: 10px;
}

.benefits-section {
    padding: 40px 20px;
    background: url('../img/fondo-glow.jpg') no-repeat center center;
    background-size: cover; /* Ajusta el tamaño de la imagen para cubrir todo el contenedor */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.benefits-container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.benefits-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    justify-items: center;
    background-color: #FFF;
    padding: 40px 40px;
}

.benefit-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-image img:hover {
    transform: scale(1.05);
}

.benefit-info h2 {
    font-size: 1.2em;
    color: #0C5E57;
    margin-bottom: 10px;
}

.benefit-info .benefits-subtitle {
    font-family: 'Agrandir', sans-serif;
    font-size: 1.8em;
    color: #0C5E57;
    margin-bottom: 15px;
}

.benefit-info .benefits-subtitle.better {
    color: #5A2D82;
}

.benefit-info .benefits-subtitle.benefit {
    color: #5A2D82;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.2em;
}

.benefits-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.check-icon {
    font-size: 1.5em;
    color: #0C5E57;
    margin-right: 10px;
}

.how-it-works {
    padding: 40px 20px;
    background: linear-gradient(to bottom, #E4F2BE, #D7CEE5);
    background: url('../img/fondo-glow.jpg') no-repeat center center;
    background-size: cover; /* Ajusta el tamaño de la imagen para cubrir todo el contenedor */
    text-align: center;
}

.how-it-works h2 {
    font-family: 'Agrandir', sans-serif;
    font-size: 2em;
    color: #0C5E57;
    margin-bottom: 60px;
}

.steps-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    background: #E4F2BE;
    padding: 20px;
    border-radius: 20px;
    width: 280px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.step-icon-container {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFF;
    padding: 10px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-icon {
    max-width: 100%;
    height: auto;
}

.step-content {
    margin-top: 50px; /* Espacio para el ícono */
}

.step p {
    font-size: 1.1em;
    color: #0C5E57;
    margin: 0;
}

.plans-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #F9F9F9;
}

.plans-section h2 {
    font-family: 'Agrandir', sans-serif;
    text-transform: uppercase;
    font-size: 2.5em;
    color: #0C5E57;
    margin-bottom: 30px;
}

.plans-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: #F9F9F9;
    border-radius: 20px;
    border: 4px solid #0C5E57;
    width: 300px;
    max-width: 300px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    padding-bottom: 80px; /* Aumentar padding para más espacio */
    cursor: pointer;
}

.plan-header {
    font-size: 2.6em;
    font-weight: bolder;
    text-align: center;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFF;
    border: 2px solid #F9F9F9;
    border-radius: 14px;
    z-index: 2;
    padding: 10px 20px; /* Aumentar padding para resaltar el borde */
}

.plan-header-hello {
    background-color: #E4F2BE;
    color: #0C5E57;
}

.plan-header-wow {
    background-color: #0C5E57;
    color: #FFF;
}

.plan-header-pro {
    background-color: #5A2D82;
    color: #FFF;
}

.plan-body {
    padding: 60px 20px 20px; /* Ajustar padding superior para más espacio */
}

.plan-title {
    font-size: 1.2em;
    color: #0C5E57;
    font-weight: bold;
    margin-bottom: 10px;
}

.plan-description {
    font-size: 1em;
    color: #333;
    margin-bottom: 15px;
    padding: 15px 0;
    border-top: 2px solid #0C5E57; /* Cambia el color y grosor según tu necesidad */
    border-bottom: 2px solid #0C5E57;
}

.plan-details {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
    text-align: left;
}

.plan-details li {
    margin-bottom: 5px;
    font-size: 0.9em;
    padding-left: 20px;
    position: relative;
}

.plan-details li::before {
    content: '•';
    color: #0C5E57;
    position: absolute;
    left: 0;
}

.plan-note {
    font-size: 0.9em;
    font-weight: bolder;
    color: #555;
    margin-bottom: 15px;
}

.plan-footer {
    background: #F9F9F9;
    border: 2px solid #F9F9F9;
    border-radius: 18px;
    padding: 15px 20px; /* Aumentar padding para mayor visibilidad */
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 80%;
}

.plan-footer-hello {
    background-color: #E4F2BE;
    color: #0C5E57;
}

.plan-footer-wow {
    background-color: #0C5E57;
    color: #FFF;
}

.plan-footer-pro {
    background-color: #5A2D82;
    color: #FFF;
}

.plan-price {
    margin-right: 5px;
}

.plan-price span {
    font-size: 1.6em;
    font-weight: bolder;
}

.plan-duration {
    font-size: 0.75em;
}

.faq-section {
    padding: 40px 20px;
    background-color: #E4F2BE;
    text-align: center;
}

.faq-section h2 {
    font-family: 'Agrandir', sans-serif;
    text-transform: uppercase;
    font-size: 2.5em;
    color: #0C5E57;
    margin-bottom: 30px;
}

.faq-section .highlight {
    color: #5A2D82;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #FFF;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.5em;
    color: #0C5E57;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 1em;
    color: #333;
    margin: 0;
}

.faq-item:nth-child(odd) {
    background-color: #D7CEE5;
}

.faq-item:nth-child(even) {
    background-color: #D7CEE5;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #D7CEE5; /* O un color diferente para resaltar */
}

.guarantee-section {
    padding: 40px 20px;
    text-align: center;
    background: url('../img/fondo-glow.jpg') no-repeat center center;
    background-size: cover; /* Ajusta el tamaño de la imagen para cubrir todo el contenedor */
}

.guarantee-section h2 {
    font-family: 'Agrandir', sans-serif;
    font-size: 2.5em;
    color: #0C5E57;
    margin-bottom: 20px;
}

.guarantee-content {
    max-width: 800px;
    margin: 0 auto;
    color: #333;
    font-size: 1.2em;
}

.guarantee-icon {
    width: 50px;
    height: auto;
    margin-bottom: 20px;
}

.guarantee-content p {
    margin: 10px 0;
    font-size: 1.1em;
    font-weight: bolder;
}

/* Para pantallas medianas (tablets, etc.) */
@media (max-width: 1024px) {
    .benefits-gallery {
        grid-template-columns: repeat(3, 1fr); /* Reduce a 3 columnas */
        margin: 0 auto;
    }

    .plan-card {
        margin: 0 auto;
    }

    .step {
        margin-bottom: 40px;
    }
}

/* Para pantallas más pequeñas (dispositivos móviles) */
@media (max-width: 768px) {
    .benefits-gallery {
        grid-template-columns: repeat(2, 1fr); /* Reduce a 2 columnas */
        margin: 0 auto;
    }

    .step {
        margin-bottom: 40px;
    }

    .plan-card {
        margin: 0 auto;
    }

    .faq-section h2 {
        font-size: 2.1em;
    }
}

/* Para pantallas muy pequeñas (teléfonos móviles pequeños) */
@media (max-width: 480px) {
    .benefits-gallery {
        grid-template-columns: 1fr; /* Muestra una sola columna */
        margin: 0 auto;
    }

    .step {
        margin-bottom: 40px;
    }

    .plan-card {
        margin: 0 auto;
    }

    .faq-section h2 {
        font-size: 2.1em;
    }
}
