/* =========================
   FONTS
========================= */

@font-face {
  font-family: 'Satoshi';
  src: url('./fonts/Satoshi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('./fonts/Satoshi-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('./fonts/Satoshi-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('./fonts/Satoshi-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Carentro';
  src: url('./fonts/carentro-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;

  font-family: 'Satoshi', sans-serif;

  background: #FCF7F0;
}


/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;

  top: 46px;
  left: 50%;

  width: calc(100% - 60px);
  height: 60px;

  transform: translateX(-50%);

  z-index: 1000;

  transition: width 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}


.navbar__container {
  position: relative;

  width: 100%;
  height: 60px;

  display: flex;
  align-items: center;

  background: #FCF7F0;

  border-radius: 5px;

  overflow: hidden;
}


/* =========================
   NAVBAR IZQUIERDA
========================= */

.navbar__left {
  height: 100%;

  display: flex;
  align-items: center;

  gap: 65px;

  padding-left: 21px;
}


/* LINKS */

.navbar__link {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;

  font-size: 12px;
  line-height: 16px;

  color: #207220;

  text-decoration: none;

  white-space: nowrap;
}


/* =========================
   LOGO
========================= */

.navbar__logo {
  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  width: 124px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;
}


.navbar__logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  display: block;
}


/* =========================
   NAVBAR DERECHA
========================= */

.navbar__right {
  margin-left: auto;

  height: 100%;

  display: flex;
  align-items: center;

  gap: 78px;
}


/* =========================
   CTA
========================= */

.navbar__cta {
  width: 120px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 25px;

  background: #207220;

  border: 1px solid #6F8060;
  border-radius: 2px;

  box-shadow: -4px 0 4px rgba(0, 0, 0, 0.25);

  font-family: 'Satoshi', sans-serif;
  font-weight: 900;

  font-size: 12px;
  line-height: 16px;

  text-align: center;

  color: #FCF7F0;

  text-decoration: none;
}

/* =========================
   NAVBAR COLAPSADA
========================= */

.navbar.is-collapsed {
  width: 154px;
}


.navbar__container {
  transition: border-radius 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}


/* Links visibles */

.navbar__left,
.navbar__right {
  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.25s ease 0.55s,
    visibility 0s linear 0.55s;
}


/* Links ocultos cuando se recoge */

.navbar.is-collapsed .navbar__left,
.navbar.is-collapsed .navbar__right {
  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.15s ease,
    visibility 0s linear 0.15s;
}






/* =========================
   HERO 1
========================= */

.apto-hero {
  position: relative;

  width: 100%;
  height: 800px;

  background-image: url('./imgTDP/HERO\ TIPO\ A.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}


/* =========================
   OVERLAY
========================= */

.apto-hero__overlay {
  position: absolute;

  inset: 0;

  background: #000000;
  opacity: 0.2;

  z-index: 0;
}


/* =========================
   CONTENIDO
========================= */

.apto-hero__content {
  position: relative;

  width: 100%;
  height: 100%;

  z-index: 1;
}


/* =========================
   TÍTULO
========================= */

.apto-hero__title {
  position: absolute;

  width: 712px;

  top: 349px;
  left: 50%;

  transform: translateX(-50%);

  font-family: 'Carentro', serif;
  font-weight: 400;

  font-size: 64px;
  line-height: 70px;

  text-align: center;

  color: #FCF7F0;
}


/* =========================
   SUBTÍTULO
========================= */

.apto-hero__subtitle {
  position: absolute;

  width: 674px;

  top: 419px;
  left: 50%;

  transform: translateX(-50%);

  font-family: 'Satoshi', sans-serif;
  font-weight: 700;

  font-size: 24px;
  line-height: 32px;

  text-align: center;

  color: #FCF7F0;
}






/* =========================
   HERO 2 - INFORMACIÓN
========================= */

.apto-info {
  position: relative;

  width: 100%;
  height: 737px;

  background: #FCF7F0;

  overflow: hidden;
}


/* =========================
   SELECTOR TIPOLOGÍAS
========================= */

.apto-info__selector {
  position: absolute;

  top: 60px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  align-items: center;

  gap: 7px;

  font-family: 'Satoshi', sans-serif;
  font-weight: 900;

  font-size: 20px;
  line-height: 27px;

  color: #6F8060;

  white-space: nowrap;
}


.apto-info__type {
  color: #6F8060;

  text-decoration: none;

  transition: opacity 0.25s ease;
}


.apto-info__type:hover {
  opacity: 0.6;
}


/* Tipo de apartamento actual */

.apto-info__type.is-active {
  color: #207220;
}


/* =========================
   INFORMACIÓN IZQUIERDA
========================= */

.apto-info__details {
  position: absolute;

  left: 30px;
  top: 179px;

  width: 539px;
}


/* CONOCE EL APARTAMENTO... */

.apto-info__eyebrow {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;

  font-size: 16px;
  line-height: 22px;

  text-decoration: underline;
  text-underline-offset: 3px;

  color: #6F8060;
}


/* =========================
   ESPECIFICACIONES
========================= */

.apto-info__specs {
  margin-top: 24px;

  width: 539px;
}


.apto-info__row {
  width: 100%;
  height: 86px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  padding-top: 16px;

  border-bottom: 1px solid #207220;
}


.apto-info__label,
.apto-info__value {
  font-family: 'Satoshi', sans-serif;

  font-size: 32px;
  line-height: 43px;

  color: #207220;
}


.apto-info__label {
  font-weight: 500;
}


.apto-info__value {
  font-weight: 900;

  text-align: right;
}


/* =========================
   NOTA
========================= */

.apto-info__note {
  margin-top: 16px;

  font-family: 'Satoshi', sans-serif;
  font-weight: 500;

  font-size: 16px;
  line-height: 22px;

  color: #207220;
}


/* =========================
   PLANO
========================= */

.apto-info__plan {
  position: absolute;

  left: 720px;
  right: 30px;
  top: 201px;

  height: 494px;

  display: flex;
  align-items: center;
  justify-content: center;
}


.apto-info__plan img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;
}




/* =========================
   HERO 3 - GALERÍA
========================= */

.apto-gallery {
  position: relative;

  width: 100%;
  height: 829px;

  background: #FCF7F0;

  overflow: hidden;
}


/* =========================
   EYEBROW
========================= */

.apto-gallery__eyebrow {
  position: absolute;

  top: 42px;
  left: 30px;

  font-family: 'Satoshi', sans-serif;
  font-weight: 500;

  font-size: 16px;
  line-height: 22px;

  text-decoration: underline;
  text-underline-offset: 3px;

  color: #6F8060;
}


/* =========================
   SLIDER
========================= */

.apto-gallery__slider {
  position: absolute;

  top: 145px;
  left: 0;

  width: 100%;
  height: 577px;
}


/* VENTANA */

.apto-gallery__window {
  position: absolute;

  width: 960px;
  height: 577px;

  left: 50%;
  top: 0;

  transform: translateX(-50%);

  overflow: hidden;

  border-radius: 10px;
}


/* TRACK */

.apto-gallery__track {
  display: flex;

  width: 100%;
  height: 100%;

  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}


/* IMÁGENES */

.apto-gallery__slide {
  width: 100%;
  height: 577px;

  flex: 0 0 100%;

  display: block;

  object-fit: cover;
}


/* =========================
   FLECHAS
========================= */

.apto-gallery__arrow {
  position: absolute;

  top: 272px;

  width: 42px;
  height: 42px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  background: transparent;

  color: #207220;

  font-family: Arial, sans-serif;
  font-size: 52px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  z-index: 2;

  transition: transform 0.25s ease;
}


.apto-gallery__arrow:hover {
  transform: scale(1.15);
}


.apto-gallery__arrow--prev {
  left: 121px;
}


.apto-gallery__arrow--next {
  right: 121px;
}


/* =========================
   DOTS
========================= */

.apto-gallery__dots {
  position: absolute;

  top: 745px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  align-items: center;

  gap: 9px;
}


.apto-gallery__dot {
  width: 15px;
  height: 15px;

  padding: 0;

  border: none;
  border-radius: 50%;

  background: #C3C3C3;

  cursor: pointer;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}


.apto-gallery__dot:hover {
  transform: scale(1.15);
}


.apto-gallery__dot.is-active {
  background: #6F8060;
}





/* ==========================================
   FOOTER - APARTAMENTOS DESKTOP
========================================== */

.footer {
  position: relative;

  width: 100%;
  height: 522px;

  margin: 0;
  padding: 0;

  background: #207220;

  overflow: hidden;
}


/* ==========================================
   CONTENEDOR
========================================== */

.footer__content {
  position: relative;

  width: 100%;
  height: 100%;
}


/* ==========================================
   TÍTULO
========================================== */

.footer__title {
  position: absolute;

  top: 159px;
  left: 50%;

  transform: translateX(-50%);

  width: 807px;
  max-width: calc(100% - 40px);

  margin: 0;
  padding: 0;

  font-family: 'Carentro', serif;
  font-weight: 400;

  font-size: 55px;
  line-height: 61px;

  text-align: center;

  color: #FCF7F0;
}


/* ==========================================
   SUBTÍTULO
========================================== */

.footer__subtitle {
  position: absolute;

  top: 220px;
  left: 50%;

  transform: translateX(-50%);

  width: 1083px;
  max-width: calc(100% - 40px);

  margin: 0;
  padding: 0;

  font-family: 'Satoshi', sans-serif;
  font-weight: 700;

  font-size: 36px;
  line-height: 49px;

  text-align: center;

  color: #FFFFFF;
}


/* ==========================================
   BOTÓN AGENDA TU CITA
========================================== */

.footer__cta {
  position: absolute;

  top: 338px;
  left: 50%;

  transform: translateX(-50%);

  width: 241px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;

  background: #FCF7F0;

  border-radius: 2px;

  box-shadow: -4px 0 4px rgba(0, 0, 0, 0.25);

  font-family: 'Satoshi', sans-serif;
  font-weight: 900;

  font-size: 15px;
  line-height: 20px;

  text-align: center;
  text-decoration: none;

  color: #207220;

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}


/* ==========================================
   EFECTO HOVER
========================================== */

.footer__cta:hover {
  background: #FFFFFF;

  box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.22);
}












/* ==========================================
   RESPONSIVE - NAVBAR MÓVIL APTO A
========================================== */

@media screen and (max-width: 767px) {

  /* OCULTAR NAVBAR DESKTOP */

  .navbar {
    display: none;
  }


  /* CONTENEDOR GENERAL */

  .mobile-navbar {
    position: fixed;

    bottom: 55px;
    left: 50%;

    transform: translateX(-50%);

    width: 228px;
    height: 38px;

    display: block;

    z-index: 99999;

    transition:
      height 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  }


  /* PANEL */

  .mobile-navbar__panel {
    position: relative;

    width: 100%;
    height: 100%;

    border-radius: 5px;

    background: transparent;

    overflow: hidden;
  }


  /* HEADER */

  .mobile-navbar__header {
    position: relative;

    width: 141px;
    height: 38px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 10px;

    transition:
      width 0.5s cubic-bezier(0.65, 0, 0.35, 1),
      top 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  }


  /* LOGO */

  .mobile-navbar__logo {
    width: 103px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FCF7F0;

    border-radius: 5px;

    text-decoration: none;
  }


  .mobile-navbar__logo img {
    width: 84px;
    height: 25px;

    display: block;

    object-fit: contain;
  }


  /* HAMBURGUESA */

  .mobile-navbar__menu {
    width: 28px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 3px;

    padding: 0;

    background: #FCF7F0;

    border: none;
    border-radius: 5px;

    cursor: pointer;
  }


  .mobile-navbar__menu span {
    display: block;

    width: 10px;
    height: 2px;

    background: #207220;

    border-radius: 2px;

    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }


  /* CONTENIDO OCULTO */

  .mobile-navbar__content {
    position: absolute;

    top: 90px;
    left: 0;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      top 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  }


  /* ENLACES */

  .mobile-navbar__links {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 22px;
  }


  .mobile-navbar__links a {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;

    font-size: 12px;
    line-height: 16px;

    color: #207220;

    text-decoration: none;

    white-space: nowrap;
  }


  /* BOTÓN AGENDA TU CITA */

  .mobile-navbar__cta {
    width: 120px;
    height: 60px;

    margin-top: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 25px;

    background: #207220;

    border-radius: 2px;

    font-family: 'Satoshi', sans-serif;
    font-weight: 900;

    font-size: 12px;
    line-height: 16px;

    text-align: center;
    text-decoration: none;

    color: #FCF7F0;
  }


  /* ==========================================
     ESTADO ABIERTO
  ========================================== */

  .mobile-navbar.is-open {
    height: 399px;
  }


  .mobile-navbar.is-open .mobile-navbar__panel {
    background: #FCF7F0;
  }


  /* AJUSTE DE SIMETRÍA */

  .mobile-navbar.is-open .mobile-navbar__header {
    top: 20px;
    width: 141px;
  }


  .mobile-navbar.is-open .mobile-navbar__content {
    top: 110px;

    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transition-delay: 0.2s;
  }


  /* ==========================================
     HAMBURGUESA ABIERTA → X
  ========================================== */

  .mobile-navbar.is-open .mobile-navbar__menu span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .mobile-navbar.is-open .mobile-navbar__menu span:nth-child(2) {
    opacity: 0;
  }

  .mobile-navbar.is-open .mobile-navbar__menu span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

}


/* ==========================================
   OCULTAR NAVBAR MÓVIL EN DESKTOP
========================================== */

@media screen and (min-width: 768px) {

  .mobile-navbar {
    display: none;
  }

}









/* ==========================================
   RESPONSIVE - HERO 1 APARTAMENTO TIPO A
========================================== */

@media screen and (max-width: 767px) {

  /* =========================
     CONTENEDOR GENERAL
  ========================= */

  .apto-hero {
    position: relative;

    width: 100%;
    height: 956px;

    background-image: url('./imgTDP/HERO APTO A MOBILE.png');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    overflow: hidden;
  }


  /* =========================
     OVERLAY OSCURO
  ========================= */

  .apto-hero__overlay {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background: #000000;
    opacity: 0.2;

    z-index: 0;

    pointer-events: none;
  }


  /* =========================
     CONTENEDOR DE TEXTOS
  ========================= */

  .apto-hero__content {
    position: relative;

    width: 100%;
    height: 100%;

    z-index: 1;
  }


  /* =========================
     TÍTULO
  ========================= */

  .apto-hero__title {
  position: absolute;

  top: 442px;
  left: 50%;

  width: max-content;
  max-width: calc(100% - 20px);
  height: auto;

  margin: 0;
  padding: 0;

  transform: translateX(-50%);

  font-family: 'Carentro', serif;
  font-weight: 400;

  font-size: clamp(25px, 8.2vw, 36px);
  line-height: 40px;

  text-align: center;
  white-space: nowrap;

  color: #FCF7F0;
}



  /* =========================
     SUBTÍTULO
  ========================= */

  .apto-hero__subtitle {
  position: absolute;

  top: 482px;
  left: 50%;

  width: 188px;
  max-width: calc(100% - 30px);
  height: auto;

  margin: 0;
  padding: 0;

  transform: translateX(-50%);

  font-family: 'Satoshi', sans-serif;
  font-weight: 700;

  font-size: 12px;
  line-height: 16px;

  text-align: center;

  color: #FCF7F0;
}

}





/* ==========================================
   RESPONSIVE - HERO 2 APARTAMENTO TIPO A
========================================== */

@media screen and (max-width: 767px) {

  /* ==========================================
     CONTENEDOR GENERAL
  ========================================== */

  .apto-info {
    position: relative;

    display: block;

    width: 100%;
    height: 769px;
    min-height: 769px;

    margin: 0;
    padding: 0;

    background: #FCF7F0;

    overflow: hidden;
  }


  /* ==========================================
     SELECTOR DE TIPOLOGÍAS
  ========================================== */

     .apto-info__selector {
    position: absolute;

    top: 43px;
    left: 50%;
    right: auto;
    bottom: auto;

    transform: translateX(-50%);

    width: max-content;
    height: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    margin: 0;
    padding: 0;

    font-family: 'Satoshi', sans-serif;
    font-weight: 500;

    font-size: 10px;
    line-height: 14px;

    color: #C3C3C3;

    white-space: nowrap;
  }


  .apto-info__type {
    font-size: 10px;
    line-height: 14px;

    font-weight: 500;

    color: #C3C3C3;

    text-decoration: none;
  }


  .apto-info__type.is-active {
    font-weight: 900;

    color: #6F8060;
  }


  /* ==========================================
     CONTENEDOR DE INFORMACIÓN
  ========================================== */

  .apto-info__details {
    position: static;

    width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    transform: none;
  }


  /* ==========================================
     TÍTULO INFORMATIVO
  ========================================== */

  .apto-info__eyebrow {
    position: absolute;

    top: 84px;
    left: 50%;
    right: auto;
    bottom: auto;

    transform: translateX(-50%);

    width: max-content;
    max-width: calc(100% - 40px);
    height: 16px;

    margin: 0;
    padding: 0;

    font-family: 'Satoshi', sans-serif;
    font-weight: 500;

    font-size: 12px;
    line-height: 16px;

    text-align: center;
    text-decoration: underline;

    color: #6F8060;
  }


  /* ==========================================
     PLANO DEL APARTAMENTO
  ========================================== */

.apto-info__plan {
    position: absolute;

    top: 134px;
    left: 50%;
    right: auto;
    bottom: auto;

    width: calc(100% - 48px);
    max-width: 392px;
    height: 280px;

    margin: 0;
    padding: 0;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;
  }

  .apto-info__plan img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    /* Eliminamos la rotación */
    transform: none;
  }



  /* ==========================================
     CARACTERÍSTICAS
  ========================================== */

  .apto-info__specs {
    position: absolute;

    top: 441px;
    left: 24px;
    right: 24px;
    bottom: auto;

    width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    transform: none;

    display: flex;
    flex-direction: column;
  }


  /* CADA FILA */

  .apto-info__row {
    position: relative;

    width: 100%;
    height: 67px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #207220;
  }


  /* NOMBRE DE LA CARACTERÍSTICA */

  .apto-info__label {
    position: static;

    width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    transform: none;

    font-family: 'Satoshi', sans-serif;
    font-weight: 500;

    font-size: 16px;
    line-height: 22px;

    color: #207220;
  }


  /* VALOR */

  .apto-info__value {
    position: static;

    width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    transform: none;

    font-family: 'Satoshi', sans-serif;
    font-weight: 900;

    font-size: 20px;
    line-height: 27px;

    text-align: right;

    color: #207220;
  }


  /* ==========================================
     NOTA INFERIOR
  ========================================== */

  .apto-info__note {
    position: absolute;

    top: 729px;
    left: 22px;
    right: auto;
    bottom: auto;

    width: max-content;
    max-width: calc(100% - 44px);
    height: auto;

    margin: 0;
    padding: 0;

    transform: none;

    font-family: 'Satoshi', sans-serif;
    font-weight: 500;

    font-size: 12px;
    line-height: 16px;

    color: #207220;
  }

}




