/* ===================================
    Modelica font
====================================== */
@font-face {
    font-family: "bw_modelica_lgc_ss01_2bold";
    src:
        url("https://mkt.urbanitae.com/rs/178-PWS-136/images/bwmodelicalgcss01-bold-webfont.woff2") format("woff2"),
        url("https://mkt.urbanitae.com/rs/178-PWS-136/images/bwmodelicalgcss01-bold-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "bw_modelica_lgc_ss01_2regular";
    src:
        url("https://mkt.urbanitae.com/rs/178-PWS-136/images/bwmodelicalgcss01-regular-webfont.woff2") format("woff2"),
        url("https://mkt.urbanitae.com/rs/178-PWS-136/images/bwmodelicalgcss01-regular-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*================DEFAULTS================*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    color: #212121;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: #f8f8f8;
}

a {
    color: #30b767;
    text-decoration: none;
}

h1 {
    font-family: "bw_modelica_lgc_ss01_2bold", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

h2 {
    font-family: "bw_modelica_lgc_ss01_2bold", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 700;
}

h3,
h4,
h5,
h6 {
    font-family: "Work Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
}

h2 {
    font-size: calc(1.3rem + 0.9vw);
    color: #212121;
}

section {
    padding: 5rem 0;
}

p {
    font-family: "Work Sans", sans-serif;
}

.plex {
    font-family: "IBM Plex Serif", serif;
}

/*================NAVBAR================*/
.navbar {
    display: flex;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    padding: 0 50px;
    font-size: 20px;
    z-index: 1;
    align-items: center;
}

.navbar .container-fluid {
    border-bottom: 1px solid #212121;
    padding-top: 3rem;
    padding-bottom: 0.5rem;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    font-size: 1.5rem;
}

.navbar .navbar-collapse {
    flex-direction: row-reverse;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 1rem;
    padding-right: 20px !important;
    padding-left: 20px !important;
}

.logo {
    display: inline-block;
    max-width: 260px;
    height: auto;
    width: 210px;
}

.navbar .nav-link {
    font-size: 1rem;
    color: #212121;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
}

/*================MAIN SECTION================*/

.main {
    width: 100%;
    height: 100vh;
    color: #212121;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.main .container {
    flex-grow: 1;
    align-items: center;
}

.main p {
    font-size: 1.25rem;
}

h1 {
    font-size: 3.4rem;
}

.nav-link:hover {
    color: #5dfaae;
}

.bg-brand-dark {
    background-color: #212121 !important;
}

.stat-number {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1;
    color: #5dfaae;
}

.text-balance {
    text-wrap: balance;
}

/* ===================================
   RENTABILIDAD
====================================== */
.rentabilidad {
    background-color: #f6f4f1;
}

.rentabilidad .card {
    border: 1px solid #e1deda;
}

/* ===================================
   CALCULAR
====================================== */
.calcular {
    background-color: #f8f8f8;
    border-top: 1px solid #d7dada;
    border-bottom: 1px solid #d7dada;
}

.calcular .card-formula {
    background-color: #bcebdd;
}

.calcular .card-ejemplo {
    background-color: #e6f7f0;
    border: 1px solid #d7dada;
}

.calcular .shadow {
    box-shadow: 8px 7px 12px rgba(0, 0, 0, 0.08) !important;
}

.calcular .table {
    --bs-table-bg: rgba(255, 255, 255, 0.1);
}

.formula-container {
    font-size: clamp(0.8rem, 3.8vw, 0.9rem);
    white-space: nowrap;
}

/* ===================================
   DIVERSIFICA
====================================== */
.diversifica {
    background-color: #f6f4f1;
    border-bottom: 1px solid #d7dada;
}
.diversifica .icon-box {
    width: 40px;
    height: 40px;
    background-color: #cbf2e6;
    border-radius: 8px;
    flex-shrink: 0;
}

.diversifica .fa-solid {
    color: #212121;
}

.diversifica .shadow {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
}

.diversifica .card {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    border: 1px solid #d7dada;
}
.diversifica .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25) !important;
}

/* ===================================
   CONSTRUIR
====================================== */
.construir {
    background-color: #f6f4f1;
}

.construir .table-header-custom {
    background-color: #e5e1dc;
    font-weight: 300 !important;
    font-size: 1rem;
    color: #212121;
}

.construir .badge-custom {
    display: inline-block;
    background-color: #e5e1dc;
    color: #212121;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 4px;
    white-space: nowrap;
}

.construir .tracking-wider {
    background-color: #e5e1dc;
}

.construir .shadow-sm {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.035) !important;
}

/* ===================================
   RIESGOS
====================================== */
.riesgos {
    background-color: #2b2e32;
}

.risk-pill {
    display: inline-block;
    background-color: #ffe3b5;
    color: #212121;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 6px;
    width: fit-content;
    line-height: 1.4;
}

/* ===================================
   LISTA
====================================== */
.invest-list .list-number {
    font-family: "IBM Plex Serif", Georgia, serif;
    width: 24px;
    flex-shrink: 0;
    font-size: 17px;
    margin-top: -3px;
}

