/********** common setting **********/
h2 {
    font-size: 2.8rem !important;
    font-weight: 700;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a,
button {
    cursor: pointer;
}

.jumbotron {
    margin-bottom: 0 !important;
}

.atlas-cta {
    border-radius: 22px !important;
    padding: 12px 30px !important;
    font-weight: 700;
    transition: .3s ease-in-out !important;
}

.atlas-cta:hover {
    text-decoration: none;
    transform: translateY(-5px);
}

.atlas-cta-wide {
    width: 100%;
}

.cta-green {
    background: #f0be53;
    color: #182945;
}

.cta-green:hover {
    color: #182945;
    background: #f6bb3d;
}

.cta-blue {
    background: #e7c884;
    color: #182945;
}

.cta-blue:hover {
    color: #182945;
    background: #f0be53;
}

.cta-ghost {
    border: 2px solid #182945 !important;
    color: #182945;
}

.cta-ghost:hover {
    color: #ffffff;
    background: #182945;
}

#banner {
    background-size: cover;
}

/* Iconos centrados y destacados */
.bi {
    transition: transform 0.3s ease;
}
.custom-card:hover .bi {
    transform: scale(1.1);
}



/********** banner **********/
#banner header {
    overflow: hidden;
}

#banner header img {
    max-width: 200px;
}

/********** feature (skew background) **********/
.feature img {
    width: 100%;
    max-width: 480px;
}

#feature-last {
    background: #3e5d91;
}

#feature-first .row {
    align-items: center;
}

#feature-first {
    background: linear-gradient(168deg, #ffffff 55%, #3e5d91 0);
    padding-top: 0rem;    /* Ajusta este valor según lo que necesites */
    padding-bottom: 0rem; /* Puedes aumentar/disminuir */
}

/********** price table **********/
#price-table {
    padding-top: 4rem !important;
    padding-bottom: 0rem !important;
}

#price-table__premium {
    background: #182945;
    color: #ffffff;
}

#price-table ul li {
    padding: 5px 0;
}

/********** contact **********/
#contact {
    background-size: cover;
}

#contact ul li {
    padding: 3px 0;
}

/* Estilo optimizado para el bloque de contacto */
#contact {
    background-size: cover;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

@media (max-width: 768px) {
    #contact {
        padding-top: 1em !important;
        padding-bottom: 1rem !important;
    }
}

/********** copyright **********/
#copyright {
    background: #182945;
    padding: 1rem 3rem;
}

#copyright #social-media a {
    width: 40px;
    height: 40px;
    border-radius: 99%;
    background: #ffffff;
    transition: .4s ease;
}

#copyright #social-media a i {
    color: #182945;
    font-size: 1.2rem;
    line-height: 40px;
}

#copyright #social-media a:hover {
    background: #f3cc77;
}

#copyright #social-media a:hover i {
    color: #182945;
}

/********** RWD **********/
@media (max-width: 767px) {
    #banner h1 {
        font-size: 3.6rem;
    }

    #banner header img {
        max-width: 150px;
    }

    .custom-card {
        padding: 1rem !important;
    }

    .float {
        width: 50px;
        bottom: 20px;
        right: 20px;
    }

    .float-whatsapp img {
        width: 100%;
    }
}

.float {
    position: fixed;
    width: 60px;
    bottom: 55px;
    right: 40px;
    z-index: 99999999999999;
}

/* Evitar scroll horizontal */
html, body {
    overflow-x: hidden;
    width: 100%;
}


body, .lead, p, h1, h2, h3, h4, h5, h6, button, a, input, textarea {
    font-family: 'Roboto', sans-serif !important;
}

@media (max-width: 400px) {
    #banner h1 {
        font-size: 3rem !important; /* Ajustalo si sigue sin entrar bien */
        word-break: break-word;       /* Opcional: fuerza a cortar palabra si es necesario */
    }
}
