/* =========================================================
   FUENTES
========================================================= */
@font-face {
  font-family: "Tangerine";
  src: url("../fuente/Tangerine-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Tangerine";
  src: url("../fuente/Tangerine-Bold.ttf") format("truetype");
  font-weight: 700;
}

/* =========================================================
   VARIABLES GLOBALES
========================================================= */
:root {
  --lux-bg-1: #050505;
  --lux-bg-2: #0d0d10;
  --lux-bg-3: #17171b;

  --lux-surface-1: rgba(42, 42, 44, 0.96);
  --lux-surface-2: rgba(20, 20, 22, 0.94);

  --lux-gold-1: #d4af37;
  --lux-gold-2: #f3d37a;

  --lux-text: #ffffff;
  --lux-text-soft: rgba(255, 255, 255, 0.88);

  --lux-shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --lux-shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.55);
  --lux-border: 1px solid rgba(255, 255, 255, 0.08);

  --lux-section-bg:
    radial-gradient(circle at bottom center,
      rgba(212, 175, 55, 0.08),
      transparent 34%),
    linear-gradient(to top,
      var(--lux-bg-1) 0%,
      var(--lux-bg-2) 48%,
      var(--lux-bg-3) 100%);

  --lux-card-bg: linear-gradient(145deg,
      var(--lux-surface-1),
      var(--lux-surface-2));
}

/* =========================================================
   BASE GENERAL
========================================================= */
body {
  background: #050505;
  color: var(--lux-text);
}

/* =========================================================
   BOTONES CTA UNIFICADOS
========================================================= */
.btn-sm,
.btn-cp,
.btn-inv,
#areas .fa-btn {
  padding: 15px 28px;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.3px;
  margin-bottom: 50px;
  margin-top: 20px;
  color: #111111;
  background: linear-gradient(135deg, var(--lux-gold-1), var(--lux-gold-2));
  box-shadow:
    0 10px 24px rgba(212, 175, 55, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.btn-sm:hover,
.btn-cp:hover,
.btn-inv:hover,
#areas .fa-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 16px 32px rgba(212, 175, 55, 0.38),
    0 0 24px rgba(243, 211, 122, 0.22);
  filter: brightness(1.03);
}

.btn-sm:active,
.btn-cp:active,
.btn-inv:active,
#areas .fa-btn:active {
  transform: translateY(0) scale(0.99);
}

/* =========================================================
   SOBRE MÍ
   ========================================================= */
  .container-sm {
   max-width: auto;
   background:
   radial-gradient(circle at bottom center,
   rgba(212, 175, 55, 0.1),
   transparent 36%),
   linear-gradient(to top, #050505 0%, #0d0d10 48%, #17171b 100%);
   color: white;
   margin-left:30px ;
   margin-right:30px ;
   margin-top: 30px;
   border-radius: 22px;
   border: var(--lux-border);
   position: relative;
   overflow: visible;
  }
  
  .sobre-texto-sm {
    margin-top: 10px;
    margin: 0 auto;
    text-align: left;
    padding-bottom: 50px;
    display: inline-block;
    margin-top: -30px;
    clear: both;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .img-float-sm {
    float: right;
    width: 220px;
    margin: -30px 0 10px 20px;
    border-radius: 15px;
  }
  
  .sobre-texto-sm .h2-sm {
    font-family: "Tangerine", serif;
    font-weight: 700;
    font-size: 100px;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .sobre-texto-sm .p-sm {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 12px;
    color: var(--lux-text-soft);
  }
  
  .btn-sm {
    display: block;
    width: fit-content;
    margin: 60px 0 0 170px;
}
 


/* =========================================================
  COMPRA VIVIENDA
  ========================================================= */
  .dark-cp {
    max-width: auto;
    background:
    radial-gradient(circle at bottom center,
    rgba(212, 175, 55, 0.1),
      transparent 36%),
    linear-gradient(to top, #050505 0%, #0d0d10 48%, #17171b 100%);
  color: white;
  margin-left:30px ;
   margin-right:30px ;
   margin-top: 30px;
  border-radius: 22px;
  margin-top: 30px;
  border: var(--lux-border);
  position: relative;
  overflow: visible;
}

.h2-dark-cp-p {
  font-family: "Tangerine", serif;
  font-weight: 700;
  font-size: 60px;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 20px;
  margin-top: 30px;
  text-align: center;
}

.h2-dark-cp {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  color: #fff;
  margin-bottom: 20px;
  margin-top: 30px;
  text-align: center;
  font-weight: 400;
}

.cards-cp {
  padding: 25px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
  color: #fff;
}

.card-list-cp {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-left: 7%;
  text-align: left;
  color: #fff;
  margin-top: -50px;
}

.card-img-cp {
  width: 100%;
  max-width: 400px;
  max-height: 220px;
  object-fit: cover;
  align-self: center;
}

.card-list-cp ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  list-style: none;
  padding: 0;
}

.card-list-cp li {
  position: relative;
  padding-left: 20px;
  color: var(--lux-text-soft);
  font-size: 20px;
}

.card-list-cp li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--lux-gold-1);
}

.btn-cp {
  display: inline-block;
  width: fit-content;
  margin-left: 40%;
}

.card-text-cp {
  text-align: left;
  position: relative;
  line-height: 1.6;
  margin-left: 10px;
  margin-right: 10px;
  color: var(--lux-text-soft);
  font-size: 20px;
}

.card-images-cp {
  float: right;
  position: relative;
  width: 300px;
  margin: 0 0 10px 20px;
}

.img-back-cp {
  width: 100%;
  border-radius: 8px;
}

.img-front-cp {
  position: absolute;
  bottom: -65px;
  left: 80px;
  width: 70%;
  padding: 5px;
}

.card-text-cp::after {
  content: "";
  display: block;
  clear: both;
}

/* =========================================================
   INVIERTE CON NOSOTROS
========================================================= */
.container-inv {
  background: var(--lux-card-bg);
  color: #fff;
  max-width: auto;
  margin-left:30px ;
   margin-right:30px ;
   margin-top: 30px;
  padding: 20px;
  border-radius: 22px;
  border: var(--lux-border);
  box-shadow:
    var(--lux-shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 30px;
}

.h2-inv-p {
  font-family: "Tangerine", serif;
  font-weight: 700;
  font-size: 60px;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 20px;
  margin-top: 30px;
  text-align: center;
}

.h2-inv {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  color: #fff;
  margin-bottom: 20px;
  margin-top: 30px;
  text-align: center;
  font-weight: 400;
}

.cards-inv {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-inv,
.card-list-inv {
  padding: 20px;
  margin-top: -50px;
}

.card-text-inv {
  position: relative;
  line-height: 1.6;
  color: var(--lux-text-soft);
}

.card-img-inv {
  float: right;
  position: relative;
  width: 260px;
  margin: 0 0 10px 20px;
}

.img-back-inv {
  width: 110%;
  display: block;
  border-radius: 8px;
}

.img-front-inv {
  position: absolute;
  bottom: -65px;
  left: 80px;
  width: 70%;
  padding: 5px;
}

.card-text-inv::after {
  content: "";
  display: block;
  clear: both;
}

.card-list-inv ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  list-style: none;
  padding: 0;
}

.card-list-inv li {
  padding-left: 20px;
  position: relative;
  color: var(--lux-text-soft);
}

.card-list-inv li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--lux-gold-1);
}

