/* ============================================================
   Impermeabilizaciones Uruguay — hoja única
   Paleta (config/sitio.json → :root inline en head.php):
   --primario #2B2B2E (gris oscuro) · --carbon #1E1E20 · --acento #D7262B (rojo del logo, 23/10/2026)
   ============================================================ */
/* Tipografía de texto: Poppins (SIL OFL), autoalojada (subset latin: 400, 400 cursiva, 500, 600, 700). */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Tipografía de títulos: Barlow Condensed (SIL OFL), autoalojada en public/fonts/ (subset latin, 3 pesos). */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --primario: #2B2B2E;
  --primario-osc: #1E1E20;
  --primario-claro: #F1F1F1;
  --carbon: #1E1E20;
  --gris: #545454;
  --gris-claro: #E5E5E5;
  --fondo: #F5F5F5;
  --blanco: #fff;
  --acento: #D7262B;
  --acento-osc: #A81C20;
  --wsp: #D7262B;      /* botones de WhatsApp en el rojo de la marca (el flotante sigue verde, ver cabecera-hero.css) */
  --wsp-osc: #A81C20;
  --urgencia: #C0392B;
  --radio: 12px;
  --sombra: 0 6px 24px rgba(24, 24, 24, .10);
  --header-h: 66px;
  --fondo-header: var(--primario);   /* fondo del header y del bloque "Cómo funciona" */
  --fuente: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fuente-titulos: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--fuente); background: var(--fondo); color: var(--carbon); line-height: 1.65; font-size: 1rem; padding-top: var(--header-h); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primario); }
