/* =============================================================
   MAZZAL — Decisiones inteligentes en bienes raíces
   1. Tokens · 2. Base · 3. Utilidades · 4. Tipografía · 5. Componentes
   6. Secciones · 7. Listados y ficha · 8. Asistente · 9. Responsive · 10. Movimiento
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --green-950: #04150D;
  --green-900: #0B2A1C;
  --green-800: #123B29;
  --green-700: #1B5039;
  --green-600: #2A6A4D;
  --sage: #9DB5A6;
  --sage-soft: #E3EBE5;
  --gold: #C9A04F;
  --gold-light: #E6C987;
  --gold-deep: #A27A2E;
  --cream: #F6F1E7;
  --paper: #FBF8F2;
  --white: #FFFFFF;
  --ink: #14211A;
  --muted: #56655C;
  --line: rgba(20, 33, 26, .12);
  --line-light: rgba(246, 241, 231, .18);

  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(4, 21, 13, .06), 0 12px 32px -12px rgba(4, 21, 13, .18);
  --shadow-lg: 0 30px 60px -20px rgba(4, 21, 13, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

/* 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
p { text-wrap: pretty; }
::selection { background: var(--gold); color: var(--green-950); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* 3. Utilidades ------------------------------------------------ */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .6rem 1rem; background: var(--cream); color: var(--green-900); border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.i { width: 1.25em; height: 1.25em; flex: none; }

/* 4. Tipografía ------------------------------------------------ */
h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3, .h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-light); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 62ch; }

/* 5. Componentes ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s;
}
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep)); color: var(--green-950); box-shadow: 0 10px 24px -10px rgba(162, 122, 46, .7); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(162, 122, 46, .8); }
.btn--dark { background: var(--green-900); color: var(--cream); }
.btn--dark:hover { background: var(--green-700); transform: translateY(-2px); }
.btn--line { border: 1px solid currentColor; color: var(--green-900); }
.btn--line:hover { background: var(--green-900); color: var(--cream); border-color: var(--green-900); }
.btn--wa { background: #1F8A5B; color: #fff; }
.btn--wa:hover { background: #17744C; transform: translateY(-2px); }
.btn--block { width: 100%; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--green-900); }
.logo-mark { width: 46px; height: 27px; }
.logo-word { font-family: var(--sans); font-weight: 400; font-size: 1.12rem; letter-spacing: .42em; margin-right: -.42em; }
.logo--light { color: var(--cream); }

/* Cabecera */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--cream);
  transition: background-color .4s var(--ease), color .4s, box-shadow .4s, height .4s var(--ease);
}
.site-header .logo { color: inherit; }
.site-header.is-solid, .site-header.is-scrolled {
  background: rgba(251, 248, 242, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--green-900);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { margin-right: auto; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav ul { display: flex; gap: 1.5rem; }
.main-nav ul a { font-size: .92rem; font-weight: 500; position: relative; padding-block: .4rem; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.main-nav ul a:hover::after { transform: scaleX(1); }
.nav-cta { min-height: 42px; padding: .55rem 1.2rem; font-size: .88rem; }
.header-wa, .nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; }
.header-wa .i, .nav-toggle .i { width: 24px; height: 24px; }

/* Migas */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .84rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.crumbs a:hover { color: var(--green-700); text-decoration: underline; }

/* Formularios */
.form { display: grid; gap: .9rem; }
.form--card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); }
.form h3, .form .h3 { font-size: 1.7rem; color: var(--green-900); }
.form-note { font-size: .9rem; color: var(--muted); margin-top: -.4rem; }
.form label { display: grid; gap: .35rem; font-size: .82rem; font-weight: 600; color: var(--green-800); }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea, .filters input, .filters select {
  width: 100%; min-height: 46px; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); font-weight: 400; font-size: .95rem; color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus, .filters input:focus, .filters select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 160, 79, .25); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.form .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green-700); flex: none; }
.form .check a { text-decoration: underline; }
.form-status { font-size: .9rem; min-height: 1.2em; }
.form-status.is-ok { color: var(--green-700); font-weight: 600; }
.form-status.is-err { color: #A33A2A; }
.form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }
.hp { position: absolute; left: -9999px; }

