/* La paleta plata/platino y las fuentes viven en brand.css (cargado antes que
   este archivo en el <head>), incluido --silver-dark ya unificado. */
:root {
  --bg: #1A1A1A;
  --surface: #232323;
  --surface2: #2A2A2A;
  --text: #E8E8E8;
  --text2: #B8B8B8;
  --text3: #8A8A8A;
  --accent: #141414;
  --accent2: #A33C3C;
  --border: rgba(255,255,255,0.1);
  --border2: rgba(255,255,255,0.06);
  --green: #7FA88A;
  --green-bg: rgba(127,168,138,0.1);
  --orange: #C08A6B;
  --orange-bg: rgba(192,138,107,0.1);
  --blue: #9AA9C4;
  --blue-bg: rgba(154,169,196,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Jost', sans-serif; background: var(--platinum-gradient); background-attachment: fixed; color: #1A1A1A; min-height: 100vh; }
.hidden { display: none !important; }

/* SILVER TEXT UTILITY */
.silver-text {
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}


/* LOGIN */
.login-screen { position: fixed; inset: 0; background: var(--accent); display: flex; align-items: center; justify-content: center; z-index: 999; }
.login-box { background: var(--surface); border-radius: var(--radius); padding: 2.5rem; width: 100%; max-width: 380px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.5); border: 1px solid var(--border); }
.login-logo { font-size: 3rem; margin-bottom: 1rem; }
.login-box h1 { font-family: 'Marcellus', serif; font-size: 1.6rem; margin-bottom: 0.5rem; color: var(--text); }
.login-box p { color: var(--text2); font-size: 14px; }
.login-box .form-group { text-align: left; }

/* NAV */
nav:not(.site-nav) { background: var(--platinum-dark-gradient); padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 60px; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); }
.nav-brand { font-family: 'Marcellus', serif; color: #fff; font-size: 1.3rem; letter-spacing: 0.02em; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.nav-brand span { font-size: 1.5rem; }
.nav-actions { display: flex; gap: 10px; }

/* BUTTONS */
.btn { padding: 8px 16px; border-radius: var(--radius-sm); border: none; cursor: pointer; font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 500; transition: all 0.15s; }
.btn-primary { background: var(--silver-mid); color: #141414; }
.btn-primary:hover { background: var(--silver-light); }
.btn-primary:disabled { background: #444; color: #888; cursor: not-allowed; }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-danger { background: var(--accent2); color: #fff; }
.btn-danger:hover { background: #8A3232; }
.btn-ghost {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 0.0625rem solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgb(184,184,184);
  font-family: 'Jost', sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
  color: rgb(232,232,232);
}
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: var(--radius-sm); border: none; cursor: pointer; font-family: 'Jost', sans-serif; font-weight: 500; transition: all 0.12s; }

/* VIEWS */
.view { display: block; }
.view.hidden { display: none !important; }

/* DASHBOARD */
/* width+max-width (no solo max-width) para que en pantallas grandes no crezca sin
   límite — así el ancho coincide con .svc-zigzag/.props-zigzag (2026-09-24). Sin
   padding lateral: el ancho ya lo controla este mismo width/max-width, y así los
   filtros de arriba quedan alineados exactamente con las filas de propiedades. */
.dashboard { width: 90%; max-width: 1360px; margin: 0 auto; padding: 7rem 0 2rem; }
/* Página Propiedades: más aire entre el header y el título, y entre el
   título/subtítulo y la barra de filtros — el .hero base (compartido con
   Acceso Exclusivo/Búsquedas) no se toca. Valores subidos 2026-09-24 a pedido
   explícito de Cami ("mult mai mult, nu simbolic") — ver commit dedicado.
   Selector compuesto .hero.hero--props (no solo .hero--props): bug real
   encontrado en esta verificación — la regla .hero (más abajo en el archivo,
   con el shorthand `padding: 56px 24px 36px`) tenía la MISMA especificidad y,
   por venir después en el código, ganaba en el navegador aunque el código de
   aquí arriba "se viera" correcto — el override nunca se había aplicado. */
.hero.hero--props { padding-top: 50px; padding-bottom: 50px; }
.page-header { margin-bottom: 2rem; }
.page-header h1 { font-family: 'Marcellus', serif; font-size: 2rem; color: var(--text); margin-bottom: 0.25rem; }
.page-header p { color: var(--text2); font-size: 14px; }
.filters { display: flex; gap: 10px; margin-bottom: 1.5rem; flex-wrap: wrap; align-items: center; }

/* STATS */
.stats-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 2rem; }
.stat-card { background: transparent; border-radius: var(--radius); padding: 1rem 1.25rem; border: 1px solid rgba(255,255,255,0.15); }
.stat-card .stat-val { font-family: 'Marcellus', serif; font-size: 2rem; }
.stat-card .stat-label { font-size: 12px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6rem;
}

@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1500px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text3); }
.empty-state .es-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state p { font-size: 15px; }

/* PROPERTY CARD — platinum */
.prop-card {
  background: var(--platinum-gradient);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}
