/* Inmobiliaria Shalom — rediseño premium. Editorial inmobiliario: verde profundo + dorado.
   Español, mobile-first, solo CSS/JS vanilla. */
:root {
  --green-950: #10241c;
  --green: #1e4a38;
  --green-2: #2a5c46;
  --green-tint: #eaf1eb;
  --gold: #c99b3f;
  --gold-2: #e3c078;
  --gold-pale: #f6ead0;
  --cream: #fbf8f1;
  --cream-2: #f4edde;
  --ink: #221a12;
  --ink-soft: #5e5142;
  --terra: #b4552d;
  --terra-dark: #93431f;
  --card: #ffffff;
  --line: #e8decb;
  --radius: 18px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 18px rgba(34, 26, 18, 0.06);
  --shadow: 0 16px 40px rgba(34, 26, 18, 0.12);
  --shadow-lg: 0 30px 60px rgba(16, 36, 28, 0.28);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--terra-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Aparición suave al hacer scroll (JS añade .in; sin JS todo visible) */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; animation: none !important; }
}

/* Banda de demostración */
.demo-band {
  background: var(--ink); color: #f7efdd; text-align: center;
  font-size: 0.85rem; padding: 9px 16px; letter-spacing: 0.02em;
}
.demo-band strong { color: var(--gold-2); }

/* Encabezado */
.site-header {
  background: rgba(251, 248, 241, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -3px 0 var(--gold);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: inset 0 -3px 0 var(--gold), 0 10px 30px rgba(34, 26, 18, 0.10); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px; max-width: 1200px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 11px; box-shadow: 0 6px 16px rgba(16, 36, 28, 0.25); }
.brand-name {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  line-height: 1.05; letter-spacing: 0.005em;
}
.brand-name span { color: var(--terra); }
.brand-tag { display: block; font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--card);
  border-radius: 999px; padding: 10px 16px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; color: var(--ink);
}
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  position: relative; display: block; text-decoration: none; color: var(--ink); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover { color: var(--green); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { background: var(--green); color: #fff; }
.main-nav a[aria-current="page"]::after { display: none; }

/* Botones */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; cursor: pointer;
  padding: 14px 27px; border-radius: 999px; border: 2px solid transparent; font-size: 1rem;
  line-height: 1.2; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 12px 26px rgba(201, 155, 63, 0.35); }
.btn-primary:hover { background: var(--gold-2); box-shadow: 0 16px 32px rgba(201, 155, 63, 0.45); }
.btn-outline { border-color: rgba(255, 255, 255, 0.85); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.14); }
.btn-terra { background: var(--terra); color: #fff; box-shadow: 0 12px 26px rgba(180, 85, 45, 0.28); }
.btn-terra:hover { background: var(--terra-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--gold); color: var(--green); box-shadow: var(--shadow-sm); }

/* Héroe editorial */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 480px at 88% -10%, rgba(201, 155, 63, 0.28), transparent 60%),
    linear-gradient(158deg, #2a5c46 0%, var(--green) 42%, var(--green-950) 100%);
}
.hero-decor { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 120px; opacity: 0.35; pointer-events: none; }
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 60px;
  align-items: center; padding: 76px 24px 88px; max-width: 1200px; margin: 0 auto;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2);
  margin: 0 0 20px;
}
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold); border-radius: 2px; }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.6rem, 5.4vw, 4.15rem);
  line-height: 1.04; letter-spacing: -0.01em; margin: 0 0 20px; font-weight: 600;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-2); }
.hero p.lead { font-size: 1.16rem; line-height: 1.7; color: #ece3d1; margin: 0 0 32px; max-width: 33rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg), 18px 18px 0 0 rgba(201, 155, 63, 0.4); background: var(--green-950); aspect-ratio: 4 / 4.7;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.hero-chip {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(255, 255, 255, 0.97); color: var(--ink); border-radius: 14px;
  padding: 12px 16px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
.hero-chip .chip-badge {
  display: inline-block; background: var(--green); color: #fff; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; margin-bottom: 5px;
}
.hero-chip .chip-price { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.hero-media figcaption { margin-top: 18px; font-size: 0.95rem; color: #e6dcc6; }
.hero-media figcaption a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold); }
.hero-media figcaption a:hover { color: var(--gold-2); }

/* Secciones */
.section { padding: 92px 0; }
.section-alt { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head h2, .page-head h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 12px;
}
.section-head p, .page-head p { color: var(--ink-soft); margin: 0; font-size: 1.06rem; line-height: 1.7; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--terra-dark); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 30px; height: 2px; background: var(--gold); border-radius: 2px; }

