/* tinyhouseuy.com (Casa Tiny) — hoja de estilos del sitio. Mobile first. */
/* Fuentes propias (antes Google Fonts + cdnfonts) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@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: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@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-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@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-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@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; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@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-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@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; }
/* ============================================================
   Sistema de escala y espaciado (base casasmodulares, adaptado a Casa Tiny)
   Títulos: Barlow Condensed en mayúsculas. Texto: Poppins.
   Espaciado en pasos de 4/8 px; tipografía fluida con clamp().
   ============================================================ */
:root {
  --c-primario: #2E6B4E; --c-secundario: #24563E; --c-acento: #18181B;
  --c-fondo: #FFFFFF; --c-fondo-2: #F6F5F1; --c-texto: #18181B; --c-texto-2: #52525B; --c-borde: #E4E4E7; --c-wa: #25D366;
  --c-oscuro: #18181B; --c-oscuro-2: #27272A;
  --fuente: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fuente-titulos: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;

  /* Escala tipográfica */
  --t-h1: clamp(2.75rem, 1.9rem + 3.6vw, 4.75rem);
  --t-h2: clamp(2rem, 1.55rem + 1.9vw, 3rem);
  --t-h2-prosa: clamp(1.75rem, 1.45rem + 1.3vw, 2.375rem);
  --t-h3: clamp(1.375rem, 1.25rem + .55vw, 1.75rem);
  --t-h4: clamp(1.25rem, 1.18rem + .3vw, 1.4375rem);
  --t-lead: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  --t-base: 1rem;
  --t-chico: .875rem;
  --t-mini: .8125rem;

  /* Espaciado */
  --e-1: 4px; --e-2: 8px; --e-3: 12px; --e-4: 16px; --e-5: 24px; --e-6: 32px; --e-7: 40px; --e-8: 48px; --e-9: 64px;
  --sec: clamp(48px, 32px + 4vw, 88px);          /* padding vertical de secciones */
  --sec-chica: clamp(32px, 24px + 2.5vw, 56px);

  --radio: 12px; --radio-s: 8px;
  --ancho: 1180px; --gutter: 20px;
  --alto-header: 64px;
  --logo-h: 2.125rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--alto-header) + 16px); }
