:root{
  --bg:#EEECE5;          
  --primary:#1C2F4A;     
  --accent:#C6A15B;      
  --text:#2A2A2A;        
  --muted:#7A7A7A;       /* --bg:#f6efe1; --primary:#131F3C; --accent:#BE9350; --text:#2b2b2b; --muted:#6b6b6b; */
}

section{
  scroll-margin-top:30px;
}

#servicios{
  background:#F8F7F3;
  width:100%;
}

  *{
    margin:0;
    padding:0;
    box-sizing:border-box;
  }
  
  body{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  
  header{
    display:flex;
    justify-content:center;
  }

/* HEADER */

.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
}

.nav{
  width:100%;
  backdrop-filter:blur(10px);
  background:rgba(220,216,206,0.92);
  border-bottom:1px solid rgba(0,0,0,0.06);
}

.nav-inner{
  max-width:1200px;
  margin:auto;
  padding:18px 28px;

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

@media(max-width:992px){

  .nav-right{
    display:none;
  }

  .menu-toggle{
    display:flex;
  }

  .mobile-menu.active{
    display:block;
  }
}

/* BRAND */

.brand{
  display:flex;
  align-items:center;
  gap:16px;
}

.nav-logo{
  height:58px;
  width:auto;
  object-fit:contain;
}

.brand-text{
  line-height:1.1;
}

.brand-top{
  font-size:15px;
  font-weight:600;
  color:var(--accent);
}

.brand-bottom{
  font-size:13px;
  color:var(--accent);
  opacity:.8;
}

/* LINKS */

.nav-right{
  display:flex;
  align-items:center;
  gap:34px;
}

.nav-right a{
  text-decoration:none;
  color:var(--primary);
  font-size:18px;
  font-weight:500;
  transition:opacity .2s ease;
}

.nav-right a:hover{
  opacity:.7;
}

.nav-cta{
  background:var(--accent);
  color:#fff !important;
  padding:10px 16px;
  border-radius:8px;
  font-weight:600;
}

/* MOBILE BUTTON */

.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  border:none;
  background:#fff;
  border-radius:12px;
  cursor:pointer;

  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;

  box-shadow:0 6px 20px rgba(0,0,0,0.06);
}

.menu-toggle span{
  width:18px;
  height:2px;
  background:var(--primary);
  display:block;
}

/* MOBILE MENU */

.mobile-menu{
  display:none;
  padding:0 20px 20px;
}

.mobile-menu a{
  display:block;
  background:#fff;
  margin-top:8px;
  padding:14px 16px;
  border-radius:12px;
  text-decoration:none;
  color:var(--primary);
  box-shadow:0 8px 20px rgba(0,0,0,0.04);
}

/* HERO OFFSET */

.hero{
  padding-top:120px;
}

/* RESPONSIVE */

@media(max-width:992px){

  .nav-right{
    display:none;
  }

  .menu-toggle{
    display:flex;
  }

  .mobile-menu.active{
    display:block;
  }

  .brand-text{
    display:none;
  }

  .nav-logo{
    height:54px;
  }
}
  
/* HERO PREMIUM */

.hero{
  position:relative;
  width:100%;
  min-height:100vh;
  overflow:hidden;

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

  padding:140px 20px 60px;
}

/* Imagen fondo */

.hero-bg{
  position:absolute;
  inset:0;

  background-image:url('/img/fotoPortada2.jpg');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;

  transform:scale(1.03);
}

/* Overlay suave SOLO para lectura */

.hero-overlay{
  position:absolute;
  inset:0;

  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.18),
    rgba(0,0,0,0.08),
    rgba(0,0,0,0.22)
  );
}

/* Contenido */

.hero-content{
  position:relative;
  z-index:2;
  max-width:880px;
  margin:auto;
}

.hero h1{
  font-size:64px;
  line-height:1.05;
  font-weight:600;
  letter-spacing:-0.03em;
  color:#fff;
  margin-bottom:22px;
  text-shadow:
    0 2px 8px rgba(0,0,0,0.35),
    0 8px 30px rgba(0,0,0,0.28);
}

.hero p{
  font-size:24px;
  line-height:1.4;
  max-width:760px;
  margin:0 auto 34px;
  color:#fff;
  font-weight:500;
  text-shadow:
  0 3px 10px rgba(0,0,0,0.58),
  0 8px 24px rgba(0,0,0,0.42),
  0 0 2px rgba(0,0,0,0.35);
}

