:root {
  /* Paleta oficial de Axis Real Estate — extraída por conteo de píxeles del logo real
     (0.png, gradiente dorado sobre negro), aplicada 2026-09-21. */
  --bg: #faf8f5;
  --surface: #f2ede6;
  --border: #e2dbd0;
  --text: #211f1c;
  --text-muted: #746c60;
  --dark: #050503;
  --accent: #c9a458;
  --accent-dark: #a9813e;
  --accent-light: #f8e3a8;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ea952;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  /* En iPhone, el "rebote" al pasarte del borde deja ver este color de fondo. */
  background: var(--dark);
}
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

.share-status {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.product-description {
  margin: 16px 0;
  line-height: 1.5;
  color: var(--text);
}

.product-description-list {
  margin: 16px 0;
  padding-left: 20px;
  line-height: 1.6;
  color: var(--text);
}

.product-description-list li {
  margin-bottom: 6px;
}

/* ---------- Header ---------- */
#siteHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,5,3,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a2620;
  transition: transform 0.3s ease;
}
#siteHeader.header-hidden { transform: translateY(-100%); }

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-link { display: flex; align-items: center; }
.logo-img { height: 38px; width: auto; }

#navToggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
#navToggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
}

#mainNav {
  display: flex;
  gap: 24px;
  margin-left: 32px;
  flex: 1;
}
#mainNav a {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e8dfd0;
}
#mainNav a:hover { color: var(--accent-light); }

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  text-align: center;
  transition: transform 0.12s ease;
}
.btn:active { transform: scale(0.96); }
.product-card:active { opacity: 0.9; }
.cat-chip:active { transform: scale(0.95); }
.btn-pill {
  background: var(--accent);
  color: #fff;
}
.btn-pill:hover { background: var(--accent-dark); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn-outline:hover { background: var(--text); color: #fff; }

.btn-block { display: block; text-align: center; }

/* ---------- Hero: franja de marca estática (logo + bio de Instagram) ---------- */
#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  background: var(--dark);
}
@media (max-width: 640px) {
  /* El primer momento de marca ocupa la pantalla completa del celular al abrir el sitio. */
  #hero {
    min-height: 100dvh;
    padding-top: calc(64px + env(safe-area-inset-top));
  }
}

.hero-logo {
  height: 96px;
  width: auto;
  margin-bottom: 24px;
}

.hero-content { max-width: 560px; }

.hero-tagline {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #f3ecdf;
  margin: 0 0 10px;
  line-height: 1.4;
}

.hero-highlight {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-gold {
  background: var(--accent);
  color: #1a1408;
}
.btn-gold:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Bienvenida personalizada ---------- */
#bienvenida {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 0;
}

.welcome-greeting {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
}

.welcome-message {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 20px;
}

.coming-soon-banner {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Novedades ---------- */
#novedades {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 0;
}

.novedades-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.novedades-grid::-webkit-scrollbar { display: none; }

.novedad-card {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.novedad-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.novedad-thumb {
  aspect-ratio: 4 / 3;
  background: var(--surface);
  overflow: hidden;
}
.novedad-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 960px) {
  .novedad-card { width: 320px; }
}

/* ---------- Catalog ---------- */
#catalogo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 20px 120px;
}
@media (max-width: 640px) {
  /* Las fotos del catálogo tocan el borde de la pantalla; solo el texto conserva margen. */
  #catalogo { padding-left: 0; padding-right: 0; }
  #catalogo .section-title,
  #catalogo .catalog-search,
  #catalogo .category-bar,
  #catalogo .search-empty { padding-left: 20px; padding-right: 20px; }
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 20px;
}

.catalog-search {
  display: block;
  width: 100%;
  padding: 14px 4px;
  margin-bottom: 28px;
  border: none;
  border-bottom: 1.5px solid var(--border);
  border-radius: 0;
  font-size: 15px;
  letter-spacing: 0.02em;
  font-family: inherit;
  background: transparent;
  color: var(--text);
  transition: border-color 0.2s ease;
}
.catalog-search:focus {
  outline: none;
  border-color: var(--accent);
}

.search-empty {
  color: var(--text-muted);
  padding: 24px 0;
  text-align: center;
}

