/* ========================================
   FONTS
======================================== */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('../fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.woff2') format('woff2');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}
/* ========================================
DESIGN TOKENS
======================================== */
:root {
    --color-white: #ffffff;
    --color-black: #000;
    --color-light: #fdfdfd;
    --color-overlay: rgba(0, 0, 0, 0.15);
    --color-muted: #666666;
    --color-accent: #cc580f;
    --ff-heading: "Nunito Sans", sans-serif;
    --ff-body: 'Poppins', sans-serif;
    --ls-default: 0.02em;
    --ls-wide: 0.05em;
    --transition-base: all 0.3s ease;
}
/* ========================================
   GRID (Bootstrap replacement)
======================================== */
.container-xxl {
    width: 100%;
    max-width: 1536px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}
.row > * {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    width: 100%;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.text-white { color: #fff; }
/* ========================================
   BASE / RESET
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
    overflow-y: visible;
}
body {
    font-family: var(--ff-heading);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    font-weight: 700;
    --ls-default: -1px;
}
/* ========================================
   COMPONENT: Buttons
   .btn-meraki           — base (shared)
   .btn-meraki--glass    — translucent white on dark bg
   .btn-meraki--outline  — border white on dark bg, no fill
   .btn-meraki--dark     — solid black on light bg
   .btn-meraki--outline-dark — border dark on light bg
======================================== */
.btn-meraki {
    font-family: var(--ff-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: var(--ls-default);
    text-transform: uppercase;
    padding: 0.75rem 2.5rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-base);
    text-align: center;
    text-wrap-mode: nowrap;
}
.btn-meraki--glass {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-white);
    color: var(--color-white);
}
.btn-meraki--glass:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}
.btn-meraki--outline {
    background: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}
.btn-meraki--outline:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}
.btn-meraki--dark {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}
.btn-meraki--dark:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}
.btn-meraki--outline-dark {
    background: transparent;
    border-color: var(--color-black);
    color: var(--color-black);
}
.btn-meraki--outline-dark:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}
/* ========================================
   COMPONENT: Section
======================================== */
.section--dark {
    background: var(--color-black);
    color: var(--color-white);
}
/* ========================================
   SECTION: Hero
======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
}
.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: opacity 0.5s ease;
}
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow-x: hidden;
    overflow-y: hidden;
}
.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.2);
    pointer-events: none;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-overlay);
    z-index: 1;
    pointer-events: none;
}
.hero-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 10px;
    padding-bottom: 100px;
    pointer-events: none;
}
.hero-wrapper a,
.hero-wrapper button {
    pointer-events: auto;
}
.hero-logo {
    width: 120px;
    height: 90px;
    color: var(--color-white);
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
}
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.hero-title {
    font-family: var(--ff-heading);
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
    font-weight: 500;
    letter-spacing: var(--ls-default);
    line-height: 1.325;
    text-transform: uppercase;
    margin: 0;
}
.hero-subtitle {
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: var(--ls-default);
    margin: 0;
}
/* ========================================
   COMPONENT: Amenities Carousel
======================================== */
.amenities {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    padding: 0;
}
.amenities__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.amenities__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}
.amenities__logo-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}
.amenities__logo {
    width: 421px;
    height: 317px;
    color: var(--color-white);
    opacity: 0.3;
}
.amenities__content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1536px;
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 12px;
}
.amenities__info {
    flex: 0 0 clamp(280px, 29.6vw, 512px);
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 107px;
    padding-bottom: 170px;
    padding-right: clamp(1.5rem, 4vw, 4rem);
    justify-content: center; 
    align-items: left;      
}
.amenities__info-texts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.amenities__info-bottom {
    margin-top: 2rem;
}
.amenities__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.25rem, 1.68vw, 29px);
    font-weight: 500;
    letter-spacing: var(--ls-default);
    line-height: 1.35;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0;
}
.amenities__subtitle {
    font-family: var(--ff-body);
    font-size: clamp(0.8125rem, 0.93vw, 1rem);
    font-weight: 300;
    letter-spacing: var(--ls-default);
    line-height: 1.5;
    color: var(--color-white);
    max-width: 460px;
    margin: 0;
}
.amenities__subtitle strong {
    font-weight: 500;
}
.amenities__info .btn-meraki {
    align-self: flex-start;
}
.amenities__carousel-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 107px;
    padding-bottom: 160px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}
