/* ===== Contenedor principal ===== */
.banner-section {
    padding: 80px 10% 40px 10%;
    background-color: #f7f8fa;
    place-items: center;
}

/* Contenedor flex para columnas */
.banner-container {
    display: flex;
    gap: 40px; /* espacio entre columnas */
    align-items: flex-start;
    flex-wrap: wrap; /* permite apilar columnas en móvil */
    max-width:90%;
}

/* ===== Columna izquierda ===== */
.banner-left-column {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* alineación de heading e imagen al final */
}

.banner-heading {
    position: relative;
    z-index: 1;
}

.banner-title {
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-title-main {
    text-align: right;
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: #424242;
    line-height: 1.1; /* mejor lectura */
}

.banner-title-sub {
    text-align: right;
    display: block;
    font-size: 1.8rem;
    font-weight: 400;
    color: #E67E22;
    line-height: 1.2;
    margin-top: 5px;
}

/* Imagen */
.banner-image {
    text-align: right; /* imagen alineada a la derecha en escritorio */
}

.banner-img {
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    position: relative;
    bottom: 2.1rem;
}

/* ===== Columna derecha ===== */
.banner-right-column {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.banner-text p {
    font-family: "Poppins", Sans-serif;
    font-weight: 400;
    line-height: 23px;
    color: #424242;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

/* ===== Botón ===== */
.banner-button .elementor-button {
    background-color: #E67E22;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
    text-decoration: none;
}

.banner-button .elementor-button:hover {
    background-color: #ff4a3c;
    transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {

    .banner-section {
        padding: 40px 10%;
    }

    .banner-container {
        flex-direction: column; /* columnas apilan en tablet */
        gap: 2px;
    }

    .banner-left-column,
    .banner-right-column {
        flex: 1 1 100%;
        margin-bottom: 20px;
        align-items: center; /* centrar contenido */
        text-align: center;
    }

    .banner-title-main,
    .banner-title-sub {
        text-align: center;
    }

    .banner-image {
        text-align: center;
        height: 0;
    }

    .banner-img {
        max-width: 300px; /* ajustar imagen en tablet */
         top: -2.1rem;
    }

    .banner-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .banner-title-main {
        font-size: 1.8rem;
    }

    .banner-title-sub {
        font-size: 1.2rem;
    }

    .banner-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .banner-button .elementor-button {
        margin-top: 20px;
    }
}