.btn-inv {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
}

/* =========================================================
   SERVICIOS
========================================================= */
#servicios {
  max-width: auto;
  background:
    radial-gradient(circle at bottom center,
      rgba(212, 175, 55, 0.1),
      transparent 36%),
    linear-gradient(to top, #050505 0%, #0d0d10 48%, #17171b 100%);
  color: white;
  margin-left:30px ;
   margin-right:30px ;
   margin-top: 30px;
  margin-top: 30px;
  padding: 20px;
  border-radius: 22px;
  border: var(--lux-border);
  position: relative;
  overflow: visible;
}

.h2-si {
  font-family: "Tangerine", serif;
  font-weight: 700;
  font-size: 50px;
  text-align: center;
  margin-bottom: 20px;
}

#servicios .carousel {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

#servicios .carousel-window {
  width: calc((300px * 3) + (20px * 2));
  max-width: 100%;
  overflow: hidden;
  padding: 35px 0;
}

#servicios .cards {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

#servicios .card {
  flex: 0 0 300px;
  width: 300px;
  height: 240px;
  background: linear-gradient(145deg, #2a2a2c, #3b3b40);
  color: white;
  padding: 28px;
  border-radius: 24px;
  border: var(--lux-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0.25;
  filter: blur(3px);
  transform: scale(0.82);
  transition:
    transform 0.55s ease,
    opacity 0.55s ease,
    filter 0.55s ease,
    box-shadow 0.55s ease;
}

#servicios .card h3 {
  margin: 0 0 12px;
  font-size: 40px;
  font-family: "Tangerine", serif;
  font-weight: 700;
  text-align: center;
}

#servicios .card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--lux-text-soft);
  text-align: center;
  max-width: 90%;
}

#servicios .card.active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1.08);
  z-index: 3;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(255, 255, 255, 0.08);
}

#servicios .card.side {
  opacity: 0.48;
  filter: blur(1.5px);
  transform: scale(0.88);
  z-index: 1;
}

#servicios .btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

#servicios .btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

#servicios .prev {
  left: -18px;
}

#servicios .next {
  right: -18px;
}

/* =========================================================
   ÁREAS
========================================================= */
#areas.fa-section {
  background:
    radial-gradient(
      circle at bottom left,
      rgba(212, 175, 55, 0.09),
      transparent 32%
    ),
    linear-gradient(to top, #050505 0%, #0d0d10 50%, #17171b 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  max-width: auto;
  margin-left:30px ;
   margin-right:30px ;
   margin-top: 30px;
  margin-top: 30px;
  border-radius: 22px;
  border: var(--lux-border);
}

