/* ===========================
   FESTÍN INMOBILIARIO — CSS (FULL)
   Tipografía: Poppins
   Paleta:
   #3841F2 #2573D9 #04BF68 #82D9B0 #96E7FA #F2F2F2
=========================== */

:root{
  --brand-1:#3841F2;
  --brand-2:#2573D9;
  --green:#04BF68;
  --accent-2:#82D9B0;
  --accent-3:#96E7FA;
  --bg:#F2F2F2;

  --white:#ffffff;
  --ink:#0f172a;
  --muted:#475569;
  --line:rgba(15,23,42,.10);

  --radius:12px;
  --radius-sm:10px;

  --shadow: 0 18px 45px rgba(15,23,42,.10);
  --shadow-sm: 0 12px 28px rgba(15,23,42,.10);

  --container:1120px;
}

/* Reset */

*{ box-sizing:border-box; }

html,body{ height:100%; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:"Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height:1.55;
}

img{ max-width:100%; display:block; }

a{ color:inherit; text-decoration:none; }

button,input,select,textarea{ font-family:inherit; }

::selection{ background: rgba(150,231,250,.8); }



/* ==========================
   HELPERS
   ========================== */

.container{
  width:min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

.section{ padding:72px 0; }

.section--tight{ padding:44px 0; }

.section-title{
  font-size: clamp(24px, 2.2vw, 34px);
  line-height:1.15;
  margin:0 0 12px;
  letter-spacing:-0.02em;
}

.section-lead{
  margin:0 0 28px;
  color: var(--muted);
  max-width:72ch;
}

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}



/* ==========================
   SEPARADOR
   ========================== */

.section-split{
  border-top: 10px solid #F2F2F2;
}



/* ==========================
   PILLS
   ========================== */

.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 14px;
  border-radius:999px;
  background: rgba(150,231,250,.45);
  border: 1px solid rgba(37,115,217,.25);
  color: rgba(15,23,42,.88);
  font-size:13px;
  font-weight:500;
}

.pill--inverse{
  background: rgba(242,242,242,.16);
  border: 1px solid rgba(242,242,242,.25);
  color:#F2F2F2;
}



/* ==========================
   BOTONES
   ========================== */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:10px;
  border:1px solid transparent;
  cursor:pointer;
  font-weight:600;
  letter-spacing:.01em;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 24px rgba(4,191,104,.20);
}

.btn-primary:hover{ background:#02ab5c; }

.btn-secondary{
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
}

.btn-ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost--inverse{
  border-color: rgba(242,242,242,.40);
  color:#F2F2F2;
}



/* ==========================
   HEADER
   ========================== */

.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
}

.header--green{
  background: rgba(4,191,104,.98);
  border-bottom: 1px solid rgba(242,242,242,.18);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}



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

.brand-logo{
  width:180px;
  height:auto;
  display:block;
}

@media (max-width: 920px){
  .brand-logo{ width:140px; }
}



/* ==========================
   NAV LINKS
   ========================== */

.nav-links{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav-links a{
  font-size:13px;
  font-weight:700;
  padding:10px 10px;
  border-radius:10px;
}

.nav-links--inverse a{
  color:#F2F2F2;
}



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

.nav-cta{
  display:flex;
  gap:10px;
  align-items:center;
}

.header .nav-cta .btn{
  background:#82D9B0;
  color:#ffffff;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}



/* ==========================
   BURGER
   ========================== */

.burger{
  display:none;
}

@media (max-width: 920px){

  .burger{ display:inline-flex; }

  .nav-cta{ display:none; }

  .nav-links{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:68px;
    flex-direction:column;
    background:#04BF68;
    padding:20px;
  }

}



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

.hero--bg{
  position: relative;
  overflow: hidden;
  padding:84px 0 24px;
}

.hero-bg,
.hero-overlay{
  position:absolute;
  inset:0;
}

.hero-bg{
  background-size:cover;
  background-position:center;
}

.hero-overlay{
  background: linear-gradient(135deg, rgba(15,23,42,.55), rgba(37,115,217,.55));
}

.hero-inner{
  padding: clamp(22px, 4vw, 48px);
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:center;
  color:#fff;
}



/* ==========================
   EXPERIENCIAS
   ========================== */

.experiencias-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:22px;
}

.exp-card{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  min-height:320px;
}

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

.exp-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.20));
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:26px;
  color:white;
}



/* ==========================
   PARALLAX
   ========================== */

.has-parallax{
  position: relative;
  overflow: hidden;
}

.has-parallax .parallax-bg{
  position:absolute;
  inset:-18% 0;
  background-size:cover;
  background-position:center;
}



/* ==========================
   FOOTER
   ========================== */

.footer{
  padding:22px 0 34px;
  font-size:13px;
}

.footer--green{
  background: linear-gradient(
    to bottom,
    rgba(4,191,104,.98),
    rgba(3,170,92,1)
  );
  color:#F2F2F2;
}



/* ==========================
   VIDEO HERO
   ========================== */

.video-hero{
  position:relative;
  width:100%;
  height:72vh;
  min-height:520px;
  overflow:hidden;
  background:#000;
}

/* VIDEO COMPLETO SIN RECORTE */

.video-hero video{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
}

.video-sound{
  position:absolute;
  right:30px;
  bottom:30px;
  z-index:3;
  background:#82D9B0;
  color:#fff;
  border-radius:10px;
  padding:12px 16px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}

.video-sound:hover{
  background:#74d3aa;
}



/* ==========================
   EXPERIENCIAS FONDO
   ========================== */

.experiencias-bg{
  position:relative;
  background-image:url("../img/bg-experiencias.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.experiencias-bg-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(15,23,42,.62), rgba(4,191,104,.22));
}

/* ==========================
   VIDEO HERO INTERIOR (INSCRIPCIÓN)
   ========================== */

.video-hero--inner{
  height:42vh;
  min-height:280px;
  max-height:420px;
}

.video-hero--inner video{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
}

@media (max-width: 920px){
  .video-hero--inner{
    height:34vh;
    min-height:220px;
    max-height:300px;
  }
}