/* ==========================================================================
   LA CASA DE LAS TEJAS — Ajustes para campaña (solo celular + precio)
   En computador (1024 px o más) el diseño no cambia.
   ========================================================================== */

/* Precio de referencia en el inicio (mismo lenguaje dorado de la marca) */
.lct-price {
  display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  margin-top: 4px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid rgba(213, 144, 13, 0.45); border-left: 3px solid #D5900D;
  background: rgba(213, 144, 13, 0.07);
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: #334155;
}
.lct-price b { font-size: 20px; font-weight: 800; color: #0B192C; letter-spacing: -0.01em; }
.lct-price small { font-size: 12px; color: #64748B; }
body:not(.light-theme) .lct-price { color: #CBD5E1; background: rgba(245, 158, 11, 0.08); }
body:not(.light-theme) .lct-price b { color: #FCD34D; }
body:not(.light-theme) .lct-price small { color: #94A3B8; }

/* Barra fija de celular: WhatsApp + Llamar */
#lct-bar { display: none; }
@media (max-width: 1023px) {
  /* Una sola versión en celular: se ocultan los botones de cambio de tema */
  a[href="index-dark.html"], a[href="index.html"].theme-corner-btn, a[href="index.html"].theme-nav-pill { display: none !important; }

  #lct-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 98;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid #E2E8F0;
    box-shadow: 0 -8px 24px -12px rgba(11, 25, 44, 0.3);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transform: translateY(110%); transition: transform .25s ease;
  }
  #lct-bar.is-on { transform: translateY(0); }
  #lct-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px;
    font: 800 15px/1 'Space Grotesk', sans-serif; text-decoration: none;
  }
  #lct-bar svg { width: 20px; height: 20px; }
  #lct-bar .lct-wa { background: #25D366; color: #06281A; }
  #lct-bar .lct-call { background: linear-gradient(135deg, #F3C85A 0%, #D5900D 55%, #B47608 100%); color: #0F172A; }

  #wa-fab { display: none !important; }            /* la barra lo reemplaza en celular */
  footer { padding-bottom: 96px !important; }
  #cookie-consent-banner { bottom: 84px !important; }
}
@media (prefers-reduced-motion: reduce) { #lct-bar { transition: none; } }

/* ---- Legibilidad de tipografía en celular (no afecta computador) ---- */
@media (max-width: 640px) {
  .text-\[10px\] { font-size: 11.5px !important; }
  .text-\[11px\] { font-size: 12.5px !important; }
  .text-xs { font-size: 13px !important; line-height: 1.55 !important; }
  section p, .accordion-content p { font-size: 15px !important; line-height: 1.6 !important; }
  section li { font-size: 14px !important; }
  .lx-lead, p.lx-lead { font-size: 16px !important; }
}

/* ---- Accesibilidad: áreas táctiles y contraste ---- */
footer a[data-legal-modal], footer .f-bottom a, footer a[href*="sic.gov.co"] {
  display: inline-block; min-height: 24px; padding: 4px 2px; line-height: 1.4;
}
.lct-price small { color: #475569 !important; }


/* ==== FONDO HERO TENUE (no invasivo, se lee bien el título) ==== */
#hero-cad-canvas-container { opacity: 0.15 !important; }
@media (max-width: 1023px) {
  #hero-cad-canvas-container { opacity: 0.10 !important; }
}