/* Tarjetas de servicios */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #ddc793; }
.card h3 { font-family: var(--font-display); font-size: 1.42rem; margin: 16px 0 8px; font-weight: 600; }
.card p { color: var(--ink-soft); margin: 0; line-height: 1.7; }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--green-tint); color: var(--green);
}
.card-icon svg { width: 28px; height: 28px; }
.card-num {
  position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-style: italic;
  font-size: 1.9rem; line-height: 1; color: var(--gold); opacity: 0.85;
}

/* Propiedades */
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prop-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.prop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #ddc793; }
.prop-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.prop-art svg { width: 100%; height: 100%; transition: transform 0.5s ease; }
.prop-card:hover .prop-art svg { transform: scale(1.03); }
.prop-art .art-label {
  position: absolute; left: 12px; bottom: 12px; background: rgba(34, 26, 18, 0.82);
  color: #fff; font-size: 0.78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px;
}
.prop-badge {
  position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--ink);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.prop-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prop-type { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra-dark); }
.prop-body h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0; line-height: 1.28; font-weight: 600; }
.prop-loc { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }
.prop-feats {
  list-style: none; display: flex; flex-wrap: wrap; gap: 7px 8px;
  margin: 8px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line);
  color: var(--ink-soft); font-size: 0.9rem;
}
.prop-feats li {
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px;
}
.prop-price { margin-top: auto; padding-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: var(--green); }
.prop-price small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; color: var(--ink-soft); margin-top: 2px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.filter-btn {
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--green); transform: translateY(-1px); }
.filter-btn[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.notice {
  background: #fff8e8; border: 1px solid #ecd9a8; border-left: 4px solid var(--gold);
  border-radius: 14px; padding: 17px 22px; color: var(--ink-soft); margin: 0 0 30px; line-height: 1.65;
}
.notice strong { color: var(--ink); }

/* Publicación destacada (showcase) */
.prop-featured {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); margin-bottom: 44px;
}
.prop-featured-media { padding: 22px; background: linear-gradient(170deg, var(--cream-2), var(--cream)); }
.prop-featured-media a { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 30px rgba(34, 26, 18, 0.18); }
.prop-featured-media img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 0; transition: transform 0.5s ease; }
.prop-featured-media a:hover img { transform: scale(1.02); }
.prop-featured-hint { font-size: 0.86rem; color: var(--ink-soft); margin: 14px 4px 0; text-align: center; }
.prop-featured-body { padding: 36px 36px 36px 8px; display: flex; flex-direction: column; gap: 9px; }
.prop-featured-body h2 { font-family: var(--font-display); font-size: clamp(1.55rem, 2.6vw, 2rem); margin: 0; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.prop-featured-body h3 {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; margin: 20px 0 4px; color: var(--green);
}
.prop-featured-body h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prop-tagline { margin: 0; font-style: italic; font-size: 1.05rem; color: var(--ink-soft); }
.spec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0 4px;
}
.spec {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 14px; background: #fffdf7; padding: 14px 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.spec:hover { border-color: #ddc793; box-shadow: var(--shadow-sm); }
.spec svg { width: 21px; height: 21px; color: var(--gold); margin-bottom: 4px; }
.spec b { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; line-height: 1.15; color: var(--ink); }
.spec span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.prop-featured-body .prop-price { font-size: 1.9rem; padding-top: 8px; }
.prop-featured-body .prop-price small { font-size: 0.86rem; }
.prop-detail {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 22px;
  font-size: 0.97rem; color: var(--ink);
}
.prop-detail li { position: relative; padding-left: 20px; line-height: 1.5; }
.prop-detail li::before {
  content: ""; position: absolute; left: 0; top: 0.52em; width: 8px; height: 8px;
  background: var(--gold); transform: rotate(45deg); border-radius: 1.5px;
}
.prop-contact { font-weight: 700; margin: 16px 0 0; font-size: 1.02rem; }
.prop-contact a { color: var(--green); text-decoration: none; border-bottom: 1px solid var(--gold); }
.prop-contact a:hover { color: var(--terra-dark); }
.prop-video {
  background: var(--green-950); color: #fff; border-radius: 16px; padding: 22px; margin-top: 22px;
}
.prop-video h3 { color: #fff; margin: 0 0 14px; }
.prop-video h3::after { background: rgba(255, 255, 255, 0.22); }
.prop-video video { width: 100%; max-width: 620px; height: auto; display: block; border-radius: 12px; background: #1c1712; }
.prop-badge-sale { background: var(--green); color: #fff; }
.prop-badge-inline { position: static; display: inline-block; }
.since-badge { display: inline-block; background: var(--gold); color: var(--ink); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }

/* Página interior */
.page-head { padding: 64px 0 10px; max-width: 780px; }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }
.page-body { padding: 30px 0 72px; }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-display); font-size: 1.65rem; margin: 38px 0 8px; font-weight: 600; }
.prose p, .prose li { color: var(--ink-soft); line-height: 1.75; }
.prose ul { padding-left: 22px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }

/* Filas de servicios */
.service-row {
  display: grid; grid-template-columns: 0.32fr 1fr; gap: 32px; align-items: start;
  padding: 38px 0; border-bottom: 1px solid var(--line);
}
.service-row:first-of-type { padding-top: 8px; }
.service-row:last-of-type { border-bottom: none; }
.service-num {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; color: var(--gold); margin: 0;
}
.service-row h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 10px; font-weight: 600; }
.service-row p { color: var(--ink-soft); margin: 0 0 12px; line-height: 1.75; max-width: 62ch; }
.service-row ul { margin: 0; padding-left: 20px; color: var(--ink); display: grid; gap: 7px; }
.service-row li::marker { color: var(--gold); }
.scope-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  background: var(--green-tint); border: 1px solid #d8e2d8; border-radius: 16px; padding: 20px 24px; margin-top: 34px;
}
.scope-strip .scope-label { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin: 0; }
.scope-chip {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 700; font-size: 0.95rem; color: var(--ink);
}