/* ---------- Pantalla de inicio de sesión ---------- */
.login-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  padding: 24px;
}

.login-box {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.login-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.login-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.login-subtitle {
  color: var(--text-muted);
  margin: 0 0 8px;
  font-size: 14px;
}

.login-input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
.login-input:focus {
  outline: none;
  border-color: var(--text-muted);
}

.login-error {
  color: #c0392b;
  font-size: 13px;
  margin: 0;
}

#logoutLink { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
#changeAvatarLink { cursor: pointer; }

.nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.avatar-preview {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 8px;
  border: 1px solid var(--border);
}

.category-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 28px;
  scrollbar-width: none;
}
.category-bar::-webkit-scrollbar { display: none; }

.cat-chip {
  flex: 0 0 auto;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.cat-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Grilla estilo "Christie's International Real Estate": foto limpia + panel blanco abajo */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.product-card {
  cursor: pointer;
}

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  overflow: hidden;
  border-radius: 12px;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.04); }
.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}

.card-icon-row {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.card-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.card-icon-btn svg { width: 15px; height: 15px; }
.card-icon-btn-active { color: var(--whatsapp-dark); }
.card-icon-btn-copied { color: var(--whatsapp-dark); }

.featured-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 999px;
}

.card-info { padding: 14px 2px 0; }
.card-price {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 4px;
}
.card-specs {
  font-size: 13px;
  color: var(--text);
  margin: 0 0 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.card-specs span:not(:last-child)::after { content: "·"; margin: 0 6px; color: var(--border); }
.card-address {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.4;
}

/* ---------- Product detail ---------- */
#productView {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--text-muted);
}
.back-link:hover { color: var(--text); }

.product-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  margin: 4px 0 24px;
}

