/* Variables de color */
:root {
    --hero-green: #38b15e;
    --hero-dark-gray: #333;
    --hero-light-gray: #f5f5f5;
    --hero-medium-gray: #ccc;
    --hero-text-color: #555;
    --hero-border-color: #ddd;
    --hero-white: #fff;
}

.hero-section {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    background-color: transparent;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan en pantallas pequeñas */
    gap: 30px; /* Espacio entre las secciones */
    margin-top: 2rem;
}

.hero-section .hero-content {
    display: flex;
    flex-direction: column;
    gap: 0px;
    max-width: 700px;
    background-color: var(--hero-white);
    padding: 30px;
    border-radius: 8px;
    flex: 1; /* Permite que esta sección ocupe el espacio disponible */
    min-width: 300px; /* Ancho mínimo para la sección de contenido */
}
.hero-section .hero-content .hero-btn-call{
    width: 100%;
    background-color: var(--bg-hero);
    color: white;
    padding: .8rem;
    border-radius: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: bold;
    font-size: 1.7rem;
    margin-top: 1.2rem;
    cursor: pointer;
    text-decoration: none;
}
.hero-section .hero-content .hero-text-container .hero-main-title {
    color: black;
    font-size: 2.2em;
    margin-bottom: 10px;
}

.hero-section .hero-content .hero-text-container .hero-price-info {
    font-size: 1.3em;
    color: red;
    margin-bottom: 20px;
}

.hero-section .hero-content .hero-text-container .hero-price-info .hero-price {
    color: var(--bg-hero);
    font-size: 3em;
    font-weight: bold;
}

.hero-section .hero-content .hero-image-container {
    width: 100%;
}

.hero-section .hero-content .hero-image-container .hero-main-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block; /* Elimina espacio extra debajo de la imagen */
}

.hero-section .hero-form-container {
    background-color: #f1f0f0;
    padding: 30px;
    border-radius: 8px;
    max-width: 450px;
    flex: 0 1 400px; /* No crece, se encoge, y tiene un ancho base de 400px */
    min-width: 432px; /* Ancho mínimo para el formulario */
}
.hero-section .hero-form-container:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.hero-section .hero-form-container .hero-form-title {
    color: var(--hero-dark-gray);
    font-size: 1.8em;
    margin-bottom: 5px;
    margin-top: 0px;
    text-align: start;
}

.hero-section .hero-form-container .hero-form-subtitle {
    color: var(--hero-text-color);
    font-size: 0.9em;
    margin-bottom: 25px;
    text-align: start;
}

.hero-section .hero-form-container .hero-form .hero-form-group {
    margin-bottom: 15px;
}

.hero-section .hero-form-container .hero-form .hero-form-group .hero-label {
    display: block;
    margin-bottom: 5px;
    color: var(--hero-text-color);
    font-size: 0.9em;
    text-align: start;
}

.hero-section .hero-form-container .hero-form .hero-form-group .hero-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--hero-border-color);
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box; /* Asegura que padding y border no aumenten el ancho total */
}

.hero-section .hero-form-container .hero-form .hero-input::placeholder {
    color: var(--hero-medium-gray);
}

.hero-section .hero-form-container .hero-form .hero-checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.hero-section .hero-form-container .hero-form .hero-checkbox-group .hero-checkbox {
    margin-right: 10px;
    margin-top: 4px; /* Ajuste para alinear con el texto */
}

.hero-section .hero-form-container .hero-form .hero-checkbox-group .hero-checkbox-label {
    color: var(--hero-text-color);
    font-size: 0.85em;
    line-height: 1.4;
    text-align: start;
}

.hero-section .hero-form-container .hero-form .hero-checkbox-group .hero-checkbox-label .hero-link {
    color: var(--hero-green);
    text-decoration: none;
}

.hero-section .hero-form-container .hero-form .hero-checkbox-group .hero-checkbox-label .hero-link:hover {
    text-decoration: underline;
}

.hero-section .hero-form-container .hero-form .hero-submit-button {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-hero);
    color: var(--hero-white);
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.hero-section .hero-form-container .hero-benefits {
    margin-top: 30px;
    border-top: 2px solid var(--hero-border-color);
    padding-top: 20px;
}

.hero-section .hero-form-container .hero-benefits .hero-benefit-item {
    color: var(--hero-text-color);
    font-size: 1em;
    margin-bottom: 10px;
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 0;
    text-align: start;
}

.hero-section .hero-form-container .hero-benefits .hero-benefit-item .hero-check-icon {
    color: var(--hero-green);
    font-size: 1.2em;
    margin-right: 8px;
    font-weight: bold;
}

/* Media Queries para responsividad */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .hero-section .hero-content,
    .hero-section .hero-form-container {
        max-width: 100%; /* Ocupa todo el ancho disponible */
        width: 100%;
        margin-bottom: 20px; /* Espacio entre secciones apiladas */
        min-width: auto;
    }

    .hero-section .hero-content .hero-text-container .hero-main-title {
        font-size: 1.8em;
    }

    .hero-section .hero-content .hero-text-container .hero-price-info {
        font-size: 1.1em;
    }

    .hero-section .hero-form-container .hero-form-title {
        font-size: 1.5em;
    }
    
    .hero-section .hero-content .hero-btn-call {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0;
    }

    .hero-section .hero-content {
        padding: 0;
    }

    .hero-section .hero-form-container {
        padding: 20px;
    }

    .hero-section .hero-content .hero-text-container .hero-main-title {
        font-size: 1.5em;
    }

    .hero-section .hero-content .hero-text-container .hero-price-info {
        font-size: 1em;
    }

    .hero-section .hero-form-container .hero-form-title {
        font-size: 1.3em;
    }

    .hero-section .hero-form-container .hero-form .hero-submit-button {
        font-size: 1em;
        padding: 10px;
    }

    .hero-section .hero-form-container .hero-benefits .hero-benefit-item {
        font-size: 0.8em;
    }
}