/* Nosotros */
.about-lead { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 44px; align-items: start; }
.about-lead .prose p:first-of-type::first-letter {
  font-family: var(--font-display); font-size: 3.4em; font-weight: 600; line-height: 0.85;
  float: left; padding: 6px 10px 0 0; color: var(--green);
}
.since-panel {
  position: sticky; top: 110px; background: var(--green); color: #fff; border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow); overflow: hidden;
}
.since-panel::after {
  content: ""; position: absolute; right: -34px; bottom: -34px; width: 150px; height: 150px;
  border: 1px solid rgba(227, 192, 120, 0.5); border-radius: 30px; transform: rotate(45deg);
}
.since-panel .since-year { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4rem); font-weight: 600; line-height: 1; margin: 0; }
.since-panel .since-rule { width: 44px; height: 3px; background: var(--gold); border-radius: 3px; margin: 16px 0; }
.since-panel p { margin: 0; color: #e6dcc6; line-height: 1.7; position: relative; z-index: 1; }
.since-panel .since-mark { width: 44px; height: 44px; margin-bottom: 18px; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 30px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.contact-list li {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 19px 21px 19px 82px;
  box-shadow: var(--shadow-sm); transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.contact-list li:hover { border-color: #ddc793; box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-ico {
  position: absolute; left: 19px; top: 19px; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--green-tint); color: var(--green);
}
.contact-ico svg { width: 23px; height: 23px; }
.contact-list .label { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra-dark); margin-bottom: 3px; }
.contact-list a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid transparent; }
.contact-list a:hover { color: var(--green); border-bottom-color: var(--gold); }
.placeholder { font-weight: 700; color: var(--ink); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form-card h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 6px; font-weight: 600; }
.form-card > p { color: var(--ink-soft); margin: 0 0 22px; }
.field { margin-bottom: 17px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: 0.93rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 12px; background: #fffdf8; color: var(--ink); transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 155, 63, 0.2); outline: none; }
.field textarea { min-height: 124px; resize: vertical; }
.form-note {
  display: none; margin-top: 16px; background: #fff8e8; border: 1px solid #ecd9a8;
  border-radius: 12px; padding: 14px 17px; color: var(--ink-soft); font-size: 0.95rem;
}
.form-note.visible { display: block; }

/* Banda CTA */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 220px at 92% 0%, rgba(201, 155, 63, 0.25), transparent 60%),
    linear-gradient(140deg, var(--green) 0%, var(--green-950) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 46px 40px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px; box-shadow: var(--shadow);
}
.cta-band::before { content: ""; position: absolute; top: 0; left: 40px; right: 40px; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); border-radius: 3px; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 1.9rem); margin: 0 0 8px; font-weight: 600; }
.cta-band p { margin: 0; color: #e6dcc6; }

/* 404 */
.not-found { text-align: center; padding: 30px 0 10px; }
.not-found .code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 8.5rem); font-weight: 600; line-height: 1; color: var(--green); margin: 0; }
.not-found .code span { color: var(--gold); font-style: italic; }