.prop-card:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,0.7);
  transform: translateY(-2px);
}
.card-top { padding: 1.1rem 1.5rem 0.6rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card-img {
  width: calc(100% - 2rem);
  margin: 0 1rem 0.75rem;
  height: 240px;
  box-sizing: border-box;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(199,199,199,0.6);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.card-img-placeholder { width: calc(100% - 2rem); margin: 0 1rem 0.75rem; height: 240px; box-sizing: border-box; background: var(--surface2); display: flex; align-items: center; justify-content: center; color: var(--text3); font-size: 2.5rem; border-radius: 6px; border: 1px solid rgba(199,199,199,0.6); }
.card-body { padding: 0.9rem 1.5rem 1.25rem; }
.card-title { font-family: 'Marcellus', serif; font-size: 1.2rem; color: #1A1A1A; line-height: 1.3; margin: 0; flex: 1; }
.card-loc { font-size: 12px; color: #4A4A4A; margin-bottom: 10px; }
.card-price { font-family: 'Marcellus', serif; font-size: 1.6rem; font-weight: 400; margin-bottom: 12px; color: #141414; text-shadow: 0 1px 0 rgba(255,255,255,0.3); }
.card-details { display: flex; gap: 12px; font-size: 12px; color: #333333; margin-bottom: 12px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid rgba(0,0,0,0.15); }
.card-footer { display: flex; justify-content: space-between; align-items: center; }
.card-ref { font-size: 11px; color: #4A4A4A; font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.05em; }

/* BADGES: movidas a brand-master/brand.css (2026-09-25, compartidas con portal-interno) */

/* PROPIEDADES — LISTADO ZIG-ZAG (.props-zigzag*): movido a
   brand-master/brand.css (2026-09-25) — portal-interno usa ahora el mismo
   listado visual. */

/* CASETAS PRIVADAS (propiedades.html) — sin foto, a propósito: misma familia discreta
   que .search-input, nunca la caja oscura de .match-banner. Aparecen en la lista
   normal (sin filtro que las active — los chips de zona que antes las controlaban
   se eliminaron, ver js/public.js 2026-09-25).
   Solo site-public: portal-interno muestra las privadas CON foto, dentro
   del mismo listado zig-zag (ver js/cards.js de portal-interno). */
.private-listings { max-width: 640px; margin: 0 auto 3rem; }
.private-listings__note { font-size: 13px; color: #6A6A6A; text-align: center; margin-bottom: 1.25rem; line-height: 1.5; }
.private-listing-box {
  border: 0.0625rem solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.private-listing-box h4 { font-family: 'Marcellus', serif; font-size: 1.1rem; font-weight: 400; color: #1A1A1A; margin-bottom: 6px; }
.private-listing-box__loc { font-size: 12px; color: #6A6A6A; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.private-listing-box__price { font-family: 'Marcellus', serif; font-size: 1.15rem; color: #1A1A1A; margin-bottom: 10px; }
.private-listing-box .props-zigzag__specs { border-bottom: none; padding-bottom: 0; margin-bottom: 14px; font-size: 12px; }
.private-listing-box__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #4A4A4A;
  text-decoration: none;
  transition: color 0.2s;
}
.private-listing-box__link:hover { color: #1A1A1A; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(2px); }
.modal-overlay.hidden { display: none !important; }
.modal { background: var(--surface); border-radius: var(--radius); width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto; border: 1px solid var(--border); }
.modal-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border2); display: flex; justify-content: space-between; align-items: center; }
.modal-header h2 { font-family: 'Marcellus', serif; font-size: 1.3rem; color: var(--text); }
.modal-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text3); }
.modal-body { padding: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 12px; font-weight: 500; color: var(--text2); text-transform: uppercase; letter-spacing: 0.06em; }
input[type=text], input[type=number], input[type=password], input[type=url], input[type=tel], input[type=email], textarea, select.form-select { padding: 9px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface2); font-family: 'Jost', sans-serif; font-size: 14px; color: var(--text); outline: none; transition: border 0.15s; width: 100%; }
input:focus, textarea:focus, select.form-select:focus { border-color: var(--silver-mid); }
textarea { resize: vertical; min-height: 80px; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border2); display: flex; gap: 10px; justify-content: flex-end; }

/* DETAIL */
.detail-view { max-width: 900px; margin: 0 auto; padding: 2rem; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; color: #4A4A4A; font-size: 14px; cursor: pointer; border: none; background: none; padding: 0; margin-bottom: 1.5rem; transition: color 0.15s; font-family: 'Jost', sans-serif; }
.back-btn:hover { color: #1A1A1A; }
.detail-hero { border-radius: var(--radius); overflow: hidden; height: 380px; background: var(--surface2); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; position: relative; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero-placeholder { color: var(--text3); font-size: 4rem; }
.gallery-thumbs { display: flex; gap: 8px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.gallery-thumb { width: 70px; height: 50px; border-radius: 6px; object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: border 0.15s; }
.gallery-thumb.active { border-color: var(--silver-mid); }
.detail-content { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; }
.detail-title { font-family: 'Marcellus', serif; font-size: 2rem; margin-bottom: 0.5rem; color: #1A1A1A; }
.detail-loc { color: #4A4A4A; font-size: 14px; margin-bottom: 1rem; }
.detail-price { font-family: 'Marcellus', serif; font-size: 1.8rem; font-weight: 400; margin-bottom: 1.5rem; color: #141414; text-shadow: 0 1px 0 rgba(255,255,255,0.3); }
.detail-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 1.5rem; }
.spec-item { background: var(--surface2); border-radius: var(--radius-sm); padding: 10px 12px; text-align: center; border: 1px solid var(--border2); }
.spec-item .spec-val { font-weight: 500; font-size: 1.1rem; color: var(--text); }
.spec-item .spec-label { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.detail-desc { font-size: 14px; color: #333333; line-height: 1.8; }
.sidebar-card { background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; }
.sidebar-card h3 { font-size: 14px; font-weight: 500; margin-bottom: 1rem; color: var(--text2); text-transform: uppercase; letter-spacing: 0.06em; }
.info-row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--border2); }
.info-row:last-child { border-bottom: none; }
.info-row .info-key { color: var(--text3); }
.info-row .info-val { color: var(--text); font-weight: 500; }
.share-link { background: var(--surface2); border-radius: var(--radius-sm); padding: 8px 10px; font-size: 11px; font-family: 'IBM Plex Mono', monospace; color: var(--text2); word-break: break-all; margin-bottom: 8px; border: 1px solid var(--border2); }
.copy-btn { width: 100%; padding: 9px; background: var(--silver-mid); color: #141414; border: none; border-radius: var(--radius-sm); font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 0.15s; }
.copy-btn:hover { background: var(--silver-light); }
.copy-btn.copied { background: var(--green); color: #141414; }
.img-counter { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.6); color: #fff; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-family: 'IBM Plex Mono', monospace; }
.card-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: none; background: rgba(0,0,0,0.45); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0.85; transition: opacity 0.15s, background 0.15s; z-index: 2; }
.card-nav:hover { opacity: 1; background: rgba(0,0,0,0.65); }
.card-nav-prev { left: 8px; }
.card-nav-next { right: 8px; }
.detail-actions-bar { display: flex; gap: 10px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.public-banner { background: var(--accent); color: #fff; text-align: center; padding: 10px; font-size: 13px; border-bottom: 1px solid var(--border); }

/* TOAST */
.toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--surface); border: 1px solid var(--border); color: var(--text); padding: 12px 20px; border-radius: var(--radius-sm); font-size: 14px; z-index: 999; transform: translateY(100px); opacity: 0; transition: all 0.3s; pointer-events: none; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.toast.show { transform: translateY(0); opacity: 1; }

/* SPINNER */
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.2); border-top-color: var(--silver-light); border-radius: 50%; animation: spin 0.6s linear infinite; vertical-align: middle; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .detail-content { grid-template-columns: 1fr; }
  .dashboard, .detail-view { padding: 1rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  nav:not(.site-nav) { padding: 0 1rem; }
  .nav-actions .btn-outline:first-child { display: none; }
  .grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* UPLOAD */
.upload-area { border: 2px dashed var(--border); border-radius: var(--radius-sm); padding: 1.5rem; text-align: center; cursor: pointer; transition: all 0.15s; }
.upload-area:hover { border-color: var(--silver-mid); background: var(--surface2); }

/* VIDEO EMBED */
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); margin-bottom: 1rem; }
.video-container iframe, .video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* MAP */
.map-layout { display: flex; height: calc(100vh - 60px); }
.map-sidebar { width: 320px; min-width: 320px; background: var(--surface); border-right: 1px solid var(--border2); overflow-y: auto; }
.map-legend { display: flex; flex-direction: column; gap: 8px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text2); }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.map-prop-item { padding: 10px; border-bottom: 1px solid var(--border2); cursor: pointer; transition: background 0.15s; }
.map-prop-item:hover { background: var(--surface2); }
.map-prop-item .mpi-title { font-size: 13px; font-weight: 500; color: var(--text); }
.map-prop-item .mpi-info { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* ADVANCED FILTERS / SEARCH BAR — discretos a propósito (control-final 2026-09-24):
   antes eran una barra oscura de alto contraste que competía visualmente con las
   propiedades; ahora son casi transparentes sobre el fondo platino de la página. */
.filters-panel { margin-bottom: 7rem; }
/* CONTADOR (propiedades.html) — debajo de la barra de filtros. "N propiedades" a un extremo,
   "N privadas" al otro (enlace a acceso-exclusivo.html), con una línea argintie fina que llena
   el espacio entre ambos — mismo lenguaje que el contador de viotenerife.es. Sin privadas: solo
   el total + la línea, sin texto a la derecha (un enlace a "0 privadas" no tendría sentido). */
.props-counter { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 0.8125rem; color: #6A6A6A; margin-top: 1.5rem; }
.props-counter__line { flex: 1; height: 1px; background: var(--silver-gradient); opacity: 0.4; }
/* "N propiedades" y "N privadas" comparten exactamente el mismo degradado de color;
   el shimmer (animation) se aplica solo a "N privadas" (2026-09-26). */
.props-counter__total,
.props-counter__private {
  white-space: nowrap;
  font-weight: 500;
  background: linear-gradient(120deg, #3A3A3A 0%, #1A1A1A 20%, #6A6A6A 40%, var(--silver-dark) 50%, #6A6A6A 60%, #1A1A1A 80%, #3A3A3A 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.props-counter__private {
  animation: shimmer 3.5s linear infinite;
  text-decoration: none;
  cursor: pointer;
}
.filters-row { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; margin-bottom: 0.625rem; }

.search-input { flex: 1; min-width: 15rem; }

.filter-select,
input.search-input,
#advFilterBtn {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 0.0625rem solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.3);
  color: #3A3A3A;
  font-family: 'Jost', sans-serif;
  font-size: 0.8125rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.search-input::placeholder { color: rgba(58,58,58,0.55); }

.filter-select:hover,
input.search-input:hover,
#advFilterBtn:hover {
  border-color: rgba(0,0,0,0.22);
  background: rgba(255,255,255,0.5);
}

.filter-select:focus,
input.search-input:focus,
#advFilterBtn:focus {
  border-color: rgba(0,0,0,0.3);
  box-shadow: 0 0 0 0.125rem rgba(0,0,0,0.05);
}

.adv-filters { background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); padding: 1rem; margin-top: 8px; }
.adv-filters-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 12px; }
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-group label { font-size: 11px; font-weight: 500; color: var(--text2); text-transform: uppercase; letter-spacing: 0.06em; }
.filter-group input, .filter-group select { padding: 7px 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface2); font-family: 'Jost', sans-serif; font-size: 13px; color: var(--text); outline: none; }
.adv-filters-checks { display: flex; gap: 12px; flex-wrap: wrap; }
.check-filter { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text2); cursor: pointer; }
.check-filter input { cursor: pointer; }

/* FORM CHECKS */
.checks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 6px; }
.check-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text2); cursor: pointer; padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); transition: all 0.15s; }
.check-item:hover { background: var(--surface2); }
.check-item input { cursor: pointer; }

/* AUTH */
.login-box .form-group { text-align: left; }

/* ADMIN */
.agent-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border2); }
.agent-row:last-child { border-bottom: none; }
.agent-info { display: flex; align-items: center; gap: 10px; }
.agent-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--silver-mid); color: #141414; display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 14px; flex-shrink: 0; }
.agent-name { font-size: 14px; font-weight: 500; color: var(--text); }
.agent-email { font-size: 12px; color: var(--text3); }
.agent-actions { display: flex; align-items: center; gap: 8px; }

