/* Base font */
body {
  margin: 0;
  font-family: 'Darker Grotesque', sans-serif;
  color: #ffffff;
}

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
}

/* Maxdeath Brush (para "Live the beachfront dream") */
@font-face {
  font-family: 'Maxdeath Brush';
  src: url('../fonts/Maxdeath-Brush.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* ---------------- NAV ---------------- */

.nav {
  width: 100%;
  height: 167px;
  background: #ffffff;
  position: relative;
  z-index: 20;
}

.nav-inner {
  height: 100%;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.5s ease;
}

.nav-left a {
  font-size: 20px;
  font-weight: 600;
  color: #252b33;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-left a:hover {
  color: #0033a0;
}

.divider {
  font-size: 20px;
  color: #9ca3af;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 1s ease;
}

.nav-logo {
  height: 167px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  transition: all 0.5s ease;
}

/* Botón "Talk with us" */
.talk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0033a0;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.talk-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-15deg);
}

.talk-btn:hover {
  background: #2ac8e1;
  transform: translateY(-3px) scale(1.035);
  box-shadow: 0 12px 32px rgba(42, 200, 225, 0.45);
}

.talk-btn:hover::after {
  animation: sweep 0.7s ease forwards;
}

@keyframes sweep {
  0% {
    left: -120%;
  }
  100% {
    left: 140%;
  }
}

.phone-ico {
  height: 22px;
  width: auto;
}

/* Hamburguesa (solo mobile) */
.nav-toggle {
  display: none;
  width: 32px;
  height: 24px;
  border: none;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #252b33;
  border-radius: 10px;
}

.nav-toggle span:nth-child(1) {
  top: 0;
}
.nav-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.nav-toggle span:nth-child(3) {
  bottom: 0;
}

/* Menú mobile full screen */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px 32px 32px;
  z-index: 50;
  box-sizing: border-box;
}

.mobile-menu.open {
  display: flex;
}

.close-menu {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 34px;
  font-weight: 700;
  cursor: pointer;
  color: #252b33;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu-links a {
  font-size: 26px;
  font-weight: 600;
  color: #252b33;
  text-decoration: none;
}

.mobile-menu-footer {
  display: flex;
  justify-content: center;
}

/* ---------------- HERO ---------------- */

.hero {
  position: relative;
  height: calc(100vh - 167px);
  min-height: 620px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.png');
  background-size: cover;
  background-position: center center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.22),
    rgba(0, 0, 0, 0.45)
  );
}

/* Grid interno del hero */
.hero-inner {
  position: relative;
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  /* más espacio horizontal para la izquierda */
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 40px;
  box-sizing: border-box;
}

.hero-left {
  color: #ffffff;
  padding: 0;
  text-align: left;
}

/* "Live the beachfront dream" – Maxdeath Brush */
.hero-tagline {
  font-family: 'Maxdeath Brush', cursive;
  font-size: 62px;
  margin: -56px 0 0; /* bajado a 38px */
}

/* Título grande */
.hero-title {
  margin: -25px 0 0;
  line-height: 1.02;
  padding: 0;
}

.hero-title-line {
  display: block;
  font-size: 77px;
  padding: 0;
  margin: 0;
}

.hero-title-line-1 {
  font-weight: 500; /* Enjoy while you're here */
}

.hero-title-line-2 {
  font-weight: 700; /* Earn while you're not */
}

/* Lado derecho: formulario */
.hero-right {
  display: flex;
  justify-content: flex-end; /* pegado al borde derecho del grid */
}

.hero-form-card {
  width: 430px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  color: #ffffff;
  box-sizing: border-box;
  margin-left: auto;
}

/* Texto sobre el formulario */
.hero-form-headline {
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 18px;
  line-height: 1.3;
  color: #ffffff;
}

.hero-form-strong {
  font-weight: 700;
}

/* Campos del formulario */
.hero-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-form input {
  width: 326px;
  height: 58px;
  border-radius: 999px;
  border: none;
  padding: 0 18px;
  font-size: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  font-family: 'Darker Grotesque', sans-serif;
  box-sizing: border-box;
}

.hero-form input::placeholder {
  color: #8b8b8b;
}

.hero-form input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #2ac8e1;
}

