* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

:root {
    --blue-primary: #1a6fc4;
    --blue-card: #1e7ed4;
    --white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.88);
    --wave-height: 120px;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 32px rgb(0 0 0 / 7%);
    max-height: 280px;
    overflow-y: auto;
    z-index: 9999;
    width: 100%;
    left: 0;
}
.dropdown ul {
    list-style: none;
    padding: 8px 0;
}

.dropdown ul li {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    color: #333;
    transition: background 0.2s;
}
#jobInput{
    border: none;
}
#countryInput{
    border: none;
}

.dropdown ul li:hover {
    background: #f0f7ff;
    color: var(--blue-primary);
}

.dropdown ul li div {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Dropdown de categorías alineado al primer campo */
.dp-category {
    left: 0;
    width: 50%;
}

.dp-country {
    left: 50%;
    width: calc(50% + 8px);
    right: 0;
}
.hero {
    position: relative;
    width: 100%;
    min-height: calc(1070px + var(--wave-height));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 89, 139, 0.85) 0%,
            rgba(0, 132, 221, 0.40) 60%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 920px;
    width: 100%;
    margin-bottom: var(--wave-height);
}

.hero__title {
    font-size: clamp(1.55rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.hero__subtitle {
    font-size: clamp(0.9rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 32px;
    font-weight: 500;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
    transition: border-radius 0.2s;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    padding-right: 8px;
}
.search-bar.bblr-0 {
    border-radius: 50px 50px 0 0 !important;
}
.search-bar__field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    padding: 17px 24px;
    min-width: 0;
}

.search-bar button[type="submit"] {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background:  #0084DD;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.search-bar button[type="submit"] svg {
    width: 20px;
    height: 20px;
}
.search-bar button[type="submit"] svg path {
    fill: white;
    stroke: white;
    stroke-width: 1px;
}

.search-bar__field+.search-bar__field {
    border-left: 1.5px solid #d1e3f5;
}

.search-bar__icon {
    flex-shrink: 0;
    color: var(--blue-primary);
    width: 18px;
    height: 18px;
}

.search-bar__input {
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    color: #444;
    width: 100%;
    background: transparent;
}

.search-bar__input::placeholder {
    color: #aab;
}

.hero__wave {
    position: absolute;
    bottom: -200px;
    left: 0;
    width: 100%;
    object-fit: fill;
    object-position: bottom;
    display: block;
    z-index: 3;
}

/* ════════════════════════════════
     SECCIÓN BLANCA + CARDS
     ════════════════════════════════ */
.cards-section {
    margin-top: -17rem;
    padding: 0 24px 72px;
    position: relative;
    z-index: 4;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1250px;
    margin: 0 auto;
    padding-top: 0;
}

.card {
    position: relative;
    overflow: hidden;
    height: 435px;
    padding: 29px 38px 26px;
    border-radius: 26px;
    color: #fff;
    border: 1px solid #048CDF;
    background: linear-gradient(180deg, #048CDF 0%, #1AA6E5 100%);
    box-shadow: 0 18px 45px rgba(0, 89, 139, 0.20), 0 8px 18px rgba(0, 132, 221, 0.15);
    transition: transform .35s ease, box-shadow .35s ease;
}

.card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 24px 60px rgba(0, 89, 139, 0.28),
        0 12px 25px rgba(0, 132, 221, 0.20);
}

/* NUMERO */
.card__number {
    width: 50px;
    height: 50px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: #058CDF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .10);
}

/* TITULO */
.card__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-bottom: 18px;

    font-size: 1.5rem;
    font-weight: 700;

    text-align: center;
}

.card__subtitle {
    font-size: 19px;
    color: white;
    font-weight: 500;
    margin: 0;
}

/* ICONO IMAGEN */
.card__icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

/* TEXTO */
.card__text {
    max-width: 300px;
    margin: auto;
    font-size: 18px;
    line-height: 1.5;
    text-align: justify;
    color: rgba(255, 255, 255, .95);
    font-weight: 500;
}

.card__one {
    padding-top: 40px;
}

.card__three {
    padding-top: 40px;
}

.text__footer__card {
    color: #0084DD;
    text-align: center;
    font-size: 2.5rem;
    padding: 6rem 0 10px;
    font-weight: 500;
}

/*PARTE DEL VIDEO*/

.content__video {
    max-width: 1200px;
    margin: auto;
    padding: 40px 0;
}

.two__parts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 40px;
}