.amenities__carousel {
    overflow: hidden;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}
.amenities__carousel:active {
    cursor: grabbing;
}
.amenities__track {
    display: flex;
    gap: clamp(1.5rem, 3.47vw, 60px);
    flex-wrap: nowrap;
    will-change: transform;
}
.amenities__card {
    flex: 0 0 clamp(260px, 20.25vw, 350px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.amenities__card-media {
    position: relative;
    height: clamp(280px, 50vh, 550px);
    border-radius: 0.5rem;
    overflow: hidden;
}
.amenities__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.amenities__card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.25rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.amenities__card:hover .amenities__card-overlay {
    opacity: 1;
}
.amenities__card-overlay-title {
    display: none;
}
.amenities__card-desc {
    font-family: var(--ff-body);
    font-size: 0.8125rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--color-white);
    margin: 0;
}
.amenities__card-label {
    font-family: var(--ff-heading);
    font-size: clamp(1rem, 1.5vw, 26px);
    font-weight: 500;
    letter-spacing: var(--ls-default);
    color: var(--color-white);
    text-transform: uppercase;
}
.amenities__fade {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 73px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}
.amenities__progress {
    position: relative;
    width: clamp(200px, 31.9vw, 550px);
    height: 5px;
    margin-top: clamp(1rem, 2vh, 1.5rem);
    margin-left: clamp(2rem, 14.5%, 141px);
}
.amenities__progress-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
}
.amenities__progress-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(50px, 7.52vw, 130px);
    height: 5px;
    background: #D9D9D9;
    border-radius: 2.5px;
    will-change: transform;
}
/* ========================================
   SECTION: Virtual Tour
======================================== */
.virtual-tour {
    padding: 50px 24px 60px 24px;
}
.virtual-tour > .container-xxl {
    padding-left: 0;
    padding-right: 0;
}
.virtual-tour__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 3rem;
}
.virtual-tour__title , .virtual-assistant__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.25rem, 1.45vw, 25px);
    font-weight: 500;
    letter-spacing: var(--ls-default);
    text-align: center;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}