/* Tarjetas de inmueble */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card.is-hidden { display: none; }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-tag { position: absolute; top: 14px; left: 14px; padding: .3rem .75rem; border-radius: 999px; background: rgba(4, 21, 13, .72); color: var(--cream); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.card-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.2rem 1.3rem 1.3rem; flex: 1; }
.card-loc { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .84rem; }
.card-loc .i { width: 1em; height: 1em; color: var(--gold-deep); }
.card-title { font-size: 1.32rem; line-height: 1.15; color: var(--green-900); }
.card-facts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .84rem; color: var(--muted); }
.card-facts li { display: inline-flex; align-items: center; gap: .35rem; }
.card-facts .i { width: 1.05em; height: 1.05em; color: var(--green-600); }
.card-price { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: .4rem; }
.card-price small { color: var(--muted); font-size: .78rem; }
.card-price strong { font-family: var(--sans); font-size: 1.25rem; font-weight: 700; color: var(--green-800); letter-spacing: -.01em; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; justify-content: center; }
.chip { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; background: var(--white); transition: all .3s var(--ease); }
.chip:hover { border-color: var(--gold); }
.chip.is-on { background: var(--green-900); color: var(--cream); border-color: var(--green-900); }
.more { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* 6. Secciones ------------------------------------------------- */
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.section--paper { background: var(--cream); }
.section--green { background: radial-gradient(120% 90% at 0% 0%, var(--green-800), var(--green-900) 55%, var(--green-950)); color: var(--cream); }
.section--green .lead { color: rgba(246, 241, 231, .78); }
.section-head { text-align: center; display: grid; justify-items: center; gap: 1rem; margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.section-head--left { text-align: left; justify-items: start; }
.section-head h2 { color: var(--green-900); max-width: 20ch; }
.section--green .section-head h2, .social-band .section-head h2 { color: var(--cream); }

/* Hero */
.hero { position: relative; min-height: clamp(640px, 100svh, 1040px); display: flex; align-items: flex-end; color: var(--cream); isolation: isolate; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-media img { object-fit: cover; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
.hero-veil { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(4, 21, 13, .55) 0%, rgba(4, 21, 13, 0) 22%),
  linear-gradient(90deg, rgba(4, 21, 13, .88) 0%, rgba(4, 21, 13, .55) 45%, rgba(4, 21, 13, .1) 100%),
  linear-gradient(0deg, rgba(4, 21, 13, .75) 0%, rgba(4, 21, 13, 0) 45%); }
.hero-inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: 1.4rem; }
.hero h1 { max-width: 19ch; font-weight: 500; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.h1-brand { display: block; font-family: var(--sans); font-size: clamp(.8rem, 1.1vw, .95rem); font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.hero-sub { max-width: 56ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(246, 241, 231, .86); }
.search {
  display: grid; grid-template-columns: auto 1fr 1.3fr auto; align-items: end; gap: .8rem;
  margin-top: .8rem; padding: .8rem; border-radius: 22px; max-width: 1000px;
  background: rgba(251, 248, 242, .96); color: var(--ink); box-shadow: var(--shadow-lg);
}
.search-mode { display: flex; border: 0; padding: 4px; border-radius: 14px; background: var(--sage-soft); align-self: stretch; }
.search-mode label { position: relative; }
.search-mode input { position: absolute; opacity: 0; }
.search-mode span { display: flex; align-items: center; height: 100%; padding: .55rem 1rem; border-radius: 11px; font-weight: 600; font-size: .9rem; color: var(--green-800); cursor: pointer; transition: all .3s var(--ease); }
.search-mode input:checked + span { background: var(--green-900); color: var(--cream); }
.search-mode input:focus-visible + span { outline: 2px solid var(--gold); }
.search-field { display: grid; gap: .2rem; padding: .2rem .8rem; border-left: 1px solid var(--line); }
.search-field span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.search-field select, .search-field input { border: 0; background: transparent; min-height: 34px; font-size: 1rem; font-weight: 500; outline: none; width: 100%; }
.search-go { min-height: 54px; border-radius: 14px; padding-inline: 1.6rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: .6rem; font-size: .92rem; color: rgba(246, 241, 231, .8); }
.hero-proof li { display: flex; align-items: baseline; gap: .45rem; }
.hero-proof li + li { padding-left: 2rem; border-left: 1px solid var(--line-light); }
.hero-proof strong { color: var(--cream); font-weight: 700; }

/* Ventajas */
.ventajas { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ventajas-media { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.ventajas-media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.ventajas-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.5rem 1.4rem; background: linear-gradient(0deg, rgba(4, 21, 13, .85), transparent); color: var(--cream); font-family: var(--serif); font-size: 1.5rem; font-style: italic; }
.ventajas-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem 2rem; }
.ventajas-list li { display: grid; gap: .8rem; }
.v-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--sage-soft); color: var(--green-700); }
.v-ic .i { width: 26px; height: 26px; }
.ventajas-list h3 { color: var(--green-900); margin-bottom: .4rem; }
.ventajas-list p { color: var(--muted); font-size: .96rem; }

/* Banda campestre */
.band { position: relative; min-height: 560px; display: flex; align-items: center; color: var(--cream); isolation: isolate; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 21, 13, .85), rgba(4, 21, 13, .35) 60%, rgba(4, 21, 13, .1)); }
.band-inner { display: grid; gap: 1.2rem; justify-items: start; padding-block: 5rem; }
.band-inner h2 { max-width: 16ch; }
.band-inner p { max-width: 48ch; color: rgba(246, 241, 231, .85); font-size: 1.08rem; }