.video {
    width: 100%;
    height: 400px;
    background: #000000;
    border-radius: 45px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.line__blue {
    background: #00598B;
    height: 15px;
    width: 20%;
}

.video h1 {
    font-size: 50px;
    color: white;
    font-weight: 300;
}

.left__video h1 {
    color: #0084DD;
    font-size: 3.3rem;
    font-weight: 700;
}

.left__video h2 {
    color: #00598B;
    font-size: 3.3rem;
    font-weight: 800;
    padding-bottom: 13px;
}

.left__video p {
    font-size: 20px;
    font-weight: 500;
    padding-top: 20px;
    line-height: 1.5;
}

/*////////////////////////
    BOX DE PENSAMIENTO
////////////////////////*/

.box__container {
    padding-bottom: 3rem;
}

.box-message {
    width: min(90%, 1200px);
    max-width: 1200px;
    margin: 50px auto;
    background: #00598B;
    border-radius: 100px;
    padding: 50px 20px 70px;
    position: relative;
    text-align: center;
}

.box-message::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: 120px;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-top: 90px solid #00598B;
}

.box-message h1 {
    color: white;
    font-size: 43px;
    line-height: 1.2;
    margin-bottom: 50px;
    padding: 0 7rem;
    font-weight: 600;
}

.btn__box {
    display: inline-block;
    background: #ffffff;
    color: #005b8f;
    padding: 30px 60px;
    border-radius: 25px;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
}

/*=====================
    STEPS CHICA
=======================*/

.steps-section {
    background: #ffffff;
    padding: 20px 20px;
    position: relative;
    overflow: hidden;
}