/* ==========================================
   HERO 3 - APTO A RESPONSIVE MÓVIL
========================================== */

@media screen and (max-width: 767px) {

  /* =========================
     CONTENEDOR GENERAL
  ========================= */

  .apto-gallery {
    position: relative;

    display: block;

    width: 100%;
    height: 395px;
    min-height: 395px;

    margin: 0;
    padding: 0;

    background: #FCF7F0;

    overflow: hidden;
  }


  /* =========================
     TÍTULO
  ========================= */

  .apto-gallery__eyebrow {
    position: absolute;

    top: 47px;
    left: 50%;
    right: auto;
    bottom: auto;

    transform: translateX(-50%);

    width: max-content;
    height: 16px;

    margin: 0;
    padding: 0;

    font-family: 'Satoshi', sans-serif;
    font-weight: 500;

    font-size: 12px;
    line-height: 16px;

    text-align: center;
    text-decoration: underline;

    color: #6F8060;
  }


  /* =========================
     CARRUSEL
  ========================= */

  .apto-gallery__slider {
    position: absolute;

    top: 101px;
    left: 50%;
    right: auto;
    bottom: auto;

    transform: translateX(-50%);

    width: calc(100% - 50px);
    max-width: 390px;
    height: auto;
    aspect-ratio: 390 / 221;

    margin: 0;
    padding: 0;

    overflow: hidden;
  }


  /* =========================
     VENTANA DEL CARRUSEL
  ========================= */

  .apto-gallery__window {
    position: relative;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border-radius: 5px;

    touch-action: pan-y;
  }


  /* =========================
     TRACK DE IMÁGENES
  ========================= */

  .apto-gallery__track {
    position: relative;

    display: flex;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    transition: transform 0.4s ease;

    will-change: transform;
  }


  /* =========================
     IMÁGENES
  ========================= */

  .apto-gallery__slide {
    display: block;

    width: 100%;
    height: 100%;

    flex: 0 0 100%;

    object-fit: cover;

    user-select: none;
    -webkit-user-drag: none;
  }


  /* =========================
     OCULTAR FLECHAS EN MÓVIL
  ========================= */

  .apto-gallery__arrow {
    display: none;
  }


  /* =========================
     CONTADOR DE IMÁGENES
  ========================= */

  .apto-gallery__counter {
    position: absolute;

    top: 8px;
    right: 9px;

    width: 24px;
    height: 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.9);

    border-radius: 5px;

    font-family: 'Satoshi', sans-serif;
    font-weight: 500;

    font-size: 8px;
    line-height: 11px;

    color: #8B8B8B;

    z-index: 5;

    opacity: 1;

    transition: opacity 0.3s ease;

    pointer-events: none;
  }


  .apto-gallery__counter.is-hidden {
    opacity: 0;
  }


  /* =========================
     INDICADORES
  ========================= */

  .apto-gallery__dots {
    position: absolute;

    top: 330px;
    left: 50%;
    right: auto;
    bottom: auto;

    transform: translateX(-50%);

    width: max-content;
    height: 7px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;
  }


  .apto-gallery__dot {
    display: block;

    width: 7px;
    height: 7px;

    min-width: 7px;
    min-height: 7px;

    margin: 0;
    padding: 0;

    border: none;
    border-radius: 50%;

    background: #C3C3C3;

    cursor: pointer;
  }


  .apto-gallery__dot.is-active {
    background: #6F8060;
  }

}