/* Propietarios */
.owners { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.steps { display: grid; gap: 1.6rem; margin-bottom: 2.4rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line-light); }
.step-n { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold-light); font-weight: 500; }
.steps h3 { margin-bottom: .35rem; }
.steps p { color: rgba(246, 241, 231, .75); }
.reqs { padding: 1.6rem; border-radius: var(--radius); background: rgba(246, 241, 231, .06); border: 1px solid var(--line-light); }
.reqs h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.4rem; margin-bottom: 1rem; color: var(--gold-light); }
.reqs li { display: flex; gap: .6rem; padding-block: .35rem; color: rgba(246, 241, 231, .88); font-size: .95rem; }
.reqs li .i { color: var(--gold); margin-top: .2rem; width: 1.1em; height: 1.1em; }
.owners-form-wrap { position: relative; }
.owners-media { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; margin-bottom: -2.5rem; }
.owners-media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.owners-form-wrap .form--card { position: relative; margin-inline: clamp(0rem, 2vw, 1.2rem); }

/* Asesoría técnica */
.tech-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.tech-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.tech-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tech-copy { display: grid; gap: 1.2rem; justify-items: start; }
.tech-copy h2 { color: var(--green-900); }
.tech-copy p { color: var(--muted); font-size: 1.05rem; }

/* Blog */
.grid-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.post { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post a { display: flex; flex-direction: column; height: 100%; }
.post img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-body { padding: 1.4rem; display: grid; gap: .6rem; flex: 1; align-content: start; }
.post time { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.post h3 { color: var(--green-900); font-size: 1.45rem; }
.post p { color: var(--muted); font-size: .94rem; }
.post-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--green-700); font-size: .9rem; margin-top: .4rem; }

/* Redes */
.social-band { background: linear-gradient(160deg, var(--green-900), var(--green-950)); color: var(--cream); overflow: hidden; }
.social-band::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(201, 160, 79, .18), transparent 60%); pointer-events: none; }
.social-band .lead { color: rgba(246, 241, 231, .75); }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; }
.social-grid a { display: grid; gap: .3rem; justify-items: start; padding: 1.8rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line-light); background: rgba(246, 241, 231, .04); transition: all .45s var(--ease); }
.social-grid a:hover { background: rgba(201, 160, 79, .12); border-color: var(--gold); transform: translateY(-4px); }
.social-grid .i { width: 34px; height: 34px; color: var(--gold-light); margin-bottom: 1rem; }
.social-grid strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.social-grid span { color: rgba(246, 241, 231, .7); font-size: .9rem; }

/* FAQ */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--line); transition: box-shadow .4s var(--ease), border-color .4s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: clamp(1.18rem, 1.8vw, 1.4rem); color: var(--green-900); }
.faq-ic { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--sage-soft); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--green-800); transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 1.5rem 1.4rem; color: var(--muted); max-width: 72ch; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-copy { display: grid; gap: 1.3rem; justify-items: start; }
.contact-copy h2 { color: var(--green-900); }
.contact-list { display: grid; gap: 1rem; width: 100%; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list li > .i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--white); color: var(--green-700); box-shadow: var(--shadow); }
.contact-list strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.contact-list a:hover { color: var(--green-600); text-decoration: underline; }
.map { width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--sage-soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.8); }