/* Botón "Contact us now" */
.hero-cta {
  width: 326px;
  height: 63px;
  margin-top: 10px;
  border-radius: 999px;
  border: none;
  background: #00becf;
  color: #ffffff;
  font-size: 31px;
  font-weight: 700;
  font-family: 'Darker Grotesque', sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;             /* centra texto perfecto */
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding-bottom: 9px;
}

.hero-cta:hover {
  background: #2ac8e1;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 190, 207, 0.55);
}

/* Redes sociales debajo del botón */
.hero-social {
  margin-top: 18px;
  width: 328px;                         /* cambiado a 328px */
  display: flex;
  justify-content: space-between;       /* equidistantes */
  align-items: center;
}

.hero-social-link {
  display: inline-block;
}

.hero-social-link img {
  display: block;
  width: 43px;
  height: 43px;
}
.hero-social a:nth-child(2) img {
    width: 25px;
    height: auto;
}

.hero-social a:nth-child(2) {
    background: #0033a0;
    padding: 9px;
    border-radius: 50px;
    opacity: 0.8;
    transition: all 0.5s ease;
}

.hero-social a:nth-child(2):hover {
    opacity: 1;
}
/* HERO VIDEO BACKGROUND */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* clave para que cubra todo */
  object-position: center;
}

/* Overlay por encima del video */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(1, 33, 105, 0.3) 0%,
    rgba(1, 33, 105, 0.35) 50%,
    rgba(1, 33, 105, 0.65) 100%
  );
}

@media (max-width: 768px) {


  .hero-bg {
    background: url("../img/hero-bg.png") center / cover no-repeat;
  }
}


/* Contenido por encima del overlay */
.hero-inner {
  position: relative;
  z-index: 2;
}


/* ---------------- WHY INVEST SECTION ---------------- */

.why-section {
  position: relative;
  padding: 80px 0 100px;
  color: #252b33;
  background-color: #f1f1f1;

  /* Fondo dividido: imagen a la izquierda, gris a la derecha */
  background-image: url('../img/section-why-bg.png');
  background-size: 1200px;
  background-position: calc(100% - 55vw) center;
  background-repeat: no-repeat;
  font-size: 21px;
}

.why-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
  box-sizing: border-box;

  /* Hacemos un solo bloque alineado a la derecha */
  display: flex;
  justify-content: flex-end;
}

.why-content {
  max-width: 520px;
  background: transparent;
}

/* Títulos y texto */

.why-tagline {
  font-family: 'Maxdeath Brush', cursive;
  font-size: 48px;
  color: #0033a0;
  margin: 0 0 -17px;
}

.why-title {
  font-family: 'Darker Grotesque', sans-serif;
  font-size: 51px;
  font-weight: 600;
  line-height: 1.1;
  color: #252b33;
  margin: 0 0 18px;
}

.why-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #4a4f57;
  margin: 0 0 32px;
}
#why ul {
    padding-bottom: 15px;
}
/* Botón "Download the brochure" */

.why-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 26px 16px;
  border-radius: 999px;
  border: none;
  background: #0033a0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.why-btn:hover {
  background: #2ac8e1;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 190, 207, 0.4);
}

/* Icono como imagen */
.why-btn-icon {
  width: 18px;
  height: 18px;
  display: block;
}