#areas .fa-container {
  max-width: 1150px;
  margin: 0 auto;
  text-align: center;
}

#areas .fa-title {
  font-size: 50px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 45px;
  color: #ffffff;
  font-family: "Tangerine", serif;
}

#areas .fa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 0;
  margin-left: 5px;
  margin-right: 5px;

}

#areas .fa-grid-single {
  grid-template-columns: 1fr;
}

#areas .fa-card-full {
  padding-bottom: 30px;
  
}

#areas .fa-text {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.85;
  color: var(--lux-text-soft);
  text-align: center;
}

#areas .fa-text:last-child {
  margin-bottom: 0;
}

#areas::before {
  content: "";
  position: absolute;
   top: -150px;
  right: -140px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.06),
    transparent 70%
  );
  pointer-events: none;
}

#areas::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  bottom: -120px;
  left: -100px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04),
    transparent 70%
  );
  pointer-events: none;
}


/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {
  #areas .fa-grid {
    grid-template-columns: 1fr;
  }

  #areas .fa-card-info,
  #areas .fa-card-list {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .sobre-sm {
    margin-top: 50px;
    border-radius: 18px;
    margin-left:0px ;
   margin-right:0px ;
   
  }

  .img-float-sm {
    position: relative;
    float: right;
    width: 140px;
    margin: 0 0 5px 10px;
  }

  .sobre-texto-sm {
    text-align: left;
    padding: 0;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 0;
  }

  .sobre-texto-sm .h2-sm {
    font-size: 70px;
    margin-bottom: 10px;
  }

  .sobre-texto-sm .p-sm {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .sobre-texto-sm .btn-sm {
    display: block;
    margin-top: 15px;
    clear: both;
    text-align: center;
  }

  .btn-sm {
    margin-bottom: 20px;
    margin-left: 20%;
  }

  .h2-sm {
    margin-top: 5px;
  }

  .dark-cp {
    text-align: left;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 5px;
    margin-right: 5px;
  }

  .cards-cp {
    gap: 20px;
  }

  .card-cp,
  .card-list-cp {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 0px;
    padding-right: 0px;
  }

  .card-img-cp {
    max-height: 180px;
  }

  .card-images-cp {
    float: right;
    width: 180px;
    margin: 0 0 5px 10px;
  }

  .img-front-cp {
    bottom: -20px;
    right: -150px;
    width: 60%;
  }

  .card-text-cp {
    font-size: 20px;
  }

  .card-list-cp ul {
    grid-template-columns: 1fr;
  }

  .h2-dark-cp-p {
    margin-top: -10px;
    margin-left: 10px;
  }
.card-text-cp{
  font-size: 20px;
}

  .container-inv {
    margin: 20px;
    border-radius: 18px;
  }

  .card-img-inv {
    width: 180px;
    margin: 0 0 5px 10px;
  }

  .img-front-inv {
    bottom: -10px;
    left: 10px;
    width: 60%;
  }

  .card-list-inv ul {
    grid-template-columns: 1fr;
  }

  .card-text-inv {
    font-size: 20px;
  }

  .btn-cp {
    margin-bottom: 20px;
    margin-left: 20%;
  }

  .h2-dark-cp {
    margin-top: 50px;
    margin-bottom: 0px;
  }


  #servicios {
    padding: 0px 5%;
    margin-left:0px ;
   margin-right:0px ;
   margin-top: 0px;
  }

  #servicios h2 {
    margin-bottom: 15px;
  }

  #servicios .carousel-window {
    width: 85vw;
    max-width: 360px;
    padding: 25px 0;
    overflow: hidden;
  }

  #servicios .cards {
    gap: 20px;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  #servicios .card {
    flex: 0 0 85vw;
    width: 85vw;
    max-width: 360px;
    height: 260px;
    opacity: 0.25;
    filter: blur(2px);
    transform: scale(0.9);
  }

  #servicios .card.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }

  #servicios .card.side {
    opacity: 0.25;
    filter: blur(2px);
    transform: scale(0.9);
  }

  #servicios .btn {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  #servicios .prev {
    left: -6px;
  }

  #servicios .next {
    right: -6px;
  }


  #areas.fa-section {
    padding: 0px 6%;
     margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
  }

  #areas .fa-title {
    margin-bottom: 22px;
   
  }

  #areas .fa-grid {
    gap: 20px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
  }

  #areas .fa-card {
    border-radius: 22px;
  }

  #areas .fa-text {
    font-size: 20px;
    line-height: 1.75;
  }

  #areas .fa-subtitle {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  #areas .fa-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #areas .fa-btn {
    width: 100%;
    max-width: 320px;
    padding: 15px 22px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    text-align: center;
  }
}