/* Pie */
.site-footer { background: var(--green-950); color: rgba(246, 241, 231, .78); padding-top: clamp(3.5rem, 7vw, 5.5rem); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand { display: grid; gap: 1.1rem; align-content: start; }
.footer-tag { max-width: 32ch; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; color: var(--cream); }
.social { display: flex; gap: .6rem; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); transition: all .35s var(--ease); }
.social a:hover { background: var(--gold); color: var(--green-950); border-color: var(--gold); }
.footer-h { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.1rem; }
.footer-links { display: grid; gap: .65rem; }
.footer-links a:hover { color: var(--cream); text-decoration: underline; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact .i { color: var(--gold); margin-top: .2rem; width: 1.1em; height: 1.1em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line-light); font-size: .84rem; color: rgba(246, 241, 231, .55); }
.footer-bottom a:hover { color: var(--cream); }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1F8A5B; color: #fff; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); transition: transform .35s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float .i { width: 28px; height: 28px; }

/* 7. Listados, ficha y páginas internas ------------------------ */
.page-hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)); padding-bottom: clamp(1.8rem, 4vw, 3rem); background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); color: var(--green-900); margin-top: 1rem; max-width: 22ch; }
.page-hero .lead { margin-top: .8rem; }
.tabs { display: inline-flex; margin-top: 1.6rem; padding: 4px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.tabs a { padding: .6rem 1.4rem; border-radius: 11px; font-weight: 600; font-size: .92rem; color: var(--green-800); }
.tabs a.is-on { background: var(--green-900); color: var(--cream); }
.section--list { padding-top: clamp(2rem, 4vw, 3rem); }
.list-layout { display: grid; grid-template-columns: 290px 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.grid-cards--list { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: .9rem; padding: 1.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.filters-t { font-size: 1.5rem; color: var(--green-900); }
.filters label { display: grid; gap: .3rem; font-size: .8rem; font-weight: 600; color: var(--green-800); }
.filters .form-row { gap: .6rem; }
.filters-clear { text-align: center; font-size: .86rem; color: var(--muted); text-decoration: underline; }
.pager { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); font-weight: 600; }
.pager span { background: var(--green-900); color: var(--cream); }
.empty { text-align: center; display: grid; gap: 1rem; justify-items: center; padding: 3rem 1rem; }
.empty h1, .empty h2 { color: var(--green-900); }
.empty p { color: var(--muted); max-width: 52ch; }

.page-hero--ficha h1 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); max-width: 26ch; }
.ficha-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.ficha-loc { display: flex; align-items: center; gap: .4rem; margin-top: .8rem; color: var(--muted); }
.ficha-loc .i { color: var(--gold-deep); }
.ficha-price { display: grid; text-align: right; }
.ficha-price small { color: var(--muted); font-size: .8rem; }
.ficha-price strong { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; color: var(--green-800); letter-spacing: -.02em; line-height: 1.1; }
.gallery-wrap { background: var(--cream); padding-bottom: 2rem; }
.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .6rem; aspect-ratio: 16 / 7; border-radius: var(--radius); overflow: hidden; }
.g-item { position: relative; overflow: hidden; background: var(--sage-soft); padding: 0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item--0 { grid-row: span 2; }
.g-all { position: absolute; right: 16px; bottom: 16px; padding: .6rem 1.1rem; border-radius: 999px; background: rgba(251, 248, 242, .95); font-weight: 600; font-size: .88rem; box-shadow: var(--shadow); }
.section--ficha { padding-top: clamp(2rem, 4vw, 3rem); }
.ficha { display: grid; grid-template-columns: 1fr 380px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.ficha-main h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: var(--green-900); margin: 2.6rem 0 1rem; }
.ficha-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .8rem; }
.ficha-facts li { display: grid; gap: .15rem; padding: 1.1rem; border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow); }
.ficha-facts .i { color: var(--gold-deep); width: 26px; height: 26px; margin-bottom: .4rem; }
.ficha-facts strong { font-size: 1.3rem; color: var(--green-900); }
.ficha-facts span { font-size: .82rem; color: var(--muted); }
.prose { color: #33433A; font-size: 1.02rem; display: grid; gap: .8rem; max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--green-900); margin-top: 1.6rem; }
.prose h3 { font-size: 1.4rem; color: var(--green-900); margin-top: .8rem; }
.prose ul { display: grid; gap: .4rem; }
.prose ul li { position: relative; padding-left: 1.3rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.prose ol { list-style: decimal; padding-left: 1.3rem; display: grid; gap: .4rem; }
.prose a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.prose th, .prose td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--green-900); color: var(--cream); font-weight: 600; }
.prose .answer { font-size: 1.12rem; padding: 1.2rem 1.4rem; border-left: 3px solid var(--gold); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; box-shadow: var(--shadow); color: var(--ink); }
.prose .note { font-size: .9rem; color: var(--muted); padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--sage-soft); }
.details { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 1.5rem; }
.details div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); font-size: .9rem; }
.details dd { font-weight: 600; text-align: right; }
.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .55rem 1.5rem; }
.feats li { display: flex; gap: .5rem; align-items: flex-start; font-size: .95rem; }
.feats .i { color: var(--green-600); margin-top: .2rem; width: 1.05em; height: 1.05em; }
.ficha-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: .8rem; }
.ficha-side .form--card { box-shadow: var(--shadow-lg); }

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(4, 21, 13, .94); padding: 4rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--cream); border-radius: 50%; background: rgba(246, 241, 231, .1); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(246, 241, 231, .12); color: var(--cream); font-size: 2rem; line-height: 1; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(246, 241, 231, .7); font-size: .9rem; }