/* ==========================================
   OCULTAR CONTADOR EN DESKTOP
========================================== */

@media screen and (min-width: 768px) {

  .apto-gallery__counter {
    display: none;
  }

}



/* ==========================================
   FOOTER - RESPONSIVE MÓVIL
   APARTAMENTOS A / B / C / D
========================================== */

@media screen and (max-width: 767px) {

  /* =========================
     CONTENEDOR GENERAL
  ========================= */

  .footer {
    position: relative;

    width: 100%;
    height: 306px;
    min-height: 306px;

    margin: 0;
    padding: 0;

    background: #207220;

    overflow: hidden;
  }


  /* =========================
     CONTENEDOR DE CONTENIDO
  ========================= */

  .footer__content {
    position: relative;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
  }


  /* =========================
     TÍTULO PRINCIPAL
  ========================= */

  .footer__title {
    position: absolute;

    top: 64px;
    left: 50%;
    right: auto;
    bottom: auto;

    transform: translateX(-50%);

    width: 352px;
    max-width: calc(100% - 30px);
    height: auto;

    margin: 0;
    padding: 0;

    font-family: 'Carentro', serif;
    font-weight: 400;

    font-size: 24px;
    line-height: 26px;

    text-align: center;

    color: #FCF7F0;
  }


  /* =========================
     SUBTÍTULO
  ========================= */

  .footer__subtitle {
    position: absolute;

    top: 96px;
    left: 50%;
    right: auto;
    bottom: auto;

    transform: translateX(-50%);

    width: 286px;
    max-width: calc(100% - 40px);
    height: auto;

    margin: 0;
    padding: 0;

    font-family: 'Satoshi', sans-serif;
    font-weight: 700;

    font-size: 14px;
    line-height: 19px;

    text-align: center;

    color: #FFFFFF;
  }


  /* =========================
     BOTÓN AGENDA TU CITA
  ========================= */

  .footer__cta {
    position: absolute;

    top: 156px;
    left: 50%;
    right: auto;
    bottom: auto;

    transform: translateX(-50%);

    width: 195px;
    height: 46px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FCF7F0;

    border: none;
    border-radius: 2px;

    box-shadow: -4px 0 4px rgba(0, 0, 0, 0.25);

    font-family: 'Satoshi', sans-serif;
    font-weight: 900;

    font-size: 12px;
    line-height: 16px;

    text-align: center;
    text-decoration: none;

    color: #207220;
  }

}
