/* ================================================================
   Edificio Plaza Mayor · stylesheet mobile-first, conversión
   ================================================================ */

:root {
  --verde:        #0a4d2e;
  --verde-d:      #063720;
  --verde-l:      #1c7d4f;
  --oro:          #d4af37;
  --oro-d:        #b8932a;
  --naranja:      #ff6a00;
  --naranja-d:    #e25a00;
  --rojo:         #d12b2b;
  --gris-bg:      #f6f5f1;
  --gris-borde:   #e3e0d6;
  --texto:        #1c2620;
  --texto-suave:  #54625a;
  --blanco:       #ffffff;
  --sombra:       0 6px 22px rgba(10, 30, 18, .12);
  --sombra-sm:    0 2px 8px rgba(10, 30, 18, .08);
  --radio:        14px;
  --radio-sm:     9px;
  --max:          1180px;
  --ft: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
/* evita que el sticky bar + cookie banner cubra el contenido */
body.has-cookie { padding-bottom: 140px; }

body {
  margin: 0;
  font-family: var(--ft);
  color: var(--texto);
  background: var(--gris-bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 70px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--verde); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 16px; }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .4em; color: var(--verde-d); }
h1 { font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 4.5vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { margin: 0 0 .8em; color: var(--texto-suave); }
em  { font-style: italic; color: var(--oro-d); }

.texto-destacado { color: var(--naranja); font-weight: 700; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 600; font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  min-height: 54px;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--naranja); color: #fff; box-shadow: 0 6px 18px rgba(255,106,0,.35); }
.btn-primary:hover { background: var(--naranja-d); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.35); }
.btn-wa:hover { background: #1fb855; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--verde); color: #fff; }
.btn-dark:hover { background: var(--verde-d); }
.btn-block { display: flex; width: 100%; max-width: 100%; box-sizing: border-box; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gris-borde);
  box-shadow: var(--sombra-sm);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand img { width: 48px; height: 48px; object-fit: cover; background: var(--gris-bg); }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt strong { color: var(--verde-d); font-size: 1.05rem; font-weight: 800; }
.brand-txt em { color: var(--oro-d); font-style: italic; font-size: .85rem; }

.nav-burger {
  display: flex; flex-direction: column; gap: 5px;
  width: 46px; height: 46px; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 10px; border: 1px solid var(--gris-borde);
}
.nav-burger span { width: 22px; height: 2px; background: var(--verde-d); border-radius: 2px; transition: .25s; }

.site-nav {
  position: fixed; inset: 64px 0 auto 0;
  background: var(--verde-d);
  flex-direction: column; gap: 6px;
  padding: 0 20px;
  display: flex; max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  visibility: hidden;
}
.nav-link {
  color: #fff; padding: 13px 14px; border-radius: 10px;
  font-weight: 500; text-decoration: none !important;
}
.nav-link:hover { background: rgba(255,255,255,.1); }
.nav-wa { background: #25d366; color: #fff; }
.nav-call { background: var(--naranja); color: #fff; }

.nav-toggle:checked ~ .site-nav { max-height: 420px; padding: 16px 20px 28px; visibility: visible; }
.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(78vh, 560px);
  display: flex; align-items: flex-end; color: #fff;
  background: linear-gradient(180deg, rgba(6,20,12,.35) 0%, rgba(6,20,12,.82) 75%, rgba(6,20,12,.93) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url('/assets/img/fachada.jpg') center/cover no-repeat;
  background-position: center 35%;
}
.hero-in { padding-block: 42px 92px; }
.hero .-etiqueta {
  display: inline-flex; align-items: center; gap: .4em;
  background: var(--naranja); color: #fff;
  padding: 6px 14px; border-radius: 50px;
  font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em;
  margin-bottom: 12px;
}
.hero h1 { color: #fff; margin-bottom: 10px; }
.hero h1 .dest { color: var(--oro); }
.hero p { color: rgba(255,255,255,.92); font-size: 1.05rem; max-width: 620px; }
.hero-cta { display: grid; gap: 10px; margin-top: 18px; max-width: 420px; }

/* chips beneficios bajo hero */
.chips {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  margin-top: -38px; position: relative; z-index: 5;
}
.chip {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border-radius: var(--radio); padding: 12px 8px;
  box-shadow: var(--sombra); border: 1px solid var(--gris-borde);
}
.chip b { color: var(--naranja); font-size: 1.35rem; line-height: 1; }
.chip span { color: var(--texto-suave); font-size: .8rem; margin-top: 3px; }

/* ---------- Secciones ---------- */
.seccion { padding-block: 38px; }
.seccion.t-blanco { background: #fff; }
.seccion.t-verde { background: var(--verde); color: #fff; }
.seccion.t-verde h2, .seccion.t-verde h3, .seccion.t-verde p { color: #fff; }
.seccion.t-verde h2 { color: var(--oro); }
.sec-head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 24px; }
.sec-head p { margin-bottom: 0; }

/* amenidades */
.amen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.amen .a {
  background: #fff; border-radius: var(--radio); padding: 16px 12px;
  text-align: center; border: 1px solid var(--gris-borde); box-shadow: var(--sombra-sm);
}
.amen .a svg { width: 38px; height: 38px; color: var(--verde-l); }
.amen .a b { display: block; color: var(--verde-d); margin-top: 6px; font-size: .95rem; }

/* ofertas */
.oferta {
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-d) 100%);
  color: #fff; border-radius: var(--radio); padding: 24px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--sombra);
}
.oferta::before {
  content: "OFERTA"; position: absolute; top: 12px; right: -28px;
  background: var(--naranja); color: #fff; padding: 4px 32px; transform: rotate(35deg);
  font-weight: 700; font-size: .72rem; letter-spacing: .1em;
}
.oferta h2 { color: var(--oro); }
.oferta .tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 18px; }
.oferta .tags span { background: rgba(255,255,255,.13); padding: 6px 12px; border-radius: 50px; font-size: .85rem; }
.oferta .ctas { display: grid; gap: 10px; }

/* contadores / urgencia */
.urgencia {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap;
  background: #fff8e1; border: 1px dashed var(--oro-d);
  border-radius: 50px; padding: 8px 16px;
  font-weight: 600; color: var(--oro-d); text-align: center;
  max-width: 520px; margin: 0 auto 16px;
}
.urgencia b { color: var(--rojo); font-size: 1.15rem; }

/* tipologías cards */
.cards { display: grid; gap: 16px; }
.card {
  background: #fff; border-radius: var(--radio); overflow: hidden;
  border: 1px solid var(--gris-borde); box-shadow: var(--sombra-sm);
  display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fafafa; border-bottom: 1px solid var(--gris-borde); }
.card-in { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-in b { color: var(--verde-d); font-size: 1.1rem; }
.card-in ul { padding-left: 1.1em; margin: 0; color: var(--texto-suave); }
.card-in .btn { margin-top: auto; }

/* galería piloto scroll-snap */
.galeria {
  display: flex; gap: 10px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}
.galeria::-webkit-scrollbar { height: 6px; }
.galeria::-webkit-scrollbar-thumb { background: var(--verde-l); border-radius: 3px; }
.galeria figure {
  flex: 0 0 86%; scroll-snap-align: start; margin: 0;
  border-radius: var(--radio); overflow: hidden;
  box-shadow: var(--sombra-sm);
}
.galeria figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* ubicacion */
.ubic { display: grid; gap: 14px; max-width: 100%; overflow: hidden; }
.ubic iframe { width: 100%; max-width: 100%; height: 280px; border: 0; border-radius: var(--radio); box-shadow: var(--sombra-sm); }
.ubic .ul-ico { display: grid; grid-template-columns: repeat(1, 1fr); gap: 8px; max-width: 100%; overflow: hidden; }
.ubic .ul-ico div { display: flex; gap: 10px; align-items: flex-start; background: #fff; padding: 12px; border-radius: var(--radio-sm); border: 1px solid var(--gris-borde); min-width: 0; word-wrap: break-word; overflow-wrap: break-word; }
.ubic svg { width: 22px; height: 22px; color: var(--naranja); flex: 0 0 auto; }
.ubic b { color: var(--verde-d); display: block; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--radio-sm);
  padding: 14px 16px; box-shadow: var(--sombra-sm);
}
.faq summary { font-weight: 600; color: var(--verde-d); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--naranja); font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 8px 0 0; }

/* social proof */
.social-proof { display: grid; gap: 12px; text-align: center; }
.sp-logos { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.sp-logos img { max-height: 60px; filter: grayscale(0.2); }
.sp-estadisticas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sp-estadisticas div { background: #fff; border-radius: var(--radio); padding: 14px 8px; border: 1px solid var(--gris-borde); }
.sp-estadisticas b { display: block; color: var(--naranja); font-size: 1.5rem; }
.sp-estadisticas span { color: var(--texto-suave); font-size: .82rem; }

/* ---------- Formulario ---------- */
.form-card {
  background: #fff; border-radius: var(--radio); padding: 20px;
  box-shadow: var(--sombra); border: 1px solid var(--gris-borde);
  max-width: 100%; overflow: hidden;
}
.form-card h2 { text-align: center; max-width: 100%; overflow: hidden; }
.form-grid { display: grid; gap: 12px; max-width: 100%; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 4px; max-width: 100%; min-width: 0; }
.field label { font-weight: 600; color: var(--verde-d); font-size: .9rem; }
.field label .req { color: var(--naranja); }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border-radius: var(--radio-sm);
  border: 1.5px solid var(--gris-borde); background: var(--gris-bg); color: var(--texto);
  width: 100%; max-width: 100%; box-sizing: border-box;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--verde-l); background: #fff;
}
.field .err { color: var(--rojo); font-size: .82rem; margin: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--texto-suave); max-width: 100%; overflow: hidden; }
.consent input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }

.beneficios-form { background: var(--verde-d); color: #fff; border-radius: var(--radio); padding: 16px; max-width: 100%; overflow: hidden; }
.beneficios-form ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; max-width: 100%; overflow: hidden; }
.beneficios-form li::marker { color: var(--oro); }

/* sticky bar mobile */
.contacto-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); backdrop-filter: blur(6px);
  border-top: 1px solid var(--gris-borde);
  box-shadow: 0 -6px 18px rgba(10,30,18,.12);
}
.contacto-sticky a {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 11px 6px; border-radius: 50px; font-weight: 700; font-size: .85rem;
  text-decoration: none !important; color: #fff;
}
.contacto-sticky a.wa { background: #25d366; }
.contacto-sticky a.ca { background: var(--naranja); }
.contacto-sticky a.fo { background: var(--verde); }
.contacto-sticky svg { width: 18px; height: 18px; }

/* float buttons (solo escritorio, móvil usa sticky bar) */
.wa-float, .call-float {
  position: fixed; right: 14px; z-index: 45;
  width: 54px; height: 54px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  text-decoration: none !important;
  animation: pulso 2.4s infinite;
}
.wa-float { bottom: 76px; background: #25d366; }
.call-float { bottom: 14px; background: var(--naranja); }
.wa-float svg, .call-float svg { display: block; }
@keyframes pulso {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
  50% { transform: scale(1.06); box-shadow: 0 8px 24px rgba(0,0,0,.32); }
}

/* gracias */
.hero-gracias {
  text-align: center; padding-block: 70px 50px;
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-d) 100%);
  color: #fff;
}
.hero-gracias h1 { color: #fff; }
.hero-gracias .ok {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.15); display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 12px;
}
.hero-gracias .ok svg { width: 44px; height: 44px; color: #fff; }

/* 404 */
.err404 { text-align: center; padding-block: 70px; }
.err404 h1 { font-size: clamp(3rem, 18vw, 8rem); color: var(--naranja); }

/* breadcrumb */
.breadcrumb { font-size: .82rem; color: var(--texto-suave); margin-bottom: 8px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.breadcrumb a { color: var(--texto-suave); }

/* legal */
.legal { max-width: 780px; margin-inline: auto; }
.legal h1 { margin-bottom: 1rem; }
.legal h2 { margin-top: 1.5rem; color: var(--verde); }

/* contacto form grid fix */
.ubic[style*="display:grid"] { max-width: 100%; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--verde-d); color: rgba(255,255,255,.85); margin-top: 20px; }
.footer-in { display: grid; gap: 18px; padding-block: 28px; }
.footer-in h4 { color: var(--oro); margin-bottom: 6px; }
.footer-in p { color: rgba(255,255,255,.8); margin: 0 0 6px; font-size: .9rem; }
.footer-in a { color: #fff; }
.footer-in img { background: #fff; border-radius: 12px; padding: 4px; }
.f-legal { background: #04261a; color: rgba(255,255,255,.7); padding-block: 12px; font-size: .8rem; }
.f-legal a { color: #fff; }

/* ---------- Breakpoints tablet/desktop ---------- */
@media (min-width: 640px) {
  .hero-cta { grid-template-columns: 1fr 1fr; }
  .chips { grid-template-columns: repeat(4, 1fr); }
  .amen { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .galeria figure { flex-basis: 48%; }
  .ubic { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .sp-estadisticas { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 920px) {
  body { padding-bottom: 0; }
  .wa-float, .call-float { display: flex; }
  .nav-burger, .nav-toggle { display: none; }
  .site-nav {
    position: static; background: transparent; flex-direction: row;
    max-height: none; overflow: visible; padding: 0;
    align-items: center; gap: 4px;
  }
  .nav-link { color: var(--verde-d); padding: 8px 12px; }
  .nav-link:hover { background: var(--gris-bg); }
  .nav-wa, .nav-call { color: #fff; }
  .nav-wa { background: #25d366; }
  .nav-call { background: var(--naranja); }

  .header-in { padding-block: 10px; }
  .brand img { width: 56px; height: 56px; }

  .hero-in { padding-block: 60px 70px; }
  .hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
  .hero-cta { grid-template-columns: 1fr 1fr; max-width: 540px; }
  .chips { grid-template-columns: repeat(4, 1fr); margin-top: -44px; }

  .amen { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .galeria figure { flex-basis: 31%; }
  .oferta .ctas { grid-template-columns: 1fr 1fr; max-width: 480px; margin-inline: auto; }
  .ubic .ul-ico { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: repeat(4, 1fr); }
  .contacto-sticky { display: none; }
  .seccion { padding-block: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .btn:hover, .wa-float, .call-float { transform: none !important; }
}

/* ---------- Testimonios ---------- */
.t-row { display: grid; gap: 14px; }
.t-card {
  background: #fff; border-radius: var(--radio); margin: 0; padding: 18px;
  border: 1px solid var(--gris-borde); box-shadow: var(--sombra-sm);
  display: flex; flex-direction: column; gap: 8px;
}
.t-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radio-sm); }
.t-card figcaption { display: flex; flex-direction: column; gap: 4px; }
.t-card p { font-style: italic; color: var(--texto); }
.t-card b { color: var(--verde-d); }
.t-card span { font-size: .82rem; color: var(--texto-suave); }
.t-card .estrellas { color: var(--oro); letter-spacing: 2px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--verde-d); color: #fff;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 18px rgba(0,0,0,.25);
}
.cookie-banner a { color: var(--oro); text-decoration: underline; }
.cb-in { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cb-in p { color: rgba(255,255,255,.92); margin: 0; font-size: .88rem; max-width: 720px; }
.cb-form { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-sm { padding: 8px 16px; min-height: 40px; font-size: .85rem; }
@media (min-width: 920px) {
  .cookie-banner { bottom: 0; }
  .cb-in { padding-block: 4px; }
  .t-row { grid-template-columns: repeat(3, 1fr); }
  .t-row.t-row-4 { grid-template-columns: repeat(4, 1fr); }
  .testimonios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .testimonios .t-card img { aspect-ratio: 16/10; }
}
@media (min-width: 640px) {
  .t-row { grid-template-columns: repeat(3, 1fr); }
  .testimonios { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Artículo / hero-art ---------- */
.hero-art {
  position: relative; color: #fff; padding-block: 60px 40px;
  background: linear-gradient(180deg, rgba(6,20,12,.62) 0%, rgba(6,20,12,.88) 100%);
  overflow: hidden;
}
.hero-art-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -1; opacity: .35;
}
.hero-art h1 { color: #fff; margin-top: 14px; }
.hero-art .breadcrumb a:hover { text-decoration: underline; }
.articulo { max-width: 760px; margin-inline: auto; }
.articulo h2 { margin-top: 1.6rem; color: var(--verde); }
.articulo p, .articulo ul, .articulo ol { color: var(--texto); }
.articulo img { border-radius: var(--radio); margin-block: 14px; }
.articulo ul, .articulo ol { padding-left: 1.3em; }
.articulo li { margin-bottom: .4em; }
.articulo a { color: var(--naranja-d); text-decoration: underline; }

/* ---------- Botón volver arriba ---------- */
.to-top {
  position: fixed; right: 14px; bottom: 138px; z-index: 44; width: 44px; height: 44px;
  border-radius: 50%; background: var(--verde); color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sombra); text-decoration: none;
}
@media (min-width: 920px) { .to-top { bottom: 14px; } }

/* ---------- Resultado simulador ---------- */
.resultado-sim .sim-grid > div { background: rgba(255,255,255,.08); padding: 12px; border-radius: var(--radio-sm); }
@media (min-width: 640px) { .resultado-sim .sim-grid { grid-template-columns: repeat(4, 1fr) !important; } }

/* ---------- Selector tipo departamento simulador ---------- */
.tipo-selector { margin-bottom: 4px; }
.tipo-selector-label { display: block; font-weight: 600; color: var(--verde-d); font-size: .9rem; margin-bottom: 8px; }
.tipo-grid { display: grid; gap: 8px; grid-template-columns: 1fr; }
.tipo-btn {
  display: flex; flex-direction: column; gap: 2px;
  background: #fff; border: 2px solid var(--gris-borde); border-radius: var(--radio-sm);
  padding: 12px 14px; cursor: pointer; text-align: left;
  transition: border-color .15s, box-shadow .15s, background .15s;
  font-family: var(--ft);
}
.tipo-btn:hover { border-color: var(--verde-l); background: #fafff8; }
.tipo-btn.active { border-color: var(--naranja); background: #fff7f0; box-shadow: 0 0 0 3px rgba(255,106,0,.15); }
.tipo-nombre { font-weight: 700; color: var(--verde-d); font-size: 1rem; }
.tipo-detalle { color: var(--texto-suave); font-size: .82rem; }
.tipo-precio { color: var(--naranja); font-weight: 700; font-size: .95rem; margin-top: 2px; }
@media (min-width: 640px) {
  .tipo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- WhatsApp popup fuera de horario ---------- */
.wa-popup-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: fadeIn .2s ease;
}
.wa-popup {
  background: #fff; border-radius: var(--radio); padding: 24px;
  max-width: 420px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: slideUp .3s ease;
}
.wa-popup-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.wa-popup-header svg { color: var(--naranja); flex-shrink: 0; }
.wa-popup-header h3 {
  margin: 0; font-size: 1.2rem; color: var(--verde-d);
}
.wa-popup-body p {
  margin: 0 0 12px; color: var(--texto);
  font-size: .95rem; line-height: 1.5;
}
.wa-popup-body p:last-child { margin-bottom: 0; }
.wa-popup-body strong { color: var(--verde); }
.wa-popup-footer {
  display: flex; gap: 10px; margin-top: 20px;
  justify-content: flex-end;
}
.wa-popup-footer button {
  padding: 10px 20px; border-radius: 50px;
  font-weight: 600; font-size: .9rem;
  cursor: pointer; border: none;
  transition: transform .15s ease;
}
.wa-popup-footer button:hover { transform: translateY(-2px); }
.wa-popup-footer .btn-cancel {
  background: var(--gris-bg); color: var(--texto);
  border: 1px solid var(--gris-borde);
}
.wa-popup-footer .btn-confirm {
  background: #25d366; color: #fff;
  box-shadow: 0 4px 12px rgba(37,211,102,.3);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}