:root {
    --main-blue: #006fcf;
    --secondary-blue: #021758;
    --orange: #f0912d;
    --text: #383838;
}

@font-face {
    font-family: "OpenSans";
    src:
        url("../fonts/OpenSans-Bold.woff2") format("woff2"),
        url("../fonts/OpenSans-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "OpenSans";
    src:
        url("../fonts/OpenSans-Regular.woff2") format("woff2"),
        url("../fonts/OpenSans-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "OpenSans";
    src:
        url("../fonts/OpenSans-ExtraBold.woff2") format("woff2"),
        url("../fonts/OpenSans-ExtraBold.woff") format("woff");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "OpenSans";
    src:
        url("../fonts/OpenSans-SemiBold.woff2") format("woff2"),
        url("../fonts/OpenSans-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body {
    color: var(--secondary-blue);
    font-family: OpenSans, sans-serif;
    max-width: 100%;
    overflow-x: hidden !important;
    background-color: white;
}

b {
    font-family: OpenSans, sans-serif;
    font-weight: bold;
}

.form-control:focus-visible {
    text-shadow: none !important;
}

#overlay {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: #383838 repeat;
    z-index: 500;
}

#forms {
    z-index: 999;
    position: relative;
}

.small,
small {
    font-size: 0.575em;
}

.bottomRow {
    min-height: 2rem;
    background-color: #0b1129;
    position: sticky;
    bottom: 0;
    z-index: 999;
    display: none;
}

.bottomRowIdx {
    min-height: 2rem;
    background-color: #0b1129;
    position: sticky;
    bottom: 0;
    z-index: 999;
    display: none;
}

.bottomfixed {
    min-height: 2rem;
    background-color: #0b1129;
    bottom: 0;
    z-index: 999;
    display: none;
}

.btn-full {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    background: var(--main-blue);
    z-index: 999;
}

h1,
h3,
h4,
h5,
h6 {
    font-family: OpenSans, sans-serif;
}

h3 span,
h4 span,
h5 span {
}

h1 {
    text-align: left;
    color: var(--main-blue);
    font-size: 1.4rem;
    line-height: 2.2rem;
    font-weight: 600;
}

h1 span {
    color: var(--secondary-blue);
    font-weight: 800;
}

h2 {
    color: black;
    font-weight: 700;
}

h2 span {
    color: var(--main-blue);
}

h4 {
    font-weight: 600;
    color: var(--bg-blue);
    font-size: 0.9rem;
    margin: unset;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1.6rem;
    color: var(--bg-gray);
}

h6 span {
    font-weight: 600;
    color: var(--bg-blue);
}

ul li::marker {
    color: var(--bg-red);
}

ul li span {
    padding: 0;
    margin: 13px 0;
    font-size: 0.7rem;
    font-weight: normal;
    color: var(--text);
}

.am {
    width: 6.5rem;
}

/* navbar */

nav {
    background: var(--black);
    box-shadow: 0px 5px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.logo {
    width: 8rem;
}

a.navbar-brand {
    display: contents;
}

.navbar-toggler {
    border-color: var(--main-color);
    background: var(--main-color);
}

.navbar-dark .navbar-nav .nav-link {
    font-weight: 500;
    color: #8e8e8e;
    font-size: 1.2rem;
    text-align: center;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: black;
}

.navbar-dark .navbar-nav .nav-link.active:after {
    content: "";
    float: left;
    background: var(--main-blue);
    width: 100%;
    height: 2px;
    border-radius: 0px;
    margin-top: 2px;
}

.navbar-dark .navbar-nav .nav-link:hover {
    font-weight: 500;
    color: black;
    font-size: 1.2rem;
}

li.btn {
    border-radius: 0.0625rem;
    border: 1px solid #006fcf;
    background: #fff;
    color: var(--main-blue);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
}

li.btn:hover {
    border-radius: 0.0625rem;
    border: 1px solid #006fcf;
    background: #fff;
    color: var(--main-blue);
    text-transform: uppercase;
}

/* li.btn .nav-link {
    font-weight: 700 !important;
} */

/* main */

.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: rgba(var(--bs-body-color-rgb), 0.65);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > .form-select {
    height: calc(3rem + calc(var(--bs-border-width) * 2));
    min-height: calc(3rem + calc(var(--bs-border-width) * 2));
    line-height: 1.25;
}

.form-floating > label {
    font-size: 0.8rem;
    top: 0;
    color: #646464;
    font-weight: lighter;
}

.legals {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: white;
}

.legals a {
    color: var(--bg-blue);
}

.success {
    margin: auto;
    width: 90%;
    padding: 1rem;
    background: var(--sec-color);
    box-shadow: 10px 13px 16px rgba(0, 0, 0, 0.21);
    color: white;
}

form,
.success {
    margin: auto;
    width: 21.8rem;
    padding: 1rem;
    background: #006fcf;
    box-shadow: 0px 11px 23px 0px rgba(13, 17, 29, 0.37);
}

.success img {
    background: var(--bg-blue);
    border-radius: 50%;
}

.success img.mx-1 {
    background: transparent;
    border-radius: 0;
}

.form-control,
.input-group select.form-select {
    background: white;
    border-radius: 0;
}

form .form-title {
    font-size: 1.3rem;
    color: white;
    font-weight: 700;
    text-align: left;
}

form .form-title span {
    font-weight: 500;
    font-size: 0.8rem;
}

.form-control::placeholder {
    color: white;
}

.form-floating > .form-control:focus {
    background: white;
}

.form-floating > .form-control:focus ~ label {
    color: #646464;
}

.form-floating > .form-control:focus ~ label::after {
    background-color: transparent;
}

input label {
    background-color: transparent;
}

.form-floating {
    color: #414042;
}

.form-check-input[type="checkbox"] {
    border-radius: 0.25em;
}

.form-check-input {
    --bs-form-check-bg: transparent;
}

.form-check-input:checked {
    background-color: transparent;
    border-color: #ffffff;
}

.navbar-nav .nav-item.btn .nav-link,
.btn-footer {
    color: var(--main-blue);
    font-size: 1.3rem;
    padding: 0.5rem 2rem;
    font-weight: 500;
}

.btn.btn-form {
    border-radius: 0;
    background: var(--secondary-blue);
    color: white;
    font-size: 0.9rem;
    padding: 1rem 0;
    font-weight: normal;
    position: relative;
    z-index: 9;
    width: 100%;
    text-transform: uppercase;
}

.btn.btn-form:active {
    border-radius: 0;
    background: var(--main-blue);
    color: white;
}

.loader {
    display: none;
}

.success .btn.btn-form {
    border-radius: 0;
    background: var(--secondary-blue);
    color: white;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    font-weight: normal;
    position: relative;
}

.loader {
    text-align: center;
    color: white;
    margin: auto;
}

.success .btn.btn-form {
    font-size: 1rem;
}

.btn-collapse.collapsed {
    background: white;
    border-radius: 0;
    border-bottom: solid 2px #cecece;
    padding: 0.5rem;
    color: var(--text);
    min-height: 7.5rem;
    font-size: 0.7rem;
    display: flex;
    align-content: center;
    justify-content: space-around;
    align-items: center;
}

.btn-collapse {
    background: var(--bg-red);
    border-radius: 0;
    border-bottom: 2px #cecece;
    padding: 0.5rem;
    color: white;
    font-size: 0.7rem;
    display: flex;
    align-content: center;
    justify-content: space-around;
    align-items: center;
    max-height: 5.5rem;
}

.main-image {
    padding: 1rem 0;
    max-height: fit-content;
    background-position: 54%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.top-img {
    height: 20rem;
    background-size: 10px;
    text-align: center;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.tamaño {
    color: white;
    display: flex;
    align-items: center;
    border-radius: 0.3125rem;
    background: #006fcf;
    box-shadow: 1px 2px 9.7px 1px rgba(10, 10, 10, 0.06);
    padding: 3rem 3rem;
    justify-content: space-between;
}

.tamaño h3 {
    font-size: 1.1rem;
}

.tamaño img {
    width: 3.8125rem;
}

.control {
    background-color: #008ff9;
    color: white;
    display: flex;
    padding: 3rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border-radius: 0.3125rem;
    background: #008ff9;
    box-shadow: 1px 2px 9.7px 1px rgba(10, 10, 10, 0.06);
    gap: 2rem;
    flex-direction: row;
    justify-content: space-between;
}

.control h3 {
    font-size: 1.1rem;
}

.control img {
    width: 5rem;
    height: 5rem;
}

footer {
    background-color: var(--secondary-blue);
}

footer .btn-footer {
    background: var(--main-blue);
    color: white;
}

footer .btn-footer:hover {
    background: white;
    color: var(--main-blue);
}

.main .btn-hero {
    color: white;
    display: flex;
    padding: 0.5rem 2rem;
    justify-content: space-between;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
    background-color: var(--main-blue);
    width: 100%;
    font-size: 1rem;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.main .btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.main p.sub {
    color: var(--text);
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.amex-business-section {
    margin-top: 2rem;
    padding: 3rem 2rem;
    border-radius: 0.625rem;
    border: 1px solid #e3e3e3;
    background: #fff;
    box-shadow: 0px 0px 20px 0px rgba(173, 173, 173, 0.29);
}

.amex-business-section h2 {
    color: var(--secondary-blue);
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.amex-business-section h2 span {
    font-weight: normal;
    color: var(--secondary-blue);
}

.amex-business-section p {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.amex-business-section .cashback-text {
    color: var(--secondary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    /* margin-bottom: 1rem; */
}

.amex-business-section .amount {
    color: var(--main-blue);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.amex-business-section .amount span {
    color: var(--secondary-blue);
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.amex-business-section .subtitle {
    color: var(--text);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.amex-business-section .btn-hero {
    border-radius: 0.3125rem;
    border: 1px solid #e3e3e3;
    background: var(--secondary-blue);
    color: #fff;
    font-size: 1rem;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    padding: 0.7rem 2rem;
}

.amex-card .btn-hero {
    border-radius: 0.3125rem;
    border: 1px solid #e3e3e3;
    background: var(--main-blue);
    color: #fff;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 0.7rem 2rem;
}

.main .btn-hero {
    background-color: var(--main-blue);
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    transition: all 0.3s ease;
}

.main .btn-hero:hover {
    background-color: #005ba9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main .btn-hero svg {
    width: 17px;
    height: 24px;
    margin-left: 1rem;
}

.btn-hero svg {
    width: 17px;
    height: 24px;
    margin-left: 1rem;
}

.bonus-section {
    text-align: left;
    margin: 2rem 0;
    display: flex;
}

.check-icon {
    margin-bottom: 1rem;
}

.bonus-amount {
    color: var(--secondary-blue);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
}

.bonus-amount sup {
    font-size: 0.9rem;
    /* top: -1em; */
}

.bonus-text {
    color: var(--text);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.bonus-text sup {
    font-size: 0.8rem;
    top: -0.5em;
}

.amex-card {
    border-radius: 0.3125rem;
    border: 1px solid #e1e1e2;
    background: #fff;
    box-shadow: 0.5px 0.5px 6px #0000001a;
}

.amex-card .title {
    color: #585b5f;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1.5rem;
    /* 126.316% */
}

.elige .amex-card img {
    width: 100%;
}

.elige h2 {
    color: var(--secondary-blue);
}

.elige img {
    width: 3rem;
}

/* Cards Section */

.cards-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.cards-section-title {
    color: var(--secondary-blue);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cards-section-description {
    color: var(--text);
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.check-icon-small {
    flex-shrink: 0;
    margin-right: 0.75rem;
    padding-top: 0.25rem;
    /* Adjust to align checkmark with text */
}

.check-icon-small svg {
    width: 1.25rem;
    height: 1.25rem;
}

.feature-title {
    color: var(--main-blue);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-description {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.cards-section-disclaimer {
    color: #757575;
    font-size: 0.675rem;
    margin-top: 2rem;
    opacity: 0.7;
}

.cards-section.beneficios h2 {
    font-weight: 100;
    text-transform: uppercase;
}

/* Media Queries ordenadas de menor a mayor breakpoint */

@media (min-width: 600px) {
    .logo {
        width: 8rem;
    }
    .main .btn-hero {
        color: white;
        display: flex;
        padding: 0.5rem 1.5rem;
        justify-content: space-between;
        align-items: center;
        gap: 0.625rem;
        flex-shrink: 0;
        background-color: var(--main-blue);
        width: 100%;
        font-size: 1.2rem;
        text-transform: uppercase;
        border: none;
        border-radius: 0;
        transition: all 0.3s ease;
    }
    .btn.btn-form {
        border-radius: 0;
        background: var(--secondary-blue);
        color: white;
        font-size: 1.3rem;
        padding: 1rem;
        font-weight: 600;
        position: relative;
        z-index: 9;
    }
    .control img {
        width: 9rem;
        height: 9rem;
    }
    .tamaño img {
        width: 11.8125rem;
        height: 11.8125rem;
    }
    .tamaño,
    .control {
        min-height: 21rem;
    }
    form,
    .success {
        width: 82%;
        margin-right: 0;
        margin: auto;
        padding: 1rem;
        background: #006fcf;
        box-shadow: 0px 11px 23px 0px rgba(13, 17, 29, 0.37);
    }
    .top-img {
        height: 20rem;
        background-size: 10px;
        text-align: center;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }
    .tamaño {
        color: white;
        display: flex;
        align-items: center;
        border-radius: 0.3125rem;
        background: #006fcf;
        box-shadow: 1px 2px 9.7px 1px rgba(10, 10, 10, 0.06);
        padding: 3rem 3rem;
        justify-content: space-between;
        flex-direction: row;
    }
    .tamaño h3 {
        font-size: 1.5rem;
    }
    .tamaño img {
        width: 6.8125rem;
        height: 11.8125rem;
    }
    .control {
        background-color: #008ff9;
        color: white;
        display: flex;
        padding: 3rem;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        border-radius: 0.3125rem;
        background: #008ff9;
        box-shadow: 1px 2px 9.7px 1px rgba(10, 10, 10, 0.06);
        gap: 2rem;
        flex-direction: column;
    }
    .control h3 {
        font-size: 1.5rem;
    }
    .control img {
        width: 9rem;
        height: 9rem;
    }
    form .form-title {
        font-size: 1.1rem;
    }
    h1 {
        font-size: 1.7rem;
        line-height: normal;
    }
    .navbar-nav .nav-item.btn .nav-link,
    .btn.btn-form,
    .btn-footer {
        font-size: 0.9rem;
    }
    .main-image2 p {
        font-size: 1.1rem;
    }
    .navbar-dark .navbar-nav .nav-link {
        font-size: 0.8rem;
    }
    .top-img {
        height: 25rem;
        background-size: 10px;
        text-align: center;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
        bottom: 0;
        position: absolute;
    }
}

@media (min-width: 768px) {
    .cards-section-title {
        font-size: 2rem;
    }
    .cards-section-description {
        font-size: 1rem;
    }
    .feature-title {
        font-size: 1.125rem;
    }
    .feature-description {
        font-size: 0.9rem;
    }
    h4 {
        font-weight: 600;
        color: var(--bg-blue);
        font-size: 1.4rem;
        margin: unset;
    }
    .amex-business-section p {
        color: var(--text);
        font-size: 0.6rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    .amex-business-section h2 {
        font-size: 1.1rem;
    }
    .amex-business-section {
        padding: 2rem 0;
    }
    .amex-business-section h1 {
        font-size: 1.5rem;
    }
    .amex-business-section .amount {
        font-size: 1.4rem;
    }
    .main .btn-hero {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    .main p.sub {
        font-size: 1.15rem;
    }
}

@media (min-width: 992px) {
    .amex-business-section .amount {
        font-size: 2rem;
    }
    .amex-business-section .cashback-text {
        color: var(--secondary-blue);
        font-size: 1.4rem;
        font-weight: 600;
        /* margin-bottom: 1rem; */
    }
    .amex-business-section {
        margin-top: 2rem;
        padding: 3rem 4rem;
        border-radius: 0.625rem;
        border: 1px solid #e3e3e3;
        background: #fff;
        box-shadow: 0px 0px 20px 0px rgba(173, 173, 173, 0.29);
    }
    .amex-business-section p {
        color: var(--text);
        font-size: 1.1rem;
        font-weight: 600;
    }
    .amex-business-section h2 {
        font-size: 1.5rem;
    }
    .main .btn-hero {
        color: white;
        display: flex;
        padding: 0.5rem 1.3rem;
        justify-content: space-between;
        align-items: center;
        gap: 0.625rem;
        flex-shrink: 0;
        background-color: var(--main-blue);
        width: 100%;
        font-size: 1.2rem;
        text-transform: uppercase;
        border: none;
        border-radius: 0;
        transition: all 0.3s ease;
    }
    .tamaño img {
        width: 11.8125rem;
        height: 11.8125rem;
    }
    .tamaño,
    .control {
        min-height: 21rem;
    }
    .navbar-dark .navbar-nav .nav-link {
        font-size: 1.2rem;
    }
    .navbar-nav .nav-item.btn .nav-link,
    .btn-footer {
        font-size: 1rem;
        padding: 0 2rem;
        width: auto;
    }
    .btn.btn-form {
        font-size: 0.7rem;
        padding: 1rem 0.5rem;
    }
    h1 {
        font-size: 2.9rem;
    }
    .main-image {
        background-image: url(../img/01.webp);
        min-height: auto;
        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 2rem 0;
    }
    .main-image2 {
        background-image: url(../img/02.webp);
        min-height: auto;
        background-position: left;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 2rem 0;
    }
    .top-img {
        bottom: 0;
        position: absolute;
        width: 23%;
        height: auto;
        right: 39%;
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
}

@media (min-width: 1440px) {
    .main-image {
        background-position: 27%;
    }
    form,
    .success {
        width: 83%;
    }
    .main .btn-hero {
        font-size: 0.9rem;
    }
    .elige h2 {
        font-size: 1.7rem;
    }
    .amex-business-section p {
        color: var(--text);
        font-size: 0.9rem;
        font-weight: 600;
    }
    form,
    .success {
        width: 85%;
    }
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1100px;
    }
    h1 {
        font-size: 2.8rem;
    }
}

@media (min-width: 1920px) {
}

@media (min-width: 2300px) {
    .top-img {
        bottom: 0;
        position: absolute;
        width: 18%;
        height: auto;
        right: 42%;
    }
    .main-image {
        min-height: 740px;
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 2rem 0;
    }
}
