/* ===================================
    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;
}

.work-sans {
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.plex {
    font-family: "IBM Plex Serif", serif;
    font-weight: 400;
    font-style: normal;
}

/*================DEFAULTS================*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Work Sans", sans-serif;
    font-size: 16px !important;
    color: #212121;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: #ffffff;
}

a {
    color: #30b767;
    text-decoration: none;
}

h1 {
    font-family: "bw_modelica_lgc_ss01_2regular";
}

h1 strong {
    font-family: "bw_modelica_lgc_ss01_2bold";
}

h2 {
    font-family: "Work Sans";
    font-weight: 800;
}

h3,
h4,
h5,
h6 {
    font-family: "Work Sans";
}

h2 {
    font-size: calc(1.1rem + 0.9vw);
}

h3 {
    font-size: calc(1.2rem + 0.9vw);
}

h4 {
    font-size: calc(1.1rem + 0.3vw);
}

section {
    padding: 5rem 0;
}

p {
    color: #212121;
}

.sticky-cta {
    display: none;
}

/*================NAVBAR================*/

.logo {
    display: block;
    max-width: 260px;
    height: auto;
    width: 200px;
}

/*================MAIN SECTION================*/
.main {
    position: relative;
    width: 100%;
    height: auto;
    color: #ffffff;
    padding: 0;
}

.main-gracias {
    position: relative;
    width: 100%;
    height: auto;
    color: #212121;
    background-image: url(https://mkt.urbanitae.com/rs/178-PWS-136/images/dir-inv-bg-form.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0;
}

.banner {
    background-color: #24a1de;
    color: #ffffff;
}

.banner p {
    display: inline-block;
    color: #ffffff;
}

.banner-btn {
    color: #24a1de;
    background-color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    border-radius: 30px;
    padding: 10px 26px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "Work Sans", sans-serif !important;
    line-height: 16px;
    letter-spacing: 1px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.main h1,
.main-gracias h1 {
    font-size: 3.4rem;
    color: #ffffff;
}

.main .linea {
    padding-left: 2rem;
    border-left: solid 1px #000000;
}

.main .form-box {
    padding: 2rem 1.5rem;
    background-image: url(https://mkt.urbanitae.com/rs/178-PWS-136/images/di-bg-hero-ver3.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.form-box .row {
    justify-content: end;
}

.linea-destacada {
    width: 72px;
    height: 8px;
    background-color: #6effca;
    margin-top: 7px;
}

.linea-destacada-2 {
    width: 100px;
    height: 8px;
    background-color: #6effca;
    margin-top: 7px;
}

/* ===================================
   INFINITY LOOP
====================================== */
.infinity {
    background-color: #EEF1F6;
}

.infinity .img-cuadrada {
    width: 300px;
    height: 300px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.infinity .slider {
    width: 100%;
    overflow: hidden;
}

.infinity .slide-track {
    width: max-content;
    /* Animación: nombre | duración | velocidad constante | repetición infinita */
    animation: scroll-infinito 40s linear infinite;
}

.infinity .slide-track:hover {
    animation-play-state: paused;
}

.slide-track:hover .img-cuadrada {
    opacity: 0.5; 
    filter: grayscale(50%); 
}
/* 2. PERO, a la imagen exacta que tiene el ratón encima, le devolvemos el brillo y la ampliamos */
.slide-track .img-cuadrada:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 10; 
}

/* ANIMACIÓN */
@keyframes scroll-infinito {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-50%); 
    }
}

@media (max-width: 768px) {
    .infinity .img-cuadrada {
        width: 200px;
        height: 200px;
    }
}

/* ===================================
   PROYECTOS EN VENTA
====================================== */

.proyectos {
    background-color: #ffffff;
}

:root {
    --card-radius: 28px;
    --primary-green: #30b767;
}

.property-card {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: 0 8px 20px 7px rgba(0, 0, 0, 0.09);
    position: relative;
    background: #fff;
    overflow: hidden; /* Corta el overlay que se sale */
    height: 100%;
}

/* --- SIDE A --- */
.img-container {
    position: relative;
    margin: 12px;
    border-radius: 20px;
    overflow: hidden;
}

.property-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* El recorte blanco de la esquina */
.corner-mask {
    position: absolute;
    top: 0;
    right: 0;
    width: 55px;
    height: 55px;
    background: #fff;
    border-bottom-left-radius: 20px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-action {
    background: #222;
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-action .fa-solid {
    transform: rotate(45deg);
}

.tag-container {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 4;
}
.tag {
    padding: 4px 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.75rem;
}
.tag-rent {
    background: #5dfaae;
    color: #111;
}
.tag-hand {
    background: #fff99e;
    color: #111;
}

.card-info {
    padding: 0 20px 20px;
}
.price-val {
    font-size: 1.5rem;
    font-weight: 800;
}
.status {
    background: #e8f8f0;
    color: #30b767;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.specs-footer {
    border-top: 1px solid #f0f0f0;
    margin-top: 15px;
    padding-top: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
}

.btn-link-more {
    background: none;
    border: none;
    text-decoration: underline;
    font-weight: 800;
    width: 100%;
    margin-top: 15px;
    color: #000;
}

.fa-location-dot {
    padding: 0 5px 0 0;
}

/* --- SIDE B: OVERLAY TOTAL --- */
.full-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px); /* El blur se aplica al fondo */
    -webkit-backdrop-filter: blur(12px);
    z-index: 100; /* Siempre encima de todo */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    padding: 30px;
    color: white;
}

.full-overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-list {
    margin-top: 26px;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
}

.overlay-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}
.overlay-list li::before {
    content: "•";
    position: absolute;
    left: 0;
}