.virtual-tour__subtitle , .virtual-assistant__subtitle {
    font-family: var(--ff-body);
    font-size: clamp(1rem, 1.22vw, 21px);
    font-weight: 300;
    letter-spacing: var(--ls-default);
    text-align: center;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0;
}
/* Contenedor del player */
.vt-player {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    -webkit-aspect-ratio: 16 / 9;
}
/* Poster / thumbnail */
.vt-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}
.vt-player.is-loaded .vt-poster {
    opacity: 0;
    pointer-events: none;
}
/* Botón de play sobre el poster */
.vt-trigger {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    padding: 0;
}
.vt-trigger__icon {
    width: clamp(60px, 8vw, 80px);
    height: clamp(60px, 8vw, 80px);
    transition: transform 0.25s ease;
}
.vt-trigger:hover .vt-trigger__icon {
    transform: scale(1.12);
}
.vt-trigger__label {
    font-family: var(--ff-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: white;
}
/* Focus visible para teclado */
.vt-trigger:focus-visible {
    outline: 3px solid white;
    outline-offset: -3px;
    border-radius: 0.5rem;
}
/* Ocultar trigger cuando el video ya está activo */
.vt-player.is-loaded .vt-trigger {
    opacity: 0;
    pointer-events: none;
}
/* Iframe creado dinámicamente */
.vt-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    transform: scale(1.025);
}
/* ========================================
SECTION: Apartments
======================================== */
.apartments {
    position: relative;
    padding: 50px 24px 50px 24px;
}
.apartments__watermark {
    position: absolute;
    top: 120px;
    right: -100px;
    width: 1213px;
    max-width: none;
    height: 989px;
    opacity: 0.25;
    transform: rotate(-11deg);
    pointer-events: none;
    z-index: 0;
    overflow-x: hidden;
}
.apartments__watermark-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.apartments__layout {
    position: relative;
    z-index: 1;
    overflow: visible;
}
.apartments__sidebar {
    position: sticky;
    top: 100px;
    width: 100%;
}
.apartments__layout .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
.apartments__layout .row > [class*="col"] {
    padding: 0 15px;
}
.apartments__sidebar-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}
.apartments__info {
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.5rem;
    min-height: 400px;
}
.apartments__tour-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
}
.apartments__tour-text {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 20px;
}
.apartments__tour-text .apartments__heading {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin: 0;
}
.apartments__tour-text .apartments__subheading {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}
.apartments__tour-text .apartments__logo {
    width: 150px;
    height: auto;
}
.apartments__virtual-tour {
    flex: 1;
    position: relative;
    padding-top: 40%;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #ffffff;
    width: 100%;
    box-shadow:0 4px 4px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.apartments__virtual-tour iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.apartments__tour-container--desktop { display: flex; }
.apartments__tour-container--mobile  { display: none; }
/* ========================================
   SECTION: Assistant
======================================== */
.assistant .container-xxl {
    position: relative;
    z-index: 1;
}
.assistant .virtual-assistant__title,
.assistant .virtual-assistant__subtitle {
    color: rgb(0, 0, 0);
}
.assistant__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 3rem;
}
.assistant-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
}
/* Columna izquierda — mapa */
.assistant-map {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 450px;
}
.assistant-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
/* Columna derecha — form */
.assistant-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background: transparent;
    z-index: 1;
    overflow: hidden;
    border-radius: 10px;
}
.assistant-form::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    z-index: -1;
}
/* ========================================
   COMPONENT: Contact Form (glassmorphism)
======================================== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 10px 10px 30px 10px;
    position: relative;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    color:#000;
}
.contact-form::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 5%);
    z-index: 0;
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.contact-form__field input,
.contact-form__field select {
    width: 100%;
    padding: 15px 20px;
    background:transparent;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 2px solid #fff;
    color:rgba(0, 0, 0, 0.95);
    font-family: var(--ff-body);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: var(--ls-default);
    outline: none;
    transition: background 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}
.contact-form__field input::placeholder {
    color: rgba(0, 0, 0, 0.8);
}
.contact-form__field select {
    color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px;
    padding-right: 44px;
    border: none;
}
.contact-form__field select option {
    background: #ffffff;
    color: rgb(0, 0, 0);
}
.contact-form__field input:focus,
.contact-form__field select:focus {
    background: rgba(210, 210, 210, 0.35);
    border-color: #cc580f;
}
.contact-form__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    z-index: 5;
}
.contact-form__check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #cc580f;
    border-radius: 3px;
    background: rgb(255, 255, 255);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    cursor: pointer;
    margin-top: 2px;
    transition: background 0.2s ease;
    position: relative;
}
.contact-form__check input[type="checkbox"]:checked {
    background: var(--color-accent);
    border-color: var(--color-accent);
}
.contact-form__check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}
.contact-form__check label {
    font-family: var(--ff-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: #cc580f;
    line-height: 1.5;
    cursor: pointer;
}
.contact-form__check label a {
    color: #cc580f;
    text-decoration: none;
}
.contact-form__check label a:hover {
    text-decoration: underline;
}
.contact-form__submit {
    margin-top: auto;
    padding: 15px;
    background: rgb(210 210 210 / 60%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: rgba(0, 0, 0, 0.95);
    font-family: var(--ff-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-base);
    width: 100%;
}
.contact-form__submit:hover {
    background: rgba(214, 213, 213, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}
.contact-form__submit:focus-visible,
.contact-form__field input:focus-visible,
.contact-form__field select:focus-visible {
    outline: none;
    outline-offset: 2px;
}
.apartments__logo {
    width: 209px;
    height: 157px;
    color: #1D1D1B;
}
.apartments__sidebar-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.apartments__heading {
    font-family: var(--ff-heading);
    font-size: clamp(1.25rem, 1.45vw, 25px);
    font-weight: 500;
    letter-spacing: var(--ls-default);
    line-height: 1.35;
    color: var(--color-black);
    text-transform: uppercase;
    margin: 0;
}
.apartments__subheading {
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: var(--ls-default);
    line-height: 1.5;
    color: var(--color-black);
    margin: 0;
}
/* ========================================
   SECTION: Construction Progress
======================================== */
.construction {
    padding: 70px 0 0px 0;
}
.construction > .container-xxl {
    padding-left: 0;
    padding-right: 0;
}
.construction__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 3rem;
}
.construction__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.25rem, 1.45vw, 25px);
    font-weight: 500;
    letter-spacing: var(--ls-default);
    text-align: center;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0;
}
.construction__subtitle {
    font-family: var(--ff-body);
    font-size: clamp(1rem, 1.22vw, 21px);
    font-weight: 300;
    letter-spacing: var(--ls-default);
    text-align: center;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0;
}
.construction__embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.construction__embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    border-radius: 24px;
}
/* ========================================
   SECTION: Cartagena
======================================== */
.cartagena {
    padding: 0px 0 100px 0;
    overflow: hidden;
}
.cartagena > .container-xxl {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.cartagena__row {
    display: flex;
    align-items: center;
    gap: 61px;
}
.cartagena__text {
    flex: 0 0 492px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cartagena__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.375rem, 1.68vw, 29px);
    font-weight: 500;
    letter-spacing: var(--ls-default);
    line-height: 1.35;
    color: var(--color-black);
    text-transform: uppercase;
    margin: 0;
}
.cartagena__line {
    display: block;
    width: 100px;
    height: 1px;
    background: var(--color-accent);
}
.cartagena__subtitle {
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: var(--ls-default);
    line-height: 1.5;
    color: var(--color-black);
    margin: 0;
}
.cartagena__img-wrap {
    flex: 1;
    min-width: 0;
    border-radius: 0.5rem;
    overflow: hidden;
}
.cartagena__img {
    width: 100%;
    height: 468px;
    object-fit: cover;
    display: block;
}
/* Scroll animations — initial hidden states */
.cartagena__row--ltr {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.cartagena__row--rtl {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.cartagena__row.is-visible {
    opacity: 1;
    transform: translateX(0);
}
/* ========================================
   SECTION: CTA / Footer
======================================== */
.cta-footer {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cta-footer__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.cta-footer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}
.cta-footer__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 38px;
    max-width: 1014px;
    width: 100%;
    min-height: 110dvh;
    padding: 3rem 1.5rem;
    justify-content: center;
}
.cta-footer__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 45px;
    margin-bottom: 15px;
}
.cta-footer__logo {
    width: 235px;
    height: 177px;
    color: var(--color-white);
}
.cta-footer__texts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}
.cta-footer__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.75rem, 2.32vw, 40px);
    font-weight: 500;
    letter-spacing: var(--ls-default);
    color: var(--color-white);
    margin: 0;
}
.cta-footer__subtitle , .cta-footer__address {
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: var(--ls-default);
    color: var(--color-white);
    max-width: 554px;
    margin: 0;
}
.cta-footer__partner-grupo {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 50px;
    flex-direction: column;
}
.cta-footer__partner-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #565656;
    white-space: nowrap;
}
.cta-footer__partner-logos {
    display: flex;
    align-items: center;
    gap: 28px;
}
.cta-footer__partners {
    display: flex;
    align-items: center;
    justify-content:space-around;
    gap: 40px;
    background: var(--color-white);
    padding:20px 50px;
    width: 100vw;
    border-radius: 12px;
}
.cta-footer__partner-logo {
    max-height: 100%;
    max-width: 120px;
    width: auto;
    object-fit: contain;
}
/* Contenedor fijo para cada logo */
.cta-footer__partner-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 66px;
}
.cta-footer__address {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 300;
    margin-top: 0.5rem;
    width: 100%;
}
.cta-footer__social {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}
.cta-footer__social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}
.cta-footer__social-link:hover {
    color: var(--color-white);
}
.cta-footer__social-link--text {
    font-family: var(--ff-body);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: var(--ls-default);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cta-footer__social-dot {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}
.cta-footer__legal {
    font-size: 0.7rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
}
/* ========================================
   COMPONENT: Amenities Video Modal (Glassmorphism)
======================================== */
.amenities-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}
.amenities-play-btn:hover,
.amenities-play-btn:focus {
    background: transparent;
    transform: translate(-50%, -50%) scale(1.1);
    outline: none;
}
.amenities-play-btn:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}
.amenities-play-btn svg {
    pointer-events: none;
}
/* ========================================
   COMPONENT: Amenities Video Modal (Glassmorphism)
   — Versión responsive sin espacios vacíos —
======================================== */
.amenities-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.amenities-modal.is-active {
    opacity: 1;
    visibility: visible;
}
.amenities-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}
.amenities-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
.amenities-modal__content {
    position: relative;
    width:  min(90vw, calc(90vh * 9 / 16));
    height: min(90vh, calc(90vw * 16 / 9));
    /* Sin padding-bottom — el tamaño ya está definido arriba */
    padding-bottom: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    background: #000; /* evita flash blanco al cargar el iframe */
    isolation: isolate;
    will-change: transform;
}
.amenities-modal.is-active .amenities-modal__content {
    transform: scale(1);
}
.amenities-modal__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    /* Simula object-fit: cover — escala ligeramente para tapar las barras */
    transform: scale(1.04);
}
.amenities-modal__close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.amenities-modal__close:hover,
.amenities-modal__close:focus {
    background: rgba(255, 255, 255, 0.5);
    outline: none;
}
.amenities-modal__close:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* ========================================
   COMPONENT: Apartment 3D Popup