/* ===================================
   CTA
====================================== */
.cta {
    background: url(https://mkt.urbanitae.com/rs/178-PWS-136/images/ryd-cta-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===================================
   FAQS
====================================== */
.faqs {
    background-color: #f8f8f8;
    color: #212121;
}

.faqs .accordion-item {
    background-color: #f8f8f8 !important;
    margin-bottom: 1.2rem;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #212121 !important;
    border-radius: 0;
    padding: 0.1rem;
}

.faqs .accordion-button {
    background-color: #f8f8f8 !important;
    color: #212121 !important;
    font-weight: bolder;
}

.faqs h4 {
    font-family: "Work Sans", sans-serif;
    color: #853fe8 !important;
}

.faqs .accordion-button:not(.collapsed) {
    color: #30b767 !important;
    box-shadow: none !important;
}

.faqs .accordion-body {
    color: #212121 !important;
}

.linea-destacada {
    width: 72px;
    height: 8px;
    background-color: #6effca;
    margin-top: 12px;
}

/* ===================================
   PROPIOS URBANITAE
====================================== */

.btn-urbanitae {
    color: #fff;
    background-color: #30b767 !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    padding: 12px 24px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "bw_modelica_lgc_ss01_2bold", sans-serif;
    line-height: 20px;
    letter-spacing: 1px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.btn-urbanitae-rev {
    color: #30b767;
    background-color: #ffffff !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    padding: 12px 24px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "bw_modelica_lgc_ss01_2bold", sans-serif;
    line-height: 20px;
    letter-spacing: 1px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.btn-urbanitae-wh {
    color: #30b767;
    background-color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    padding: 12px 24px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "bw_modelica_lgc_ss01_2bold", sans-serif;
    line-height: 20px;
    letter-spacing: 1px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.btn-urbanitae-wh-tr {
    color: #fff;
    border: 4px solid #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    padding: 12px 24px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "bw_modelica_lgc_ss01_2bold", sans-serif;
    line-height: 20px;
    letter-spacing: 1px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.btn-urbanitae-wh-tr-sticky {
    color: #fff;
    border: 4px solid #ffffff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 42px;
    padding: 12px 33px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "bw_modelica_lgc_ss01_2bold", sans-serif;
    line-height: 18px;
    letter-spacing: 1px;
    appearance: initial;
}

btn-urbanitae-wh-tr-sticky:hover {
    border-color: #5dfaae !important;
}

.btn-urbanitae-wh-gr {
    color: #30b767;
    background-color: #ffffff;
    border: 4px solid #5dfaae;
    font-weight: 600;
    font-size: 15px;
    border-radius: 30px;
    padding: 14px 36px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "bw_modelica_lgc_ss01_2bold", sans-serif;
    letter-spacing: 2px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.btn-urbanitae:hover {
    /* background-color: #5dfaae !important; */
    color: #ffffff;
    transform: scale(1.04);
}

.btn-urbanitae-rev:hover {
    transform: scale(1.04);
}

.btn-urbanitae-wh-tr:hover {
    transform: scale(1.04);
    color: #ffffff;
}

.btn-urbanitae-wh-gr:hover {
    transform: scale(1.04);
    color: #30b767;
}

.trust {
    padding: 2.5rem 0 !important;
    background-color: #ffffff;
}

.urba-link {
    color: #30b767;
    text-decoration: underline;
}

.urba-link:hover {
    color: #5dfaae;
    text-decoration: underline;
}

.urba-link-white {
    color: #ffffff;
    text-decoration: underline;
}

.urba-link-white:hover {
    font-weight: 600;
    color: #ffffff;
    text-decoration: underline;
}

.urba-link-black {
    color: #000000;
    text-decoration: underline;
}

.urba-link-black:hover {
    color: #000000;
    font-weight: 600;
}

.negro-urb {
    color: #212121;
}

/******** MEDIA QURIES**********/

@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    .main .container .row {
        margin-top: 4.5rem;
    }
}

@media (max-width: 768px) {
    .background-container {
        background-position: left;
    }

    h1 {
        font-size: 2.5rem;
    }

    .logo {
        margin: auto;
        width: 176px;
    }

    .main {
        height: auto;
        padding-bottom: 2.5rem;
    }

    .navbar {
        padding: 0;
    }

    .navbar .container-fluid {
        /* background-color: rgba(0, 0, 0, 0.75);*/
        font-weight: 800;
        padding-left: 25px;
        padding-right: 25px;
    }

    .main .container .segundo {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 1rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    .main p {
        font-size: 1rem;
    }

    @media (max-width: 576px) {
        table tr {
            display: flex;
            flex-direction: column;
            padding: 12px 0;
        }
        table tr td {
            padding: 4px 0 !important;
            width: 100% !important;
        }

        .card-formula {
            padding-left: 12px !important;
            padding-right: 12px !important;
        }
    }
}

@media (max-width: 350px) {
}
