:root {
    --color1: #3d4eb0;
    --color2: #e8e9fd;
    --color3: #000;
    --color4: #ffffff;
    --color5: #013cfd;
}

body {
    font-family: 'Raleway', sans-serif;
    padding-top: 70px;
    line-height: 1.2;
}

section {
    padding: 40px 20px;
    scroll-margin-top: 70px;
}

.navbar {
    background-color: #061020;
    height: auto;
    display: flex;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

footer {
    background-color: #061020;
    color: white;
    padding-top: 25px;
    padding-bottom: 15px;
    text-align: center;
}

footer img {
    max-width: 150px !important;
}

footer p {
    margin: 15px 0;
    text-align: center;
    font-size: 15px;
}

.navbar-brand img {
    max-width: 150px;
    height: auto;
}

.navbar-nav .nav-link {
    color: white;
    font-size: 16px;
}

.hero {
    background-image: url('../img/fondo-hero.jpg');
    background-size: cover;
    background-position: center bottom;
    min-height: 500px;
    padding: 60px 0;
    position: relative;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    display: flex;
    justify-content: center;
}

.form-box {
    background: var(--color4);
    padding: 30px;
    width: 100%;
}

.form-box h3 {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color1);
    font-size: 22px;
}

.form-box p {
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.form-box input[type="text"],.form-box input[type="tel"],.form-box input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 25px;
    border: 1px solid #ccc;
}
.invalid-feedback {
    margin-left: 12px;
    margin-bottom: 5px;
}

.form-check {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.checkbox label {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 12px;
    font-family: Arial, sans-serif;
}

.checkbox input {
    width: auto;
    margin: 0;
}


.form-box button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: var(--color1);
    color: var(--color4);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-box button:hover {
    opacity: 0.9;
}

.privacy-link {
    color: var(--color1);
}

.buyers-section {
    padding: 40px 20px;
    background-color: var(--color4);
}

.tag {
    display: inline-block;
    background-color: #d4d8ee;
    color: var(--color1);
    font-weight: bold;
    font-size: 16px;
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.main-title {
    font-size: 34px;
    font-weight: 500;
    color: var(--color3);
    margin: 0 auto 20px auto;

}

.subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--color3);
    max-width: 950px;
    margin: 0 auto 50px auto;
}

.features {
    text-align: left;
}

.feature-item {
    padding: 10px 20px;
}

.feature-item .titular {
    display: flex;
    flex-direction: row;
}

.feature-item .number {
    width: 30px;
    height: 30px;
    background: var(--color1);
    color: var(--color4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--color1);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 18px;
    font-weight: 700;
    color: var(--color3);
}

.how-it-works {
    background: var(--color4);
}

.how-tag {
    color: var(--color1);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 20px;
}

.how-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
}

.how-card {
    background: var(--color4);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
    height: 100%;
}

.how-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.circle {
    width: 40px;
    height: 40px;
    background: var(--color2);
    color: var(--color1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 35px;
}

.how-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 24px;
}