/* Responsive */
@media (max-width: 1024px) {
  .why-inner {
    padding: 0 24px;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .why-image {
    max-width: 520px;
  }

  .why-image img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .why-section {
    padding: 56px 0 72px;
  }

  .why-inner {
    padding: 0 20px;
  }

  .why-title {
    font-size: 30px;
  }

  .why-text {
    font-size: 16px;
  }
}


/* ------------- RESPONSIVE ------------- */

@media (max-width: 1280px) {
  .hero-title-line {
    font-size: 72px;
  }
  .hero-tagline {
    font-size: 52px;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    padding: 0 24px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 32px;
  }
  .hero-title-line {
    font-size: 64px;
  }
  .hero-tagline {
    font-size: 46px;
  }
  .hero-form-card {
    width: 380px;
  }
}

@media (max-width: 768px) {
  .nav {
    height: 120px;
  }

  .nav-inner {
    padding: 0 20px;
  }

  .nav-center {
    position: static;
    transform: none;
  }

  .nav-logo {
    height: 80px;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    height: auto;
    min-height: 640px;
    padding: 112px 0 40px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 20px;
    gap: 28px;
  }

  .hero-title-line {
    font-size: 42px;
  }

  .hero-tagline {
    font-size: 32px;
  }

  .hero-right {
    justify-content: flex-start;
  }

  .hero-form-card {
    width: 100%;
  }

  .hero-form input,
  .hero-cta,
  .hero-social {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title-line {
    font-size: 39px;
  }
  .hero-tagline {
    font-size: 26px;
  }
  .hero-form-headline {
    font-size: 20px;
  }
  p.hero-tagline {
    margin-top: 0;
    font-size: xx-large;
}

h1.hero-title {
    margin-top: 0;
}

p.hero-form-headline {
    display: none;
}
}

@media (max-width: 1024px) {
  .why-section {
    padding: 64px 0 80px;
    background-image:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        #f4f4f6 25%,
        #f4f4f6 100%
      ),
      url('../img/section-why-bg.png');
    background-size: cover;
    background-position: center top;
  }

  .why-inner {
    padding: 0 24px;
    justify-content: center;
  }

  .why-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .why-inner {
    padding: 0 20px;
  }

  .why-title {
    font-size: 36px;
  }

  .why-text {
    font-size: 16px;
  }
}


@media screen and (max-width:1400px) and (min-width:1000px) {
  .nav-left {
      position: relative;
      left: 230px;
  }

  .nav-center {
      left: 130px;
  }
}


/* ---------------- AVAILABLE UNITS ---------------- */

.units-section {
  padding: 100px 0;
  background: #ffffff;
  color: #252b33;
}

.units-header {
  max-width: 1180px;
  margin: 0 auto 60px auto;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.units-tagline {
  font-family: 'Maxdeath Brush', cursive;
  font-size: 46px;
  color: #0033a0;
  margin: 0;
}

.units-title {
  font-size: 77px;
  font-weight: 600;
  margin: -31px 0 0 0;
  line-height: 1;
}

.units-header-right {
  max-width: 420px;
  font-size: 21px;
  line-height: 1.45;
  color: #4a4f57;
}

.unit-card-list li {
  font-weight: 700;
}

/* Grid of cards */
.units-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.unit-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
  border: 2px solid #0033a0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.unit-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unit-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.unit-card-title {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 10px;
}

.unit-card-text {
  font-size: 20px;
  line-height: 1.4;
  color: #4a4f57;
  margin-bottom: 16px;
}

.unit-card-list {
  padding-left: 18px;
  margin: 0 0 26px;
}

.unit-card-list li {
  margin-bottom: 8px;
  font-size: 20px;
}

/* Button */
.unit-card-btn {
  margin-top: auto;
  padding: 10px 22px;
  background: #0033a0;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.25s ease, transform 0.25s ease;
}

.unit-card-btn:hover {
  background: #2ac8e1;
  transform: translateY(-2px);
}
a:hover .card-overlay-gradient {
    z-index: 5;
    background: #012169d9;
}

a:hover .card-overlay-gradient:after {
    content: "Learn more";
    position: absolute;
    top: calc(50% - 20px);
    font-size: xx-large;
    color: #fff;
    text-align: center;
    width: 100%;
    opacity: 1;
    transition: all 0.5s ease;
}

a .card-overlay-gradient:after {
    opacity: 0;
    content: "";
    top: 70%;
}
/* Responsive */
@media (max-width: 1024px) {
  .units-grid {
    grid-template-columns: 1fr;
  }
  
  .unit-card {
    grid-template-columns: 1fr;
  }
  h2.units-title {
      font-size: 46px;
      margin: -20px auto 25px;
      font-weight: 300;
  }
}


@media (max-width: 500px) {
  .units-header-left {
    display: block;
  }

  .units-header {
    display: block;
  }

  .units-header-right {
    display: block;
  }
}

/* ---------------- INVESTMENT / DESIGNED FOR ROI ---------------- */

.investment-section {
  position: relative;
  padding: 140px 0 150px;
  color: #ffffff;
  text-align: center;
  overflow: hidden;

  background-image: url('../img/section-investment-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Overlay azul oscuro encima de la foto */
.investment-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 90, 0.78); /* tono navy */
}

/* Contenido centrado */
.investment-inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* "Investment Features" – script */
.investment-tagline {
  font-family: 'Maxdeath Brush', cursive;
  font-size: 48px;
  color: #00becf;
  margin: 0 0 -10px;
}

/* "Designed for ROI" */
.investment-title {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 26px;
}

/* Párrafo central */
.investment-text {
  font-size: 22px;
  line-height: 1.5;
  max-width: 880px;
  margin: 0 auto 40px;
}

/* Botón outline blanco */
.investment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 70px 20px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease,
              box-shadow 0.25s ease;
}