/* Pie de página */
.site-footer { background: var(--green-950); color: #e9dcc6; margin-top: 0; border-top: 3px solid var(--gold); }
.footer-inner {
  display: grid; grid-template-columns: 1.35fr 0.85fr 1.1fr; gap: 40px;
  padding: 60px 24px 36px; max-width: 1200px; margin: 0 auto;
}
.site-footer h3 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 14px; font-family: var(--font-body); }
.site-footer .footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); color: #fff; font-size: 1.35rem; font-weight: 700; margin: 0 0 12px;
}
.site-footer p { margin: 0; font-size: 0.95rem; color: #cdbfa8; line-height: 1.7; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-nav a { color: #e9dcc6; text-decoration: none; transition: color 0.25s ease, padding-left 0.25s ease; }
.footer-nav a:hover { color: #fff; padding-left: 6px; }
.footer-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.site-footer p a { color: #e9dcc6; }
.site-footer p a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(233, 220, 198, 0.18); padding: 20px 24px 24px;
  max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between; font-size: 0.88rem; color: #b3a58d;
}
.footer-bottom a { color: #f6d9a8; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* Relleno honesto: panel de más inmuebles, fila de datos, mini-ficha, franja de visita */
.prop-grid-two { grid-template-columns: 1.25fr 0.75fr; }
.prop-more {
  background: var(--green-tint); border: 1px solid #d8e2d8; border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 10px;
}
.prop-more h3 { font-family: var(--font-display); font-size: 1.45rem; margin: 0; font-weight: 600; line-height: 1.25; }
.prop-more p { margin: 0; color: var(--ink-soft); line-height: 1.7; }
.prop-more-facts {
  list-style: none; margin: 6px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line);
  display: grid; gap: 7px; color: var(--ink);
}
.prop-more-facts a { color: var(--green); font-weight: 700; }
.facts-row {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin: 30px 0 26px; padding: 0;
}
.facts-row li { border-top: 3px solid var(--gold); padding-top: 14px; }
.facts-row b { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.facts-row span { color: var(--ink-soft); font-size: 0.95rem; }
.facts-row a { color: var(--green); font-weight: 700; }
.more-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 36px; margin-top: 6px;
}
.more-panel h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 10px; font-weight: 600; }
.more-panel p { color: var(--ink-soft); margin: 0 0 12px; max-width: 62ch; line-height: 1.7; }
.more-panel .scope-strip { margin-top: 20px; }
.more-contact {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 26px; font-weight: 700;
}
.more-contact a { color: var(--green); }
.listing-mini {
  display: flex; gap: 26px; align-items: center;
  background: var(--green-tint); border: 1px solid #d8e2d8;
  border-radius: var(--radius-lg); padding: 24px; margin-top: 36px;
}
.listing-mini > a:first-child { flex: 0 0 170px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.listing-mini img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 0; }
.listing-mini h2 { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 8px; font-weight: 600; }
.listing-mini p { margin: 0 0 10px; color: var(--ink-soft); }
.visit-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
  background: var(--green-tint); border: 1px solid #d8e2d8;
  border-radius: var(--radius-lg); padding: 30px; margin-top: 36px;
}
.visit-strip h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 8px; font-weight: 600; }
.visit-strip p { margin: 0; color: var(--ink-soft); }
.visit-strip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-weight: 700; }
.visit-strip a { color: var(--green); }
.not-found-contact { margin-top: 18px; color: var(--ink-soft); }

/* Responsive */
@media (max-width: 860px) {
  .facts-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .prop-grid-two, .facts-row, .visit-strip { grid-template-columns: 1fr; }
  .listing-mini { flex-direction: column; align-items: stretch; }
  .listing-mini > a:first-child { flex: none; }
  .listing-mini img { aspect-ratio: 16 / 10; }
  .more-panel { padding: 26px 22px; }
}

/* Responsive */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px 76px; }
  .hero-media { max-width: 560px; }
  .prop-featured { grid-template-columns: 1fr; }
  .prop-featured-media img { aspect-ratio: 16 / 10; }
  .prop-featured-body { padding: 8px 30px 32px; }
  .about-lead { grid-template-columns: 1fr; }
  .since-panel { position: static; }
  .service-row { grid-template-columns: 0.22fr 1fr; }
}
@media (max-width: 860px) {
  .cards-3, .prop-grid, .values { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 68px 0; }
}
@media (max-width: 600px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px; box-shadow: 0 18px 30px rgba(34, 26, 18, 0.12);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 14px; font-size: 0.9rem; }
  .main-nav a::after { display: none; }
  .cards-3, .prop-grid, .values { grid-template-columns: 1fr; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.3rem; }
  .footer-inner { grid-template-columns: 1fr; padding: 48px 24px 28px; }
  .section { padding: 56px 0; }
  .cta-band { padding: 34px 24px; }
  .hero-inner { padding: 48px 24px 64px; gap: 40px; }
  .hero-media::after { transform: translate(10px, 10px); }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .prop-detail { grid-template-columns: 1fr; }
  .prop-featured-media { padding: 14px; }
  .prop-featured-body { padding: 4px 20px 24px; }
  .service-row { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; }
  .form-card { padding: 24px 20px; }
  .page-head { padding: 48px 0 8px; }
}