/* Artículos / páginas estáticas */
.article-hero { position: relative; padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)); background: var(--cream); }
.article-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); color: var(--green-900); margin: 1rem 0; max-width: 22ch; }
.article-meta { color: var(--muted); font-size: .9rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.article-cover { margin-top: 2rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1rem; }
.aside-card { padding: 1.6rem; border-radius: var(--radius); background: var(--green-900); color: var(--cream); display: grid; gap: .9rem; }
.aside-card h2 { font-size: 1.6rem; }
.aside-card p { color: rgba(246, 241, 231, .8); font-size: .94rem; }
.toc { padding: 1.4rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); font-size: .92rem; }
.toc strong { display: block; margin-bottom: .6rem; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.toc li { padding-block: .3rem; }
.toc a:hover { color: var(--green-600); text-decoration: underline; }
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; margin-top: 1rem; }
.service { padding: 1.6rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); display: grid; gap: .6rem; align-content: start; }
.service .v-ic { margin-bottom: .4rem; }
.service h3 { color: var(--green-900); }
.service p { color: var(--muted); font-size: .95rem; }

/* 8. Asistente ------------------------------------------------- */
.assistant { position: fixed; right: 18px; bottom: 18px; z-index: 60; }
.assistant-fab { display: flex; align-items: center; gap: .7rem; padding: .5rem 1.2rem .5rem .5rem; border-radius: 999px; background: var(--green-900); color: var(--cream); box-shadow: 0 16px 36px -12px rgba(4, 21, 13, .6); font-weight: 600; font-size: .92rem; transition: transform .4s var(--ease), box-shadow .4s; }
.assistant-fab:hover { transform: translateY(-3px); }
.assistant-fab .i { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--green-950); }
.assistant-panel { position: absolute; right: 0; bottom: 0; width: min(410px, calc(100vw - 36px)); height: min(640px, calc(100svh - 110px)); display: flex; flex-direction: column; background: var(--paper); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -24px rgba(4, 21, 13, .55); transform-origin: bottom right; animation: panelIn .45s var(--ease); }
.assistant-panel[hidden] { display: none; }
.assistant.is-open .assistant-fab { visibility: hidden; }
.assistant-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; background: linear-gradient(135deg, var(--green-800), var(--green-950)); color: var(--cream); }
.assistant-head strong { display: block; font-size: 1rem; }
.assistant-head small { color: rgba(246, 241, 231, .7); font-size: .78rem; }
.assistant-avatar { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(246, 241, 231, .08); flex: none; }
.assistant-avatar .logo-word { display: none; }
.assistant-avatar .logo-mark { width: 30px; height: 18px; }
.assistant-close { margin-left: auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--cream); }
.assistant-close:hover { background: rgba(246, 241, 231, .1); }
.assistant-log { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .8rem; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: .75rem 1rem; border-radius: 16px; font-size: .93rem; line-height: 1.5; }
.msg p + p, .msg p + ul, .msg ul + p { margin-top: .5rem; }
.msg ul { display: grid; gap: .25rem; padding-left: 1rem; list-style: disc; }
.msg a { text-decoration: underline; color: var(--green-700); word-break: break-word; }
.msg--bot { align-self: flex-start; background: var(--white); border-bottom-left-radius: 4px; box-shadow: var(--shadow); }
.msg--user { align-self: flex-end; background: var(--green-900); color: var(--cream); border-bottom-right-radius: 4px; }
.msg--typing { display: flex; gap: 5px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: dot 1.2s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .15s; } .msg--typing span:nth-child(3) { animation-delay: .3s; }
.msg-cards { display: grid; gap: .5rem; align-self: stretch; }
.msg-card { display: grid; grid-template-columns: 76px 1fr; gap: .7rem; padding: .5rem; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); font-size: .82rem; transition: transform .3s var(--ease); }
.msg-card:hover { transform: translateX(3px); }
.msg-card img { width: 76px; height: 64px; object-fit: cover; border-radius: 10px; }
.msg-card strong { display: block; color: var(--green-900); font-size: .86rem; line-height: 1.25; }
.msg-card b { color: var(--green-700); }
.msg-card span { color: var(--muted); display: block; }
.assistant-chips { display: flex; gap: .4rem; overflow-x: auto; padding: 0 1.1rem .6rem; scrollbar-width: none; }
.assistant-chips button { flex: none; padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .8rem; font-weight: 500; }
.assistant-chips button:hover { border-color: var(--gold); }
.assistant-form { display: flex; gap: .5rem; padding: .7rem .8rem; border-top: 1px solid var(--line); background: var(--white); }
.assistant-form input { flex: 1; min-height: 46px; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: .95rem; }
.assistant-form input:focus { outline: none; border-color: var(--gold); }
.assistant-form button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--green-900); color: var(--cream); flex: none; }
.assistant-legal { font-size: .68rem; color: var(--muted); padding: 0 1rem .6rem; background: var(--white); }
.assistant-legal a { text-decoration: underline; }

