/* =========================================================
   KIMA — El arte de habitar. Landing page de ventas.
   ========================================================= */

:root{
  --olive-dark:#262a10;
  --olive:#3f4520;
  --olive-2:#4d5527;
  --gold:#d6a544;
  --gold-light:#e8c983;
  --cream:#f7f0dd;
  --cream-2:#fffcf5;
  --text:#26290f;
  --text-soft:#54502f;
  --white:#ffffff;
  --whatsapp:#25d366;
  --whatsapp-dark:#1da851;
  --messenger:#0084ff;
  --messenger-dark:#006adb;
  --radius:16px;
  --radius-sm:10px;
  --shadow:0 10px 30px rgba(38,41,16,.15);
  --shadow-lg:0 20px 50px rgba(38,41,16,.25);
  --max:1180px;
  font-size:16px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"Poppins","Segoe UI",system-ui,-apple-system,sans-serif;
  color:var(--text);
  background:var(--cream-2);
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3,h4{font-family:"Playfair Display",Georgia,serif;margin:0 0 .5em;line-height:1.15;color:var(--olive-dark);}
p{line-height:1.7;margin:0 0 1em;color:var(--text-soft);}
.container{max-width:var(--max);margin:0 auto;padding:0 24px;}
.section{padding:88px 0;}
.section-alt{background:var(--cream);}
.section-dark{background:var(--olive-dark);color:var(--cream);}
.section-dark h2,.section-dark h3,.section-dark p{color:var(--cream);}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gold);font-weight:600;margin-bottom:14px;
}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--gold);display:inline-block;}
.section-head{max-width:640px;margin:0 auto 48px;text-align:center;}
.section-head h2{font-size:clamp(1.7rem,3.2vw,2.5rem);}
.section-head p{font-size:1.05rem;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:15px 28px;border-radius:999px;font-weight:600;font-size:.98rem;
  border:2px solid transparent;cursor:pointer;transition:.25s ease;
  white-space:nowrap;
}
.btn svg{width:20px;height:20px;flex:none;}
.btn-whatsapp{background:var(--whatsapp);color:#fff;box-shadow:0 8px 22px rgba(37,211,102,.35);}
.btn-whatsapp:hover{background:var(--whatsapp-dark);transform:translateY(-2px);}
.btn-messenger{background:var(--messenger);color:#fff;box-shadow:0 8px 22px rgba(0,132,255,.3);}
.btn-messenger:hover{background:var(--messenger-dark);transform:translateY(-2px);}
.btn-outline{background:transparent;border-color:var(--cream);color:var(--cream);}
.btn-outline:hover{background:var(--cream);color:var(--olive-dark);}
.btn-gold{background:var(--gold);color:var(--olive-dark);}
.btn-gold:hover{background:var(--gold-light);transform:translateY(-2px);}
.btn-block{width:100%;}

/* ---------- Header ---------- */
header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  padding:14px 0;transition:.3s ease;
  background:linear-gradient(to bottom,rgba(38,42,16,.55),rgba(38,42,16,0));
}
header.scrolled{background:rgba(38,42,16,.92);backdrop-filter:blur(8px);box-shadow:0 4px 20px rgba(0,0,0,.2);padding:10px 0;}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;}
.brand{display:flex;align-items:center;gap:10px;color:#fff;font-family:"Playfair Display",serif;font-size:1.3rem;letter-spacing:.08em;}
.brand img{height:42px;width:auto;}
nav.menu{display:flex;align-items:center;gap:30px;}
nav.menu a{color:#f2ead2;font-size:.92rem;font-weight:500;opacity:.9;transition:.2s;}
nav.menu a:hover{opacity:1;color:var(--gold-light);}
.header-cta{display:flex;align-items:center;gap:14px;}
.burger{display:none;background:none;border:none;color:#fff;font-size:1.6rem;cursor:pointer;}

@media(max-width:900px){
  nav.menu{position:fixed;top:0;right:-100%;height:100vh;width:78%;max-width:320px;
    background:var(--olive-dark);flex-direction:column;justify-content:center;
    gap:26px;transition:.35s ease;padding:40px;}
  nav.menu.open{right:0;}
  .burger{display:block;}
  .header-cta .btn span{display:none;}
  .header-cta .btn{padding:12px 16px;}
}

/* ---------- Hero ---------- */
.hero{
  position:relative;min-height:100vh;display:flex;align-items:center;
  background:url("assets/hero.jpg") center 30%/cover no-repeat;
  color:#fff;
}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(28,30,10,.55) 0%,rgba(28,30,10,.55) 30%,rgba(20,22,8,.85) 100%);
}
.hero-inner{position:relative;z-index:2;padding-top:110px;padding-bottom:60px;text-align:center;max-width:780px;margin:0 auto;}
.hero-logo{height:80px;width:auto;margin:0 auto 18px;}
.badge{
  display:inline-block;background:rgba(214,165,68,.18);border:1px solid var(--gold-light);
  color:var(--gold-light);padding:8px 18px;border-radius:999px;font-size:.82rem;
  letter-spacing:.06em;text-transform:uppercase;font-weight:600;margin-bottom:20px;
}
.hero h1{color:#fff;font-size:clamp(2.3rem,5.5vw,3.6rem);margin-bottom:16px;}
.hero h1 em{color:var(--gold-light);font-style:normal;}
.hero p.lead{color:#f0ead9;font-size:1.15rem;max-width:560px;margin:0 auto 32px;}
.hero-ctas{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}
.hero-scroll{
  position:absolute;bottom:24px;left:50%;transform:translateX(-50%);
  color:#f0ead9;font-size:.8rem;opacity:.8;display:flex;flex-direction:column;align-items:center;gap:6px;
}
.hero-scroll .dot{width:1px;height:34px;background:#f0ead9;animation:scrolldown 1.8s infinite;}
@keyframes scrolldown{0%{opacity:0;transform:scaleY(0);transform-origin:top;}30%{opacity:1;transform:scaleY(1);transform-origin:top;}100%{opacity:0;transform:scaleY(1);transform-origin:bottom;}}

/* ---------- Trust bar ---------- */
.trust{background:var(--olive);padding:22px 0;}
.trust ul{display:flex;flex-wrap:wrap;justify-content:center;gap:36px;}
.trust li{display:flex;align-items:center;gap:10px;color:var(--cream);font-size:.92rem;font-weight:500;}
.trust svg{width:20px;height:20px;color:var(--gold-light);flex:none;}

/* ---------- Intro / concept ---------- */
.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.intro-list{margin-top:24px;display:flex;flex-direction:column;gap:14px;}
.intro-list li{display:flex;align-items:center;gap:12px;font-weight:600;color:var(--olive-dark);}
.intro-list svg{width:22px;height:22px;color:var(--gold);flex:none;}
.intro-photos{display:grid;grid-template-columns:1.2fr .8fr;grid-template-rows:1fr 1fr;gap:14px;height:460px;}
.intro-photos img{width:100%;height:100%;object-fit:cover;border-radius:var(--radius);box-shadow:var(--shadow);}
.intro-photos .ph1{grid-row:1/3;}
@media(max-width:900px){
  .intro-grid{grid-template-columns:1fr;gap:32px;}
  .intro-photos{height:340px;}
}

/* ---------- Lotes / pricing ---------- */
.lotes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
.lote-card{
  background:var(--white);border-radius:var(--radius);padding:32px 28px;
  box-shadow:var(--shadow);border:1px solid rgba(38,41,16,.06);position:relative;
  display:flex;flex-direction:column;transition:.25s;
}
.lote-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);}
.lote-card.featured{border:2px solid var(--gold);}
.lote-tag{position:absolute;top:-13px;right:24px;background:var(--gold);color:var(--olive-dark);
  font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;
  padding:6px 14px;border-radius:999px;}
.lote-card h3{font-size:1.25rem;margin-bottom:4px;}
.lote-m2{color:var(--text-soft);font-size:.9rem;margin-bottom:18px;}
.lote-price{font-family:"Playfair Display",serif;font-size:2.1rem;color:var(--olive-dark);margin-bottom:2px;}
.lote-price small{font-family:"Poppins",sans-serif;font-size:.85rem;color:var(--text-soft);font-weight:500;}
.lote-card ul{margin:18px 0 26px;display:flex;flex-direction:column;gap:9px;}
.lote-card ul li{font-size:.92rem;color:var(--text-soft);display:flex;gap:8px;align-items:flex-start;}
.lote-card ul li svg{width:16px;height:16px;color:var(--whatsapp-dark);flex:none;margin-top:3px;}
.lote-card .btn{margin-top:auto;}
.plano-wrap{margin-top:56px;background:var(--white);border-radius:var(--radius);padding:32px;box-shadow:var(--shadow);display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center;}
.plano-wrap img{border-radius:var(--radius-sm);}
@media(max-width:900px){
  .lotes-grid{grid-template-columns:1fr;}
  .plano-wrap{grid-template-columns:1fr;}
}

/* ---------- Plan de pagos ---------- */
.pasos{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;counter-reset:step;}
.paso{background:rgba(247,240,221,.06);border:1px solid rgba(247,240,221,.16);border-radius:var(--radius);padding:28px 22px;text-align:center;}
.paso .num{
  counter-increment:step;width:46px;height:46px;border-radius:50%;background:var(--gold);
  color:var(--olive-dark);font-weight:700;font-size:1.1rem;display:flex;align-items:center;justify-content:center;
  margin:0 auto 16px;
}
.paso h4{color:var(--cream);font-size:1.05rem;margin-bottom:6px;}
.paso p{color:#d8d3ba;font-size:.88rem;margin:0;}
@media(max-width:900px){.pasos{grid-template-columns:1fr 1fr;}}
@media(max-width:520px){.pasos{grid-template-columns:1fr;}}

/* ---------- Por qué invertir ---------- */
.why-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;}
.why-card{background:var(--cream);border-radius:var(--radius-sm);padding:24px 18px;text-align:center;}
.why-card svg{width:30px;height:30px;color:var(--gold);margin-bottom:12px;}
.why-card p{font-size:.9rem;font-weight:600;color:var(--olive-dark);margin:0;}
@media(max-width:900px){.why-grid{grid-template-columns:repeat(2,1fr);}}

/* ---------- Emotional / benefits with photo ---------- */
.emo{position:relative;background:url("assets/recuerdos.jpg") center/cover no-repeat;min-height:560px;display:flex;align-items:center;}
.emo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,22,8,.88) 30%,rgba(20,22,8,.35) 100%);}
.emo-inner{position:relative;z-index:2;max-width:520px;}
.emo h2{color:#fff;}
.emo-list{margin-top:26px;display:flex;flex-direction:column;gap:18px;}
.emo-list li{display:flex;gap:14px;align-items:flex-start;color:#f0ead9;font-size:1.02rem;font-weight:500;}
.emo-list svg{width:24px;height:24px;color:var(--gold-light);flex:none;margin-top:2px;}

/* ---------- Gallery ---------- */
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.gallery-grid img{width:100%;height:260px;object-fit:cover;border-radius:var(--radius-sm);cursor:pointer;transition:.3s;}
.gallery-grid img:hover{transform:scale(1.03);box-shadow:var(--shadow);}
@media(max-width:900px){.gallery-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:560px){.gallery-grid{grid-template-columns:1fr;}}

/* ---------- FAQ ---------- */
.faq-list{max-width:760px;margin:0 auto;}
.faq-item{border-bottom:1px solid rgba(38,41,16,.12);}
.faq-q{
  width:100%;text-align:left;background:none;border:none;padding:22px 4px;
  font-family:"Playfair Display",serif;font-size:1.08rem;color:var(--olive-dark);
  display:flex;justify-content:space-between;align-items:center;cursor:pointer;gap:16px;
}
.faq-q .icon{width:22px;height:22px;flex:none;transition:.3s;color:var(--gold);}
.faq-item.open .faq-q .icon{transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;}
.faq-a p{padding:0 4px 22px;margin:0;}

/* ---------- Final CTA ---------- */
.final-cta{
  background:linear-gradient(135deg,var(--gold) 0%,var(--gold-light) 100%);
  text-align:center;padding:80px 0;
}
.final-cta h2{color:var(--olive-dark);font-size:clamp(1.8rem,4vw,2.6rem);}
.final-cta p{color:var(--olive-dark);opacity:.85;font-size:1.1rem;max-width:520px;margin:0 auto 30px;}
.final-cta .ctas{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}
.final-cta .btn-outline{border-color:var(--olive-dark);color:var(--olive-dark);}
.final-cta .btn-outline:hover{background:var(--olive-dark);color:#fff;}

/* ---------- Footer ---------- */
footer{background:var(--olive-dark);color:#cfc9ac;padding:56px 0 26px;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;margin-bottom:36px;}
.footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.footer-brand img{height:38px;}
.footer-brand span{font-family:"Playfair Display",serif;color:#fff;font-size:1.15rem;letter-spacing:.06em;}
footer h5{color:#fff;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:16px;}
footer ul{display:flex;flex-direction:column;gap:10px;}
footer a{font-size:.92rem;opacity:.85;transition:.2s;}
footer a:hover{opacity:1;color:var(--gold-light);}
.footer-social{display:flex;gap:12px;margin-top:6px;}
.footer-social a{width:38px;height:38px;border-radius:50%;background:rgba(247,240,221,.1);display:flex;align-items:center;justify-content:center;}
.footer-social svg{width:18px;height:18px;}
.footer-bottom{border-top:1px solid rgba(247,240,221,.12);padding-top:22px;font-size:.78rem;opacity:.7;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;}
@media(max-width:800px){.footer-grid{grid-template-columns:1fr;}}

/* ---------- Floating buttons ---------- */
.floating{position:fixed;right:22px;bottom:22px;z-index:1200;display:flex;flex-direction:column;gap:14px;align-items:flex-end;}
.fab{
  width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 26px rgba(0,0,0,.28);cursor:pointer;color:#fff;position:relative;
}
.fab svg{width:28px;height:28px;}
.fab-whatsapp{background:var(--whatsapp);}
.fab-messenger{background:var(--messenger);}
.fab-whatsapp::before{
  content:"";position:absolute;inset:0;border-radius:50%;background:var(--whatsapp);
  animation:pulse 2.4s infinite;z-index:-1;
}
@keyframes pulse{0%{transform:scale(1);opacity:.55;}100%{transform:scale(1.9);opacity:0;}}

/* ---------- Cookie notice ---------- */
.cookie-note{
  position:fixed;left:16px;bottom:16px;max-width:340px;background:var(--olive-dark);color:#e9e3cb;
  padding:16px 18px;border-radius:12px;font-size:.8rem;line-height:1.5;box-shadow:var(--shadow-lg);z-index:1300;
  display:flex;flex-direction:column;gap:10px;
}
.cookie-note button{align-self:flex-end;background:var(--gold);color:var(--olive-dark);border:none;
  padding:7px 16px;border-radius:999px;font-weight:600;font-size:.76rem;cursor:pointer;}

/* ---------- Reveal animation ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease;}
.reveal.in{opacity:1;transform:none;}

@media(max-width:560px){
  .section{padding:60px 0;}
  .floating{right:14px;bottom:14px;}
  .fab{width:54px;height:54px;}
  .cookie-note{left:10px;right:10px;max-width:none;bottom:90px;}
}