======================================== */
.apto-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.apto-popup.is-active {
    opacity: 1;
    visibility: visible;
}
.apto-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}
.apto-popup__container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.apto-popup.is-active .apto-popup__container {
    transform: scale(1);
}
.apto-popup__img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
}
.apto-popup__close {
    position: fixed;
    top: 57px;
    right: 57px;
    width: 47px;
    height: 47px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    z-index: 1;
    transition: var(--transition-base);
}
.apto-popup__close:hover {
    opacity: 0.7;
}
/* ========================================
RESPONSIVE
======================================== */
@media (min-width: 1200px) {
    .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
    .amenities__card { flex: 0 0 350px;}
    .amenities__card-media { height: 600px;}
}
@media (min-width: 992px) {
    .col-lg-7 { flex: 0 0 58.333%; max-width: 58.333%; }
}
@media (max-width: 991px) {
        .hero-bg-image {
        content: url('../images/hero-lobby-mobile@2x.webp');
    }
    .apartments__tour-container--desktop { display: none; }
    .apartments__tour-container--mobile  { display: block; }
    .apartments__tour-container {
        flex-direction: column;
    }
    .apartments__tour-text {
        flex: none;
        width: 100%;
        padding-right: 0;
        align-items: center;
        text-align: center;
    }
    .container-xxl.apartments__layout{
        padding-left: 15px;
    }
    .apartments__tour-container--mobile {
        padding: 0 0px;  /* ← da margen lateral igual al resto de la página */
    }
    .apartments__virtual-tour {
        position: relative;
        width: 100%;
        max-width: 360px;
        padding-top: 170%;
        border: none;
        overflow: hidden;
        border-radius: 0;
        box-shadow: none;
        margin: 0 auto;
    }
    .apartments__virtual-tour iframe {
        position: absolute;
        top: 0; left: 0;
        width: 360px; 
        height: 100%;
        border: 0;
    }
    .vt-player {
        width: 100%;
        aspect-ratio: 9 / 16;
        -webkit-aspect-ratio: 9 / 16;
    }
    .btn-meraki{text-align: center;}
    .cta-footer__address{
        text-align: center;
        color: #fff;
    }
}
@media (max-width: 768px) {
    .hero-logo {
        width: 80px;
        height: 60px;
    }
    .hero-wrapper {
        padding-bottom: 3rem;
    }
    .hero-content {
        gap: 2rem;
    }
    .hero-content .btn-meraki {
        text-align: center;
        width: 100%;
    }
    .br--desktop{
        display: none;
    }
    /* Amenities Carousel mobile */
    .amenities {
        min-height: auto;
        background: var(--color-white);
        padding: 3rem 0;
    }
    .amenities__bg,
    .amenities__overlay,
    .amenities__logo-wrap,
    .amenities__fade {
        display: none;
    }
    .amenities__content {
        flex-direction: column;
        height: auto;
        padding-left: 0;
        opacity: 1 !important;
        transform: none !important;
    }
    .amenities__info {
        flex: none !important;
        max-width: 100%;
        padding: 0 1.5rem 1.5rem;
        opacity: 1 !important;
        transform: none !important;
    }
    .amenities__info-texts {
        gap: 10px;
    }
    .amenities__title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        color: var(--color-black);
    }
    .amenities__subtitle,
    .amenities__info-bottom {
        display: none;
    }
    .amenities__carousel-col {
        padding: 0 !important;
        overflow: hidden;
        width: 100%;
    }
    .amenities__carousel {
        overflow: hidden;
        padding: 0 1.1rem 0 1rem;
    }
    .amenities__track {
        gap: 1rem;
        will-change: auto;
    }
    .amenities__card {
        flex: 0 0 calc(100% - 3rem);
        gap: 0;
        position: relative;
        max-width: calc(100% - 3rem);
    }
    .amenities__card-media {
        aspect-ratio: 9 / 16;
        -webkit-aspect-ratio: 9 / 16;
        height: auto;
        max-height: 70vh;
        border-radius: 0.75rem;
    }
    .amenities__card-overlay {
        opacity: 1;
        padding: 3.5rem 1.25rem 1.5rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    }
    .amenities__card-overlay-title {
        display: block;
        font-family: var(--ff-heading);
        font-size: 1.25rem;
        font-weight: 500;
        letter-spacing: var(--ls-default);
        color: var(--color-white);
        text-transform: uppercase;
        margin-bottom: 0.5rem;
    }
    .amenities__card-label {
        display: none;
    }
    .amenities__card-desc {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    .amenities__progress {
        width: auto;
        max-width: none;
        margin: 1.25rem 1.5rem 0;
    }
    .amenities__progress-track {
        background: rgba(0, 0, 0, 0.1);
    }
    .amenities__progress-thumb {
        background: #D9D9D9;
    }
    /* Apartments mobile */
    .apartments {
        padding: 0rem 0;
    }
    .apartments__watermark {
        display: none;
    }
    .apartments__layout {
        flex-direction: column;
        gap: 2rem;
    }
    .apartments__sidebar {
        flex: none;
        position: static;
        padding: 0 1.5rem;
    }
    .apartments__logo {
        width: 140px;
        height: 105px;
    }
    .amenities-modal__content {
        border-radius: 0.6rem;
    }
    /* Cartagena mobile */
    .cartagena {
        padding: 70px 0 70px 0;
    }
    .cartagena > .container-xxl {
        gap: 2.5rem;
    }
    .cartagena__row {
        flex-direction: column;
        gap: 1.5rem;
    }
    .cartagena__row--ltr .cartagena__img-wrap {
        order: -1;
    }
    .cartagena__text {
        flex: none;
        padding: 0;
    }
    .cartagena__img {
        height: 211px;
        border-radius: 0.5rem;
    }
    .cartagena__row--ltr,
    .cartagena__row--rtl {
        transform: translateY(40px);
    }
    /* Construction iframe padding on mobile */
    .construction > .container-xxl {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .construction__embed{
        aspect-ratio: 9/16;
        -webkit-aspect-ratio: 9/16;
    }
    /* CTA Footer mobile */
   .cta-footer__partners {
        background: var(--color-white);
        border-radius: 12px;
        padding: 28px 24px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100vw;
    }
    .cta-footer__partner-grupo {
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 15px;
        width: 100%;
    }
    .cta-footer__partner-label {
        font-size: 0.6rem;
        letter-spacing: 2.5px;
        color: #565656;
        text-transform: uppercase;
    }
    .cta-footer__partner-label::before,
    .cta-footer__partner-label::after {
        content: "";
        display: inline-block;
        width: 20px;
        height: 1px;
        background: #ddd;
        margin: 0 8px;
        vertical-align: middle;
    }
    .cta-footer__partner-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 18px;
    }
    .cta-footer__partner-logo-wrap {
        height: 28px;
    }
    .cta-footer__partner-logo {
        max-height: 100%;
        width: auto;
    }
    .cta-footer__address {
        padding: 0 1.5rem;
        font-size: 0.8rem;
    }
    .cta-footer__social {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
        margin-top: 0;
    }
    .cta-footer__legal {
        font-size: 0.65rem;
        padding: 0 1.5rem;
        margin-bottom: 16px;
    }
    .cta-footer__content {
        gap: 30px;
        padding: 2rem 1.5rem;
    }
    /* Assistant mobile */
    .assistant-form{
        order: 1;
    }
    .assistant-form iframe {
        border: none;
        min-height: 400px;
    }
    .assistant {
        padding: 0;
    }
    .assistant-container {
        flex-direction: column;
    }
    .assistant-map {
        order: 2;
        min-height: 400px;
    }
    .construction{
        padding-top: 70px;
    }
    .construction__embed iframe{
        height: 100%;
    }
    .virtual-tour {
        padding-top: 10px;
        padding-bottom: 70px;
    }
}