:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --surface-2: #eef1ee;
  --text: #1c2321;
  --muted: #5f6b67;
  --border: #dde2de;
  --brand: #1f5f4a;
  --brand-600: #174a3a;
  --brand-50: #e5f0eb;
  --accent: #c8913a;
  --danger: #b3322b;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(16 24 20 / 6%), 0 6px 20px rgb(16 24 20 / 6%);
  --shadow-lg: 0 20px 50px rgb(16 24 20 / 18%);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ───── Header ───── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(255 255 255 / 92%); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand-logo { display: block; height: 44px; width: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; }
.brand-mark svg { width: 20px; height: 20px; fill: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.user-email { color: var(--muted); font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 30vw; }

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--brand-600); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: transparent; border-color: #efc9c6; color: var(--danger); padding: 6px 12px; font-size: 0.85rem; }
.btn-danger:hover { background: #fbeceb; }
.btn-block { width: 100%; }

/* ───── Demo banner ───── */
.demo-banner { background: #fff5e0; color: #6b4a10; border-bottom: 1px solid #f1dcaf; font-size: 0.88rem; }
.demo-banner .container { padding: 8px 0; }

/* ───── Hero + filters ───── */
.hero { background: linear-gradient(135deg, #1f5f4a 0%, #2c7a60 100%); color: #fff; padding: 56px 0 88px; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.02em; }
.hero p { margin: 0; opacity: 0.88; font-size: 1.05rem; max-width: 560px; }

.filters {
  margin-top: -48px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 16px; display: grid; gap: 12px; grid-template-columns: 2fr 1fr 1fr 1fr;
}
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 0.78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* ───── Form fields ───── */
.input, select.input, textarea.input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface);
  font-size: 0.95rem; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text);
}
.input:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
textarea.input { resize: vertical; min-height: 110px; }

/* ───── Catalog ───── */
.catalog { padding: 36px 0 64px; }
.catalog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.catalog-head h2 { margin: 0; font-size: 1.35rem; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fa36b; box-shadow: 0 0 0 0 rgb(47 163 107 / 50%); animation: pulse 2s infinite; }
.live--off .live-dot { background: #aab3af; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(47 163 107 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(47 163 107 / 0%); } }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; cursor: pointer; border: 1px solid var(--border);
  transition: transform 0.18s, box-shadow 0.18s; text-align: left; padding: 0;
}
.card:hover, .card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-lg); outline: none; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  background: var(--brand); color: #fff;
}
.badge--arriendo { background: var(--accent); }
.badge-type { left: auto; right: 12px; background: rgb(255 255 255 / 92%); color: var(--text); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-price { font-size: 1.3rem; font-weight: 800; color: var(--brand); letter-spacing: -0.01em; }
.card-title { font-weight: 600; margin: 0; font-size: 1rem; }
.card-location { color: var(--muted); font-size: 0.9rem; display: flex; align-items: center; gap: 4px; }
.card-specs { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: flex; gap: 16px; color: var(--muted); font-size: 0.88rem; flex-wrap: wrap; }
.spec { display: inline-flex; align-items: center; gap: 6px; }
.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.empty { text-align: center; padding: 56px 16px; color: var(--muted); background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); }
.skeleton { background: linear-gradient(90deg, var(--surface-2), #f7f9f7, var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius); height: 340px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ───── Detail dialog ───── */
dialog.detail { border: none; border-radius: 18px; padding: 0; width: min(760px, 100% - 32px); max-height: calc(100vh - 48px); box-shadow: var(--shadow-lg); color: var(--text); }
dialog.detail::backdrop { background: rgb(12 18 16 / 55%); }
.detail-media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.detail-media > .badge, .detail-close { z-index: 2; }

/* Galería deslizable (scroll-snap: funciona con el dedo, trackpad y botones) */
.gallery-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgb(255 255 255 / 92%); color: var(--text); font-size: 1.7rem; line-height: 1;
  display: grid; place-items: center; box-shadow: var(--shadow); padding-bottom: 3px;
}
.gallery-nav:hover { background: #fff; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-counter { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgb(0 0 0 / 60%); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.gallery-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; display: flex; gap: 6px; }
.gallery-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: none; background: rgb(255 255 255 / 55%); cursor: pointer; }
.gallery-dots button.is-active { background: #fff; transform: scale(1.25); }

.photo-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgb(0 0 0 / 60%); color: #fff; font-size: 0.78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.photo-count .icon { width: 14px; height: 14px; }

/* WhatsApp */
.icon-fill { fill: currentColor; stroke: none; }
.btn-whatsapp { background: #25d366; color: #fff; justify-self: start; }
.btn-whatsapp:hover { background: #1ebe5a; }
.btn-whatsapp .icon { width: 20px; height: 20px; }
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 8px 24px rgb(37 211 102 / 40%);
  transition: transform 0.15s, box-shadow 0.15s;
}
.whatsapp-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgb(37 211 102 / 50%); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: currentColor; flex: none; }

.detail-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgb(255 255 255 / 94%); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.detail-body { padding: 22px 24px 26px; display: grid; gap: 14px; }
.detail-body h3 { margin: 0; font-size: 1.4rem; }
.detail-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.detail-spec { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.detail-spec strong { display: block; font-size: 1.05rem; }
.detail-spec span { color: var(--muted); font-size: 0.8rem; }
.detail-desc { margin: 0; white-space: pre-line; color: #36403d; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { background: var(--brand-50); color: var(--brand-600); padding: 5px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; }

/* ───── Login ───── */
.auth-wrap { display: grid; place-items: center; padding: 56px 16px; }
.auth-card { width: min(420px, 100%); background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 32px 28px; }
.auth-card h1 { margin: 0 0 6px; font-size: 1.5rem; text-align: center; }
.auth-card p.lead { margin: 0 0 22px; color: var(--muted); text-align: center; width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 0.88rem; font-weight: 600; }
.form-error { color: var(--danger); background: #fbeceb; border-radius: 10px; padding: 10px 12px; font-size: 0.9rem; margin-bottom: 14px; }
.demo-hint { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: #fff5e0; color: #6b4a10; font-size: 0.88rem; }

/* ───── Admin ───── */
.admin { padding: 32px 0 64px; display: grid; gap: 24px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 24px; }
.panel h2 { margin: 0 0 4px; font-size: 1.2rem; }
.panel .sub { margin: 0 0 20px; color: var(--muted); font-size: 0.92rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }
.price-row { display: grid; grid-template-columns: 1fr 100px; gap: 8px; }
.specs-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }

.dropzone {
  position: relative; border: 2px dashed var(--border); border-radius: 12px; background: var(--surface-2);
  aspect-ratio: 16 / 8; display: grid; place-items: center; text-align: center; color: var(--muted);
  cursor: pointer; overflow: hidden; transition: border-color 0.15s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--brand); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dropzone .icon { width: 30px; height: 30px; margin: 0 auto 6px; }

.feature-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 6px; }
.feature-options label { cursor: pointer; }
.feature-options input { position: absolute; opacity: 0; pointer-events: none; }
.feature-options span { display: block; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--border); font-size: 0.85rem; background: var(--surface); transition: all 0.15s; }
.feature-options input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.feature-options input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 10px; }
.photo-thumb { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-cover { position: absolute; left: 6px; top: 6px; background: var(--brand); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em; }
.photo-actions { position: absolute; right: 4px; bottom: 4px; display: flex; gap: 4px; }
.photo-actions button { width: 26px; height: 26px; border-radius: 50%; border: none; cursor: pointer; background: rgb(255 255 255 / 94%); font-size: 1.05rem; line-height: 1; box-shadow: var(--shadow); }
.photo-actions button[data-remove]:hover { background: #fbeceb; color: var(--danger); }
.dropzone { aspect-ratio: auto; min-height: 150px; }
.muted { color: var(--muted); font-weight: 400; }

.progress { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin: 14px 0 0; }
.progress > div { height: 100%; width: 0; background: var(--brand); transition: width 0.2s; }

.admin-list { display: grid; gap: 12px; margin-top: 8px; }
.admin-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--border); border-radius: 12px; }
.admin-item img { width: 76px; height: 58px; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.admin-item strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.95rem; }
.admin-item small { color: var(--muted); }
.admin-item--text { grid-template-columns: minmax(0, 1fr) auto; }
.admin-item--text small { display: block; white-space: normal; }
.stars-sm { color: #e3a62f; font-size: 0.85rem; }
.lead-item { border: 1px solid var(--border); border-radius: 12px; padding: 14px; display: grid; gap: 6px; }
.lead-item header { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.lead-item p { margin: 0; color: #36403d; font-size: 0.92rem; white-space: pre-line; }
.lead-meta { color: var(--muted); font-size: 0.88rem; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.lead-actions .btn { padding: 6px 12px; font-size: 0.85rem; }
.count-pill { background: var(--brand-50); color: var(--brand-600); font-weight: 700; font-size: 0.8rem; padding: 2px 10px; border-radius: 999px; margin-left: 6px; }

/* ───── Toasts / footer ───── */
.toast-host { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 100; width: min(420px, 100% - 32px); }
.toast { background: #1c2321; color: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 0.92rem; animation: toast-in 0.2s ease-out; transition: opacity 0.3s, transform 0.3s; }
.toast--success { background: var(--brand); }
.toast--error { background: var(--danger); }
.toast--out { opacity: 0; transform: translateY(6px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ───── Barra superior de contacto ───── */
.topbar { background: #13231d; color: rgb(255 255 255 / 85%); font-size: 0.85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: flex-end; gap: 8px 24px; flex-wrap: wrap; min-height: 38px; padding: 6px 0; }
.topbar a, .topbar-name { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-name { color: #fff; font-weight: 700; margin-right: auto; }
.topbar .icon { width: 15px; height: 15px; color: #d7b56d; }

/* ───── Navegación principal ───── */
html { scroll-behavior: smooth; }
section[id], footer[id] { scroll-margin-top: 72px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.93rem; padding: 8px 12px; border-radius: 8px; }
.main-nav a:not(.btn):hover { background: var(--surface-2); color: var(--brand); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-light { background: #fff; color: var(--brand-600); }
.btn-light:hover { background: #f1f5f3; }
.btn-outline-light { border-color: rgb(255 255 255 / 70%); color: #fff; }
.btn-outline-light:hover { background: rgb(255 255 255 / 12%); }

/* ───── Secciones de contenido ───── */
.section { padding: 72px 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.section--brand { background: linear-gradient(135deg, #174a3a 0%, #1f5f4a 60%, #2c7a60 100%); color: #fff; }
.section h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.2; letter-spacing: -0.02em; margin: 6px 0 12px; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.eyebrow--light { color: #f3c98a; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.about-text > p { color: #36403d; font-size: 1.03rem; }
.mission { margin-top: 20px; padding: 18px 20px; border-left: 4px solid var(--accent); background: var(--brand-50); border-radius: 0 12px 12px 0; }
.mission h3 { margin: 0 0 6px; font-size: 1rem; color: var(--brand-600); }
.mission p { margin: 0; color: #36403d; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.value { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.value h3 { margin: 12px 0 6px; font-size: 1.02rem; }
.value p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.value-icon, .service-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.value-icon .icon, .service-icon .icon { width: 22px; height: 22px; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.service { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.service h3 { margin: 14px 0 12px; font-size: 1.12rem; }
.service--featured { background: var(--brand); color: #fff; border-color: var(--brand); }
.service--featured .service-icon { background: rgb(255 255 255 / 14%); color: #fff; }
.service--featured .checklist li { color: rgb(255 255 255 / 90%); }
.service--featured .checklist li::before { background-color: #f3c98a; }
.service--featured .btn { margin-top: auto; align-self: flex-start; }
.checklist { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 28px; color: #36403d; font-size: 0.95rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ───── Captación ───── */
.section .lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.lead-text p { color: rgb(255 255 255 / 85%); font-size: 1.03rem; }
.lead-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.lead-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.lead-points li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgb(255 255 255 / 15%); font-size: 0.8rem; }
.lead-form { background: var(--surface); color: var(--text); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); }
.lead-form .field > span { font-size: 0.85rem; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.lead-success { background: var(--brand-50); color: var(--brand-600); border-radius: 12px; padding: 16px; text-align: center; }
.lead-success strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ───── Testimonios ───── */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testimonial { margin: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.stars { color: #e3a62f; font-size: 1.15rem; letter-spacing: 2px; }
.stars span { color: #d8ddd9; }
.testimonial blockquote { margin: 0; color: #36403d; font-size: 0.98rem; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption strong { display: block; font-size: 0.95rem; }
.testimonial figcaption small { color: var(--muted); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; flex: none; }
#testimonialsNote { font-size: 0.85rem; font-style: italic; margin-top: 4px; }

/* ───── Footer ───── */
.site-footer { background: #13231d; color: rgb(255 255 255 / 75%); font-size: 0.92rem; padding: 56px 0 0; }
.site-footer a { color: rgb(255 255 255 / 85%); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h3 { color: #fff; font-size: 0.95rem; margin: 4px 0 14px; }
.footer-brand p { margin: 14px 0 0; max-width: 340px; }
.brand--light { color: #fff; }
.brand--light:hover { text-decoration: none !important; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; overflow-wrap: anywhere; }
.footer-label { display: block; color: #fff; font-weight: 600; font-size: 0.85rem; margin-bottom: 2px; }
.footer-muted { color: rgb(255 255 255 / 55%); font-size: 0.85rem; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 12%); padding: 18px 0 96px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.84rem; color: rgb(255 255 255 / 55%); }
.footer-bottom a { color: rgb(255 255 255 / 55%); }

/* ───── Páginas legales ───── */
.legal { max-width: 780px; padding: 48px 0 72px; }
.legal h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 6px; letter-spacing: -0.02em; }
.legal .updated { color: var(--muted); margin: 0 0 28px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal p, .legal li { color: #36403d; }

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───── Responsive ───── */
@media (max-width: 1020px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 30; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); padding: 12px 16px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { padding: 12px; font-size: 1rem; }
  .nav-cta { margin: 8px 0 0; }
}
@media (max-width: 900px) {
  .admin { grid-template-columns: 1fr; }
  .about, .section .lead { grid-template-columns: 1fr; gap: 32px; }
  .services { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 56px 0; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters label:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .specs-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; }
  .detail-specs { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 18px; }
  .user-email { display: none; }
  .brand { font-size: 1rem; }
  .brand-logo { height: 36px; }
  .site-header .btn { padding: 8px 12px; font-size: 0.85rem; }
  .hero { padding: 40px 0 80px; }
  .whatsapp-fab { right: 16px; bottom: 16px; padding: 14px; }
  .topbar-inner { justify-content: center; gap: 4px 16px; font-size: 0.8rem; }
  .topbar-name { margin-right: 0; width: 100%; justify-content: center; }
  .feature-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .lead-form, .service { padding: 20px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .whatsapp-fab-label { display: none; }
  .gallery-nav { width: 36px; height: 36px; font-size: 1.5rem; }
}