.how-card p {
    font-size: 16px;
    color: var(--color3);
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.icon-bg img {
    width: 60px;
    height: 60px;
}

.icon-number {
    width: 35px;
    height: 35px;
    background: var(--color2);
    color: var(--color1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


.example-card {
    padding: 0;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
}

.examples .row>div {
    display: flex;
}

.example-card h4 {
    margin-top: 15px;
    font-weight: 700;
}

.example-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.example-content {
    padding: 20px;
    padding-top: 10px;
    text-align: center;
}

.example-content h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.example-content p {
    font-size: 18px;
}

.row>div:nth-child(1) .example-img {
    background-image: url('../img/example1.png');
}

.row>div:nth-child(2) .example-img {
    background-image: url('../img/example2.png');
}

.row>div:nth-child(3) .example-img {
    background-image: url('../img/example3.png');
}

.why {
    margin-top: 0px;
    background: var(--color4);
}

.why-card h4 {
    color: var(--color1);
    font-size: 20px;
}

.why-card p {
    font-size: 16px;
}

.faq {
    background: var(--color4);
}

.faq-box {
    background: var(--color4);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
    margin-top: 20px;
}

.accordion-item {
    border: none !important;
    background: transparent;
}

.accordion-button {
    background: transparent;
    font-size: 18px;
    font-weight: 500;
    padding: 20px 10px;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--color1);
    background: transparent;
}

.accordion-button::after {
    content: "+";
    font-size: 30px;
    color: var(--color5);
    font-weight: bold;
    background-image: none;
    position: relative;
    bottom: 12px;
}

.accordion-button:not(.collapsed)::after {
    box-shadow: none !important;
    content: "–";
    font-size: 30px;
    color: var(--color5);
    font-weight: bold;
    background-image: none;
    position: relative;
    bottom: 12px;
}

.accordion-body {
    padding: 0 10px 15px 10px;
    font-size: 14px;
}

.accordion-body p {
    margin-bottom: 0;
}

.accordion-item,
.accordion-item:not(:first-of-type),
.accordion-item:not(:last-child) {
    border: none !important;
}

.accordion-button {
    border: none !important;
    box-shadow: none !important;
}

.accordion {
    border: none !important;
}

.accordion-button,
.accordion-button::after {
    transition: none !important;
}

.accordion-button::after {
    transform: none !important;
}

.accordion-collapse,
.accordion-item:last-of-type .accordion-collapse {
    border-width: 0;
}

.cta-final {
    background: var(--color4);
}

.cta-title {
    color: var(--color1);
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 600;
    margin-bottom: 15px;
    text-wrap: balance;
}

.cta-subtitle {
    font-size: clamp(14px, 2vw, 18px);
    color: var(--color3);
    font-weight: 700;
}


html {
    scroll-behavior: smooth;
}

@media (min-width: 992px) {
    section {
        scroll-margin-top: 120px;
    }
}

@media (min-width: 768px) {
    .hero-content {
        justify-content: flex-end;
    }

    .form-box {
        width: 370px;
    }

    .how-card {
        padding: 20px;
    }
}

@media (min-width: 992px) {
    body {
        padding-top: 120px;
    }

    .navbar {
        height: 120px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .navbar-brand img {
        max-width: 250px;
        height: auto;
    }

    .navbar-nav {
        gap: 20px;
    }

    .navbar-nav .nav-link {
        font-size: 20px;
    }

    .form-box h3 {
        font-size: 25px;
    }

    .form-box p {
        font-size: 15px;
    }

    .tag {
        font-size: 25px;
    }

    .main-title {
        font-size: 96px;
    }

    .subtitle {
        font-size: 42px;
        margin-top: 40px;
        margin-bottom: 70px;
    }

    .feature-item .number {
        font-size: 22px;
        width: 40px;
        height: 40px;
    }

    .feature-item h4 {
        font-size: 30px;
    }

    .feature-item p {
        font-size: 26px;
    }

    .how-tag {
        font-size: 32px;
    }

    .how-title {
        font-size: 49px;
        margin-bottom: 50px;
    }

    .circle {
        font-size: 55px;
        width: 50px;
        height: 50px;
    }

    .how-card h4 {
        font-size: 32px;
    }

    .how-card p {
        font-size: 20px;
    }

    .why {
        margin-top: 50px;
    }

    .why-card h4 {
        font-size: 24px;
    }

    .why-card p {
        font-size: 18px;
    }

    .accordion-button {
        font-size: 20px;
    }

    .accordion-button::after,
    .accordion-button:not(.collapsed)::after {
        font-size: 40px;
        bottom: 17px;
    }

    footer {
        text-align: right;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    footer img {
        max-width: 180px !important;
    }

    footer p {
        margin: 0;
        text-align: right;
        font-size: 16px;
    }
}