body { margin: 0; font-family: var(--fuente); color: var(--c-texto); background: var(--c-fondo); line-height: 1.65; font-size: var(--t-base); overflow-x: hidden; }
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); text-transform: uppercase; font-weight: 600; line-height: 1.05; margin: 0 0 var(--e-4); letter-spacing: .01em; color: var(--c-acento); text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: .98; overflow-wrap: break-word; margin-bottom: var(--e-4); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.1; margin-bottom: var(--e-3); }
h4, h5, h6 { font-size: var(--t-h4); line-height: 1.15; margin-bottom: var(--e-2); }
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-left: var(--gutter); padding-right: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--c-acento); color: #fff; padding: var(--e-2) var(--e-3); border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
mark.pendiente { background: #EDF5F0; color: #24563E; border: 1px dashed #CDE5D6; border-radius: 4px; padding: 0 .3em; font-size: .85em; font-weight: 600; overflow-wrap: anywhere; }

/* Botones: Barlow en mayúsculas, alto mínimo táctil de 48 px (56 px en --lg), siempre en una línea */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .6em 1.4em .55em; border-radius: 999px; font-family: var(--fuente-titulos); text-transform: uppercase; font-weight: 600; font-size: 1.125rem; letter-spacing: .03em; line-height: 1.1; text-align: center; 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.25em; line-height: 1; margin-top: -.08em; }
.btn--primario { background: var(--c-primario); color: #fff; }
.btn--primario:hover { background: var(--c-secundario); }
.btn--whatsapp { background: var(--c-wa); 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 { min-height: 56px; padding: .65em 1.6em .6em; font-size: 1.25rem; }
.btn--block { width: 100%; }

/* Topbar + header */
.topbar { display: none; background: var(--c-oscuro); color: #D4D4D8; font-size: var(--t-mini); }
.topbar__inner { display: flex; align-items: center; gap: var(--e-4); min-height: 36px; }
.topbar__inner > span { display: none; align-items: center; gap: 6px; }
.topbar__sep { width: 1px; height: 14px; background: #3F3F46; }
.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); transition: background .2s; }
.header.is-scrolled { border-bottom-color: var(--c-borde); }
.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, .header--sobre-hero:not(.is-scrolled) .logo__nombre--azul { 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; }
body.pag--gracias .header, body.pag--404 .header { position: sticky; }
.header__inner { display: flex; align-items: center; gap: var(--e-4); height: var(--alto-header); }
.header__logo { flex-shrink: 0; min-width: 0; }
/* Logo: isotipo de alto --logo-h y nombre de la marca, centrado a su altura */
.logo { display: inline-flex; flex-shrink: 0; align-items: center; gap: calc(var(--logo-h) * .28); color: var(--c-acento); }
.logo__icono { width: auto; height: var(--logo-h); }
.logo__icono--blanco { display: none; }
.logo__texto { display: flex; align-items: center; gap: .2em; height: var(--logo-h); line-height: 1; white-space: nowrap; }
.logo__nombre { font-family: var(--fuente-titulos); font-weight: 700; font-size: calc(var(--logo-h) * .86); line-height: .8; letter-spacing: 0; text-transform: uppercase; padding-top: .06em; }
.logo--oscuro { color: #fff; }
.logo__nombre--azul { color: var(--c-primario); }

.header__nav { display: none; margin-left: auto; }
.header__nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.header__nav a { display: block; padding: var(--e-2) 7px; color: var(--c-texto); font-weight: 500; font-size: .875rem; white-space: nowrap; 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; flex-shrink: 0; white-space: nowrap; }
.header__burger { margin-left: auto; margin-right: -10px; flex-shrink: 0; 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: var(--e-2) var(--gutter) var(--e-5); max-height: calc(100vh - var(--alto-header)); overflow-y: auto; }
.menu-movil[hidden] { display: none; }
.menu-movil ul { list-style: none; margin: 0 0 var(--e-4); padding: 0; }
.menu-movil a:not(.btn) { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: var(--e-3) var(--e-1); border-bottom: 1px solid var(--c-borde); color: var(--c-texto); font-weight: 500; }

/* Migas (dentro del hero) */
.migas { font-size: var(--t-mini); margin-bottom: var(--e-4); }
.migas ol { display: flex; flex-wrap: wrap; gap: var(--e-1) 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; }
.migas span { color: #fff; font-weight: 500; }

/* Hero páginas: mismo diseño que la home (foto + velo oscuro, header transparente encima) */
.hero-pag { position: relative; isolation: isolate; color: #fff; padding: calc(var(--alto-header) + var(--e-6)) 0 var(--e-7); background-color: #18181B; background-size: cover; background-position: center 55%; background-repeat: no-repeat; }
.hero-pag::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(24,24,27,.7); }
.hero-pag h1 { color: #fff; }
.hero-pag .form-card { color: var(--c-texto); }
.hero-pag__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-5); }
.hero-pag__eyebrow { display: none; color: #CDE5D6; font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--e-3); }
.hero-pag__lead { font-size: var(--t-lead); line-height: 1.55; color: #E4E4E7; max-width: 58ch; margin: 0; }
.hero-pag__cta { display: flex; flex-direction: column; gap: var(--e-3); margin: var(--e-6) 0 0; }
.hero-pag__cta .btn { flex: 0 0 auto; width: 100%; }
.hero-pag__cta .btn--outline { border-color: #fff; color: #fff; }
.hero-pag__cta .btn--outline:hover { background: rgba(255,255,255,.12); }
.hero-pag__puntos { list-style: none; padding: 0; margin: var(--e-5) 0 0; display: none; gap: var(--e-2) var(--e-5); font-size: var(--t-chico); color: #D4D4D8; }
.hero-pag__puntos li { display: flex; gap: var(--e-2); align-items: center; }
.hero-pag__puntos i { color: #CDE5D6; font-size: 1.15rem; }
.hero-pag__form { display: none; }
.hero-pag--simple { padding-bottom: var(--e-8); }
.hero-pag--simple .hero-pag__lead { color: #E4E4E7; }

/* Layout con lateral (fix: solo padding vertical, así no pisa el padding lateral del .container) */
.layout-pag, .layout-home, .layout-contacto { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-7); padding-top: var(--sec-chica); padding-bottom: var(--sec-chica); }
.lateral { display: grid; gap: var(--e-4); align-content: start; }
.lateral__box { background: var(--c-fondo-2); border-radius: var(--radio); padding: var(--e-5); }
.lateral__box > :last-child { margin-bottom: 0; }
.lateral__box--wa { background: #ECFDF5; }
.lateral__t { font-family: var(--fuente-titulos); text-transform: uppercase; font-weight: 600; margin: 0 0 var(--e-3); font-size: 1.375rem; line-height: 1.1; letter-spacing: .02em; color: var(--c-acento); }
.lateral__box p.lateral__t + p { margin-top: calc(var(--e-1) * -1); }
.lateral__box p + .lateral__t { margin-top: var(--e-5); }
.lateral__nota { font-size: var(--t-mini); line-height: 1.5; color: var(--c-texto-2); margin: var(--e-3) 0 0; }
.lateral__indice ol { margin: 0; padding-left: 1.3em; font-size: var(--t-chico); line-height: 1.45; }
.lateral__indice li { margin: 0 0 var(--e-2); }
.lateral__indice li:last-child { margin-bottom: 0; }
.lateral__indice a { color: var(--c-texto); }
.lista-simple { list-style: none; padding: 0; margin: 0; font-size: var(--t-chico); }
.lista-simple li { padding: 10px 0; border-bottom: 1px solid var(--c-borde); line-height: 1.4; }
.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; line-height: 1.7; }
.prosa h2 { font-size: var(--t-h2-prosa); margin: clamp(40px, 32px + 2.5vw, 64px) 0 var(--e-4); }
.prosa h2:first-child { margin-top: 0; }
.prosa h3 { margin: var(--e-6) 0 var(--e-3); }
.prosa h2 + h3 { margin-top: var(--e-4); }
.prosa p, .prosa li { color: var(--c-texto); }
.prosa li { margin-bottom: var(--e-2); }
.prosa li:last-child { margin-bottom: 0; }
.prosa ul, .prosa ol { margin-bottom: 1.25em; }
.prosa a { text-decoration: underline; text-decoration-color: rgba(46,107,78,.35); text-underline-offset: 2px; }
.prosa a:hover { text-decoration-color: var(--c-primario); }
.tabla-wrap { overflow-x: auto; margin: var(--e-5) 0; border: 1px solid var(--c-borde); border-radius: var(--radio-s); -webkit-overflow-scrolling: touch; }
.prosa table { width: 100%; border-collapse: collapse; font-size: var(--t-chico); line-height: 1.5; min-width: 600px; }
.prosa th, .prosa td { padding: var(--e-3) 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-borde); }
.prosa th { background: var(--c-fondo-2); font-weight: 600; white-space: nowrap; }
.tabla-precios td:nth-child(3) { white-space: nowrap; color: var(--c-primario); }
.nota-precios { font-size: var(--t-mini); line-height: 1.55; color: var(--c-texto-2); }
.actualizado { font-size: var(--t-mini); color: var(--c-texto-2); margin: var(--e-8) 0 0; display: flex; gap: 6px; align-items: center; }
.prosa tr:last-child td { border-bottom: 0; }
.prosa tbody tr:nth-child(even) { background: #FAFAFA; }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-3); margin: var(--e-6) 0; padding: var(--e-4); background: var(--c-fondo-2); border-radius: var(--radio); }
.cta-inline .btn { flex: 1 1 240px; }
.cta-inline__tel { flex: 1 1 100%; text-align: center; font-weight: 600; color: var(--c-texto-2); font-size: var(--t-chico); }
.faq { display: grid; gap: var(--e-2); margin: var(--e-5) 0 var(--e-6); }
.faq__item { border: 1px solid var(--c-borde); border-radius: var(--radio-s); background: #fff; }
.faq__q { cursor: pointer; padding: var(--e-4) 52px var(--e-4) 20px; font-family: var(--fuente); font-weight: 600; line-height: 1.45; list-style: none; position: relative; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; line-height: 1; color: var(--c-primario); }
.faq__item[open] .faq__q::after { content: "–"; }
.faq__a { padding: 0 20px 18px; color: var(--c-texto-2); }
.faq__a p:last-child { margin-bottom: 0; }

/* Cards */
.cards { display: grid; gap: var(--e-4); }
.card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--c-borde); border-radius: var(--radio); background: #fff; color: var(--c-texto); overflow: hidden; transition: border-color .12s; text-decoration: none !important; }
.card:hover { border-color: var(--c-primario); }
.card__icono { width: 40px; height: 40px; border-radius: 10px; background: #EDF5F0; color: var(--c-primario); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: var(--e-2); }
.card__titulo { font-family: var(--fuente-titulos); text-transform: uppercase; font-weight: 600; font-size: 1.5rem; letter-spacing: .02em; line-height: 1.05; color: var(--c-acento); }
.card__meta { font-size: var(--t-mini); color: var(--c-primario); font-weight: 600; }
.card__desc { font-size: var(--t-chico); line-height: 1.5; color: var(--c-texto-2); }
/* Fix: la foto ocupa todo el ancho de la card (antes max-width:100% la dejaba corta a la derecha) */
.card__foto { width: calc(100% + 40px); max-width: none; margin: -20px -20px var(--e-3); aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.grilla-sec { margin-top: var(--e-8); }
.grilla-sec > h2 { margin-bottom: var(--e-5); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--e-2); }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: var(--e-2) var(--e-4); border-radius: 999px; background: #fff; border: 1px solid var(--c-borde); color: var(--c-texto); font-weight: 500; font-size: var(--t-chico); }
.chips a:hover { border-color: var(--c-primario); color: var(--c-primario); text-decoration: none; }
.link-flecha { font-weight: 600; font-size: .9375rem; display: inline-flex; align-items: center; gap: var(--e-1); white-space: nowrap; }

/* Formulario */
.form-card { color: var(--c-texto); background: #fff; border: 1px solid var(--c-borde); border-radius: var(--radio); padding: var(--e-5); }
.form-card__head { margin-bottom: var(--e-5); }
.form-card__titulo { font-size: var(--t-h3); color: var(--c-acento); margin: 0 0 var(--e-2); }
.form-card__sub { color: var(--c-texto-2); font-size: var(--t-chico); line-height: 1.5; margin: 0; }
.form-card__error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; border-radius: var(--radio-s); padding: 10px var(--e-3); margin: 0 0 var(--e-4); font-size: var(--t-chico); display: flex; gap: var(--e-2); align-items: center; }
.form { display: grid; gap: var(--e-4); }
.form__fila { display: grid; gap: var(--e-4); }
.form__campo { display: grid; gap: 6px; font-size: var(--t-chico); font-weight: 500; }
.form__campo b { color: var(--c-primario); font-weight: 700; }
.form__campo input, .form__campo select, .form__campo textarea { width: 100%; min-height: 48px; font: inherit; font-size: 1rem; font-weight: 400; padding: 11px 14px; border: 1px solid #D4D4D8; border-radius: var(--radio-s); background: #fff; color: var(--c-texto); }
.form__campo input:focus, .form__campo select:focus, .form__campo textarea:focus { outline: 2px solid var(--c-primario); outline-offset: 1px; border-color: var(--c-primario); }
.form__campo textarea { resize: vertical; min-height: 104px; }
.form .btn { margin-top: var(--e-1); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__nota { font-size: var(--t-mini); 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: #E4E4E7; padding: var(--sec) 0; }
.cierre__texto h2 { color: #fff; }  /* fix: antes ".cierre h2" dejaba en blanco el título del formulario */
.cierre__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-7); }
.cierre__texto p { color: #D4D4D8; font-size: var(--t-lead); line-height: 1.6; max-width: 46ch; margin-bottom: var(--e-6); }
.cierre .form-card { border: 0; }

/* Home */
.hero-home { position: relative; isolation: isolate; color: #fff; padding: calc(var(--alto-header) + var(--e-7)) 0 var(--e-8); background: #18181B url("../images/hero/tiny-hero.svg") center 60% / cover no-repeat; }
.hero-home::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(24,24,27,.7); }
.hero-home h1 { color: #fff; }
.hero-home__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-6); }
.hero-home__eyebrow { display: none; color: #CDE5D6; font-weight: 600; font-size: var(--t-mini); gap: 6px; align-items: center; margin-bottom: var(--e-4); }
.hero-home__lead { font-size: var(--t-lead); line-height: 1.55; color: #E4E4E7; max-width: 52ch; margin: 0; }
.hero-home__lead mark.pendiente { background: #EDF5F0; }
.hero-home__cta { display: flex; flex-direction: column; gap: var(--e-3); margin: var(--e-6) 0 0; }
.hero-home__cta .btn { flex: 0 0 auto; width: 100%; }
.hero-home__datos { display: none; grid-template-columns: repeat(2, max-content); gap: var(--e-4) var(--e-7); margin: var(--e-7) 0 0; padding: var(--e-5) var(--e-6); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radio); width: fit-content; max-width: 100%; }
.hero-home__datos dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #D4D4D8; margin-bottom: 2px; }
.hero-home__datos dd { margin: 0; font-family: var(--fuente-titulos); text-transform: uppercase; font-weight: 600; font-size: 1.625rem; line-height: 1.1; letter-spacing: .02em; white-space: nowrap; }
.hero-home__form { display: none; }
/* Franja de beneficios bajo el hero (base casasmodulares, adaptado a Casa Tiny): fondo blanco, ícono en cuadro verde claro, sin tarjetas */
.franja { background: #fff; padding: var(--e-5) 0; border-bottom: 1px solid var(--c-borde); }
.franja__grid { display: grid; grid-template-columns: 1fr; gap: var(--e-4); }
.franja__item { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: var(--e-4); align-items: center; }
.franja__item img { grid-row: 1 / 3; align-self: start; width: 48px; height: 48px; padding: 10px; background: #EDF5F0; border-radius: 12px; box-sizing: border-box; }
.franja__item strong { font-family: var(--fuente-titulos); text-transform: uppercase; font-size: 1.375rem; letter-spacing: .02em; font-weight: 600; line-height: 1.05; color: var(--c-acento); align-self: end; }
.franja__item span { color: var(--c-texto-2); font-size: var(--t-chico); line-height: 1.5; margin-top: 2px; align-self: start; }
.seccion { padding: var(--sec) 0; }
.seccion--gris { background: var(--c-fondo-2); }
.seccion__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--e-2) var(--e-5); margin-bottom: var(--e-6); }
.seccion__head h2 { margin: 0; }
.seccion + .layout-home { padding-top: 0; }
.prosa--home h2:first-child { margin-top: 0; }

/* Fotos de obras */
.fotos-tipo { padding: var(--sec-chica) 0 0; }
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--e-2); margin: 0 0 var(--e-5); }
.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); margin-bottom: 0; }
.proyecto { margin-top: var(--e-6); }
.proyecto h3 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-2) var(--e-3); margin-bottom: var(--e-3); }
.proyecto__tipo { font-family: var(--fuente); font-size: .75rem; font-weight: 600; line-height: 1.4; letter-spacing: .03em; text-decoration: none !important; background: #EDF5F0; padding: var(--e-1) 10px; border-radius: 999px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(24,24,27,.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: var(--e-3) 0 0; font-size: var(--t-chico); }
.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: var(--sec) 0; }
.gracias__inner { max-width: 680px; text-align: center; }
.gracias__inner > p { color: var(--c-texto-2); font-size: var(--t-lead); line-height: 1.6; }
.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: var(--e-5); }
.gracias__icono--404 { background: #EDF5F0; color: var(--c-primario); }
.gracias__acciones { display: flex; flex-wrap: wrap; gap: var(--e-3); justify-content: center; margin: var(--e-6) 0; }
.gracias__acciones .btn { flex: 1 1 100%; }
.gracias__inner > p.gracias__mientras { color: var(--c-texto-2); font-size: var(--t-chico); line-height: 1.7; margin: 0; }

/* WhatsApp flotante */
.wa-flotante { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--c-wa); color: #fff; display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 6px 20px rgba(24,24,27,.18); transition: transform .12s; }
.wa-flotante:hover { transform: scale(1.06); text-decoration: none; }

/* Footer */
.footer { background: var(--c-oscuro-2); color: #D4D4D8; padding: var(--sec) 0 var(--e-6); font-size: var(--t-chico); }
.footer a { color: #E4E4E7; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: var(--e-7); }
.footer__marca .logo { margin-bottom: var(--e-4); }
.footer__marca p { color: #A1A1AA; line-height: 1.6; max-width: 40ch; margin-bottom: var(--e-5); }
.footer__wa { display: inline-flex; align-items: center; gap: var(--e-3); background: #14532D; padding: var(--e-3) var(--e-4); border-radius: var(--radio-s); margin-bottom: var(--e-4); }
.footer__wa i { font-size: 1.6rem; color: var(--c-wa); }
.footer__wa span { display: grid; line-height: 1.3; }
.footer__wa small { color: #BBF7D0; font-size: var(--t-mini); }
.footer__mail { display: flex; gap: var(--e-2); align-items: center; color: #A1A1AA; margin-top: var(--e-2); }
.footer__h { font-size: 1.25rem; letter-spacing: .05em; color: #D4D4D8; margin-bottom: var(--e-4); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; line-height: 1.4; }
.footer__zonas { grid-template-columns: 1fr 1fr; column-gap: var(--e-4); }
.footer__horario { color: #A1A1AA; margin: var(--e-5) 0 0; font-size: var(--t-mini); line-height: 1.5; }
.footer__abajo { border-top: 1px solid #3F3F46; margin-top: var(--e-8); padding-top: var(--e-5); display: grid; gap: var(--e-2); color: #A1A1AA; font-size: var(--t-mini); line-height: 1.5; }
.footer__abajo p { margin: 0; }

/* ≥ 480px: botones de 404/gracias vuelven a su ancho natural */
@media (min-width: 480px) {
  .gracias__acciones .btn { flex: 0 1 auto; }
}

/* ≥ 720px */
@media (min-width: 720px) {
  :root { --gutter: 32px; --logo-h: 2.3rem; }
  .topbar { display: block; }
  .topbar__inner > span { display: inline-flex; }
  .hero-home__eyebrow { display: flex; }
  .hero-pag__eyebrow { display: block; }
  .hero-home__cta, .hero-pag__cta { flex-direction: row; flex-wrap: wrap; }
  .hero-home__cta .btn, .hero-pag__cta .btn { flex: 0 1 auto; width: auto; white-space: nowrap; }
  .hero-home__datos { display: grid; }
  .hero-pag__puntos { display: flex; flex-wrap: wrap; }
  .form-card { padding: var(--e-6); }
  .form__fila { grid-template-columns: 1fr 1fr; }
  .cards { gap: 20px; }
  .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .galeria { grid-template-columns: repeat(3, 1fr); gap: var(--e-3); }
  .cta-inline { padding: 20px; }
  .cta-inline .btn { flex: 0 1 auto; }
  .cta-inline__tel { flex: 0 1 auto; text-align: left; padding: 0 var(--e-2); }
  .franja { padding: var(--e-7) 0; }
  .franja__grid { grid-template-columns: repeat(3, 1fr); gap: var(--e-6) var(--e-6); }
  .franja__item { grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: var(--e-2); align-items: start; align-content: start; }
  .franja__item img { grid-row: auto; width: 64px; height: 64px; padding: 14px; margin-bottom: var(--e-2); border-radius: 16px; }
  .franja__item strong { font-size: 1.625rem; align-self: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--e-7) var(--e-6); }
  .layout-contacto { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--e-6); }
}

/* ≥ 1024px */
@media (min-width: 1024px) {
  :root { --alto-header: 76px; }
  .header__nav { display: block; }
  .header__cta { display: inline-flex; min-height: 44px; font-size: 1.0625rem; padding: .5em 1em .45em; }
  .header__burger, .menu-movil { display: none !important; }
  .wa-flotante { right: 24px; bottom: 24px; width: 60px; height: 60px; font-size: 2.1rem; }
  .hero-pag { padding: calc(var(--alto-header) + var(--e-9)) 0 var(--e-9); }
  .hero-pag--simple { padding-bottom: var(--e-9); }
  .hero-pag::before { background: linear-gradient(90deg, rgba(24,24,27,.88) 0%, rgba(24,24,27,.6) 45%, rgba(24,24,27,.35) 100%), linear-gradient(180deg, rgba(24,24,27,.2), rgba(24,24,27,.5)); }
  .hero-pag__grid { grid-template-columns: minmax(0, 820px); }
  .hero-home__grid { grid-template-columns: minmax(0, 820px); }
  .hero-home { padding: calc(var(--alto-header) + 88px) 0 88px; background-image: url("../images/hero/tiny-hero.svg"); }
  .hero-home__datos { grid-template-columns: repeat(4, max-content); }
  .hero-home::before { background: linear-gradient(90deg, rgba(24,24,27,.88) 0%, rgba(24,24,27,.6) 45%, rgba(24,24,27,.35) 100%), linear-gradient(180deg, rgba(24,24,27,.2), rgba(24,24,27,.5)); }
  .layout-pag, .layout-home { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--e-9); }
  .prosa { font-size: 1.0625rem; }
  .lateral { position: sticky; top: calc(var(--alto-header) + var(--e-5)); }
  .cards { gap: var(--e-5); }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .galeria, .galeria--tira { grid-template-columns: repeat(4, 1fr); }
  .franja { padding: var(--e-8) 0; }
  .franja__grid { grid-template-columns: repeat(3, 1fr); gap: var(--e-6); }
  .cierre__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: var(--e-9); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--e-6); }
}

/* 1024–1199px: con Poppins + Barlow el menú completo no entra junto al botón; el botón vuelve desde 1200px */
@media (min-width: 1024px) and (max-width: 1199px) {
  .header__cta { display: none; }
}

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

/* Blog GEO: misma escala y gutter que el resto del sitio */
.bgeo .bgeo__wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.bgeo .bgeo__h1 { font-size: var(--t-h1); line-height: .98; margin-bottom: var(--e-4); }
.bgeo .bgeo__sec h2, .bgeo .bgeo__faq h2 { font-size: var(--t-h2-prosa); line-height: 1.05; margin: clamp(40px, 32px + 2.5vw, 64px) 0 var(--e-4); }
.bgeo .bgeo__sec h3 { font-size: var(--t-h3); margin: var(--e-6) 0 var(--e-3); }
.bgeo .bgeo__h2-chico { font-size: var(--t-h4); }
/* Galería de imágenes ilustrativas (tinyhouseuy) */
.galeria--cuadrada .foto { aspect-ratio: 1 / 1; }
.fotos-nota { font-size: var(--t-mini); color: var(--c-texto-2); margin: var(--e-2) 0 0; }
.card__foto--cuadrada { aspect-ratio: 4 / 3; }