/* Botón cerrar en la esquina del overlay */
.close-container {
    position: absolute;
    top: 12px;
    right: 12px;
}

/* ===================================
   VENDIDO
====================================== */
.vendido {
    background-color: #eef1f5;
}

.vendido .property-img {
    filter: saturate(0);
    cursor: inherit;
}

.vendido .status {
    background: #212121;
    color: #ffffff;
}

.vendido .specs-footer {
    border-bottom: inherit;
    padding-bottom: inherit;
}

/* ===================================
   QUÉ ES
====================================== */
.que-es {
    background-color: #f6f4f1;
    color: #212121;
}

.que-es .col-descri {
    background-color: #ffffff;
    color: #212121;
    padding: 1.2rem 2rem;
    border-radius: 5px;
}

.que-es .col-descri span {
    font-size: 0.8rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 0.5rem;
    background-color: #30b767;
    padding: 0.5rem 1rem;
    display: inline-block;
    border-radius: 2px;
}

.que-es .col-descri p {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
}

.que-es .fa-regular,
.que-es .fa-solid {
    color: #ffffff;
    font-size: 1.5rem;
}

.nav-pills {
    flex-direction: row-reverse;
}

.nav-pills .tab-urba {
    background-color: #ffffff;
    font-weight: 700 !important;
    color: #30b767;
}

.nav-pills .active {
    background-color: #30b767 !important;
    font-weight: 700 !important;
}

:root {
    --timeline-green: #30b767; /* El verde del círculo y botón */
    --timeline-line-color: #30b767; /* El verde claro de la línea */
}

