html {
    scroll-behavior: smooth;
}

section[id],
footer[id] {
    scroll-margin-top: 90px;
}

/*
|--------------------------------------------------------------------------
| Botón flotante de WhatsApp
|--------------------------------------------------------------------------
| Se coloca a la izquierda del botón "Ir arriba" de la plantilla para
| evitar que ambos botones se superpongan.
*/
.whatsapp-float {
    position: fixed;
    right: 92px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #ffffff;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    z-index: 9998;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.whatsapp-float:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

@media (max-width: 767.98px) {

    .whatsapp-float {
        right: 16px;
        bottom: 75px;
        width: 54px;
        height: 54px;
        font-size: 27px;
    }
}
/*
|--------------------------------------------------------------------------
| Presentación visual del hero
|--------------------------------------------------------------------------
*/
.flowa-hero-browser {
    overflow: hidden;
    width: 100%;
    max-width: 620px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 30px 65px rgba(11, 12, 92, 0.30);
    text-align: left;
}

.flowa-browser-header {
    min-height: 52px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    background: #f4f5ff;
    border-bottom: 1px solid #e6e7f2;
}

.flowa-browser-dots {
    display: flex;
    gap: 7px;
}

.flowa-browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d2d4e7;
}

.flowa-browser-url {
    margin: 0 auto;
    padding-right: 42px;
    color: #777aa4;
    font-size: 13px;
    font-weight: 600;
}

.flowa-browser-content {
    padding: 38px;
}

.flowa-project-badge {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff1be;
    color: #111269;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.flowa-browser-content h3 {
    margin-bottom: 14px;
    color: #111269;
    font-size: clamp(28px, 3vw, 42px);
}

.flowa-browser-content > p {
    margin-bottom: 22px;
    color: #73759a;
    line-height: 1.75;
}

.flowa-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.flowa-tech-tags span {
    padding: 7px 11px;
    border-radius: 8px;
    background: #f1f2ff;
    color: #111269;
    font-size: 12px;
    font-weight: 700;
}

.flowa-project-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 26px;
}

.flowa-project-summary div {
    padding: 14px 10px;
    border-radius: 12px;
    background: #f8f8fc;
    text-align: center;
}

.flowa-project-summary strong,
.flowa-project-summary span {
    display: block;
}

.flowa-project-summary strong {
    margin-bottom: 3px;
    color: #111269;
    font-size: 14px;
}

.flowa-project-summary span {
    color: #8a8cad;
    font-size: 12px;
}

.flowa-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #111269;
    font-weight: 700;
}

.flowa-preview-link:hover,
.flowa-preview-link:focus {
    color: #4452ff;
}

@media (max-width: 991.98px) {
    .flowa-hero-browser {
        margin: 35px auto 0;
    }

    .flowa-browser-content {
        padding: 30px;
    }
}

@media (max-width: 575.98px) {
    .flowa-browser-content {
        padding: 24px 20px;
    }

    .flowa-project-summary {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   Portafolio: mismas dimensiones de imágenes
========================================= */

.flowa-portfolio-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    background: #f4f6fb;
}

.flowa-portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.saasbox-news-area .card-img-top {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: top center;
}
.saasbox-news-area .blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.saasbox-news-area .post-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.saasbox-news-area .post-content .btn {
    margin-top: auto !important;
    align-self: flex-start;
}

/* =====================================================
   EXPERIENCIA APLICADA
   Reorganiza la sección después de eliminar client-shape
===================================================== */

.client-feedback-area {
    display: grid !important;
    grid-template-columns: 30% 70%;
    align-items: center;
    gap: 30px;

    width: 100%;
    padding-left: 6%;
    padding-right: 0;
}

/* Bloque del título */
.client-feedback-heading {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;

    left: auto !important;
    right: auto !important;
    top: auto !important;

    padding-right: 30px;
}

/* Alineamos el título a la izquierda */
.client-feedback-heading .section-heading {
    text-align: left !important;
}

/* Carrusel */
.client-feedback-content {
    position: relative !important;

    width: 100% !important;
    max-width: 100% !important;

    left: auto !important;
    right: auto !important;
}

/* Tablet */
@media (max-width: 991.98px) {

    .client-feedback-area {
        grid-template-columns: 35% 65%;
        padding-left: 30px;
    }

    .client-feedback-heading {
        padding-right: 20px;
    }
}

/* Móvil */
@media (max-width: 767.98px) {

    .client-feedback-area {
        display: block !important;
        padding: 70px 20px;
    }

    .client-feedback-heading {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .client-feedback-heading .section-heading {
        text-align: center !important;
    }

    .client-feedback-content {
        width: 100% !important;
    }
}