/* CTA especial hero */

.hero-cta{
  font-size:16px;
  padding:15px 28px;
  border-radius:10px;

  box-shadow:0 12px 30px rgba(0,0,0,0.18);
}

/* RESPONSIVE */

@media(max-width:992px){

  .hero{
    padding-top:130px;
  }

  .hero h1{
    font-size:46px;
  }

  .hero p{
    font-size:20px;
  }
}

@media(max-width:768px){

  .hero{
    min-height:92vh;
    padding:120px 20px 50px;
  }

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

  .hero h1{
    font-size:34px;
    line-height:1.12;
  }

  .hero p{
    font-size:18px;
    margin-bottom:28px;
  }

  .hero-cta{
    width:100%;
    max-width:320px;
  }
}

#propiedades h2{
  text-align:center;
  color:var(--primary);
  font-size:32px;
  margin-bottom:50px;
}

.propiedades-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px;
}

.property-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 14px 32px rgba(0,0,0,0.05);
  transition:transform .25s ease;
}

.property-card:hover{
  transform:translateY(-4px);
}

.property-card img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
}

.property-body{
  padding:22px;
}

.property-body h3{
  font-size:22px;
  color:var(--primary);
  margin-bottom:14px;
}

.property-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  font-size:14px;
  color:var(--muted);
  margin-bottom:14px;
}

.property-location{
  color:var(--accent);
  font-weight:600;
  margin-bottom:14px;
}

.property-list{
  list-style:none;
  padding:0;
  margin:0 0 20px;
}

.property-list li{
  font-size:15px;
  color:var(--text);
  margin-bottom:7px;
}

.property-btn{
  padding:11px 18px;
  background:var(--primary);
  color:#fff;
  text-decoration:none;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  display:block;
  width:fit-content;
  margin:0 auto;
}

.property-btn:hover{
  opacity:.92;
}

@media(max-width:992px){
  .propiedades-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:768px){
  .propiedades-grid{
    grid-template-columns:1fr;
  }

  #propiedades h2{
    font-size:28px;
  }
}



  /* CTA */
  
  .cta{
    display:inline-block;
    background:var(--accent);
    color:white;
    padding:14px 28px;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
    transition:all 0.2s ease;
  }
  
  .cta:hover{
    opacity:0.9;
  }
  
  /* SECTIONS */
  
  .section{
    padding:80px 20px;
  }
  
  .section-inner{
    max-width:1000px;
    margin:auto;
  }
  
  .section h2{
    text-align:center;
    color:var(--primary);
    font-size:32px;
    margin-bottom:50px;
    font-weight:600;
    line-height:1.2;
  }
  
  /* GRID */
  
  .grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
  }
  
  /* CARDS */
  
/* SERVICIOS (CARDS) */

.servicios-grid{
  gap:30px;
}

.service-card{
  border-radius:18px;
  padding:34px 28px;
  box-shadow:0 14px 34px rgba(0,0,0,0.05);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
  border:1px solid rgba(0,0,0,0.03);
  display:flex;
  flex-direction:column;
  align-items:center;    
}

.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 42px rgba(0,0,0,0.08);
  border-color:rgba(198,161,91,0.28);
}

.icon-wrap{
  margin-bottom:18px;
}

.icon-svg{
  width:58px;
  height:58px;
  display:block;
}

.service-card h3{
  margin-bottom:12px;
  color:var(--primary);
  font-size:24px;
  line-height:1.2;
  font-weight:600;
}

.service-card p{
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}

/* MOBILE */

@media(max-width:768px){

  .service-card{
    padding:28px 22px;
  }

  .service-card h3{
    font-size:22px;
  }

  .service-card p{
    font-size:15px;
  }

  .icon-svg{
    width:54px;
    height:54px;
  }
}


/* CONOCENOS */

#conocenos{
  background:#F1EFE8;
}

.about-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:50px;
  align-items:center;
}

.about-text p{
  margin-bottom:18px;
  color:var(--text);
  line-height:1.7;
  font-size:17px;
  text-align:justify;
}

.about-highlight{
  font-size:20px;
  color:var(--primary);
  font-weight:600;
  margin:28px 0;
}