a:hover { color: var(--primario-osc); }
h1, h2, h3, h4, h5, h6 { font-family: var(--fuente-titulos); line-height: 1.1; color: var(--carbon); font-weight: 700; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 2.2rem 0 .8rem; }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); margin: 1.6rem 0 .5rem; font-weight: 600; }
p, ul, ol { margin-bottom: 1rem; }
.in { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--acento); color: #fff; padding: .5rem 1rem; z-index: 2000; }
.skip:focus { left: 1rem; top: 1rem; }
code { background: var(--gris-claro); padding: .1em .35em; border-radius: 4px; font-size: .9em; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; transition: background .2s, color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-wsp { background: var(--wsp); color: #fff; font-family: var(--fuente-titulos); font-weight: 600; font-size: 1.2rem; letter-spacing: .02em; text-transform: none; padding: .7rem 1.4rem .7rem 1.1rem; gap: .6rem; }
.btn-wsp svg { flex: 0 0 auto; width: 22px; height: 22px; }
.btn-wsp.btn-grande { font-size: 1.4rem; padding: .85rem 1.7rem .85rem 1.3rem; }
.btn-wsp.btn-grande svg { width: 26px; height: 26px; }
.btn-wsp.btn-header { font-size: 1.05rem; padding: .5rem 1rem .5rem .8rem; }
.btn-wsp.btn-footer { font-size: 1.05rem; padding: .5rem 1rem .5rem .8rem; margin: .2rem 0 .6rem; }
/* Secundario del hero: misma forma que el de WhatsApp, transparente con borde, flecha a la derecha */
.btn.btn-sec-hero { background: transparent; color: #fff; border: 2px solid #fff; font-family: var(--fuente-titulos); font-weight: 600; font-size: 1.4rem; letter-spacing: .02em; padding: .85rem 1.3rem .85rem 1.7rem; gap: .6rem; }
.btn-sec-hero svg { flex: 0 0 auto; width: 24px; height: 24px; transition: transform .2s; }
.btn-sec-hero:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-sec-hero:hover svg { transform: translate(2px, -2px); }
.btn-wsp:hover { background: var(--wsp-osc); color: #fff; }
.btn-primario { background: var(--primario); color: #fff; }
.btn-primario:hover { background: var(--primario-osc); color: #fff; }
.btn-sec { background: transparent; color: var(--primario); border-color: var(--primario); }
.btn-sec:hover { background: var(--primario-claro); }
.btn-urgencia { background: var(--urgencia); color: #fff; }
.btn-urgencia:hover { background: #962D22; color: #fff; }
.btn-grande { padding: 1rem 1.7rem; font-size: 1.08rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
/* Header estilo pintor.uy en css/cabecera-hero.css (23/10/2026). */

/* ---------- Flotantes ---------- */
/* ---------- Flotante de WhatsApp: sin sombras, con pulso y estado ---------- */
.flotante { position: fixed; right: 1rem; bottom: 1rem; z-index: 900; display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; }
.flotante a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: #fff; border-radius: 999px; font-weight: 700; }
.flotante-tel { background: var(--primario); width: 52px; height: 52px; justify-content: center; display: none !important; }
.flotante-wsp-wrap { position: relative; display: flex; align-items: center; gap: .6rem; }
/* El botón: verde pleno, anillo que late */
.btn-wsp.flotante-wsp { position: relative; z-index: 1; font-size: 1.15rem; padding: .8rem 1.3rem .8rem 1.05rem; box-shadow: none; transition: transform .2s, background .2s; }
.btn-wsp.flotante-wsp::before,
.btn-wsp.flotante-wsp::after { content: ""; position: absolute; inset: 0; border-radius: 999px; border: 2px solid var(--wsp); opacity: 0; z-index: -1; animation: latido 2.4s ease-out infinite; }
.btn-wsp.flotante-wsp::after { animation-delay: 1.2s; }
.btn-wsp.flotante-wsp:hover { transform: scale(1.04); background: var(--wsp-osc); }
.btn-wsp.flotante-wsp svg { animation: saludo 2.4s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes latido { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes saludo { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-12deg); } 86% { transform: rotate(10deg); } 94% { transform: rotate(-6deg); } }
/* Burbuja de estado (online / fuera de horario) */
.flotante-estado { display: inline-flex; align-items: center; gap: .55rem; background: #fff; color: var(--carbon); border: 1px solid var(--gris-claro); border-radius: 999px; padding: .5rem .9rem .5rem .7rem; font-size: .88rem; line-height: 1.15; white-space: nowrap; animation: aparecer .4s ease-out both; }
.flotante-estado[hidden] { display: none; }
.flotante-estado b { display: block; font-weight: 600; }
.flotante-estado small { display: block; color: var(--gris); font-size: .78rem; }
.flotante-punto { width: 10px; height: 10px; border-radius: 50%; background: var(--wsp); flex: 0 0 auto; position: relative; }
.flotante-punto::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--wsp); opacity: 0; animation: latido 2.4s ease-out infinite; }
@keyframes aparecer { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.flotante-estado { transition: opacity .35s ease, transform .35s ease, visibility 0s linear 0s; }
.flotante-estado.retirada { opacity: 0; transform: translateX(8px); visibility: hidden; transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; pointer-events: none; }
@media (max-width: 760px) { .flotante-estado.retirada { transform: translateY(6px); } }
@media (max-width: 760px) {
  .flotante-tel { display: inline-flex !important; }
  .flotante-wsp span { display: none; }
  .flotante-wsp { width: 58px; height: 58px; justify-content: center; padding: 0 !important; }
  .flotante-wsp svg { width: 30px; height: 30px; }
  .flotante-wsp-wrap { flex-direction: column; align-items: flex-end; gap: .45rem; }   /* en celular, la burbuja va encima del botón */
  .flotante-estado { padding: .4rem .75rem .4rem .6rem; font-size: .84rem; }
  .flotante-estado small { display: none; }
}

/* ---------- Hero ---------- */
/* Hero y ruta de navegación estilo pintor.uy en css/cabecera-hero.css (23/10/2026). */
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--acento); }

/* ---------- Cuerpo / prosa ---------- */
.cuerpo { padding: 2.2rem 0 1rem; }
.prosa { max-width: 860px; }
.prosa > h2:first-child { margin-top: 0; }
.prosa p { max-width: 72ch; }
.prosa ul, .prosa ol { padding-left: 1.4rem; max-width: 72ch; }
.prosa li { margin-bottom: .35rem; }
.prosa blockquote { border-left: 4px solid var(--acento); background: #fff; padding: .9rem 1.2rem; border-radius: 0 var(--radio) var(--radio) 0; margin: 1.2rem 0; color: var(--gris); }
.prosa hr { border: 0; border-top: 1px solid var(--gris-claro); margin: 2rem 0; }
.prosa strong { color: var(--carbon); }
.tabla-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; border-radius: var(--radio); box-shadow: var(--sombra); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; }
th, td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--gris-claro); vertical-align: top; }
th { background: var(--primario-claro); color: var(--primario-osc); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
.figura { margin: 0 0 1.6rem; border-radius: var(--radio); overflow: hidden; background: var(--primario-claro); }
.figura img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.articulo-fecha { color: var(--gris); font-size: .9rem; }

/* CTA inline dentro del cuerpo */
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; background: #fff; border: 1px solid var(--gris-claro); border-left: 5px solid var(--wsp); border-radius: var(--radio); padding: 1rem 1.2rem; margin: 1.6rem 0; }
.cta-inline-urg { border-left-color: var(--urgencia); }
.cta-inline-micro { color: var(--gris); font-size: .95rem; }

/* Guía relacionada */
.guia-rel { background: var(--primario-claro); border-radius: var(--radio); padding: 1rem 1.2rem; margin: 1.6rem 0; }
.guia-rel-label { text-transform: uppercase; font-size: .74rem; letter-spacing: .12em; font-weight: 700; color: var(--primario); display: block; margin-bottom: .2rem; }
.guia-rel a { font-weight: 700; font-size: 1.08rem; }
.guia-rel p { margin: .3rem 0 0; color: var(--gris); font-size: .95rem; }

/* ---------- Listas de enlaces ---------- */
.lista-servicios, .cards-3, .cards-lista { list-style: none; padding: 0; display: grid; gap: .8rem; margin: 1rem 0 1.4rem; }
.lista-servicios { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cards-lista { grid-template-columns: 1fr; }
.lista-servicios a, .cards-3 a, .cards-lista a { display: block; background: #fff; border: 1px solid var(--gris-claro); border-radius: var(--radio); padding: .95rem 1.1rem; text-decoration: none; color: var(--carbon); height: 100%; transition: border-color .2s, transform .15s, box-shadow .2s; }
.lista-servicios a:hover, .cards-3 a:hover, .cards-lista a:hover { border-color: var(--primario); box-shadow: var(--sombra); transform: translateY(-2px); }
.lista-servicios strong, .cards-3 strong, .cards-lista strong { display: block; color: var(--primario); margin-bottom: .25rem; }
.lista-servicios span, .cards-3 span, .cards-lista span { display: block; color: var(--gris); font-size: .92rem; line-height: 1.45; }
.lista-inline { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 1.4rem; }
.lista-inline a { display: inline-block; background: #fff; border: 1px solid var(--gris-claro); border-radius: 999px; padding: .4rem .9rem; text-decoration: none; font-size: .95rem; color: var(--primario-osc); }
.lista-inline a:hover { border-color: var(--primario); background: var(--primario-claro); }
.lista-inline-all { background: var(--primario) !important; color: #fff !important; border-color: var(--primario) !important; }
.lista-inline-grande a { font-size: 1.02rem; padding: .6rem 1.1rem; }
.nota-enlaces { color: var(--gris); font-size: .95rem; }
.subzona h3 { margin-top: 1.2rem; }

/* ---------- Secciones ---------- */
.home-deps, .home-servicios, .zonas-servicio, .hub-servicios, .hub-zonas, .loc-enlaces { padding: 1.4rem 0; }
.home-deps { background: #fff; border-bottom: 1px solid var(--gris-claro); padding: 2rem 0; }
.home-deps h2, .home-servicios h2 { margin-top: 0; }
.cards-3 strong { font-size: 1.15rem; }
/* Cards de departamentos (home): foto de fondo, texto blanco abajo a la izquierda */
.cards-foto { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .9rem; margin: 1.2rem 0 .4rem; }
.cards-foto a { position: relative; display: flex; align-items: flex-end; min-height: 230px; border-radius: var(--radio); overflow: hidden; text-decoration: none; color: #fff; background: var(--primario-osc); isolation: isolate; }
.cards-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.cards-foto a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43,43,46,.05) 30%, rgba(43,43,46,.85) 100%); transition: background .3s; }
.cards-foto a.sin-foto { background: linear-gradient(160deg, var(--primario) 0%, var(--primario-osc) 100%); }
.cards-foto a:hover img { transform: scale(1.05); }
.cards-foto a:hover::after { background: linear-gradient(180deg, rgba(43,43,46,.15) 20%, rgba(43,43,46,.92) 100%); }
.card-foto-txt { display: block; padding: 1.1rem 1.2rem 1.05rem; width: 100%; }
.card-foto-txt strong { display: block; font-family: var(--fuente-titulos); font-weight: 700; font-size: 1.85rem; line-height: 1; letter-spacing: .01em; color: #fff; margin-bottom: .3rem; }
.card-foto-txt span { display: block; font-size: .92rem; color: rgba(255,255,255,.88); line-height: 1.4; }
.cards-foto a:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }
@media (max-width: 640px) { .cards-foto a { min-height: 180px; } .card-foto-txt strong { font-size: 1.6rem; } }
/* Variante para los servicios destacados (home): 3 columnas, título más contenido, bajada en dos líneas */
.cards-foto-servicios { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cards-foto-servicios a { min-height: 250px; }
.cards-foto-servicios .card-foto-txt strong { font-size: 1.45rem; line-height: 1.05; }
.cards-foto-servicios .card-foto-txt span { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cards-foto-servicios a::after { background: linear-gradient(180deg, rgba(43,43,46,.1) 25%, rgba(43,43,46,.9) 100%); }
@media (max-width: 640px) { .cards-foto-servicios a { min-height: 200px; } }

/* "Cómo funciona": línea de tiempo. Escritorio: 3 columnas con los círculos unidos por una línea horizontal.
   Celular: vertical, círculo a la izquierda con línea que baja, texto a la derecha. Mismo fondo que el header. */
.pasos { background: var(--fondo-header); color: #fff; padding: 2.8rem 0 3rem; margin-top: 1.5rem; }
.pasos h2 { color: #fff; margin-top: 0; }
.pasos-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 1.8rem 0 2rem; }
.pasos-grid li { position: relative; isolation: isolate; }
.paso-icono { position: relative; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; background: var(--acento); color: #fff; box-shadow: 0 0 0 4px var(--fondo-header), 0 0 0 6px var(--acento); margin: 6px 0 1.6rem 6px; }
.paso-icono svg { width: 52px; height: 52px; }
/* línea horizontal entre círculos: del borde del círculo hasta el anillo del siguiente (cruza el gap) */
.pasos-grid li:not(:last-child)::after { content: ""; position: absolute; left: calc(96px + 6px + 10px); right: -2rem; top: calc(6px + 48px); height: 1px; background: rgba(255,255,255,.35); z-index: -1; }
.paso-n { display: block; font-family: var(--fuente-titulos); font-weight: 700; font-size: 1rem; letter-spacing: .25em; color: #EF4A4F; margin-bottom: .1rem; }
.paso-n::before { content: "0"; }
.pasos-grid h3 { color: #fff; margin: 0 0 .5rem; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .02em; }
.pasos-grid p { color: rgba(255,255,255,.85); margin: 0; font-size: 1rem; line-height: 1.6; max-width: 34ch; }
@media (max-width: 760px) {
  .pasos-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .pasos-grid li { display: grid; grid-template-columns: 76px 1fr; column-gap: 1.1rem; }
  .paso-icono { width: 68px; height: 68px; margin: 4px 0 0 4px; grid-row: 1 / span 3; box-shadow: 0 0 0 3px var(--fondo-header), 0 0 0 5px var(--acento); }
  .paso-icono svg { width: 38px; height: 38px; }
  /* línea vertical entre círculos */
  .pasos-grid li:not(:last-child)::after { left: calc(4px + 34px); right: auto; width: 1px; height: auto; top: calc(4px + 68px + 9px); bottom: calc(-1.6rem - 4px); }
  .pasos-grid li:not(:last-child) { padding-bottom: .4rem; }
  .paso-n { margin-top: .1rem; }
  .pasos-grid h3 { font-size: 1.25rem; }
  .pasos-grid p { font-size: .97rem; }
}

.faq { padding: 2.2rem 0; }
.faq h2 { margin-top: 0; }
.faq-list { max-width: 860px; }
.faq-item { background: #fff; border: 1px solid var(--gris-claro); border-radius: var(--radio); margin-bottom: .6rem; }
.faq-item summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; list-style: none; position: relative; padding-right: 2.6rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.1rem; top: .85rem; font-size: 1.4rem; color: var(--primario); }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 1.2rem 1rem; color: var(--gris); }
.faq-a p { margin: 0; }

/* CTA final: foto de fondo con velo de color de marca encima; el contenido va por arriba. */
.cta-final { position: relative; isolation: isolate; overflow: hidden; background: var(--primario-osc); color: #fff; padding: 3.4rem 0 3.2rem; text-align: center; }
.cta-final-foto, .cta-final-foto img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.cta-final-foto { z-index: -2; }
.cta-final-foto img { object-fit: cover; object-position: center; }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(43,43,46,.88) 0%, rgba(43,43,46,.8) 100%); }
.cta-final .in { position: relative; }
.cta-final-titulo { color: #fff; margin: 0 0 .5rem; font-family: var(--fuente-titulos); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; }
.cta-final p { max-width: 60ch; margin: 0 auto 1.2rem; opacity: .95; }
.cta-final-btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-bottom: 1rem; }
.cta-final .btn-sec { color: #fff; border-color: rgba(255,255,255,.7); }
.cta-final-msg { font-size: .92rem; opacity: .8; }

.contacto { padding: 2rem 0; }
.form { display: grid; gap: .9rem; max-width: 560px; }
.form label { display: grid; gap: .3rem; font-weight: 600; }
.form input, .form textarea { font: inherit; padding: .7rem .9rem; border: 1px solid var(--gris-claro); border-radius: 8px; background: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--primario); border-color: var(--primario); }
.form-status { min-height: 1.4em; font-weight: 600; }
.form-status.ok { color: var(--wsp-osc); }
.form-status.err { color: var(--urgencia); }
.aviso { background: #FDEDEE; border: 1px solid var(--acento); border-radius: var(--radio); padding: .8rem 1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--carbon); color: rgba(255,255,255,.85); margin-top: 0; padding: 2.6rem 0 1.4rem; font-size: .95rem; }
.footer-in { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.footer-col li { margin-bottom: .4rem; }
.footer a { color: #fff; text-decoration: none; opacity: .9; }
.footer a:hover { text-decoration: underline; opacity: 1; }
.footer-titulo { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 700; color: #EF4A4F; margin: 0 0 .6rem; }
.footer-nombre { font-weight: 700; color: #fff; font-size: 1.1rem; margin: .6rem 0 .3rem; }
.footer-nota { font-size: .88rem; opacity: .75; }
.footer-legal { max-width: 1120px; margin: 1.6rem auto 0; padding: 1rem 1.25rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; opacity: .8; }
.footer-legal p { margin: 0; }
@media (max-width: 900px) { .footer-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-in { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
@media print { .header, .flotante, .pasos, .cta-final, .footer { display: none; } body { padding-top: 0; } }

/* Celular: los botones de WhatsApp del contenido ocupan todo el ancho (header y flotante no) */
@media (max-width: 640px) {
  .btn-wsp:not(.btn-header):not(.flotante-wsp), .btn-sec-hero { width: 100%; justify-content: center; }
  .hero-cta, .cta-final-btns { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-sec, .cta-final-btns .btn-sec { width: 100%; }
  .cta-inline { flex-direction: column; align-items: stretch; }
  .cta-inline-micro { text-align: center; }
  .pasos .btn-wsp { display: flex; }
}

/* (El hero de celular está en css/cabecera-hero.css, 23/10/2026.) */

/* enlaces de referencia en el texto */
a[href^="https://techosdeisopanel.uy"]{color:inherit!important;text-decoration:none!important;cursor:text;pointer-events:none}

/* Precios de referencia (data/precios.json → {{precios}} y {{precio-resumen}}) */
.tabla-precios caption { caption-side: top; text-align: left; font-weight: 600; padding: .8rem .9rem .2rem; color: var(--carbon); }
.tabla-precios td:nth-child(2) { white-space: nowrap; }
.precio-resumen { background: #fff; border: 1px solid var(--gris-claro); border-left: 5px solid var(--primario); border-radius: var(--radio); padding: .9rem 1.1rem; }
.home-por-dep h3 { margin: 1.4rem 0 .5rem; font-size: 1.1rem; }
.home-por-dep h3 a { color: inherit; }
@media (max-width: 600px) {
  .tabla-precios { min-width: 0; }
  .tabla-precios thead { display: none; }
  .tabla-precios tr { display: block; padding: .75rem .9rem; border-bottom: 1px solid var(--gris-claro); }
  .tabla-precios tr:last-child { border-bottom: 0; }
  .tabla-precios td { display: block; border: 0; padding: .1rem 0; white-space: normal; }
  .tabla-precios td:nth-child(3) { color: var(--gris); font-size: .9rem; }
}