.container-girl {
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.left {
    width: 45%;
    bottom: -4rem;
    position: relative;
}

.girl-index {
    width: 100%;
    max-width: 500px;
    display: block;
}

.right {
    width: 55%;
    padding-bottom: 6rem;
}

.right h2 {
    font-size: 52px;
    line-height: 1.1;
    text-align: end;
    color: #0d7bdd;
    margin-bottom: 5rem;
    font-weight: 500;
}

.right h2 span {
    font-weight: 700;
    position: relative;
}
.right h2 span::after {
    content: "";
    position: absolute;
    left: 87%;
    transform: translateX(-50%);
    bottom: -24px;
    width: 130px;
    height: 14px;
    background: #1485df;
}
.line {
    width: 90px;
    height: 12px;
    background: #0d7bdd;
    margin-bottom: 40px;
    margin-left: auto;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.icon-circle {
    min-width: 95px;
    width: 95px;
    height: 95px;
    border: 3px solid #0d7bdd;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle img {
    width: 50px;
}

.step-content h3 {
    color: #0d7bdd;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
}

.step-content p {
    max-width: 490px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #111;
}

.cta-box_girl {
    max-width: 1300px;
    margin: auto;
    background: #fff;
    border: 4px solid #0d7bdd;
    border-radius: 90px;
    padding: 25px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.cta-text {
    padding-left: 20px;
}

.cta-text h4 {
    font-size: 25px;
    font-weight: 400;
}

.cta-text span {
    color: #0d7bdd;
    font-size: 28px;
    font-weight: 700;
}

.cta-btn {
    background: #0d7bdd;
    color: #fff;
    text-decoration: none;
    padding: 28px 45px;
    border-radius: 60px;
    font-size: 21px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: .3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.text-step-footer {
    text-align: center;
    padding: 4rem 0;
    color: #0d7bdd;
    font-size: 35px;
    font-weight: 700;
}


/* =========================
    CURVA Y CARRUSEL
========================= */

.reviews-section {
    position: relative;
    overflow: hidden;
}

.top-bg {
    background-image: url('../../images/home/image-bg-middle.jpg');
    background-size: cover;
    background-position: center;

    position: relative;

    padding: 70px 20px 220px;
}

.overlay_reviews {
    position: absolute;
    inset: 0;
    background: #0a5178d1;
}

.categories-container {
    position: relative;
    z-index: 2;

    max-width: 1200px;
    margin: auto;
}

.categories-container h2 {
    color: #fff;
    text-align: center;
    font-size: 45px;
    font-weight: 600;
    margin-bottom: 50px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    max-width: 900px;
    margin: auto;
}

.category-card {
    background: #fff;
    border-radius: 22px;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.category-card img {
    width: 35px;
}

.category-card span {
    font-size: 19px;
    color: #004f97;
    font-weight: 600;
}

.curve-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 460px;
    z-index: 3;
}

.curve-wrapper img {
    width: 100%;
    display: block;
}

.reviews-content {
    background: linear-gradient(180deg,
            #058ADE 2%,
            #21AEE7 98%);
    padding: 7px 20px 100px;
    position: relative;
    z-index: 4;
}

.reviews-header {
    max-width: 1200px;
    margin: auto auto 60px;
}

.reviews-header h2 {
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.0;
}

.reviews-header p {
    color: #fff;
    font-size: 30px;
    margin-top: 15px;
}

.line__carrusel {
    width: 80px;
    height: 7px;
    background: #fff;
    margin-top: 25px;
}

.reviewsSwiper {
    max-width: 1200px;
    margin: auto;
    padding-bottom: 70px;
}

.review-card {
    background: #fff;

    border-radius: 12px;

    padding: 35px;

    min-height: 280px;
}

.review-top {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 30px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333;
}

.review-top h3 {
    font-size: 22px;
}

.stars {
    color: #0076da;
    font-size: 22px;
}

.review-card p {
    text-align: center;
    font-size: 19px;
    line-height: 1.2;
}

.swiper-button-next,
.swiper-button-prev {
    display: none;
}

.swiper-pagination-bullet {
    background: #fff !important;
    opacity: .6;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/*==================
    CARRUSEL
====================*/

.clientes-section {
    width: 100%;
    background: #ffffff;
    padding: 80px 0;
    overflow: hidden;
}

.clientes-container {
    width: 90%;
    margin: auto;
}

.clientes-section h2 {
    text-align: center;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 80px;
    color: #000;
}

.clientes-section h2 span {
    font-weight: 700;
}

.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slide-track {
    display: flex;
    align-items: center;
    gap: 100px;
    width: max-content;
    animation: scroll 18s linear infinite;
}

.slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
}

.slide img {
    width: 100%;
    max-width: 220px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s ease;
}

.slide img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
@media (max-width: 1400px){
    .curve-wrapper{
        top: 500px;
    }
}

@media (max-width: 1024px) {
    .text__footer__card {
        font-size: 30px;
    }
}

@media(max-width:992px) {

    .left,
    .right {
        width: 100%;
    }

    .girl-index {
        max-width: 380px;
        margin: auto;
    }

    .line {
        margin: 20px auto 50px;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-box_girl {
        flex-direction: column;
        border-radius: 40px;
        text-align: center;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    .left{
        display: none;
    }
    .categories-grid{
        grid-template-columns:1fr 1fr;
    }
    .reviews-header{
        margin: 60px 20px;
    }

    .reviews-header h2{
        font-size:42px;
    }
    .curve-wrapper{
        top: 535px;
    }
    .right h2{
        text-align: center;
    }
    .hero__wave{
        bottom: -121px;
    }

    .box-message h1{
        padding: 0;
    }
}

@media (max-width: 840px) {
    :root {
        --wave-height: 90px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .video {
        width: 100%;
    }

    .card:last-child {
        grid-column: 1 / -1;
        max-width: 420px;
        margin-inline: auto;
        width: 100%;
        height: auto;
    }

    .card__one {
        padding-top: 0;
    }

    .card__three {
        padding-top: 0;
    }

    .text__footer__card {
        font-size: 25px;
        padding: 4rem 0 0 0;
    }

    .two__parts {
        display: flex;
        flex-direction: column;
    }
    .cards-section{
        padding: 0 24px 5px;
    }
    .curve-wrapper {
        top: 543px;
    }
}

@media (max-width: 811px) {
    .curve-wrapper {
        top: 563px;
    }
}

@media(max-width:768px) {
    .hero__wave {
        bottom: -75px;
    }
    .box-message {
        border-radius: 40px;
        padding: 40px 25px 70px;
    }

    .box-message h1 {
        font-size: 28px;
    }

    .btn__box {
        font-size: 20px;
        padding: 20px 35px;
    }

    .box-message::after {
        left: 60px;
        border-left: 35px solid transparent;
        border-right: 35px solid transparent;
        border-top: 55px solid #005b8f;
        bottom: -50px;
    }
    .right h2{
        text-align: center;
    }

    .categories-grid{
        grid-template-columns:1fr;
    }

    .categories-container h2{
        font-size:36px;
    }

    .category-card span{
        font-size:20px;
    }

    .curve-wrapper{
        top:650px;
    }

    .review-top h3{
        font-size:22px;
    }

    .review-card p{
        font-size:16px;
    }

    .clientes-section {
        padding: 60px 0;
    }

    .clientes-section h2 {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .slide-track {
        gap: 50px;
        animation: scroll 14s linear infinite;
    }

    .slide {
        min-width: 180px;
    }

    .slide img {
        max-width: 150px;
    }

    .curve-wrapper{
        top: 700px;
    }
    .left__video h1{
        font-size: 3rem;
    }
    .left__video h2 {
        font-size: 3rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        padding-top: 20px;
    }
}
@media(max-width:654px){
    .curve-wrapper {
        display: none;
    }
    .top-bg{
        padding: 70px 20px 100px;
    }
    .search-bar__field {
        position: relative; /* agregar esto */
    }

    .dp-category {
        left: 0;
        width: 100%; /* ocupa el ancho del campo, no del search-bar */
    }

    .dp-country {
        left: 0;    /* era left: 50% */
        width: 100%;
    }
}
@media(max-width:576px){

    .right h2{
        font-size:36px;
    }

    .step-content h3{
        font-size:24px;
    }

    .step-content p{
        font-size:16px;
    }
    .cta-text h4{
        font-size:24px;
    }
    .cta-text span{
        font-size:30px;
    }
    .cta-btn{
        font-size:18px;
        padding:20px;
    }
    .reviews-header h2 {
        font-size: 30px;
    }

    .categories-container h2 {
        font-size: 30px;
    }
    .clientes-section h2 {
        font-size: 30px;
    }
    .text-step-footer {
        font-size: 30px;
    }
    .left__video{
        text-align: center;
    }
    .line__blue{
        display: none;
    }
}

@media (max-width: 560px) {
    :root {
        --wave-height: 70px;
    }
    .hero__content {
        padding: 60px 16px 32px;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 18px;
    }
    .search-bar__field+.search-bar__field {
        border-left: none;
        border-top: 1.5px solid #d1e3f5;
    }
    .search-bar__field {
        padding: 14px 18px;
    }

    .search-bar__btn{
        border: none !important;
        background: #45a7f6 !important;
        color: white !important;
        font-size: 15px !important;
        padding: 20px !important;
        font-weight: 500 !important;
    }

    .card:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    .two__parts {
        padding: 20px;
    }
    .text__footer__card {
        font-size: 23px;
        padding: 2rem;
    }
    .left__video h2,
    .left__video h1 {
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .clientes-section h2 {
        font-size: 28px;
    }
    .slide {
        min-width: 140px;
    }
    .slide img {
        max-width: 120px;
    }
    .text-step-footer {
        font-size: 25px;
    }
    .box-message h1 {
        font-size: 20px;
    }
}

@media (max-width: 380px) {
    :root {
        --wave-height: 55px;
    }
}