.timeline-col-icon {
    max-width: 80px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: var(--timeline-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.timeline-line {
    width: 3px;
    background-color: var(--timeline-line-color);
    margin-top: -5px;
    border-radius: 0 0 3px 3px;
}

/* ===================================
   VIDEO
====================================== */

.video {
    background-image: url(https://mkt.urbanitae.com/rs/178-PWS-136/images/di-bg-video-sec.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
}

.video .container {
    background-image: url(https://mkt.urbanitae.com/rs/178-PWS-136/images/de-bg-video-modal.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 30px;
    box-shadow: 6px 6px 17px 4px rgba(0, 0, 0, 0.3);
}

.video h2 {
    font-weight: 700;
}

/* ===================================
   FAQS
====================================== */

.faqs {
    background-color: #ffffff;
    color: #212121;
}

.faqs a,
.faqs .accordion-button,
.faqs .accordion-item {
    color: #212121;
}

.faqs a {
    text-decoration: underline;
}

.faqs .accordion-item {
    border: inherit;
    border-radius: 0;
    border-bottom: 1px solid #212121;
    padding: 0.5rem 0;
}

.faqs .accordion-button:not(.collapsed) {
    color: #212121;
    background-color: #ffffff;
    box-shadow: inherit;
}

/* ===================================
   PROPIOS URBANITAE
====================================== */
.bt-g4 {
    border-top: solid 9px #5dfaae;
}

.bb-g4 {
    border-bottom: solid 5px #5dfaae;
}

.lb-g4 {
    border-left: solid 5px #5dfaae;
}

.btn-urbanitae {
    color: #fff;
    background-color: #30b767 !important;
    font-weight: 600;
    font-size: 19px;
    border-radius: 30px;
    padding: 12px 25px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "Work Sans", sans-serif;
    line-height: 23px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.btn-urbanitae-wh {
    color: #30b767;
    background-color: #ffffff !important;
    font-weight: 600;
    font-size: 19px;
    border-radius: 30px;
    padding: 12px 25px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "Work Sans", sans-serif;
    line-height: 23px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.btn-urbanitae-wh-tr {
    color: #fff;
    border: 4px solid #ffffff;
    font-weight: 600;
    font-size: 19px;
    border-radius: 30px;
    padding: 12px 25px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "Work Sans", sans-serif;
    line-height: 20px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.btn-urbanitae-wh-tr-sticky {
    color: #fff;
    border: 4px solid #ffffff;
    font-weight: 600;
    font-size: 16px;
    border-radius: 42px;
    padding: 10px 30px;
    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;
}

btn-urbanitae-wh-tr-sticky:hover {
    border-color: #5dfaae !important;
}

.btn-urbanitae-wh-gr {
    color: #30b767;
    background-color: #ffffff;
    border: 4px solid #5dfaae;
    text-transform: uppercase;
    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;
    /* line-height: 21px; */
    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-wh-tr:hover {
    transform: scale(1.04);
    color: #ffffff;
}

.btn-urbanitae-wh-gr:hover {
    transform: scale(1.04);
    color: #30b767;
}

.bg-urb {
    background-color: #30b767;
}

.matrix-border-4 {
    border: 4px solid #5dfaae;
}

.matrix-border-5 {
    border: 5px solid #5dfaae;
}

.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;
}

.matrix-recuadro {
    border: solid 2px #5dfaae;
    width: auto;
    min-height: 100%;
}

.negro-urb {
    color: #212121;
}

.verde-1 {
    color: #30b767;
}

.verde-4 {
    color: #5dfaae !important;
}

.azul-urb {
    color: #124079;
}

.pink-urb {
    color: #edc3df;
}

.yellow-urb {
    color: #efca7a;
}

.bgc-verde-suave {
    background-color: #6effca;
}

/******** MEDIA QURIES**********/

@media (max-width: 1200px) {
    .main h1 {
        font-size: 3rem;
    }

    .main {
        height: auto;
    }

    .main .form-box {
        margin-top: 0px;
    }
}

@media (max-width: 992px) {
    .logo {
        width: 170px;
    }

    .main h1 {
        font-size: calc(2rem + 0.7vw);
    }

    .form-box .row {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main {
        height: auto;
    }

    .main .col {
        padding: 1.5rem;
        border-radius: 25px;
    }

    .main h1,
    .main h2,
    .main p {
        text-align: center;
    }

    .main h1 {
        font-size: calc(2.5rem + 0.9vw);
    }

    .logo {
        margin: auto;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 780px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }

    .video {
        padding: 3rem 1rem;
    }

    .logo {
        width: 150px;
    }

    .sticky-cta {
        position: sticky;
        bottom: 0;
        background-color: #30b767;
        width: 100%;
        padding: 15px 0;
        box-shadow: 0 -2px 11px 1px rgba(0, 0, 0, 0.35);
        z-index: 98;
        display: block;
    }
    .sticky-cta .cta {
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 410px) {
}

@media (max-width: 350px) {
    .btn-urbanitae {
        font-size: 13px;
    }
}