.about-card{
  background:#fff;
  border-radius:18px;
  padding:28px;
  text-align:center;
  box-shadow:0 14px 32px rgba(0,0,0,0.05);
}

.about-card img{
  width:100%;
  max-width:300px;
  height:380px;
  object-fit:cover;
  border-radius:16px;
  margin:0 auto 18px;
  display:block;
}

.about-card h3{
  color:var(--primary);
  font-size:26px;
  margin-bottom:6px;
}

.about-role{
  color:var(--accent);
  font-weight:600;
  margin-bottom:24px;
}

.about-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.about-stats div{
  background:#F8F7F3;
  padding:14px 8px;
  border-radius:12px;
}

.about-stats strong{
  display:block;
  font-size:22px;
  color:var(--primary);
}

.about-stats span{
  font-size:13px;
  color:var(--muted);
}

/* FAQ */
#faq{
  background:#F8F7F3;
}

#faq h2{
  text-align:center;
  color:var(--primary);
  font-size:32px;
  margin-bottom:45px;
}

.faq-list{
  max-width:900px;
  margin:auto;
}

.faq-list details{
  background:#fff;
  border-radius:14px;
  padding:18px 22px;
  margin-bottom:14px;
  box-shadow:0 10px 24px rgba(0,0,0,0.04);
}

.faq-list summary{
  cursor:pointer;
  font-weight:600;
  color:var(--primary);
  list-style:none;
}

.faq-list summary::-webkit-details-marker{
  display:none;
}

.faq-list p{
  margin-top:14px;
  color:var(--text);
  line-height:1.6;
}

.wh-fixed:hover {
  transform: scale(1.08);
}

.wh-fixed img {
  width: 116%;
  height: 116%;
  object-fit: contain;
}

.wh-fixed {
  position: fixed;
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 22% / 30%; /* estilo "squircle" */
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  bottom: 50px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


@media(max-width:768px){
  .wh-fixed {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    bottom: 40px; right: 6px;
  }

.wh-fixed img {
    width: 118%;
    height: 118%;
    object-fit: contain; 
  }
}


/* RESPONSIVE */

@media(max-width:900px){
  .about-grid{
    grid-template-columns:1fr;
  }

  .about-card{
    max-width:420px;
    margin:auto;
  }
}

@media(max-width:768px){
  #faq h2,
  #conocenos h2{
    font-size:28px;
  }

  .about-text p{
    font-size:16px;
  }

  .about-highlight{
    font-size:18px;
  }

  .about-card img{
    height:350px;
  }
}

  
/* FORMULARIO */

.form-premium .section-inner{
  max-width:900px;
}

.form-phone{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:24px;
  font-weight:700;
  color:var(--primary);
  margin:0 0 18px;
}

.form-phone img{
  width:24px;
  height:24px;
  object-fit:contain;
}

.form-intro{
  max-width:700px;
  margin:0 auto 34px;
  text-align:center;
  color:var(--muted);
  font-size:18px;
}

.premium-form,
.success-box{
  max-width:620px;
  margin:auto;
  padding:34px;
  background:rgba(255,255,255,0.72);
  border:1px solid rgba(0,0,0,0.05);
  border-radius:24px;
  box-shadow:0 18px 40px rgba(0,0,0,0.06);
  backdrop-filter:blur(8px);
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.field{
  margin-bottom:18px;
}

.field label{
  display:block;
  margin-bottom:8px;
  font-size:16px;
  color:var(--primary);
  font-weight:500;
}

.premium-form input,
.premium-form select,
.premium-form textarea{
  width:100%;
  padding:14px 16px;
  border:1px solid rgba(0,0,0,0.10);
  border-radius:14px;
  background:#fff;
  font-size:15px;
  font-family:inherit;
  color:var(--text);
}

.premium-form textarea{
  resize:vertical;
  min-height:130px;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(198,161,91,0.15);
}

.form-submit{
  text-align:center;
  margin-top:8px;
}

.premium-btn{
  border:none;
  cursor:pointer;
  display:inline-block;
  background:var(--primary);
  color:#fff;
  padding:15px 42px;
  border-radius:999px;
  font-size:18px;
  font-weight:600;
  transition:all .2s ease;
}

.premium-btn:hover{
  opacity:.92;
  transform:translateY(-1px);
}

.premium-btn:disabled{
  opacity:.65;
  cursor:not-allowed;
}

.form-note{
  margin-top:18px;
  text-align:center;
  font-size:14px;
  color:var(--muted);
}

/* SUCCESS */

.success-box{
  text-align:center;
}

.success-line{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-bottom:18px;
}

.success-icon{
  width:40px;
  height:40px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--accent),#a78649);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 18px rgba(0,0,0,0.10);
}