/* 9. Responsive ------------------------------------------------ */
@media (max-width: 1279px) {
  .main-nav ul { gap: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1.5rem var(--gutter) 2rem; background: var(--paper); color: var(--green-900);
    box-shadow: 0 20px 40px -20px rgba(4, 21, 13, .35); transform: translateY(-120%); visibility: hidden;
    transition: transform .5s var(--ease), visibility .5s;
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-header.menu-open { background: var(--paper); color: var(--green-900); }
}
@media (max-width: 959px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search-mode { grid-column: 1 / -1; justify-self: start; }
  .search-field:nth-of-type(1) { border-left: 0; }
  .search-go { grid-column: 1 / -1; }
  .ventajas, .owners, .tech-inner, .contact, .ficha, .article-layout, .list-layout { grid-template-columns: 1fr; }
  .ventajas-media { position: relative; top: 0; }
  .ventajas-media img { aspect-ratio: 16 / 10; }
  .filters, .ficha-side, .article-aside { position: static; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .g-item--0 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .g-item { aspect-ratio: 4 / 3; }
  .g-item--3, .g-item--4 { display: none; }
}
@media (max-width: 719px) {
  :root { --header-h: 66px; }
  .logo-mark { width: 38px; height: 22px; }
  .logo-word { font-size: 1rem; letter-spacing: .34em; margin-right: -.34em; }
  .hero { min-height: clamp(640px, 100svh, 940px); }
  .hero-veil { background: linear-gradient(0deg, rgba(4, 21, 13, .95) 0%, rgba(4, 21, 13, .6) 55%, rgba(4, 21, 13, .45) 100%); }
  .search { grid-template-columns: 1fr; padding: .7rem; }
  .search-field { border-left: 0; border-top: 1px solid var(--line); padding: .5rem .4rem; }
  .search-mode { justify-self: stretch; }
  .search-mode label { flex: 1; }
  .search-mode span { justify-content: center; }
  .hero-proof { gap: .4rem 1rem; font-size: .84rem; }
  .hero-proof li + li { padding-left: 0; border-left: 0; }
  .ventajas-list { grid-template-columns: 1fr; gap: 1.8rem; }
  .form-row, .form-row--3 { grid-template-columns: 1fr; }
  .form-row--3 { grid-template-columns: repeat(3, 1fr); }
  .grid-cards, .grid-cards--list, .grid-posts { grid-template-columns: 1fr; }
  .band { min-height: 480px; }
  .band-veil { background: linear-gradient(0deg, rgba(4, 21, 13, .9), rgba(4, 21, 13, .35)); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ficha-price { text-align: left; }
  .assistant-fab span { display: none; }
  .assistant-fab { padding: .45rem; }
  .assistant-panel { position: fixed; inset: 0; width: 100%; height: 100%; border-radius: 0; }
  .article-cover img { aspect-ratio: 16 / 10; }
  .details { grid-template-columns: 1fr; }
}

/* 10. Movimiento ----------------------------------------------- */
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-duration: 1.2s; }
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: none; }
  .js [data-reveal] { transform: none; transition-duration: .4s; }
  html { scroll-behavior: auto; }
}