.investment-btn:hover {
  background: #ffffff;
  color: #0033a0;
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
}

/* --------- Responsive --------- */

@media (max-width: 1024px) {
  .investment-section {
    padding: 110px 0 120px;
  }

  .investment-title {
    font-size: 46px;
  }

  .investment-text {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .investment-section {
    padding: 90px 0 100px;
  }

  .investment-tagline {
    font-size: 36px;
  }

  .investment-title {
    font-size: 36px;
  }

  .investment-text {
    font-size: 18px;
  }

  .investment-btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ---------------- MANAGEMENT / HANDS OFF PROPERTY SERVICE ---------------- */


.management-section {
  position: relative;
  padding: 120px 0 140px;
  color: #252b33;
  overflow: hidden;

  /* Fondo, igual que WHY pero pegado a la derecha */
  background-image: url('../img/lifestyle-pool.png');
  background-size: 1261px;
  background-position: calc(50% + 692px) center;
  background-repeat: no-repeat;
  background-color: #f1f1f1;
}

.management-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
  box-sizing: border-box;
  display: flex;
}

/* ---- CONTENIDO A LA IZQUIERDA (máximo 50%) ---- */

.management-content {
  width: 50%;
  max-width: 50%;
  min-width: 420px;
  box-sizing: border-box;
}

.management-tagline {
  font-family: 'Maxdeath Brush', cursive;
  font-size: 46px;
  color: #0033a0;
  margin: 0 0 -10px;
}

.management-title {
  font-size: 65px;
  font-weight: 500;
  margin: 0 0 58px;
  line-height: 0.8;
}

/* ---- GRID 2x2 ---- */

.management-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 50px;
  row-gap: 40px;
}

.management-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.management-icon img {
  width: 48px;
  height: 48px;
  display: block;
}

.management-feature-title {
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 6px;
}

.management-feature-text {
  font-size: 21px;
  line-height: 1.45;
  color: #4a4f57;
  margin: 0;
}

/* --------- RESPONSIVE --------- */

@media (max-width: 1024px) {
  .management-section {
    padding: 90px 0 110px;
    background-position: center top;
    padding-top: 300px;
}

  .management-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .management-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .management-title {
    font-size: 48px;        
    font-weight: 300;
  }
  .management-section {
    position: relative;
    background-size: 460px;
  }
  .management-section::before {
    content: "";
    display: block;
    position: absolute;
    background: #f1f1f1;
    width: 100%;
    height: calc(100% - 250px);
    z-index: 0;
    top: 250px;
}
.management-inner {
  position: relative;
  margin-top: 50px;
}
}


/* ---------------- LIFESTYLE / FEATURES & AMENITIES ---------------- */


/* -------- Masonry Lifestyle (CSS Columns) -------- */

.lifestyle-masonry {
  column-count: 4;
  column-gap: 14px; /* más compacto */
  padding: 25px 25px;
}