.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 12px;
  cursor: zoom-in;
}
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 62vh;
  min-height: 340px;
  max-height: 720px;
  object-fit: cover;
  scroll-snap-align: start;
  background: var(--surface);
}
.gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.gallery-dot.active { background: #fff; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5,5,3,0.96);
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
.lightbox-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.lightbox-track::-webkit-scrollbar { display: none; }
.lightbox-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  scroll-snap-align: start;
}
.lightbox-close {
  position: absolute;
  top: calc(20px + env(safe-area-inset-top));
  right: 24px;
  z-index: 3;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.specs-row-icons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 14px;
}
.spec-icon-item { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.spec-icon-item svg { color: var(--accent); flex-shrink: 0; }

.sticky-cta-bar {
  display: none;
}
@media (max-width: 640px) {
  .detail-buttons-desktop { display: none; }
  .sticky-cta-bar {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(250,248,245,0.97);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
  }
  .sticky-cta-bar .btn { flex: 1; text-align: center; }
  #productView { padding-bottom: 90px; }
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 28px;
}
.gallery-thumb {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  flex: 0 0 auto;
}
.gallery-thumb.active { border-color: var(--accent); }

.gallery-empty {
  padding: 80px 20px;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 15px;
}

.not-found { padding: 60px 20px; text-align: center; }

/* ---------- Footer ---------- */
#siteFooter {
  background: var(--dark);
  border-top: 1px solid #2a2620;
  padding: 48px 20px;
  text-align: center;
  color: #e8dfd0;
}
.footer-logo { height: 44px; margin: 0 auto 14px; }
.footer-tagline { color: #b8ad98; font-size: 14px; margin: 0 0 18px; }
.footer-whatsapp {
  display: inline-block;
  font-weight: 700;
  color: var(--whatsapp-dark);
  margin-bottom: 18px;
}
.footer-copy { font-size: 12px; color: #7a715f; margin: 0; }

/* ---------- Mobile nav ---------- */
@media (max-width: 760px) {
  #navToggle { display: flex; }
  #mainNav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 0;
  }
  #mainNav.open { display: flex; }
  #mainNav a { padding: 14px 20px; border-bottom: 1px solid var(--border); }
  .header-inner .btn-pill { display: none; }
  #heroTitle { font-size: 26px; }
}


/* ---------- Axis: extensiones para inmobiliaria ---------- */
.logo-text { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: 0.03em; color: var(--dark); }
.logo-text span { color: var(--accent); }
.price-tag { font-size: 15px; font-weight: 800; color: var(--dark); margin: 0 12px 2px; }
.specs-row { display:flex; gap:10px; margin: 0 12px 14px; color: var(--text-muted); font-size: 12px; flex-wrap: wrap; }

.admin-wrap { max-width: 720px; margin: 0 auto; padding: 24px 20px 80px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.admin-title { font-size: 22px; font-weight: 700; margin: 0; }
.admin-back { font-size: 14px; color: var(--text-muted); }
.admin-card { background: #fff; border-radius: var(--radius); padding: 18px; margin-bottom: 20px; border: 1px solid var(--border); }
.admin-card h2 { font-size: 16px; margin: 0 0 12px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.form-row input, .form-row select, .form-row textarea {
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--text);
}
.form-row textarea { resize: vertical; min-height: 70px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
.photo-drop {
  border: 2px dashed var(--border); border-radius: var(--radius); padding: 20px;
  text-align: center; color: var(--text-muted); font-size: 14px; cursor: pointer;
}
.photo-preview-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.photo-preview { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); }
.admin-list-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.admin-list-row:last-child { border-bottom: none; }
.admin-list-thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--surface); flex-shrink: 0; }
.admin-list-info { flex: 1; }
.admin-list-info strong { display: block; }
.admin-list-info span { color: var(--text-muted); font-size: 12px; }
.admin-list-actions { display: flex; gap: 8px; }
.btn-small { padding: 6px 12px; font-size: 12px; }
.btn-danger { background: #fff; color: #c0392b; border: 1.5px solid #c0392b; }
.btn-danger:hover { background: #c0392b; color: #fff; }
.form-status { font-size: 13px; margin-top: 10px; }
.form-status.ok { color: var(--whatsapp-dark); }
.form-status.err { color: #c0392b; }

/* Aparición suave al hacer scroll (propuesta A: pulido premium) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Propuesta B: franja de historia de marca (textos genéricos, sin cifras inventadas) */
#porque {
  max-width: 1000px;
  margin: 0 auto;
  padding: 90px 24px 40px;
  text-align: center;
}
.porque-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 48px;
}
.porque-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 720px) {
  .porque-grid { grid-template-columns: repeat(3, 1fr); }
}
.porque-icon {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.porque-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}
.porque-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.porque-seller-cta {
  margin: 48px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}
.porque-seller-cta a {
  color: var(--accent-dark);
  font-weight: 700;
  border-bottom: 1px solid var(--accent);
}

/* Carga elegante del catálogo (en vez de pantalla en blanco) */
.skeleton-card {
  aspect-ratio: 3 / 4;
  background: linear-gradient(100deg, var(--surface) 30%, #e9e2d6 50%, var(--surface) 70%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  from { background-position: 150% 0; }
  to { background-position: -50% 0; }
}

/* Formulario corto de "Solicitar información" en la ficha de propiedad */
.lead-form-box {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.lead-form-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-muted);
}
.lead-form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.lead-form-row input {
  flex: 1;
  min-width: 140px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
.lead-form-row input:focus { outline: none; border-color: var(--accent); }

/* Panel de seguimiento de leads (CRM ligero) */
.lead-stage-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.lead-tab {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
}
.lead-tab.active {
  background: var(--dark);
  color: var(--accent-light);
  border-color: var(--dark);
}
.lead-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.lead-card.lead-overdue { border-color: #c0392b; }
.lead-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.lead-card-top strong { display: block; font-family: var(--font-display); font-size: 16px; }
.lead-phone { color: var(--text-muted); font-size: 13px; }
.lead-stage-select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 13px;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--text);
}
.lead-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
  margin: 8px 0;
}
.lead-wa-link { color: var(--whatsapp-dark); font-weight: 600; }
.lead-notes {
  width: 100%;
  min-height: 60px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text);
  resize: vertical;
}
.lead-card-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.lead-card-bottom input[type="date"] {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 6px;
  font-family: var(--font-body);
  font-size: 13px;
}
.lead-overdue-tag {
  background: #c0392b;
  color: #fff;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
}