.success-icon svg{
  width:18px;
  height:18px;
}

.success-box h3{
  margin:0;
  color:var(--primary);
  font-size:28px;
  font-weight:600;
}

.success-box p{
  max-width:520px;
  margin:0 auto 26px;
  color:var(--muted);
  font-size:17px;
}

.secondary-btn{
  background:var(--accent);
}

/* MOBILE */

@media(max-width:768px){

  .form-grid{
    grid-template-columns:1fr;
    gap:0;
  }

  .premium-form,
  .success-box{
    padding:24px 18px;
  }

  .form-phone{
    font-size:22px;
  }

  .form-intro{
    font-size:16px;
  }

  .success-line{
    flex-direction:column;
    gap:10px;
  }

  .success-box h3{
    font-size:24px;
  }

  .premium-btn{
    width:100%;
  }
}
  
  /* FOOTER */
  
  .footer{
    background:#fff;
    margin-top:60px;
    padding-top:40px;
    border-top:1px solid #eee;
  }
  
  .footer-container{
    max-width:1000px;
    margin:auto;
    padding:0 20px 30px;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
  }
  
  .footer-title{
    font-weight:600;
    color:var(--primary);
    margin-bottom:5px;
  }
  
  .footer-desc{
    font-size:14px;
    color:var(--muted);
  }
  
  .footer-legal{
    display:flex;
    flex-direction:column;
    gap:8px;
  }
  
  .footer-legal a{
    text-decoration:none;
    font-size:14px;
    color:var(--muted);
    transition:0.2s;
  }
  
  .footer-legal a:hover{
    color:var(--primary);
  }
  
  .footer-bottom{
    text-align:center;
    padding:20px;
    font-size:13px;
    color:var(--muted);
    border-top:1px solid #eee;
  }
  
  /* MOBILE */
  @media(max-width:768px){
    .footer-container{
      flex-direction:column;
      text-align:center;
      align-items:center;
    }
  
    .footer-legal{
      flex-direction:row;
      flex-wrap:wrap;
      justify-content:center;
    }
  }
  
  /* MOBILE */
  
  @media(max-width:768px){
    .grid{
      grid-template-columns:1fr;
    }
  
    .hero h1{
      font-size:28px;
    }
  
    .section{
      padding:60px 20px;
    }
  }

  .modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    backdrop-filter:blur(6px);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:2000;
  }
  
  .modal-overlay.active{
    display:flex;
  }
  
  .modal-box{
    background:#fff;
    border-radius:20px;
    max-width:720px;
    width:92%;
    padding:26px;
    box-shadow:0 25px 60px rgba(0,0,0,0.25);
    position:relative;
    animation:fadeIn .3s ease;
    max-height:80vh;
    overflow-y:auto;
    border:1px solid #e7dfd5;
  }
  
  @keyframes fadeIn{
    from{
      opacity:0;
      transform:translateY(20px);
    }
    to{
      opacity:1;
      transform:translateY(0);
    }
  }
  
  .modal-close{
    position:absolute;
    top:12px;
    right:14px;
    font-size:26px;
    background:none;
    border:none;
    cursor:pointer;
    opacity:.6;
  }
  
  .modal-close:hover{
    opacity:1;
  }
  
  .modal-box h3{
    font-size:26px;
    margin-bottom:12px;
    color:#7A5A34;
  }
  
  .modal-box img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:14px;
    margin-bottom:16px;
  }
  
  .modal-box p{
    font-size:15px;
    line-height:1.6;
    color:#444;
    margin-bottom:16px;
    white-space:pre-line;
  }
  
  .modal-box ul{
    margin-bottom:16px;
  }
  
  .modal-box li{
    font-size:14px;
    margin-bottom:6px;
  }
  
  .modal-note{
    font-size:13px;
    color:#777;
  }