/* Estilo compartido de las páginas estáticas — replica el look del sitio Legata Living */
:root {
  --green: #0a4c35;
  --dark: #05261a;
  --cream: #f0ede3;
  --gold: #b99557;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: #faf8f3;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
.serif { font-family: 'Playfair Display', Georgia, serif; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 880px; margin: 0 auto; }

/* ---------- Header (igual al del sitio) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.site-header .logo img { height: 64px; display: block; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a.link {
  color: var(--dark); text-decoration: none; font-weight: 500;
  font-size: 14px; text-transform: uppercase; letter-spacing: .08em;
  transition: color .2s;
}
.site-nav a.link:hover, .site-nav a.link.active { color: var(--gold); }
.site-nav a.cta {
  background: var(--green); color: #fff; text-decoration: none;
  padding: 12px 26px; border-radius: 8px; font-size: 14px;
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
  transition: background .3s;
}
.site-nav a.cta:hover { background: var(--gold); }
.langs { display: flex; align-items: center; gap: 8px; margin-left: 4px; }
.langs a {
  text-decoration: none; font-size: 12px; color: #555;
  padding: 5px 9px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px;
}
.langs a.on { background: var(--green); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--green); }
@media (max-width: 900px) {
  .site-header .bar { height: 76px; }
  .site-header .logo img { height: 48px; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 76px; left: 0; width: 100%;
    background: #fff; padding: 14px 20px 22px; box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .site-nav.open a.link { padding: 10px 0; }
  .site-nav.open a.cta { margin-top: 8px; }
  .menu-toggle { display: block; }
}

/* ---------- Hero con foto ---------- */
.hero-img { position: relative; margin-top: 96px; min-height: 62vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
@media (max-width: 900px) { .hero-img { margin-top: 76px; min-height: 56vh; } }
.hero-img img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,38,26,.85), rgba(10,76,53,.45) 60%, rgba(10,76,53,.35)); }
.hero-img .inner { position: relative; z-index: 2; text-align: center; padding: 80px 20px; max-width: 900px; }
.hero-img h1 { font-family: 'Playfair Display', Georgia, serif; color: #fff; font-size: clamp(30px, 5.2vw, 60px); line-height: 1.12; margin-bottom: 18px; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.hero-img p { color: rgba(255,255,255,.92); font-size: clamp(15px, 2vw, 19px); font-weight: 300; max-width: 640px; margin: 0 auto; }
.badge {
  display: inline-block; color: var(--gold); background: rgba(5,38,26,.5);
  backdrop-filter: blur(4px); font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 6px; margin-bottom: 18px;
}

/* ---------- Contenido ---------- */
main { padding: 56px 0 20px; }
.crumbs { font-size: 13px; color: #8a8a8a; margin-bottom: 22px; }
.crumbs a { color: #8a8a8a; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
article h2, .h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px, 3.6vw, 34px); color: var(--green); margin: 40px 0 14px; }
article h3 { color: var(--green); margin: 22px 0 8px; font-size: 19px; }
article p { margin-bottom: 15px; color: #4a4a4a; }
article ul { margin: 0 0 18px 20px; }
article li { margin-bottom: 8px; color: #4a4a4a; }
.section-label { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: 13px; font-weight: 700; text-align: center; margin-bottom: 12px; }

/* ---------- Tarjetas de servicio con foto ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 28px; margin: 32px 0; }
.svc {
  background: #fff; border: 1px solid var(--cream); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s, border-color .3s;
}
.svc:hover { box-shadow: 0 16px 40px rgba(5,38,26,.13); transform: translateY(-3px); border-color: rgba(185,149,87,.45); }
.svc .ph { position: relative; height: 210px; overflow: hidden; }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc:hover .ph img { transform: scale(1.07); }
.svc .ph .scenario {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.95); color: var(--green);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  padding: 7px 14px; border-radius: 99px; box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.svc .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; color: var(--green); margin: 0 0 10px; }
.svc p { color: #4a4a4a; font-weight: 300; margin-bottom: 16px; }
.svc ul { list-style: none; margin: 0 0 20px; padding: 0; }
.svc li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-bottom: 9px; color: #444; }
.svc li::before { content: "✓"; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.svc .go { margin-top: auto; align-self: flex-start; color: var(--green); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.svc .go:hover { color: var(--gold); }

/* ---------- Tarjeta de propiedad / post ---------- */
.card { display: flex; flex-wrap: wrap; gap: 0; background: #fff; border: 1px solid var(--cream); border-radius: 18px; overflow: hidden; margin: 26px 0; }
.card img { width: 340px; max-width: 100%; height: 100%; min-height: 240px; object-fit: cover; flex: 1 1 300px; }
.card .body { flex: 1 1 340px; padding: 30px; }
.specs { display: flex; gap: 22px; flex-wrap: wrap; margin: 14px 0 18px; font-weight: 700; color: var(--green); }
.post { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--cream); border-radius: 18px; overflow: hidden; margin-bottom: 26px; transition: box-shadow .3s, transform .3s; }
.post:hover { box-shadow: 0 14px 36px rgba(5,38,26,.12); transform: translateY(-2px); }
.post img { width: 300px; max-width: 100%; min-height: 220px; object-fit: cover; flex: 1 1 260px; }
.post .body { flex: 1 1 340px; padding: 28px; }
.post h2 { font-family: 'Playfair Display', Georgia, serif; color: var(--green); font-size: 24px; margin: 0 0 10px; }
.post .more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--gold); text-decoration: none; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
.tag { display: inline-block; background: var(--cream); color: var(--green); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; padding: 6px 13px; border-radius: 99px; margin-bottom: 10px; }

/* ---------- Botones ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; transition: all .3s; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--gold); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #fff; color: var(--green); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1ebe5d; }
.btn-outline { border: 2px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }

/* ---------- FAQ ---------- */
.faq { background: #fff; border: 1px solid var(--cream); border-radius: 18px; padding: 30px; }
.faq dt { font-weight: 700; color: var(--green); margin-top: 20px; font-size: 17px; }
.faq dt:first-of-type { margin-top: 0; }
.faq dd { margin: 6px 0 0; color: #555; }

/* ---------- Cierre ---------- */
.closing { background: var(--green); color: var(--cream); text-align: center; border-radius: 18px; padding: 48px 28px; margin: 40px 0; }
.closing h2 { font-family: 'Playfair Display', Georgia, serif; color: #fff; font-size: clamp(26px, 4vw, 38px); margin: 0 0 10px; }
.closing p { color: rgba(240,237,227,.85); font-weight: 300; margin-bottom: 24px; }
.closing .cta-row { justify-content: center; }
.closing .btn-outline { border-color: var(--cream); color: var(--cream); }
.closing .btn-outline:hover { background: var(--cream); color: var(--green); }
.related { border-top: 1px solid #e6e2d6; padding-top: 24px; margin-top: 10px; }
.related a { display: block; margin-bottom: 9px; font-weight: 700; color: var(--gold); text-decoration: none; }
.related a:hover { color: var(--green); }

/* ---------- Footer (igual al del sitio) ---------- */
.site-footer { background: var(--green); color: #fff; padding: 72px 0 34px; margin-top: 40px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 44px; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 44px; }
.site-footer img.logo { height: 62px; margin-bottom: 20px; }
.site-footer p.tag-line { color: rgba(240,237,227,.7); font-weight: 300; }
.site-footer h4 { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; color: var(--gold); margin-bottom: 20px; }
.site-footer ul { list-style: none; color: rgba(240,237,227,.85); font-weight: 300; }
.site-footer li { margin-bottom: 13px; }
.site-footer a { color: rgba(240,237,227,.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .copy { text-align: center; padding-top: 26px; color: rgba(240,237,227,.6); font-size: 14px; }

/* ---------- WhatsApp flotante (igual al del sitio) ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  transition: transform .3s, background .3s;
}
.wa-float:hover { transform: scale(1.1); background: #1ebe5d; }
