/* casasprefabricadas.uy — hoja de estilos del sitio. Mobile first. */
/* Fuentes autoalojadas (Google Fonts, subconjunto latin): Barlow Condensed para títulos y botones, Poppins para texto. */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-500.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.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.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-400i.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: 400; font-display: swap; src: url("../fonts/poppins-400.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.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.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.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 {
  --c-primario: #C2410C; --c-secundario: #9A3412; --c-acento: #1C1917;
  --c-fondo: #fff; --c-fondo-2: #F5F5F4; --c-texto: #1C1917; --c-texto-2: #57534E; --c-borde: #E7E5E4; --c-wa: #25D366;
  --c-oscuro: #1C1917; --c-oscuro-2: #292524;
  --fuente: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fuente-titulos: "Barlow Condensed", "Arial Narrow", sans-serif;
  --radio: 12px; --radio-s: 8px;
  --ancho: 1180px; --gutter: 16px;
  --alto-header: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--alto-header) + 12px); }
body { margin: 0; font-family: var(--fuente); color: var(--c-texto); background: var(--c-fondo); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primario); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { font-family: var(--fuente-titulos); font-weight: 600; line-height: 1.05; margin: 0 0 .45em; letter-spacing: .01em; color: var(--c-acento); }
/* Escala tipográfica fluida: un solo sistema para todo el sitio */
h1 { font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.3rem); line-height: .98; overflow-wrap: break-word; margin-bottom: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.45rem + 1.6vw, 2.75rem); line-height: 1.02; text-wrap: balance; }
h3 { font-size: clamp(1.4rem, 1.25rem + .5vw, 1.7rem); text-wrap: balance; }
h4, h5, h6 { font-size: 1.3rem; }
::selection { background: #FED7AA; color: #1C1917; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--c-primario); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
.container { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--c-acento); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
mark.pendiente { background: #FEF3C7; color: #92400E; border: 1px dashed #F59E0B; border-radius: 4px; padding: 0 .3em; font-size: .85em; font-weight: 600; overflow-wrap: anywhere; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .55em 1.4em .5em; border-radius: 999px; font-family: var(--fuente-titulos); font-weight: 600; font-size: 1.3rem; letter-spacing: .04em; line-height: 1.1; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .12s; text-decoration: none !important; }
.btn:hover { transform: translateY(-1px); }
.btn i { font-size: 1.2em; }
.btn--primario { background: var(--c-primario); color: #fff; }
.btn--primario:hover { background: var(--c-secundario); }
.btn--whatsapp { background: var(--c-wa); color: #063; color: #0B3D23; }
.btn--whatsapp:hover { background: #1fbe5a; }
.btn--outline { background: transparent; border-color: var(--c-acento); color: var(--c-acento); }
.btn--outline:hover { background: var(--c-acento); color: #fff; }
.btn--claro { background: #fff; color: var(--c-acento); }
.btn--fantasma { background: transparent; border-color: #fff; color: #fff; }
.btn--fantasma:hover { background: rgba(255,255,255,.12); }
.btn--lg { padding: .62em 1.2em .54em; font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
.btn--block { width: 100%; }

/* Topbar + header */
.topbar { display: none; background: var(--c-oscuro); color: #D6D3D1; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; gap: 14px; min-height: 36px; }
.topbar__inner > span { display: none; align-items: center; gap: 6px; }
.topbar__sep { width: 1px; height: 14px; background: #44403C; }
.topbar__wa { margin-left: auto; color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.topbar__wa i { color: var(--c-wa); font-size: 1.1rem; }
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--c-borde); }
.header.is-scrolled { border-bottom-color: var(--c-borde); box-shadow: 0 10px 24px -18px rgba(28,25,23,.35); }
.header--sobre-hero { position: fixed; left: 0; right: 0; }
.header--sobre-hero:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; }
body.home .topbar, body.pag .topbar { display: none; }
.header--sobre-hero:not(.is-scrolled) .logo { color: #fff; }
.header--sobre-hero:not(.is-scrolled) .logo__icono { display: none; }
.header--sobre-hero:not(.is-scrolled) .logo__icono--blanco { display: block; }
.header--sobre-hero:not(.is-scrolled) .header__nav a { color: #fff; }
.header--sobre-hero:not(.is-scrolled) .header__nav a:hover, .header--sobre-hero:not(.is-scrolled) .header__nav a[aria-current] { background: rgba(255,255,255,.12); color: #fff; }
.header--sobre-hero:not(.is-scrolled) .header__burger span { background: #fff; }
.header { transition: background .2s; }
body.pag--gracias .header, body.pag--404 .header { position: sticky; }
.header__inner { display: flex; align-items: center; gap: 16px; height: var(--alto-header); }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--c-acento); }
.logo__icono { width: auto; height: calc(2.7rem - 10px); }
.logo__icono--blanco { display: none; }
.logo__texto { display: grid; line-height: .9; height: 2.7rem; align-content: center; }
.logo__nombre { font-family: var(--fuente-titulos); font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; }
.logo--oscuro { color: #fff; }

.header__nav { display: none; margin-left: auto; }
.header__nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.header__nav a { display: block; padding: 8px 10px; color: var(--c-texto); font-weight: 500; font-size: .92rem; border-radius: 6px; }
.header__nav a:hover, .header__nav a[aria-current] { background: var(--c-fondo-2); color: var(--c-primario); text-decoration: none; }
.header__cta { display: none; font-size: 1.3rem; }
.header__burger { margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; gap: 5px; align-items: center; cursor: pointer; }
.header__burger span { width: 22px; height: 2px; background: var(--c-acento); transition: transform .2s, opacity .2s; }
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-movil { background: #fff; border-top: 1px solid var(--c-borde); padding: 8px var(--gutter) 16px; }
.menu-movil[hidden] { display: none; }
.menu-movil ul { list-style: none; margin: 0 0 12px; padding: 0; }
.menu-movil a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--c-borde); color: var(--c-texto); font-weight: 500; }

/* Migas (dentro del hero) */
.migas { font-size: .82rem; margin-bottom: 14px; }
.migas ol { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; margin: 0; padding: 0; }
.migas li + li::before { content: "›"; color: rgba(255,255,255,.55); margin-right: 6px; }
.migas a { color: rgba(255,255,255,.75); }
.migas a:hover { color: #fff; }
/* Última miga: enlace a la propia página (aria-current), con el estilo de antes */
.migas [aria-current] { color: #fff; font-weight: 500; }

/* Hero páginas: mismo sistema que la home (foto + velo, header transparente encima), escala fluida */
.hero-pag { position: relative; isolation: isolate; color: #fff; padding: calc(var(--alto-header) + clamp(16px, 3vw, 36px)) 0 clamp(32px, 5vw, 60px); background-color: #1C1917; background-size: cover; background-position: center 55%; background-repeat: no-repeat; }
.hero-pag::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,16,14,.62) 0%, rgba(20,16,14,.76) 45%, rgba(20,16,14,.88) 100%); }
.hero-pag h1 { color: #fff; font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); line-height: .98; letter-spacing: 0; }
.hero-pag .form-card { color: var(--c-texto); }
.hero-pag__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.hero-pag__eyebrow { display: none; color: #FDBA74; font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: clamp(8px, 1.2vw, 14px); }
.hero-pag__lead { font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.6; color: #E7E5E4; max-width: 56ch; margin: clamp(14px, 1.8vw, 20px) 0 0; text-wrap: pretty; }
/* Firma y fecha bajo el H1 de las guías (también en móvil) */
.hero-pag__firma { margin: .5em 0 0; font-size: .85rem; color: rgba(255,255,255,.85); }
.hero-pag__firma a { color: #fff; text-decoration: underline; }
.hero-pag__cta { display: flex; flex-direction: column; gap: 10px; margin: clamp(22px, 2.6vw, 28px) 0 0; }
.hero-pag__cta .btn { flex: 0 0 auto; width: 100%; }
.hero-pag .btn--lg { font-size: clamp(1.12rem, 1rem + .5vw, 1.3rem); letter-spacing: .03em; padding: .68em 1.1em .6em; }
.hero-pag__cta .btn--outline { border-color: rgba(255,255,255,.6); color: #fff; }
.hero-pag__cta .btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.hero-pag__puntos { list-style: none; padding: 0; margin: clamp(20px, 2.4vw, 28px) 0 0; display: none; gap: 6px; font-size: .88rem; color: #D6D3D1; }
.hero-pag__puntos li { display: flex; gap: 8px; align-items: center; }
.hero-pag__puntos i { color: #FDBA74; font-size: 1.1rem; }
.hero-pag__form { display: none; }
.hero-pag--simple { padding-bottom: clamp(32px, 4.5vw, 52px); }
.hero-pag--simple .hero-pag__lead { color: #E7E5E4; }

/* Layout con lateral */
/* padding-block: el padding lateral lo pone .container (antes "padding: 28px 0" lo pisaba y el contenido quedaba pegado al borde en móvil) */
.layout-pag, .layout-home, .layout-contacto { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); padding-top: clamp(28px, 4vw, 52px); padding-bottom: 8px; }
.lateral { display: grid; gap: 14px; align-content: start; }
.lateral__box { background: var(--c-fondo-2); border-radius: var(--radio); padding: clamp(18px, 1.6vw, 22px); }
.lateral__box--wa { background: #ECFDF5; }
.lateral__t { font-family: var(--fuente-titulos); margin: 0 0 10px; font-size: 1.45rem; line-height: 1.1; letter-spacing: .02em; }
.lateral__box .btn { font-size: 1.2rem; }
.lateral__nota { font-size: .8rem; line-height: 1.5; color: var(--c-texto-2); margin: 10px 0 0; }
.lateral__indice ol { margin: 0; padding-left: 1.3em; font-size: .88rem; line-height: 1.45; }
.lateral__indice li { margin: 7px 0; padding-left: 2px; }
.lateral__indice li::marker { color: var(--c-texto-2); font-size: .85em; }
.lateral__indice a { color: var(--c-texto); }
.lateral__indice a:hover { color: var(--c-primario); }
.lista-simple { list-style: none; padding: 0; margin: 0; font-size: .88rem; line-height: 1.45; }
.lista-simple li { padding: 9px 0; border-bottom: 1px solid var(--c-borde); }
.lista-simple li:first-child { padding-top: 0; }
.lista-simple li:last-child { border: 0; padding-bottom: 0; }

/* Prosa (contenido de las fichas) */
.prosa { min-width: 0; max-width: 74ch; overflow-wrap: break-word; font-size: clamp(1rem, .97rem + .12vw, 1.0625rem); line-height: 1.72; }
.prosa > :first-child { margin-top: 0; }
.prosa h2 { font-size: clamp(1.75rem, 1.4rem + 1.25vw, 2.4rem); margin: 1.7em 0 .45em; }
.prosa h2:first-child { margin-top: 0; }
.prosa h3 { margin: 1.5em 0 .35em; }
.prosa p, .prosa li { color: var(--c-texto); }
.prosa ul, .prosa ol { padding-left: 1.3em; }
.prosa li { margin-bottom: .45em; padding-left: .15em; }
.prosa li::marker { color: var(--c-primario); }
.prosa strong { font-weight: 600; }
.prosa a { text-decoration: underline; text-decoration-color: rgba(194,65,12,.35); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .15s; }
.prosa a:hover { text-decoration-color: var(--c-primario); }
.tabla-wrap { overflow-x: auto; margin: 1.4em 0 1.6em; border: 1px solid var(--c-borde); border-radius: var(--radio-s); -webkit-overflow-scrolling: touch; }
.prosa table { width: 100%; border-collapse: collapse; font-size: .88rem; line-height: 1.5; min-width: 560px; font-variant-numeric: tabular-nums; }
.prosa th, .prosa td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-borde); }
.prosa th { background: var(--c-fondo-2); font-weight: 600; font-size: .82rem; }
/* Tabla de sistemas (3 columnas): precio en la 2.ª. Tabla de modelos (4 columnas): precio en la 3.ª y 4.ª */
.tabla-precios td:nth-child(2):nth-last-child(2) { white-space: nowrap; font-weight: 600; color: var(--c-acento); }
.tabla-precios td:nth-child(3):not(:last-child), .tabla-precios td:nth-child(4) { white-space: nowrap; font-weight: 600; color: var(--c-primario); }
.nota-precios { font-size: .85rem; color: var(--c-texto-2); }
.actualizado { font-size: .85rem; color: var(--c-texto-2); margin-top: 2em; display: flex; gap: 6px; align-items: center; }
.prosa tr:last-child td { border-bottom: 0; }
.prosa tbody tr:nth-child(even) { background: #FAFAF9; }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 1.6em 0 1.8em; padding: clamp(12px, 1.4vw, 16px); background: var(--c-fondo-2); border-radius: var(--radio); }
.cta-inline .btn { flex: 1 1 100%; font-size: clamp(1.08rem, 1rem + .3vw, 1.2rem); padding: .62em 1em .55em; white-space: nowrap; }
.cta-inline__tel { flex: 1 1 100%; text-align: center; font-weight: 600; color: var(--c-texto-2); font-size: .88rem; font-variant-numeric: tabular-nums; }
/* "Modelos parecidos" en los tipos: fondo sólido como .cta-inline, grilla de 2 columnas */
.modelos-cta { margin: 0 0 1.8em; padding: clamp(12px, 1.4vw, 16px); background: var(--c-fondo-2); border-radius: var(--radio); }
.modelos-cta__t { margin: 0 0 .6em; font-weight: 600; }
.prosa .modelos-cta ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.prosa .modelos-cta li { margin: 0; padding: 0; }
.prosa .modelos-cta a { text-decoration: none; font-weight: 500; }
.modelos-cta a span { display: block; color: var(--c-texto-2); font-size: .85rem; font-weight: 400; }
.faq { display: grid; gap: 8px; margin: 1em 0 1.5em; }
.faq__item { border: 1px solid var(--c-borde); border-radius: var(--radio-s); background: #fff; transition: border-color .15s; }
.faq__item:hover, .faq__item[open] { border-color: #D6D3D1; }
.faq__q { cursor: pointer; padding: 15px 48px 15px 18px; font-family: var(--fuente); font-size: .98rem; font-weight: 600; line-height: 1.45; list-style: none; position: relative; }
.faq__q:hover { color: var(--c-primario); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.35rem; font-weight: 400; line-height: 1; color: var(--c-primario); }
.faq__item[open] .faq__q::after { content: "–"; }
.faq__a { padding: 0 18px 16px; color: var(--c-texto-2); font-size: .95rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* Cards */
.cards { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.card { --pad: clamp(16px, 1.4vw, 20px); display: flex; flex-direction: column; gap: 4px; padding: var(--pad); border: 1px solid var(--c-borde); border-radius: var(--radio); background: #fff; color: var(--c-texto); overflow: hidden; transition: border-color .15s, box-shadow .2s, transform .2s; text-decoration: none !important; }
.card:hover { border-color: #D6D3D1; box-shadow: 0 10px 24px -14px rgba(28,25,23,.35); transform: translateY(-2px); }
.card:hover .card__titulo { color: var(--c-primario); }
.card:focus-visible { outline: 2px solid var(--c-primario); outline-offset: 3px; }
.card__icono { width: 38px; height: 38px; border-radius: 10px; background: #FFEDD5; color: var(--c-primario); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 6px; }
.card__titulo { font-family: var(--fuente-titulos); font-size: clamp(1.45rem, 1.3rem + .45vw, 1.65rem); letter-spacing: .02em; line-height: 1.05; text-wrap: balance; transition: color .15s; }
.card__meta { font-size: .8rem; color: var(--c-primario); font-weight: 600; letter-spacing: .01em; margin-top: 2px; }
.card__desc { font-size: .88rem; line-height: 1.5; color: var(--c-texto-2); margin-top: 2px; }
.grilla-sec { margin-top: 2em; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; padding: 0; }
.chips a { display: inline-block; padding: 8px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--c-borde); color: var(--c-texto); font-weight: 500; font-size: .88rem; line-height: 1.4; text-decoration: none; transition: border-color .15s, color .15s; }
.chips a:hover { border-color: var(--c-primario); color: var(--c-primario); text-decoration: none; }
.prosa .chips { padding-left: 0; }
.prosa .chips a { text-decoration: none; }
/* Accesos rápidos arriba en los hubs (/tipos-de-casas-prefabricadas/, /zonas/, /guias/) */
.atajos { margin: 0 0 1.8em; }
/* Título de la segunda fila de chips de la home (ciudades y balnearios) */
.chips__t { margin: 20px 0 10px; font-weight: 600; font-size: .9rem; color: var(--c-texto-2); }
.link-flecha { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* Formulario */
.form-card { color: var(--c-texto); background: #fff; border: 1px solid var(--c-borde); border-radius: var(--radio); padding: clamp(18px, 2.2vw, 28px); }
.form-card__titulo { font-size: clamp(1.6rem, 1.4rem + .7vw, 2rem); line-height: 1.05; margin-bottom: .2em; color: var(--c-acento); }
.form-card__sub { color: var(--c-texto-2); font-size: .86rem; line-height: 1.5; margin-bottom: 16px; }
.form-card__error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; border-radius: var(--radio-s); padding: 10px 12px; font-size: .9rem; display: flex; gap: 8px; align-items: center; }
.form { display: grid; gap: 14px; }
.form__fila { display: grid; gap: 14px; }
.form__campo { display: grid; gap: 6px; font-size: .84rem; font-weight: 500; color: var(--c-texto); }
.form__campo b { color: var(--c-primario); font-weight: 700; }
.form__campo input, .form__campo select, .form__campo textarea { width: 100%; min-height: 46px; font: inherit; font-size: 1rem; line-height: 1.4; padding: 11px 13px; border: 1px solid #D6D3D1; border-radius: var(--radio-s); background: #fff; color: var(--c-texto); transition: border-color .15s, box-shadow .15s; }
.form__campo input::placeholder, .form__campo textarea::placeholder { color: #78716C; }
.form__campo input:hover, .form__campo select:hover, .form__campo textarea:hover { border-color: #A8A29E; }
.form__campo input:focus, .form__campo select:focus, .form__campo textarea:focus { outline: none; border-color: var(--c-primario); box-shadow: 0 0 0 3px rgba(194,65,12,.15); }
.form__campo textarea { resize: vertical; min-height: 96px; }
.form .btn--primario { margin-top: 4px; font-size: 1.25rem; padding: .7em 1em .62em; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__nota { font-size: .76rem; color: var(--c-texto-2); margin: 0; text-align: center; }
.form-card--compacto .form-card__sub { display: none; }

/* Cierre */
.cierre { background: var(--c-oscuro); color: #E7E5E4; padding: clamp(48px, 7vw, 96px) 0; margin-top: clamp(40px, 6vw, 80px); }
.seccion + .cierre { margin-top: 0; }
.cierre__texto h2 { color: #fff; }
.cierre__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.cierre__texto p { color: #D6D3D1; max-width: 46ch; font-size: clamp(1rem, .96rem + .2vw, 1.08rem); line-height: 1.65; }
.cierre__texto .btn { margin-top: 8px; }
.cierre .form-card { border: 0; box-shadow: 0 24px 48px -24px rgba(0,0,0,.6); }

/* Home */
/* Hero de la home. Escala fluida: tipografía y espacios crecen con el ancho (clamp) en vez de saltar por breakpoint */
.hero-home { position: relative; isolation: isolate; color: #fff; background: #1C1917 center 58% / cover no-repeat;
  padding: calc(var(--alto-header) + clamp(20px, 4vw, 40px)) 0 clamp(36px, 5vw, 64px); }
.hero-home::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,16,14,.62) 0%, rgba(20,16,14,.74) 45%, rgba(20,16,14,.86) 100%); }
.hero-home__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-home__eyebrow { display: flex; gap: 6px; align-items: center; margin: 0 0 clamp(10px, 1.4vw, 16px); color: #FDBA74; font-weight: 500; font-size: clamp(.78rem, .74rem + .2vw, .86rem); line-height: 1.4; }
.hero-home__eyebrow i { font-size: 1.1em; flex: none; }
.hero-home h1 { color: #fff; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); line-height: .98; letter-spacing: 0; margin: 0; text-wrap: balance; overflow-wrap: normal; }
.hero-home__lead { font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.6; color: #E7E5E4; max-width: 54ch; margin: clamp(14px, 1.8vw, 20px) 0 0; text-wrap: pretty; }
.hero-home__lead mark.pendiente { background: #FEF3C7; }
.hero-home__cta { display: flex; flex-direction: column; gap: 10px; margin: clamp(22px, 2.6vw, 30px) 0 0; }
.hero-home__cta .btn { width: 100%; }
.hero-home .btn--lg { font-size: clamp(1.12rem, 1rem + .5vw, 1.3rem); letter-spacing: .03em; padding: .68em 1.1em .6em; }
.hero-home__cta .btn--fantasma { border-color: rgba(255,255,255,.6); }
.hero-home__cta .btn--fantasma:hover { border-color: #fff; }
.hero-home__datos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); margin: clamp(28px, 3.4vw, 40px) 0 0; padding: 0; background: none; border: 0; border-radius: 0; }
.hero-home__datos div { padding: 12px 0 13px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-home__datos dt { font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: #D6D3D1; }
.hero-home__datos dd { margin: 4px 0 0; font-family: var(--fuente); font-size: clamp(.88rem, .84rem + .2vw, .96rem); font-weight: 500; letter-spacing: 0; line-height: 1.35; color: #fff; }
.hero-home__form { display: none; }
.btn:focus-visible, .header__nav a:focus-visible, .header__burger:focus-visible { outline: 2px solid #FDBA74; outline-offset: 3px; }
.franja { background: #fff; border-bottom: 1px solid var(--c-borde); padding: 8px 0; }
.franja__grid { display: grid; grid-template-columns: 1fr; }
.franja__item { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: start; padding: 16px 0; }
.franja__item img { grid-row: 1 / 3; width: 44px; height: 44px; margin-top: 2px; }
.franja__item strong { font-family: var(--fuente-titulos); font-size: 1.6rem; letter-spacing: .03em; font-weight: 400; line-height: 1; color: var(--c-acento); }
.franja__item span { color: var(--c-texto-2); font-size: .92rem; line-height: 1.45; margin-top: 4px; }
.seccion { padding: clamp(40px, 6vw, 80px) 0; }
.seccion + .layout-home { padding-top: 0; }
.layout-home { padding-bottom: clamp(40px, 6vw, 80px); }
.seccion--gris { background: var(--c-fondo-2); }
.seccion__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.seccion__head h2 { text-wrap: balance; }
.link-flecha i { transition: transform .15s; }
.link-flecha:hover i { transform: translateX(3px); }
.seccion__head h2 { margin: 0; }
.prosa--home h2:first-child { margin-top: 0; }

/* Fotos de obras */
.fotos-tipo { padding: 24px 0 8px; }
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 1.5em; }
.galeria .foto { display: block; aspect-ratio: 4 / 3; border-radius: var(--radio-s); overflow: hidden; background: var(--c-fondo-2); }
.galeria .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.galeria .foto:hover img { transform: scale(1.04); }
.galeria--tira { grid-template-columns: repeat(2, 1fr); }
.proyecto { margin-top: 1.5em; }
.proyecto h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.proyecto__tipo { font-family: var(--fuente); font-size: .82rem; font-weight: 600; text-decoration: none !important; background: #FFEDD5; padding: 3px 10px; border-radius: 999px; }
/* max-width: none: la regla global img {max-width:100%} dejaba la foto 32px más angosta que la tarjeta */
.card__foto { width: calc(100% + var(--pad) * 2); max-width: none; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 12px; aspect-ratio: 16 / 10; object-fit: cover; background: var(--c-fondo-2); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__foto { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(20,16,14,.88); }
.lightbox img { max-width: 96vw; max-height: 84vh; width: auto; height: auto; display: block; margin: 0 auto; border-radius: var(--radio-s); }
.lightbox__t { color: #fff; text-align: center; margin: 10px 0 0; font-size: .9rem; }
.lightbox__cerrar { position: fixed; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Gracias / 404 */
.gracias { padding: clamp(48px, 8vw, 104px) 0; }
.gracias__inner { max-width: 640px; text-align: center; }
.gracias h1 { margin-bottom: 16px; }
.gracias__inner > p { color: var(--c-texto-2); text-wrap: pretty; }
.gracias__icono { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #ECFDF5; color: #047857; font-size: 2.4rem; margin-bottom: 16px; }
.gracias__icono--404 { background: #FFEDD5; color: var(--c-primario); }
.gracias__acciones { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0; }
.gracias__mientras { color: var(--c-texto-2); font-size: .9rem; }

/* WhatsApp flotante */
.wa-flotante { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--c-wa); color: #fff; display: grid; place-items: center; font-size: 2.1rem; transition: transform .12s; }
.wa-flotante:hover { transform: scale(1.06); text-decoration: none; }

/* Footer */
.footer { background: var(--c-oscuro-2); color: #D6D3D1; padding: clamp(44px, 6vw, 72px) 0 28px; font-size: .9rem; }
.footer a { color: #E7E5E4; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 36px; }
.footer__marca .logo { margin-bottom: 14px; }
.footer__marca p { color: #A8A29E; line-height: 1.6; max-width: 38ch; }
.footer__wa { display: inline-flex; align-items: center; gap: 10px; background: #14532D; padding: 10px 16px 10px 12px; border-radius: var(--radio-s); margin: 4px 0 12px; transition: background .15s; }
.footer__wa:hover { background: #166534; text-decoration: none; }
.footer__wa i { font-size: 1.6rem; color: var(--c-wa); }
.footer__wa span { display: grid; line-height: 1.25; }
.footer__wa small { color: #BBF7D0; font-variant-numeric: tabular-nums; }
.footer__mail { display: flex; gap: 6px; align-items: center; color: #A8A29E; }
.footer__h { font-size: 1.35rem; letter-spacing: .04em; color: #fff; margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; line-height: 1.4; }
.footer__col a { color: #D6D3D1; }
.footer__zonas { grid-template-columns: 1fr 1fr; }
.footer__horario { display: flex; gap: 6px; align-items: baseline; color: #A8A29E; margin-top: 18px; font-size: .84rem; line-height: 1.5; }
.footer__abajo { border-top: 1px solid #44403C; margin-top: clamp(32px, 4vw, 48px); padding-top: 18px; display: grid; gap: 6px; color: #A8A29E; font-size: .78rem; line-height: 1.55; }
.footer__abajo a { color: #D6D3D1; }

/* ≥ 540px: dos tarjetas por fila antes de que cada foto ocupe toda la pantalla */
@media (min-width: 540px) {
  .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ≥ 720px */
@media (min-width: 720px) {
  :root { --gutter: 24px; }
  .topbar { display: block; }
  .hero-home__cta, .hero-pag__cta { flex-direction: row; flex-wrap: wrap; }
  .hero-home__cta .btn, .hero-pag__cta .btn { width: auto; white-space: nowrap; }
  .hero-pag__eyebrow { display: block; }
  .cta-inline .btn { flex: 1 1 auto; font-size: 1.12rem; padding-inline: .9em; }
  .cta-inline__tel { flex: 0 0 auto; padding: 0 6px; }
  .topbar__inner > span { display: inline-flex; }
  .form__fila { grid-template-columns: 1fr 1fr; }
  .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .galeria { grid-template-columns: repeat(3, 1fr); }
  .franja { padding: 0; }
  .franja__grid { grid-template-columns: repeat(2, 1fr); }
  .franja__item { padding: 26px 24px; grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 10px; }
  .franja__item img { grid-row: auto; width: 56px; height: 56px; margin: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .layout-contacto { grid-template-columns: 1.4fr 1fr; }
}

/* ≥ 1024px */
@media (min-width: 1024px) {
  .header__nav { display: block; }
  .header__nav a { white-space: nowrap; padding: 8px 8px; }
  .header__cta { display: none; white-space: nowrap; }
  .header__burger, .menu-movil { display: none !important; }
  .wa-flotante { right: 24px; bottom: 24px; }
  .hero-pag::before { background: linear-gradient(90deg, rgba(20,16,14,.9) 0%, rgba(20,16,14,.72) 40%, rgba(20,16,14,.25) 75%, rgba(20,16,14,.15) 100%), linear-gradient(180deg, rgba(20,16,14,.45) 0, rgba(20,16,14,0) 25%, rgba(20,16,14,0) 70%, rgba(20,16,14,.4) 100%); }
  .hero-pag__grid { grid-template-columns: minmax(0, 700px); }
  .hero-pag__puntos { display: grid; }
  .hero-pag__cta .btn { flex: 0 1 auto; width: auto; white-space: nowrap; }
  .hero-home { display: flex; align-items: center; min-height: min(100svh, 880px); }
  .hero-home::before { background: linear-gradient(90deg, rgba(20,16,14,.9) 0%, rgba(20,16,14,.72) 38%, rgba(20,16,14,.22) 72%, rgba(20,16,14,.12) 100%), linear-gradient(180deg, rgba(20,16,14,.45) 0, rgba(20,16,14,0) 22%, rgba(20,16,14,0) 70%, rgba(20,16,14,.45) 100%); }
  .hero-home__grid { width: 100%; grid-template-columns: minmax(0, 620px); }
  .layout-pag, .layout-home { grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 4.5vw, 64px); }
  .lateral { position: sticky; top: calc(var(--alto-header) + 16px); }
  .franja__grid { grid-template-columns: repeat(4, 1fr); }
  .franja__item { padding: 30px 28px; }
  .franja__item:first-child { padding-left: 0; }
  .franja__item:last-child { padding-right: 0; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .galeria { grid-template-columns: repeat(4, 1fr); }
  .galeria--tira { grid-template-columns: repeat(4, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .cierre__grid { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
}

/* ≥ 1200px: el CTA del header entra sin apretar el menú (antes, el flotante de WhatsApp lo cubre) */
@media (min-width: 1200px) {
  .header__cta { display: inline-flex; }
}

@media print { .topbar, .header, .wa-flotante, .footer, .cierre, .hero-pag__form, .lateral { display: none !important; } }

/* Listado de guías del hub /guias/ (casasprefabricadas) */
.lista-guias { list-style: none; padding: 0; margin: 0 0 28px; }
.lista-guias li { padding: 12px 0; border-bottom: 1px solid var(--c-borde); }
.lista-guias li a { font-weight: 600; }
.lista-guias li span { display: block; color: var(--c-texto-2); font-size: .92rem; margin-top: 2px; }
.nota-precios { font-size: .88rem; color: var(--c-texto-2); }


/* Barlow Condensed en todo lo que usa la fuente de títulos (títulos, botones, etiquetas destacadas) */
.logo__nombre, .lateral__t, .card__titulo, .franja__item strong, .form-card__titulo, .footer__h { font-weight: 600; }
button, .btn, input[type=submit] { font-family: var(--fuente-titulos); }

/* Foto de la página con crédito (licencias libres) */
.foto-pag { margin: 0 0 28px; }
.foto-pag img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radio-s, 8px); background: var(--c-fondo-2); }
.foto-pag figcaption { font-size: .78rem; color: var(--c-texto-2); margin-top: 6px; line-height: 1.4; }
.foto-pag figcaption a { color: inherit; }

/* enlaces de referencia en el texto */
a[href^="https://techosdeisopanel.uy"]{color:inherit!important;text-decoration:none!important;cursor:text;pointer-events:none}