/* FOOTER (.cr-footer*): movido a brand-master/brand.css (2026-09-25, compartido con portal-interno) */
.cr-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 999;
}
.cr-whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
}
/* ============ HEADER PÚBLICO ============ */

:root {
  --header-height: 84px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--platinum-dark-gradient);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header__inner {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
}

.brand__mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  display: block;
}

/* identic cu .cr-footer-brand, doar cu nowrap pentru spațiul din header */
.brand__name {
  font-family: 'Marcellus', serif;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 1.2px;
  white-space: nowrap;
  margin: 0;
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-text-stroke: 0.6px rgba(0,0,0,0.5);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.7));
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* LANGUAGE SWITCH */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switch__sep {
  color: var(--text3);
  font-size: 12px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text3);
  padding: 2px 0;
  transition: color 0.2s ease;
}

.lang-btn:hover { color: var(--text2); }

.lang-btn.is-active {
  color: transparent;
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text2);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--silver-gradient);
  transition: width 0.3s ease;
}

.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after,
.site-nav a.is-active::after { width: 100%; }
.site-nav a.is-active { color: var(--text); }

.site-nav__divider { display: none; }

.site-nav__special {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a.is-special {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #EEEEEE;
}

.site-nav a.is-special:hover { color: #FFFFFF; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: #c0c0c0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 1239px (antes 1080px): con el 7º enlace "Tu nuevo hogar" el nav solo cabe en una línea desde ~1240px. */
@media (max-width: 1239px) {
  .site-header__inner { padding: 0 20px; }
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--platinum-dark-gradient);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.is-open { max-height: 440px; }
  .site-nav a { width: 100%; padding: 16px 20px; }
  .site-nav a::after { display: none; }

  .site-nav__special { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; padding-top: 4px; }
  .site-nav a.is-special { padding: 14px 20px; }

  .site-header__right { gap: 10px; }
  .lang-btn { font-size: 12px; padding: 10px 6px; margin: -10px -6px; }

  .brand__name { font-size: 17px; }
}

@media (max-width: 400px) {
  .site-header__inner { padding: 0 14px; gap: 10px; }
  .site-header__right { gap: 6px; }
  .brand { gap: 8px; min-width: 0; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 13px; letter-spacing: 0.4px; }
  .lang-btn { padding: 10px 4px; margin: -10px -4px; }
}

/* TELEFON (.cr-phone-*) + @keyframes shimmer: movidas a brand-master/brand.css (2026-09-25) */

/* ============ SITE PÚBLICO — PROPIEDADES ============ */
html { scroll-behavior: smooth; }

.hero { text-align: center; padding: 56px 24px 36px; }
.hero h1 {
  font-family: 'Marcellus', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #1A1A1A;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.hero p { font-size: 15px; color: #4A4A4A; max-width: 520px; margin: 0 auto; }

.view-toggle {
  display: flex;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 2px;
}
.view-toggle__btn {
  border: none;
  background: none;
  color: #5A5A5A;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
}
.view-toggle__btn:hover { color: #1A1A1A; }
.view-toggle__btn.is-active { background: var(--silver-mid); color: #141414; }

.map-section { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(0,0,0,0.1); }
#mainMapContainer { width: 100%; height: 560px; }

.match-banner {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 1.5rem;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.match-banner .mb-btn {
  background: var(--silver-mid);
  color: #141414;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.match-banner .mb-btn:hover { background: var(--silver-light); }

/* Icons (replace old emoji) */
.icon { display: inline-flex; align-items: center; justify-content: center; vertical-align: -2px; }
.icon svg { width: 100%; height: 100%; }
/* Tamaños usados por icon(name, size) en public.js/busquedas.js — antes width/height
   inline (style=), movidos aquí para CSP sin 'unsafe-inline' en style-src. */
.icon-12 { width: 12px; height: 12px; }
.icon-13 { width: 13px; height: 13px; }
.icon-14 { width: 14px; height: 14px; }
.icon-16 { width: 16px; height: 16px; }
.icon-18 { width: 18px; height: 18px; }
.icon-32 { width: 32px; height: 32px; }
.icon-40 { width: 40px; height: 40px; }
.icon-56 { width: 56px; height: 56px; }

/* Marcadores del mapa (antes style="background:${color};..." inline, public.js) */
.map-marker { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.4); }
.map-marker-disponible { background: #8E8E8E; }
.map-marker-ocupado { background: #B5451B; }
.map-marker-reservado { background: #5A5A5A; }
.map-marker-exclusividad { background: #3A3A3A; }
.map-marker-alquilado { background: #854D0E; }

/* Popup de Leaflet al hacer click en un marcador (antes styles inline, public.js) */
.map-popup { min-width: 200px; font-family: 'Jost', sans-serif; }
.map-popup__img { width: 100%; height: 80px; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.map-popup__title { font-size: 14px; font-family: 'Marcellus', serif; }
.map-popup__meta { font-size: 12px; color: #666; }
.map-popup__price { font-size: 13px; font-weight: 600; }
.map-popup__btn { margin-top: 8px; background: #1A1A1A; color: #fff; border: none; padding: 6px 14px; border-radius: 4px; cursor: pointer; font-size: 12px; width: 100%; }
.map-popup__link { display: block; box-sizing: border-box; margin-top: 8px; background: #1A1A1A; color: #fff; border: none; padding: 6px 14px; border-radius: 4px; cursor: pointer; font-size: 12px; width: 100%; text-align: center; text-decoration: none; }

/* Ficha de detalle de propiedad: cabecera + badge referencia (antes inline, public.js) */
.detail-header-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; flex-wrap: wrap; gap: 10px; }
.detail-status-row { display: flex; align-items: center; gap: 10px; }
.detail-ref-badge { font-size: 12px; color: var(--text3); font-family: 'IBM Plex Mono', monospace; background: var(--surface2); padding: 4px 10px; border-radius: 4px; }
.sidebar-card--spaced { margin-top: 1rem; }
.hero-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.4); color: #fff; border: none; border-radius: 50%; width: 36px; height: 36px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hero-nav-btn.hero-nav-prev { left: 12px; }
.hero-nav-btn.hero-nav-next { right: 12px; }
.badge--detail { font-size: 13px; padding: 6px 14px; }

/* Antes imgEl.style.visibility (JS) en el hero/miniaturas de la ficha de detalle —
   también sujeto a style-src, se cambia por una clase. */
.img-visibility-hidden { visibility: hidden; }

/* Tarjeta de contacto en el footer (logo + email) — repetida en las 9 páginas públicas,
   antes con style= inline idéntico en cada una. */
.footer-contact-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-contact-logo { width: 48px; height: 48px; border-radius: 50%; }
.footer-contact-link { color: inherit; text-decoration: none; }

/* Casos únicos de style= inline encontrados en las 9 páginas públicas */
.btn-full-width { width: 100%; }
.form-grid--single { grid-template-columns: 1fr; }
.empty-state--padded { padding: 2rem 1rem; }

@media (max-width: 700px) {
  .filters-row { flex-direction: column; align-items: stretch; }
  .view-toggle { align-self: flex-start; }
  #mainMapContainer { height: 420px; }
}

/* BÚSQUEDAS ACTIVAS */
.busquedas {
  background: var(--platinum-dark-gradient);
  padding: 56px 24px;
  margin-top: 24px;
}
.busquedas-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.busquedas h2 {
  font-family: 'Marcellus', serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
}
.busquedas > .busquedas-inner > p {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 28px;
}
.busq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  text-align: left;
}
.busq-full { grid-column: 1 / -1; }
.busq-grid input, .busq-grid select {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.busq-grid input::placeholder { color: rgba(255,255,255,0.4); }
.busq-grid input:focus, .busq-grid select:focus { border-color: var(--silver-mid); }
.busq-grid select option { color: #1A1A1A; }

/* BÚSQUEDAS ACTIVAS — board público */
.busquedas-board { margin-bottom: 40px; }
.busquedas-board h3 {
  font-family: 'Marcellus', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 6px;
}
.busquedas-board__sub { font-size: 13px; color: var(--text2); margin-bottom: 22px; }
.busquedas-board__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  text-align: left;
}
.busqueda-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.busqueda-card__ref { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--silver-mid); letter-spacing: 0.05em; margin-bottom: 2px; }
.busqueda-card__type { font-family: 'Marcellus', serif; font-size: 15px; color: #fff; display: flex; align-items: center; gap: 6px; }
.busqueda-card__zone { font-size: 12.5px; color: var(--text2); display: flex; align-items: center; gap: 6px; }
.busqueda-card__budget { font-size: 12.5px; color: var(--silver-mid); }
.busqueda-card__rooms { font-size: 12px; color: var(--text2); display: flex; align-items: center; gap: 6px; }
.busqueda-card__notas { font-size: 12px; color: var(--text3); font-style: italic; margin-top: 2px; }
.busqueda-card__btn {
  margin-top: 10px;
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--silver-light);
  font-family: 'Jost', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: color 0.15s, border-color 0.15s;
}
.busqueda-card__btn:hover { color: #fff; border-color: #fff; }

.busquedas-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 0 0 32px; }
.busquedas-form-title {
  font-family: 'Marcellus', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 18px;
}

.respuesta-modal__hint { font-size: 12.5px; color: var(--text3); line-height: 1.6; margin-bottom: 1rem; }
#respuestaForm textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: var(--surface2);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  resize: vertical;
  outline: none;
}
#respuestaForm textarea:focus { border-color: var(--silver-mid); }

.btn-busqueda {
  margin-top: 18px;
  padding: 13px 28px;
  border: 1px solid #C0C0C0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #C0C0C0;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.btn-busqueda:hover { color: #E8E8E8; border-color: #E8E8E8; }
.btn-busqueda:disabled { opacity: 0.5; cursor: not-allowed; }

.busqueda-result { margin-top: 28px; text-align: left; }
.busqueda-result .bq-thanks { color: #fff; font-size: 14px; text-align: center; margin-bottom: 16px; }

@media (max-width: 700px) {
  .busq-grid { grid-template-columns: 1fr; }
}
/* ===================== HOME / COVER PAGE ===================== */
.home-cover { text-align: center; padding: 120px 24px 96px; max-width: 900px; margin: 0 auto; }
.home-cover__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6A6A6A;
  margin-bottom: 20px;
}
.home-cover h1 {
  font-family: 'Marcellus', serif;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 400;
  line-height: 1.28;
  color: #1A1A1A;
  margin-bottom: 24px;
  letter-spacing: 0.2px;
}
.home-cover__sub { font-size: 16px; line-height: 1.75; color: #4A4A4A; max-width: 600px; margin: 0 auto 42px; }
.home-cover__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* CTA principal — único elemento con aspecto de "botón real" en la página:
   contorno fino y transparente, esquinas apenas redondeadas.
   Variante por defecto: tono oscuro, para los fondos claros donde vive
   la mayoría de estos botones (home-cover, formularios, filas de servicio).
   El plata claro (#C0C0C0) queda casi invisible ahí — se reserva como
   variante para fondos oscuros, ver .svc-cta más abajo. */
.btn-cover-primary,
.btn-cover-outline {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  border: 1px solid #4A4A4A;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #4A4A4A;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  opacity: 1;
  transition: color 0.15s, border-color 0.15s;
}
.btn-cover-primary:hover,
.btn-cover-outline:hover {
  color: #1A1A1A;
  border-color: #1A1A1A;
}

/* Variante fondo oscuro (ej. .svc-cta) — mismo estilo, tono plata original. */
.svc-cta .btn-cover-primary,
.svc-cta .btn-cover-outline {
  color: #F2F2F2;
  border-color: #F2F2F2;
}
.svc-cta .btn-cover-primary:hover,
.svc-cta .btn-cover-outline:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.home-pillars { background: var(--platinum-dark-gradient); padding: 68px 24px; }
.home-pillars__grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar { text-align: center; padding: 0 12px; }
.pillar__num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--silver-mid); letter-spacing: 0.1em; margin-bottom: 12px; }
.pillar h3 { font-family: 'Marcellus', serif; font-size: 1.15rem; font-weight: 400; color: #fff; margin-bottom: 10px; }
.pillar p { font-size: 13.5px; color: var(--text2); line-height: 1.65; }

@media (max-width: 760px) {
  .home-cover { padding: 84px 20px 64px; }
  .home-pillars__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===================== SERVICIOS ===================== */
.svc-hero { padding-bottom: 56px; }
.svc-hero .home-cover__eyebrow { margin-bottom: 16px; }

.svc-zigzag {
  /* width/max-width iguales a .props-zigzag/.dashboard (2026-09-24): mismo
     ancho de página en Servicios y Propiedades, con ~5% menos de margen que
     antes y un tope mayor para pantallas grandes (ver notas junto a .dashboard). */
  width: 90%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 0 60px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.svc-zigzag__row {
  display: flex;
  align-items: center;
  gap: 56px;
}
.svc-zigzag__row:nth-child(even) { flex-direction: row-reverse; }

.svc-zigzag__media {
  flex: 0 0 44%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--platinum-gradient);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.svc-zigzag__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-zigzag__media--placeholder { display: flex; align-items: center; justify-content: center; color: #A0A0A0; font-size: 2.5rem; }

.svc-zigzag__content { flex: 1 1 auto; min-width: 0; }
.svc-zigzag__num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #6A6A6A;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.svc-zigzag__content h3 { font-family: 'Marcellus', serif; font-size: 1.6rem; font-weight: 400; color: #1A1A1A; margin-bottom: 8px; }
.svc-zigzag__tagline { font-size: 14.5px; color: #6A6A6A; font-style: italic; margin-bottom: 22px; }
/* max-width: mismo tope de legibilidad que .props-zigzag__desc, para pantallas muy anchas. */
.svc-zigzag__list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 30px; max-width: 580px; }
.svc-zigzag__list li {
  font-size: 14px;
  color: #3A3A3A;
  line-height: 1.5;
  padding-left: 17px;
  position: relative;
}
.svc-zigzag__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #A0A0A0;
}

@media (max-width: 860px) {
  .svc-zigzag { gap: 64px; }
  .svc-zigzag__row,
  .svc-zigzag__row:nth-child(even) {
    flex-direction: column;
    /* mismo bug que en .props-zigzag: sin esto el texto se encoge a su contenido
       y queda centrado en vez de ir borde a borde con la foto (2026-09-24). */
    align-items: stretch;
    gap: 28px;
  }
  .svc-zigzag__media { flex: none; width: 100%; aspect-ratio: 16 / 10; }
}

.svc-cta {
  background: var(--platinum-dark-gradient);
  padding: 72px 24px;
  text-align: center;
}
.svc-cta__inner { max-width: 560px; margin: 0 auto; }
.svc-cta .home-cover__eyebrow { color: #9A9A9A; }
.svc-cta h2 { font-family: 'Marcellus', serif; font-size: 1.7rem; font-weight: 400; color: #fff; margin: 6px 0 12px; }
.svc-cta p { font-size: 14px; color: var(--text2); margin-bottom: 28px; line-height: 1.6; }

.svc-collab-line {
  width: 85%;
  max-width: 720px;
  margin: 72px auto 96px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}
.svc-collab-line p { font-size: 13px; color: #6A6A6A; margin: 0; }
.svc-collab-line button {
  background: none;
  border: none;
  padding: 0;
  color: #6A6A6A;
  font-family: 'Jost', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s;
}
.svc-collab-line button:hover { color: #1A1A1A; }

@media (max-width: 640px) {
  .svc-list { width: 90%; }
  .svc-collab-line { width: 90%; flex-direction: column; gap: 6px; }
}

/* ===================== SOBRE MÍ ===================== */
.about-epigraph {
  max-width: 700px;
  margin: 0 auto;
  padding: 90px 24px 70px;
  text-align: center;
}
.about-epigraph p {
  font-family: 'Marcellus', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #4A4A4A;
  margin-bottom: 20px;
}
.about-epigraph p:last-child { margin-bottom: 0; }

.about-main { width: 85%; max-width: 1200px; margin: 0 auto; padding: 20px 0 90px; }
.about-main__inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(0,0,0,0.25);
  position: sticky;
  top: 100px;
}
.about-photo img { width: 100%; height: auto; display: block; }

.about-text h1 {
  font-family: 'Marcellus', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #1A1A1A;
  margin-bottom: 24px;
}
.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #3A3A3A;
  margin-bottom: 20px;
}
.about-text p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .about-epigraph { padding: 64px 24px 50px; }
  .about-epigraph p { font-size: 0.95rem; }
  .about-main { width: 90%; }
  .about-main__inner { grid-template-columns: 1fr; gap: 30px; }
  .about-photo { max-width: 320px; margin: 0 auto; position: static; }
}

/* ===================== ACCESO EXCLUSIVO ===================== */
.exc-form-section {
  max-width: 460px;
  margin: 0 auto;
  padding: 20px 24px 100px;
}
.exc-form { display: flex; flex-direction: column; gap: 16px; }
.exc-form textarea { resize: vertical; }
#excResult { color: #3A3A3A; font-size: 14.5px; line-height: 1.7; text-align: center; }

/* ---- Lista de propiedades privadas (acceso-exclusivo.html) ---- */
.exc-props-list { max-width: 460px; margin: 0 auto; padding: 0 24px 20px; }
.exc-props-list h2 { font-family: 'Marcellus', serif; font-size: 1.3rem; font-weight: 400; color: #1A1A1A; margin-bottom: 8px; text-align: center; }
.exc-props-list__note { font-size: 13px; color: #6A6A6A; line-height: 1.5; text-align: center; margin-bottom: 16px; }
.exc-props-list__all { display: flex; align-items: center; gap: 8px; font-size: 13px; text-transform: none; letter-spacing: normal; font-weight: 400; color: #4A4A4A; cursor: pointer; margin-bottom: 12px; }
.exc-prop-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0.0625rem solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  transition: border-color 0.2s, background 0.2s;
}
.exc-prop-row:hover, .exc-prop-row.is-highlighted { border-color: rgba(0,0,0,0.28); background: rgba(255,255,255,0.55); }
.exc-prop-row input { flex-shrink: 0; margin-top: 2px; }
.exc-prop-row__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.exc-prop-row__info strong { font-family: 'Marcellus', serif; font-size: 14px; font-weight: 400; color: #1A1A1A; }
.exc-prop-row__zone, .exc-prop-row__specs { font-size: 12px; color: #6A6A6A; }
.exc-prop-row__price { font-family: 'Marcellus', serif; font-size: 14px; color: #1A1A1A; white-space: nowrap; }

/* ===================== PÁGINAS LEGALES (Aviso Legal / Privacidad / Cookies) ===================== */
.legal-page { width: 88%; max-width: 760px; margin: 0 auto; padding: 70px 0 100px; }
.legal-page h1 { font-family: 'Marcellus', serif; font-size: 1.9rem; font-weight: 400; color: #1A1A1A; margin-bottom: 6px; }
.legal-page .legal-updated { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #6A6A6A; letter-spacing: 0.05em; margin-bottom: 40px; }
.legal-page h2 { font-family: 'Marcellus', serif; font-size: 1.2rem; font-weight: 400; color: #1A1A1A; margin: 36px 0 12px; }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p { font-size: 14.5px; line-height: 1.8; color: #3A3A3A; margin-bottom: 14px; }
.legal-page ul { margin: 0 0 14px; padding-left: 20px; }
.legal-page li { font-size: 14.5px; line-height: 1.8; color: #3A3A3A; margin-bottom: 8px; }
.legal-page strong { color: #1A1A1A; font-weight: 600; }
.legal-page a { color: #4A4A4A; text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: #1A1A1A; }
.legal-page .legal-placeholder { color: #A33C3C; font-weight: 500; }
.legal-page table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 13.5px; }
.legal-page th, .legal-page td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(0,0,0,0.1); color: #3A3A3A; vertical-align: top; }
.legal-page th { color: #1A1A1A; font-weight: 600; }
[data-lang-block][hidden] { display: none; }

@media (max-width: 700px) {
  .legal-page { padding: 56px 0 80px; }
}

/* ===================== BRAND DIVIDER (reutilizabil) ===================== */
/* Linie subțire, argintie — folosită între secțiuni când un bloc întreg de
   culoare ar fi prea mult, dar tot trebuie o separare vizuală clară. */
.brand-divider {
  height: 1px;
  max-width: 300px;
  margin: 0 auto;
  background: var(--silver-gradient);
  opacity: 0.4;
}

/* ---- Formular "Solicitar un servicio" (servicios.html) ---- */
.req-intro { font-size: 14px; color: var(--text2); line-height: 1.6; margin: 0 0 1.25rem; }
.req-grid select.form-select { appearance: auto; }
.req-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 1.25rem; padding: 10px 12px; border: 1px solid transparent; border-radius: var(--radius-sm); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--text2); cursor: pointer; }
.req-consent input { margin-top: 3px; flex-shrink: 0; }
.req-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.req-consent-note { margin: 10px 0 0; padding: 0 12px; font-size: 13px; line-height: 1.5; color: var(--text2); }
/* .req-consent normalmente vive en fondos oscuros (modales, tablero de búsquedas).
   En acceso-exclusivo.html el formulario está sobre el fondo claro de .exc-form-section. */
.exc-form-section .req-consent { color: #4A4A4A; }
.req-error { margin: 1rem 0 0; font-size: 13px; color: #E07A7A; }
.req-invalid { border-color: #E07A7A !important; }
.req-done { text-align: center; padding: 2rem 1.5rem; }
.req-done h3 { font-family: 'Marcellus', serif; font-size: 1.4rem; font-weight: 400; color: var(--text); margin: 0 0 10px; }
.req-done p { font-size: 14px; color: var(--text2); line-height: 1.6; margin: 0 0 1.5rem; }
.req-done__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.req-done__actions a.btn { text-decoration: none; display: inline-block; }
@media (max-width: 560px) { .req-grid { grid-template-columns: 1fr; } }

/* Turnstile (formularios publicos): centrado, con aire arriba/abajo */
.req-turnstile { display: flex; justify-content: center; margin: 1rem 0; min-height: 65px; }

/* ===================== GUÍA "TU NUEVO HOGAR" (tu-nuevo-hogar.html) ===================== */
.guide { width: 88%; max-width: 760px; margin: 0 auto; padding: 0 0 96px; }
/* menú de anclas: <div role="navigation">, no <nav> (la regla global de `nav` le ponía fondo oscuro) */
.guide-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin-bottom: 48px; }
/* enlaces de texto (guía, bloque "Amuebla esta casa", tarjeta de Servicios): 12px arriba/abajo = zona táctil ≥ 44px */
.guide-nav a,
.furnish__links a,
.guide-more a,
.guide-cta__link,
.svc-extra__link {
  display: inline-block; padding: 12px 0; font-size: 14px; color: #4A4A4A;
  text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s;
}
.guide-nav a:hover, .furnish__links a:hover, .guide-more a:hover, .guide-cta__link:hover, .svc-extra__link:hover { color: #1A1A1A; }

/* las anclas quedan por debajo del header fijo */
.guide-section, .guide-room, .guide-cta { scroll-margin-top: calc(var(--header-height, 84px) + 16px); }
.guide-section { padding: 48px 0; border-top: 1px solid rgba(0,0,0,0.12); }
.guide-section h2, .guide-cta h2 { font-family: 'Marcellus', serif; font-size: 1.6rem; font-weight: 400; line-height: 1.3; color: #1A1A1A; margin-bottom: 16px; }
.guide-section h3 { font-family: 'Marcellus', serif; font-size: 1.2rem; font-weight: 400; color: #1A1A1A; margin: 32px 0 16px; }
.guide-section > p, .guide-cta > p { font-size: 14.5px; line-height: 1.8; color: #3A3A3A; margin-bottom: 16px; }
.guide-section .svc-zigzag__list { margin-bottom: 0; max-width: none; }
.guide-section .svc-zigzag__list li { line-height: 1.6; }
.guide-room { margin-top: 48px; }
.guide-room h3 { font-size: 1.35rem; margin: 0 0 8px; }
.guide-room .svc-zigzag__tagline { margin-bottom: 24px; }
.guide-more { margin: 24px 0 0; }
.guide-section > .guide-more { margin-bottom: 0; }

.guide-photo {
  margin: 32px 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--platinum-gradient); box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.guide-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* sin foto todavía: panel plata con un icono de línea (ver comentario REPLACE WITH OWN PHOTO en el HTML) */
.guide-photo--placeholder { aspect-ratio: 16 / 5; display: flex; align-items: center; justify-content: center; color: #4A4A4A; border: 1px solid rgba(0,0,0,0.12); box-shadow: none; }
.guide-photo--placeholder svg { width: 64px; height: 64px; }

.guide-cta { border-top: 1px solid rgba(0,0,0,0.12); padding-top: 48px; text-align: center; }
.guide-cta > p { max-width: 520px; margin-left: auto; margin-right: auto; }
.guide-cta .btn-cover-primary { margin-top: 8px; }
.guide-cta > p:last-child { margin: 8px auto 0; }

@media (max-width: 768px) {
  .guide { padding-bottom: 64px; }
  .guide-nav { margin-bottom: 32px; gap: 0 16px; }
  .guide-section { padding: 32px 0; }
  .guide-room { margin-top: 32px; }
  .guide-photo { margin: 24px 0; aspect-ratio: 4 / 3; }
  .guide-photo--placeholder { aspect-ratio: 16 / 7; }
  .guide-cta { padding-top: 32px; }
}

/* ===================== BLOQUE "AMUEBLA ESTA CASA" (ficha de propiedad) ===================== */
.furnish { margin-top: 32px; padding: 16px; border: 1px solid rgba(0,0,0,0.12); border-radius: var(--radius-sm); }
.furnish__title { font-family: 'Marcellus', serif; font-size: 1.15rem; font-weight: 400; color: #1A1A1A; margin-bottom: 8px; }
.furnish__text { font-size: 14px; line-height: 1.6; color: #4A4A4A; }
.furnish__links { display: flex; flex-wrap: wrap; gap: 0 24px; }

/* ===================== SERVICIOS — tarjeta estática "Muebles y decoración" ===================== */
.svc-extra {
  width: 88%; max-width: 720px; margin: 96px auto 0; padding: 32px 24px; text-align: center;
  border: 1px solid rgba(0,0,0,0.12); border-radius: var(--radius-sm);
}
.svc-extra .home-cover__eyebrow { margin-bottom: 16px; }
.svc-extra h2 { font-family: 'Marcellus', serif; font-size: 1.6rem; font-weight: 400; color: #1A1A1A; margin-bottom: 16px; }
.svc-extra__text { font-size: 14px; line-height: 1.6; color: #4A4A4A; max-width: 520px; margin: 0 auto 8px; }
@media (max-width: 768px) { .svc-extra { margin-top: 64px; } }
