/* ==========================================================================
   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; }
}

/* ==========================================================================
   Landing Standing Seam Sencilla — utilidades adicionales (no están en el Tailwind compilado)
   ========================================================================== */
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.text-right { text-align: right; }
.w-\[12\%\] { width: 12%; }
.bg-emerald-500\/15 { background-color: rgba(16, 185, 129, 0.15); }
.bg-slate-800\/70 { background-color: rgba(30, 41, 59, 0.7); }
.w-\[10\%\] { width: 10%; }

/* Texto dorado legible (reemplaza degradados de Tailwind que no existen en el CSS compilado) */
.lct-gold { background-image: linear-gradient(90deg, #8A5A05 0%, #A86E07 50%, #7A4E04 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
body:not(.light-theme) .lct-gold { background-image: linear-gradient(90deg, #FCD34D 0%, #F59E0B 50%, #FDE68A 100%); }

/* ==========================================================================
   Legibilidad (contraste WCAG AA) — ajustes por tema. No cambian el diseño.
   ========================================================================== */
/* Botones verdes de WhatsApp: texto oscuro sobre verde claro (ambos temas) */
.btn-whatsapp-header, .btn-whatsapp-header span { color: #052E16 !important; }
.btn-whatsapp-header svg { fill: #052E16 !important; }
a[class*="bg-[#25D366]"], a[class*="bg-[#25D366]"] span { color: #052E16 !important; }
a[class*="bg-[#25D366]"] svg { fill: #052E16 !important; }
#btn-nsr10-whatsapp { background-color: #047857 !important; }

/* ---------- TEMA CLARO ---------- */
.light-theme .btn-assembly-mode.active,
.light-theme .btn-cam-view.active,
.light-theme .btn-step-tour.bg-amber-500 { color: #070F1E !important; }
.light-theme .portfolio-card .absolute.bottom-2 { color: #0F172A !important; background: rgba(255,255,255,.92) !important; }
.light-theme .portfolio-card .bg-emerald-500,
.light-theme .portfolio-card .bg-brand-orange,
.light-theme .portfolio-card .bg-amber-500,
.light-theme .portfolio-card .bg-sky-500 { color: #0F172A !important; }
.light-theme .text-amber-300, .light-theme .text-amber-400 { color: #92400E !important; }
.light-theme .text-sky-300, .light-theme .text-sky-400 { color: #0369A1 !important; }
.light-theme .text-emerald-300, .light-theme .text-emerald-400 { color: #047857 !important; }
.light-theme .text-rose-300, .light-theme .text-rose-400, .light-theme [class*="text-rose-300/"] { color: #9F1239 !important; }
.light-theme [class*="text-emerald-300/"] { color: #065F46 !important; }
.light-theme #simulador-nsr10 .text-slate-500 { color: #475569 !important; }
.light-theme #viewer-info-card .text-amber-400 { color: #FBBF24 !important; }
.light-theme #viewer-info-card .text-slate-300 { color: #CBD5E1 !important; }
.light-theme footer .text-slate-400, .light-theme footer .text-slate-500,
.light-theme #hero-quote-form .text-slate-400, .light-theme #hero-quote-form .text-slate-500,
.light-theme #legal-modal .text-slate-400, .light-theme #legal-modal .text-slate-500,
.light-theme #nucleos .text-slate-400, .light-theme #nucleos .text-slate-500 { color: #475569 !important; }
.light-theme #legal-modal code { color: #92400E !important; }

/* ---------- TEMA OSCURO ---------- */
body:not(.light-theme) .lct-price small { color: #CBD5E1 !important; }
body:not(.light-theme) .lct-price span { color: #E2E8F0 !important; }
body:not(.light-theme) #amarres .bg-white p { color: #334155 !important; }
body:not(.light-theme) .text-slate-500 { color: #94A3B8 !important; }
body:not(.light-theme) footer .text-slate-600 { color: #94A3B8 !important; }
/* Titular dorado del hero algo más oscuro en tema claro (mismo estilo, mejor lectura) */
.light-theme .hero-h1-gold, body.light-theme .hero-h1-gold {
  background-image: linear-gradient(135deg, #7A4E04 0%, #9A6406 35%, #B47608 70%, #7A4E04 100%) !important;
}
body.light-theme #simulador-nsr10 p, body.light-theme #simulador-nsr10 p.text-slate-500 { color: #334155 !important; }
body.light-theme #simulador-nsr10 [class*="text-rose-300/"] { color: #9F1239 !important; }
body.light-theme #simulador-nsr10 [class*="text-emerald-300/"] { color: #065F46 !important; }
body.light-theme #guia-instalacion .text-slate-500, body.light-theme #guia-instalacion .text-slate-400 { color: #475569 !important; }
body.light-theme footer .text-slate-500, body.light-theme footer div { color: #475569; }
/* Ventana legal (fondo blanco en ambos temas) */
#legal-modal .text-slate-400, #legal-modal .text-slate-500 { color: #475569 !important; }
#legal-modal code { color: #92400E !important; }
/* Etiqueta "Despacho Frecuente" (fondo dorado) */
.portfolio-card .bg-brand-orange { color: #0F172A !important; }
/* Botones con verde WhatsApp escrito como valor arbitrario de Tailwind (no existe en el CSS compilado) */
a[class*="bg-[#25D366]"] { background-color: #25D366 !important; }
a[class*="bg-[#25D366]"]:hover { background-color: #20BD5A !important; }

/* ==========================================================================
   Sección "Propuesta de obra" (CTA técnicos) — ambos temas
   ========================================================================== */
.lct-prop { background: #F8FAFC; border-bottom: 1.5px solid #E2E8F0; }
.lct-prop-head { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.lct-prop-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: #FEF3C7; border: 1px solid #FCD34D; color: #78350F; font: 700 12px/1.2 'Inter', sans-serif;
  text-transform: uppercase; letter-spacing: .06em; }
.lct-prop-head h2 { margin: 16px 0 12px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; line-height: 1.15; color: #0B192C; }
.lct-prop-head p { font-size: 16px; line-height: 1.6; color: #334155; }
.lct-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lct-step { position: relative; background: #fff; border: 1px solid #E2E8F0; border-top: 3px solid #D5900D; border-radius: 14px;
  padding: 22px 20px; box-shadow: 0 6px 24px -8px rgba(15, 23, 42, .10); }
.lct-step-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px;
  background: #0B2240; color: #FCD34D; font: 800 16px/1 'Space Grotesk', sans-serif; margin-bottom: 12px; }
.lct-step h3 { font-size: 17px; font-weight: 800; color: #0B192C; margin-bottom: 6px; }
.lct-step p { font-size: 14px; line-height: 1.55; color: #475569; }
.lct-prop-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.lct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 22px;
  border-radius: 12px; font: 800 15px/1.2 'Space Grotesk', sans-serif; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.lct-btn:hover { transform: translateY(-2px); }
.lct-btn-wa { background: #25D366; color: #052E16 !important; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .6); }
.lct-btn-gold { background: linear-gradient(135deg, #F3C85A 0%, #D5900D 55%, #B47608 100%); color: #0F172A !important; box-shadow: 0 10px 24px -10px rgba(213, 144, 13, .6); }
.lct-btn-line { background: #fff; color: #0B192C !important; border: 2px solid #0B2240; }
.lct-facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 26px 0 0; padding: 0; }
.lct-facts li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #1E293B; }
.lct-facts li svg, .lct-facts li i { color: #047857; }

body:not(.light-theme) .lct-prop { background: #0B1220; border-bottom-color: #1E293B; }
body:not(.light-theme) .lct-prop-kicker { background: rgba(245, 158, 11, .12); border-color: rgba(245, 158, 11, .4); color: #FCD34D; }
body:not(.light-theme) .lct-prop-head h2 { color: #fff; }
body:not(.light-theme) .lct-prop-head p { color: #CBD5E1; }
body:not(.light-theme) .lct-step { background: #111B2E; border-color: #1E293B; border-top-color: #F59E0B; box-shadow: none; }
body:not(.light-theme) .lct-step-n { background: #F59E0B; color: #0B1220; }
body:not(.light-theme) .lct-step h3 { color: #fff; }
body:not(.light-theme) .lct-step p { color: #CBD5E1; }
body:not(.light-theme) .lct-btn-line { background: transparent; color: #F1F5F9 !important; border-color: #64748B; }
body:not(.light-theme) .lct-facts li { color: #E2E8F0; }
body:not(.light-theme) .lct-facts li svg, body:not(.light-theme) .lct-facts li i { color: #34D399; }

@media (max-width: 1023px) { .lct-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .lct-steps { grid-template-columns: 1fr; gap: 12px; }
  .lct-btn { width: 100%; }
  .lct-prop-head { margin-bottom: 28px; }
  .lct-step p, .lct-prop-head p { font-size: 15px !important; }
}
/* Campos nuevos del cotizador */
#hero-name::placeholder, #hero-email::placeholder { color: #64748B; opacity: 1; }

/* ---- Obras reales ---- */
.lct-obras { background: #fff; border-bottom: 1.5px solid #E2E8F0; }
.lct-obras-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lct-obra { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 6px 20px -10px rgba(15,23,42,.18); }
.lct-obra img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.lct-obra figcaption { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.lct-obra figcaption b { font: 800 14px/1.3 'Space Grotesk', sans-serif; color: #0B192C; }
.lct-obra figcaption span { font-size: 12.5px; line-height: 1.4; color: #475569; }
body:not(.light-theme) .lct-obras { background: #0F172A; border-bottom-color: #1E293B; }
body:not(.light-theme) .lct-obra { background: #111B2E; border-color: #1E293B; box-shadow: none; }
body:not(.light-theme) .lct-obra figcaption b { color: #fff; }
body:not(.light-theme) .lct-obra figcaption span { color: #CBD5E1; }
@media (max-width: 1023px) { .lct-obras-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lct-obras-grid { gap: 10px; } .lct-obra figcaption span { display: none; } .lct-obra figcaption b { font-size: 13px; } }

/* ==========================================================================
   SIN PÍLDORAS NI ANIMACIONES DECORATIVAS (pedido del cliente)
   ========================================================================== */
.lct-kicker, .lct-prop-kicker {
  display: inline-flex; align-items: center; gap: 6px; padding: 0; margin: 0;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  font: 700 12px/1.3 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .1em; color: #92400E;
}
body:not(.light-theme) .lct-kicker, body:not(.light-theme) .lct-prop-kicker { color: #FCD34D; }
.lct-kicker svg, .lct-kicker i { width: 14px; height: 14px; }
/* Sin animaciones automáticas (parpadeos, brillos, marquesinas, rebotes) */
*, *::before, *::after { animation: none !important; }
/* Sin saltos ni agrandados al pasar el mouse */
[class*="hover:scale"]:hover, [class*="hover:-translate"]:hover, [class*="active:scale"]:active,
.lct-btn:hover, .portfolio-card:hover img, .group:hover img { transform: none !important; }