@media (max-width: 1024px) {
  .lifestyle-masonry {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .lifestyle-masonry {
    column-count: 1;
  }
}

/* Cada tile debe ser inline-block para que columns lo apile bien */
.lifestyle-tile {
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid; /* evita que se “parta” */
  border-radius: 18px;
  overflow: hidden;
  position: relative;

  /* Fondo como imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Altura variable para look masonry */
}

.lifestyle-tile {
  aspect-ratio: 4 / 5; /* base */
}

/* Variaciones orgánicas */
.lifestyle-tile:nth-child(6n + 1) {
  aspect-ratio: 3 / 4;
}

.lifestyle-tile:nth-child(6n + 2) {
  aspect-ratio: 1 / 1;
}

.lifestyle-tile:nth-child(6n + 3) {
  aspect-ratio: 5 / 4;
}

.lifestyle-tile:nth-child(6n + 4) {
  aspect-ratio: 4 / 6;
}

.lifestyle-tile:nth-child(6n + 5) {
  aspect-ratio: 16 / 9;
}

.lifestyle-tile:nth-child(6n) {
  aspect-ratio: 2 / 3;
}


/* Variación de alturas (para look masonry) */
.lifestyle-tile:nth-child(3n + 1) { min-height: 300px; }
.lifestyle-tile:nth-child(3n + 2) { min-height: 360px; }
.lifestyle-tile:nth-child(3n)     { min-height: 260px; }

/* Overlay navy (Blue Venao) para texto legible */
.lifestyle-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(1, 33, 105, 0.85) 0%,
    rgba(1, 33, 105, 0.25) 55%,
    rgba(1, 33, 105, 0.05) 100%
  );
}

/* Contenido */
.lifestyle-tile-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
}

.lifestyle-tile-title {
  margin: 0 0 6px;
  font-size: 29px;     /* bigger (tú pediste larger) */
  font-weight: 700;
  line-height: 1.1;
}

.lifestyle-tile-sub {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  opacity: 0.95;
}

/* Hover elegante */
.lifestyle-tile {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/*.lifestyle-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}*/

.lifestyle-tile::before {
  background: linear-gradient(
    to top,
    rgba(1, 33, 105, 0.85) 0%,
    rgba(1, 33, 105, 0.25) 35%,
    rgba(1, 33, 105, 0) 100%
  );
}

h2.lifestyle-title {
    font-family: 'Darker Grotesque', sans-serif;
    color: black;
    font-size: 58px;
    line-height: 1;
    margin: 0 auto;
}

p.lifestyle-tagline {
    font-family: 'Maxdeath Brush', cursive;
    font-size: 46px;
    color: #0033a0;
    margin: 0 0 -10px;
}

@media (max-width: 1024px) {
  .lifestyle-masonry {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .lifestyle-masonry {
    column-count: 1;
  }

  .lifestyle-tile {
    aspect-ratio: 4 / 5; /* evita excesos en mobile */
  }
}

@media (max-width: 600px) {
  .lifestyle-masonry {
    column-count: 1;
    column-gap: 0;
    width: 100%;
    max-width: 100%;
  }

  .lifestyle-tile {
    width: 100%;
    max-width: 100%;
    margin: 0 0 14px; /* solo vertical */
  }
}



/**********************NUEVAS TARJETAS DXN*******************************/
.gridder-tarjetas {
    display: grid;
    align-content: end;
    justify-content: end;
    align-items: end;
    justify-items: end;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 100px auto;
}

.cadr-billboardbased {max-width: 590px;width: 590px;min-height: 624px;border-radius: 15px;position: relative;overflow: hidden;display: flex;justify-content: flex-end;align-items: center;}

li.card-list-item {
    list-style: none;
    margin: 6px 0;
}

.list-item-icon-column {
    display: inline-block;
    vertical-align: top;
}

.list-item-text-column {
    display: inline-block;
    line-height: 1.6;
}

.card-overlay-gradient + div {
    width: 325px;
    float: right;
    font-size: 22px;
    padding: 0 20px 0 0;
    position: relative;
    display: block;
    z-index: 3;
}

ul.card-inner-content-ul {
    padding-left: 0;
    color: #fff;
    margin-top: 15px;
}

h3.card-title-billboard {
    color: #fff;
    margin: 23px 0px;
    font-size: 30px;
}

h4.card-title-billboard {
    color: #fff;
    margin: 10px 20px 0;
}

img.bg-new-cards {
    position: absolute;
    z-index: 1;
    display: block;
    min-width: 100%;
    min-height: 100%;
}

.card-overlay-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to right, #03192b00 0%, #03192b99 50%, #03192bdb 100%);
}

img.list-item-icon {
    width: 45px;
    margin: 0 7px 0 0;
}

.cadr-billboardbased:after {
    content: "Starting at $362,000";
    background: linear-gradient(45deg, #0033a0c7, rgb(1 33 105 / 0%));
    width: 100%;
    height: 50px;
    display: block;
    position: absolute;
    top: 0;
    z-index: 4;
    text-align: left;
    line-height: 3;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    padding-left: 25px;
}
.cadr-billboardbased:nth-child(2):after {
  content: "Starting at $562,000";
}
.cadr-billboardbased:nth-child(3):after {
  content: "Starting at $247,000";
}
.cadr-billboardbased:nth-child(4):after {
  content: "Starting at $97,500";
}

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

  .cadr-billboardbased {
    width: calc(100% - 50px);
    border-radius: 5px;
    margin: 25px auto;
}

.gridder-tarjetas {
    display: block;
    margin-top:0;
}

.units-section,
.units-inner,
.units-grid {
  overflow: visible !important;
}
.unit-card {
  min-height: 260px;
}
.unit-card {
  background-size: cover;
  background-position: center;
}

  
}
/*******************************************************************************/


/* CTA "See more" */

.lifestyle-cta-wrap {
  margin-top: 40px;
}

.lifestyle-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 12px 48px 18px;
  border-radius: 999px;
  border: 2px solid #0033a0;
  background: transparent;
  color: #0033a0;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease,
              box-shadow 0.25s ease;
}

.lifestyle-cta:hover {
  background: #0033a0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .lifestyle-inner {
    padding: 0 24px;
  }

  .lifestyle-row--bottom .lifestyle-card {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .lifestyle-section {
    padding: 70px 0 90px;
  }

  .lifestyle-inner {
    padding: 0 20px;
  }

  .lifestyle-title {
    font-size: 30px;
    font-weight: 300;
  }

  /* SCROLLER: una sola fila con TODAS las cards */
  .lifestyle-scroller {
    margin-top: 32px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Las filas dejan de comportarse como filas,
     y solo sirven de "envoltorio lógico" */
  .lifestyle-row {
    display: contents;
    margin: 0;          /* eliminamos márgenes verticales de desktop */
  }

  .lifestyle-row--top,
  .lifestyle-row--bottom {
    justify-content: flex-start;
  }

  /* Cada card ocupa ~80% del ancho visible */
  .lifestyle-card {
    flex: 0 0 80%;
    max-width: 80%;
  }

  .lifestyle-row--bottom .lifestyle-card {
    max-width: 80%;
  }
}
header.lifestyle-header {
    margin: 100px auto 50px;
    text-align: center;
}

.lifestyle-cta-wrap {
    text-align: center;
    margin-bottom: 100px;
}


/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0033a0;
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 99999;
}


/* Mostramos el botón cuando el usuario hace scroll */
body.scrolled .back-to-top {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover */
.back-to-top:hover {
  background: #2ac8e1;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;                  /* se coloca en la esquina inferior izquierda */
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 99999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.07) translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.whatsapp-icon {
  width: 36px;       /* el tamaño del ícono interno */
  height: 36px;
  display: block;
}

/* ---------------- FOOTER ---------------- */

.site-footer {
  background: #012169;                /* azul royal del mockup */
  padding: 32px 0;
  color: white;
  font-family: 'Darker Grotesque', sans-serif;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left img.footer-logo {
  height: 64px;                       /* ajusta si lo quieres más grande/pequeño */
  display: block;
}

.footer-right {
  text-align: right;
  line-height: 1.1;
}

.footer-text {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}

.footer-sub {
  font-size: 16px;
  font-weight: 400;
  margin: 4px 0 0 0;
  opacity: 0.85;
}

/* ------- Responsive ------- */

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-right {
    text-align: center;
  }

  .footer-left img.footer-logo {
    height: 54px;
  }
}

/* --------- Scroll reveal base --------- */

.reveal-up,
.reveal-right,
.reveal-left {
  opacity: 0;
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  will-change: opacity, transform;
}

/* Desde ABAJO (sube) */
.reveal-up {
  transform: translateY(30px);
}

/* Desde la DERECHA (entra hacia la izquierda) */
.reveal-right {
  transform: translateX(40px);
}

/* Desde la IZQUIERDA (entra hacia la derecha) */
.reveal-left {
  transform: translateX(-40px);
}

/* Estado visible (compartido por todas) */
.reveal-up.is-visible,
.reveal-right.is-visible,
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Variante para cards pequeñas (si quieres seguir usándola) */
.reveal-card {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
  will-change: opacity, transform;
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
