/* Sistema visual de Cota: lino, crema y nogal, con latón para las líneas de medida.
   Cormorant para titulares, Manrope para texto, Sofia Sans Extra Condensed solo para cotas y cifras. */
:root {
  --lino: #f3ede4;
  --crema: #fbf8f2;
  --arena: #e7ddcd;
  --nogal: #2b2420;
  --topo: #6f6257;
  --laton: #9a7748;
  --linea: rgba(43, 36, 32, 0.16);
  --ancho: 80rem;
  --margen: clamp(1.25rem, 4.5vw, 4rem);
  --serif: Cormorant, "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Manrope, "Helvetica Neue", Arial, sans-serif;
  --cifra: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--lino); color: var(--nogal); font: 400 1.0625rem/1.65 var(--sans); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--laton); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--nogal); outline-offset: 3px; }
.oculto, .salto:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.salto:focus { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 10; background: var(--nogal); color: var(--crema); padding: 0.5rem 0.9rem; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -0.012em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); }
h3 { font-size: 1.55rem; line-height: 1.15; letter-spacing: -0.005em; }
p { margin: 0 0 1em; max-width: 38em; }
.entrada { font-size: clamp(1.1rem, 1.45vw, 1.28rem); line-height: 1.55; max-width: 33em; font-weight: 300; }
.nota, .meta, .migas { font-size: 0.9rem; color: var(--topo); }
.migas a { color: inherit; }

/* cabecera */
.cabecera { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem 2rem; flex-wrap: wrap; padding: 1.3rem var(--margen); max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; }
.marca { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; letter-spacing: 0.01em; line-height: 1; }
.marca svg { width: 40px; height: 14px; fill: none; stroke: var(--laton); stroke-width: 1.4; }
.cabecera nav { display: flex; align-items: center; gap: 0.2rem 1.6rem; flex-wrap: wrap; font-size: 0.97rem; }
.cabecera nav a:not(.boton) { text-decoration: none; padding: 0.35rem 0; border-bottom: 1px solid transparent; }
.cabecera nav a:not(.boton):hover, .cabecera nav a[aria-current] { border-bottom-color: var(--laton); }
.cabecera .idioma { font-family: var(--cifra); font-size: 1.1rem; letter-spacing: 0.06em; color: var(--topo); }

/* botones y enlaces de acción */
.boton { display: inline-block; background: var(--nogal); color: var(--crema); font: 500 0.98rem/1 var(--sans); text-decoration: none; padding: 1rem 1.7rem; border: 1px solid var(--nogal); border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.boton:hover { background: var(--laton); border-color: var(--laton); }
.boton.pequeno { padding: 0.7rem 1.2rem; font-size: 0.93rem; }
.boton.claro { background: var(--crema); color: var(--nogal); border-color: var(--crema); }
.boton.claro:hover { background: var(--arena); border-color: var(--arena); }
.boton[disabled] { background: #cfc6b8; border-color: #cfc6b8; color: var(--crema); cursor: not-allowed; }
.boton-linea { font: 500 0.95rem/1 var(--sans); color: var(--nogal); background: transparent; border: 1px solid var(--nogal); border-radius: 999px; padding: 0.7rem 1.2rem; cursor: pointer; }
.boton-linea:hover { background: var(--nogal); color: var(--crema); }
.enlace { font-weight: 500; }
.acciones { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 2rem; }

/* cota: línea de medida con topes */
.cota-h { display: flex; align-items: center; gap: 0.8rem; font-family: var(--cifra); font-weight: 500; font-size: 1.15rem; letter-spacing: 0.05em; color: var(--topo); margin-top: 0.7rem; line-height: 1; }
.cota-h::before, .cota-h::after { content: ""; flex: 1; height: 9px; background: linear-gradient(var(--laton), var(--laton)) center / 100% 1px no-repeat; }
.cota-h::before { border-left: 1px solid var(--laton); }
.cota-h::after { border-right: 1px solid var(--laton); }

/* bloques */
.bloque { max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; padding: clamp(3.5rem, 8vw, 7rem) var(--margen) 0; }
.bloque.primero { padding-top: clamp(2rem, 5vw, 4.5rem); }
.bloque > h2, .bloque > h1 { margin-bottom: 1.1rem; }
.bloque.dos { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.bloque.dos.invertido { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.bloque.dos h2, .bloque.dos h1 { margin-bottom: 1.1rem; }
.bloque.dos h3 { margin: 2.2rem 0 0.6rem; }
.titular { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.banda { background: var(--arena); margin-top: clamp(3.5rem, 8vw, 7rem); padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.banda + .bloque { padding-top: clamp(3.5rem, 8vw, 7rem); }
.manifiesto p { font-family: var(--serif); font-size: clamp(1.7rem, 3.3vw, 2.9rem); line-height: 1.18; letter-spacing: -0.01em; max-width: 22em; margin: 0; text-wrap: balance; }

/* portada */
.heroe { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(1rem, 3vw, 2.5rem) 0 0 max(var(--margen), calc((100vw - var(--ancho)) / 2)); }
.heroe h1 { margin-bottom: 1.6rem; }
.heroe-figura { margin: 0; }
.heroe-figura img { width: 100%; height: min(78vh, 46rem); object-fit: cover; border-radius: 4px 0 0 4px; }
.heroe-figura .cota-h, .heroe-figura figcaption { margin-right: var(--margen); }
.heroe-figura figcaption, .foto-grande figcaption { font-size: 0.9rem; color: var(--topo); margin-top: 0.6rem; }

/* comparador */
.comparador-caja { margin: 0; }
.comparador { position: relative; --pos: 55%; }
.comparador img { width: 100%; }
.comparador .encima { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.comparador .tirador { position: absolute; top: 4%; bottom: 4%; left: var(--pos); width: 1px; background: var(--nogal); pointer-events: none; }
.comparador .tirador::after { content: ""; position: absolute; top: 50%; left: 50%; width: 2.8rem; height: 2.8rem; margin: -1.4rem 0 0 -1.4rem; border-radius: 50%; background: var(--nogal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbf8f2' stroke-width='1.6'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 1.3rem no-repeat; }
.comparador input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.comparador:has(input:focus-visible) .tirador::after { outline: 2px solid var(--nogal); outline-offset: 3px; }

/* matriz de servicios */
.matriz-caja { overflow-x: auto; margin: 2.2rem 0 1.5rem; }
.matriz { border-collapse: collapse; width: 100%; min-width: 34rem; }
.matriz th, .matriz td { padding: 0.95rem 0.6rem 0.95rem 0; border-bottom: 1px solid var(--linea); text-align: left; font-weight: 400; vertical-align: middle; }
.matriz thead th { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.1; vertical-align: bottom; border-bottom: 1px solid var(--nogal); width: 20%; }
.matriz thead th:first-child { width: 40%; }
.matriz thead small { display: block; font-family: var(--sans); font-size: 0.88rem; color: var(--topo); margin-top: 0.35rem; }
.matriz .si, .matriz .no { display: block; width: 0.7rem; height: 0.7rem; border-radius: 50%; }
.matriz .si { background: var(--laton); }
.matriz .no { border: 1px solid var(--linea); }

/* rejilla de proyectos */
.rejilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.2rem, 4vw, 3.6rem) clamp(1.5rem, 2.5vw, 2.5rem); margin-top: 2.2rem; }
.tarjeta { text-decoration: none; display: block; }
.tarjeta.grande { grid-column: span 2; }
.tarjeta .foto { display: block; overflow: hidden; border-radius: 4px; background: var(--arena); aspect-ratio: 3 / 2; }
.tarjeta.grande .foto { aspect-ratio: auto; height: calc(100% - 7.2rem); min-height: 20rem; }
.tarjeta .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tarjeta:hover .foto img { transform: scale(1.035); }
.tarjeta h3 { margin: 0.9rem 0 0.15rem; }
.tarjeta.grande h3 { font-size: 2.1rem; }
.tarjeta p { font-size: 0.93rem; color: var(--topo); margin: 0; }

/* pasos del proceso: es una secuencia real, por eso van numerados */
.pasos { list-style: none; counter-reset: paso; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.8rem; padding: 0; margin: 2.6rem 0 2rem; }
.pasos li { counter-increment: paso; border-top: 1px solid var(--laton); padding-top: 1rem; }
.pasos li::before { content: counter(paso); font-family: var(--cifra); font-weight: 500; font-size: 1.3rem; color: var(--laton); display: block; margin-bottom: 0.4rem; line-height: 1; }
.pasos h3 { margin-bottom: 0.5rem; }
.pasos p { font-size: 0.95rem; margin: 0; }
.proceso { list-style: none; counter-reset: paso; padding: 0; margin: 0; }
.proceso > li { counter-increment: paso; }
.proceso > li h2::before { content: counter(paso); display: block; font-family: var(--cifra); font-weight: 500; font-size: 1.5rem; color: var(--laton); letter-spacing: 0.04em; margin-bottom: 0.8rem; width: 4rem; border-bottom: 1px solid var(--laton); padding-bottom: 0.4rem; line-height: 1; }
.proceso figure { margin: 0; }
.redonda { border-radius: 4px; }

/* listas de artículos */
.lista-posts { list-style: none; padding: 0; margin: 1.6rem 0; border-top: 1px solid var(--nogal); }
.lista-posts a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0.4rem clamp(2rem, 6vw, 6rem); padding: 1.5rem 0; border-bottom: 1px solid var(--linea); text-decoration: none; }
.lista-posts .titulo { font-family: var(--serif); font-weight: 500; font-size: 1.65rem; line-height: 1.12; letter-spacing: -0.005em; }
.lista-posts a:hover .titulo { text-decoration: underline; text-decoration-color: var(--laton); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.lista-posts .resumen { color: var(--topo); }
.lista-posts .meta { grid-column: 2; }

/* ficha de proyecto */
.foto-grande { margin: 2rem auto 0; padding: 0 var(--margen); max-width: calc(var(--ancho) + 2 * var(--margen)); }
.foto-grande img { width: 100%; border-radius: 4px; max-height: 82vh; object-fit: cover; }
.visor { position: relative; aspect-ratio: 1600 / 1150; max-height: 80vh; margin: 1rem auto 0; touch-action: pan-y; }
.visor img, .visor canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.visor.vivo img { visibility: hidden; }
.visor.vivo { cursor: grab; }
.visor.vivo:active { cursor: grabbing; }
.visor-pie { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.8rem; }
.visor-pie[hidden] { display: none; }
.conmutador { display: inline-flex; border: 1px solid var(--nogal); border-radius: 999px; overflow: hidden; }
.conmutador button { font: 500 0.95rem/1 var(--sans); padding: 0.7rem 1.2rem; border: 0; background: transparent; color: var(--nogal); cursor: pointer; }
.conmutador button[aria-pressed="true"] { background: var(--nogal); color: var(--crema); }
.datos { padding-top: 3rem; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 6vw, 6rem); }
.datos dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 1.5rem; margin: 0; }
.datos dl div { border-top: 1px solid var(--laton); padding-top: 0.6rem; }
.datos dt { font-size: 0.88rem; color: var(--topo); }
.datos dd { margin: 0; font-family: var(--cifra); font-weight: 500; font-size: 2.3rem; line-height: 1.1; letter-spacing: 0.02em; }
.notas { margin: 0; padding: 0; list-style: none; }
.notas li { padding: 0.75rem 0 0.75rem 1.6rem; border-bottom: 1px solid var(--linea); position: relative; }
.notas li::before { content: ""; position: absolute; left: 0; top: 1.4rem; width: 0.8rem; height: 1px; background: var(--laton); }
.precio { font-family: var(--cifra); font-weight: 500; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: 0.02em; margin-bottom: 1rem; }

/* láminas: los planos van sobre papel */
.lamina { background: var(--crema); border: 1px solid var(--linea); border-radius: 4px; padding: clamp(0.8rem, 2vw, 1.8rem); margin-top: 1.6rem; }
.bloque.dos .lamina { margin-top: 0; }
.lamina svg { width: 100%; margin: 0 auto; max-height: 80vh; }
.plano { font-family: var(--cifra); }
.plano * { vector-effect: non-scaling-stroke; }
.plano .o { fill: var(--crema); stroke: var(--nogal); stroke-width: 1px; }
.plano .m-roble { fill: #ead7ba; }
.plano .m-salvia { fill: #d3dccf; }
.plano .m-azul { fill: #d2dde6; }
.plano .m-arena { fill: #ece4d5; }
.plano .m-grafito { fill: #bdbab5; }
.plano .at { fill: none; stroke: var(--topo); stroke-width: 0.6px; }
.plano .at.tir { fill: var(--nogal); stroke: none; }
.plano .suelo { stroke: var(--nogal); stroke-width: 2px; }
.plano .dim { fill: none; stroke: var(--laton); stroke-width: 0.8px; }
.plano .cota { font-size: calc(var(--fs) * 1.25); font-weight: 500; fill: var(--nogal); letter-spacing: 0.03em; }
.plano .rotulo { font-family: var(--sans); font-size: calc(var(--fs) * 1.3); fill: var(--topo); }
.plano.iso path { fill: none; stroke: var(--nogal); stroke-width: 0.9px; stroke-linejoin: round; }
.plano.corte .hoja { fill: none; stroke: var(--nogal); stroke-width: 1px; }
.plano.corte .pieza { fill: #fff; stroke: var(--topo); stroke-width: 0.6px; }
.plano.corte .pieza.m-roble { fill: #ead7ba; }
.plano.corte .pieza.m-salvia { fill: #d3dccf; }
.plano.corte .pieza.m-azul { fill: #d2dde6; }
.plano.corte .pieza.m-arena { fill: #ece4d5; }
.plano.corte .pieza.m-grafito { fill: #bdbab5; }
.plano.corte .cota { font-size: 66px; }
.croquis .o { fill: none; }
.croquis .rotulo { font-size: 11px; }

/* tablas */
.tabla { border-collapse: collapse; width: 100%; font-size: 0.96rem; }
.tabla th, .tabla td { text-align: left; padding: 0.7rem 0.8rem 0.7rem 0; border-bottom: 1px solid var(--linea); font-weight: 400; vertical-align: top; }
.tabla thead th { font-weight: 500; border-bottom: 1px solid var(--nogal); font-size: 0.88rem; color: var(--topo); }
.tabla td:last-child, .tabla thead th:last-child { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabla.despiece td:nth-child(4), .tabla.despiece th:nth-child(4) { text-align: right; font-variant-numeric: tabular-nums; }
.tabla.despiece { font-size: 0.87rem; }
.tabla.despiece thead th { position: sticky; top: 0; background: var(--lino); }
.tabla-scroll { overflow: auto; max-height: 30rem; border-top: 1px solid var(--nogal); border-bottom: 1px solid var(--nogal); }
.tabla.ancha { min-width: 36rem; }
.tabla-scroll:has(.ancha) { max-height: none; border: 0; margin-top: 1.5rem; }

/* preguntas */
.faq { border-top: 1px solid var(--nogal); margin-top: 1.6rem; max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { cursor: pointer; padding: 1.2rem 2.2rem 1.2rem 0; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.15; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 1.05rem; font: 300 1.5rem/1 var(--sans); color: var(--laton); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.2rem; margin: 0; }

/* texto largo */
.prosa ul { padding-left: 1.2rem; margin: 0 0 1em; max-width: 38em; }
.prosa li { margin-bottom: 0.45em; }
.prosa li::marker { color: var(--laton); }
.cuerpo { max-width: calc(44rem + 2 * var(--margen)); margin: 0 auto; padding: 2rem var(--margen) 0; font-size: 1.125rem; line-height: 1.7; }
.cuerpo h2 { font-size: 2.1rem; margin: 2.6rem 0 0.8rem; }
.cuerpo p, .cuerpo ul, .cuerpo ol { max-width: none; }
.cuerpo figure { margin: 2.2rem 0; }
.cuerpo figure img { width: 100%; border-radius: 4px; }
.cuerpo figcaption { font-size: 0.9rem; color: var(--topo); margin-top: 0.5rem; }
.cuerpo table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; font-size: 1rem; }
.cuerpo th, .cuerpo td { text-align: left; padding: 0.6rem 0.8rem 0.6rem 0; border-bottom: 1px solid var(--linea); }
.cuerpo thead th { border-bottom: 1px solid var(--nogal); font-weight: 500; font-size: 0.9rem; color: var(--topo); }
.cuerpo td:last-child, .cuerpo th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.articulo header h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); max-width: 17em; margin: 0.6rem 0 1rem; }

/* formulario */
.formulario { display: grid; gap: 1.2rem; }
.formulario label { display: grid; gap: 0.4rem; font-weight: 500; font-size: 0.93rem; }
.formulario input, .formulario select, .formulario textarea { font: 400 1rem/1.4 var(--sans); color: var(--nogal); background: var(--crema); border: 1px solid var(--linea); border-bottom-color: var(--nogal); border-radius: 4px 4px 0 0; padding: 0.8rem 0.9rem; width: 100%; }
.formulario ::placeholder { color: #a39a8e; }
.formulario .boton { justify-self: start; }

/* pie */
.pie { margin-top: clamp(4.5rem, 10vw, 9rem); background: var(--nogal); color: var(--crema); }
.pie-cta, .pie-info { max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) var(--margen); }
.pie-cta h2 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); margin-bottom: 1.1rem; }
.pie-cta p { font-size: 1.15rem; font-weight: 300; margin-bottom: 1.8rem; }
.pie-info { border-top: 1px solid rgba(251, 248, 242, 0.2); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); padding-top: 2.2rem; padding-bottom: 2.6rem; font-size: 0.95rem; }
.pie-marca { display: block; font-family: var(--serif); font-size: 1.9rem; line-height: 1; margin-bottom: 0.5rem; }
.pie-info ul { list-style: none; padding: 0; margin: 0; columns: 2; }
.pie-info li { margin-bottom: 0.45rem; }
.pie-info .nota { grid-column: 1 / -1; color: rgba(251, 248, 242, 0.6); max-width: 52em; margin: 0; }
.pie :focus-visible { outline-color: var(--crema); }

@media (max-width: 62rem) {
  .heroe { grid-template-columns: minmax(0, 1fr); padding-left: var(--margen); padding-right: 0; }
  .heroe-texto { padding-right: var(--margen); }
  .heroe-figura img { height: auto; aspect-ratio: 3 / 2; }
  .bloque.dos, .bloque.dos.invertido, .datos, .pie-info { grid-template-columns: minmax(0, 1fr); }
  .rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rejilla.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tarjeta.grande .foto { height: auto; aspect-ratio: 3 / 2; min-height: 0; }
  .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lista-posts a { grid-template-columns: minmax(0, 1fr); }
  .lista-posts .meta { grid-column: 1; }
}
@media (max-width: 38rem) {
  .rejilla, .rejilla.tres, .pasos { grid-template-columns: minmax(0, 1fr); }
  .tarjeta.grande { grid-column: auto; }
  .datos dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cabecera nav { gap: 0.2rem 1.1rem; font-size: 0.93rem; }
  .cabecera nav .boton { display: none; }
  .matriz { min-width: 0; font-size: 0.9rem; table-layout: fixed; }
  .matriz thead th { font-size: 1.1rem; width: 22%; overflow-wrap: anywhere; hyphens: auto; }
  .matriz thead th:first-child { width: 34%; }
  .matriz th, .matriz td { padding: 0.75rem 0.3rem 0.75rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tarjeta .foto img, .boton { transition: none; }
  .tarjeta:hover .foto img { transform: none; }
}

/* enlaces por tipo de mueble y artículo relacionado */
.pie-info .tipos { grid-column: 1 / -1; margin: 0; max-width: 60em; color: rgba(251, 248, 242, 0.8); }
.relacionado { margin-top: 1.4rem; font-size: 0.95rem; color: var(--topo); }

/* principios del estudio */
.principios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.6rem clamp(2rem, 6vw, 6rem); margin-top: 2.4rem; }
.principios > div { border-top: 1px solid var(--laton); padding-top: 1.2rem; }
.principios h3 { font-size: 1.9rem; margin-bottom: 0.7rem; }
.principios p { margin: 0; }
@media (max-width: 38rem) { .principios { grid-template-columns: minmax(0, 1fr); } }

/* etapas del diseño: secuencia de cuatro */
.pasos.cuatro { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.etapas-caja { grid-column: 1 / -1; margin-top: 1rem; }
.etapas-caja > h3 { font-size: 1.9rem; }
.proceso .pasos { counter-reset: etapa; }
.proceso .pasos li { counter-increment: etapa; }
.proceso .pasos li::before { content: counter(etapa); }
@media (max-width: 62rem) { .pasos.cuatro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 38rem) { .pasos.cuatro { grid-template-columns: minmax(0, 1fr); } }
.bloque.dos .pasos h3 { margin: 0 0 0.5rem; }
.bloque.dos .etapas-caja > h3 { margin-top: 0; }

/* planta de la vivienda */
.plano.planta .suelo-madera { fill: #f5ecdc; }
.plano.planta .suelo-piedra { fill: #ebe8e1; }
.plano.planta .muro { fill: var(--nogal); }
.plano.planta .ventana { fill: var(--crema); stroke: var(--nogal); stroke-width: 1px; }
.plano.planta .puerta { fill: none; stroke: var(--topo); stroke-width: 0.8px; }
.plano.planta .mob { fill: #f8f3ea; stroke: var(--topo); stroke-width: 0.6px; }
.plano.planta .o { stroke-width: 0.5px; }
.plano.planta .estancia { font-family: var(--serif); font-size: 230px; fill: var(--nogal); paint-order: stroke; stroke: rgba(251, 248, 242, 0.85); stroke-width: 60px; }
.plano.planta .cota { font-size: 190px; paint-order: stroke; stroke: rgba(251, 248, 242, 0.85); stroke-width: 40px; }
.tabla .total th, .tabla .total td { font-weight: 600; border-bottom: 0; border-top: 1px solid var(--nogal); }
.vivienda-promo .foto img { width: 100%; border-radius: 4px; }
.vivienda-promo .foto { display: block; }
.plano.planta .estancia, .plano.planta .cota { vector-effect: none; stroke-linejoin: round; }
.plano.planta .estancia { stroke-width: 55px; }
.plano.planta .cota { stroke-width: 45px; }
.plano.planta .dim + .cota, .plano.planta text.cota[transform] { stroke: none; }

/* láminas de concepto: el dibujo se funde con el papel de la página */
.heroe-figura img { height: auto; object-fit: contain; border-radius: 0; mix-blend-mode: multiply; }
.foto-grande .lamina-concepto { border-radius: 0; max-height: none; mix-blend-mode: multiply; }
.banda.oscura { background: #211d1a; color: var(--crema); }
.banda.oscura img { width: 100%; margin-top: 2rem; }
.banda.oscura + .bloque { padding-top: clamp(3.5rem, 8vw, 7rem); }
.plano.planta .muro { fill: #3a3836; }
/* los bordes de la lámina se desvanecen en el papel de la página */
.heroe-figura img, .foto-grande .lamina-concepto {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.foto-grande .planta-foto { max-height: none; object-fit: contain; }
.banda.oscura .conmutador { border-color: var(--crema); }
.banda.oscura .conmutador button { color: var(--crema); }
.banda.oscura .conmutador button[aria-pressed="true"] { background: var(--crema); color: var(--nogal); }
.banda.oscura .visor img { margin-top: 0; }
.banda.oscura :focus-visible { outline-color: var(--crema); }
.plano .m-nogal, .plano.corte .pieza.m-nogal { fill: #cdb09a; }
.plano .m-laca { fill: #f4f1ea; }
.plano.planta .suelo-moqueta { fill: #ebe4d8; }

/* ===== Estilo 2: fondo blanco, Montserrat en mayúsculas, portada a sangre con titular gigante ===== */
:root {
  --lino: #ffffff; --crema: #faf8f5; --arena: #f1ece5; --nogal: #2a1d14; --topo: #7c6f64; --laton: #9a7748; --linea: rgba(42, 29, 20, 0.16);
  --serif: Montserrat, "Helvetica Neue", Arial, sans-serif; --sans: Montserrat, "Helvetica Neue", Arial, sans-serif; --cifra: Montserrat, "Helvetica Neue", Arial, sans-serif;
}
body { font-size: 1rem; line-height: 1.6; }
h1, h2 { font-weight: 600; text-transform: uppercase; letter-spacing: -0.012em; line-height: 1.05; }
h1 { font-size: clamp(2rem, 4.8vw, 4rem); }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.3rem); font-weight: 700; }
h2 sup { font-size: 0.42em; font-weight: 600; vertical-align: super; letter-spacing: 0; }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.25; letter-spacing: 0; }
.entrada { font-weight: 400; font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
img { border-radius: 0 !important; }

.cabecera { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem 2rem; padding: 1.4rem var(--margen); font-size: 0.82rem; }
.cabecera nav { display: flex; gap: 0.3rem 2rem; flex-wrap: wrap; font-size: inherit; }
.cabecera nav.der { justify-content: flex-end; }
.cabecera nav a, .cabecera nav a:not(.boton) { text-decoration: none; padding: 0.2rem 0; border-bottom: 1px solid transparent; }
.cabecera nav a:hover, .cabecera nav a[aria-current] { border-bottom-color: currentColor; }
.cabecera .idioma { font-family: var(--sans); font-size: inherit; letter-spacing: 0; color: inherit; opacity: 0.7; }
.marca { font-family: var(--sans); font-size: 1.25rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; gap: 0; }
.cabecera.sobre { position: absolute; top: 0; left: 0; right: 0; z-index: 3; color: #fff; max-width: none; }

.portada { position: relative; height: min(94vh, 62rem); min-height: 34rem; overflow: hidden; color: #fff; }
.portada > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portada::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(42, 29, 20, 0.42), rgba(42, 29, 20, 0.08) 42%, rgba(42, 29, 20, 0) 60%, rgba(42, 29, 20, 0.28)); }
.portada h1 { position: absolute; z-index: 2; top: 4.6rem; left: var(--margen); right: var(--margen); margin: 0; font-size: clamp(2.6rem, 8.3vw, 9.6rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.02em; text-wrap: nowrap; }
.portada .lema { position: absolute; z-index: 2; left: var(--margen); bottom: 2.6rem; margin: 0; font-size: 0.82rem; line-height: 1.5; max-width: 22em; }
.portada .ficha { position: absolute; z-index: 2; right: var(--margen); bottom: 2.6rem; width: clamp(9rem, 13vw, 12rem); background: #fff; color: var(--nogal); padding: 0.7rem; text-decoration: none; display: grid; gap: 0.6rem; font-size: 0.85rem; }
.portada .ficha .fila { display: flex; justify-content: space-between; }
.portada .ficha i { font-style: normal; }
.portada .ficha img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.presentacion { align-items: start; }
.presentacion .entrada { margin: 0; font-weight: 500; }

.boton, .boton-linea { border-radius: 0; text-transform: uppercase; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; padding: 1.05rem 1.7rem; }
.boton.pequeno { padding: 0.75rem 1.2rem; }
.conmutador, .conmutador button { border-radius: 0; }
.conmutador button { text-transform: uppercase; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; }
.enlace { font-weight: 500; text-decoration-color: currentColor; }
.enlace.flecha::after { content: "→"; display: inline-block; margin-left: 0.6em; text-decoration: none; }
.titular { align-items: flex-end; margin-bottom: 1rem; }

.manifiesto p { font-family: var(--sans); font-weight: 500; font-size: clamp(1.25rem, 2.1vw, 1.9rem); line-height: 1.3; letter-spacing: -0.01em; }
.tarjeta .cota-h { display: none; }
.tarjeta h3, .tarjeta.grande h3 { text-transform: uppercase; font-weight: 700; font-size: 1.02rem; letter-spacing: 0.01em; margin-top: 1rem; }
.tarjeta .foto { border-radius: 0; }
.tarjeta p { font-size: 0.9rem; }
.cota-h { font-weight: 500; font-size: 0.8rem; letter-spacing: 0.08em; }
.pasos li::before, .proceso > li h2::before { font-weight: 600; font-size: 0.85rem; }
.matriz thead th { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; text-transform: uppercase; }
.matriz thead small { text-transform: none; font-weight: 400; }
.lista-posts .titulo, .faq summary { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.faq summary::after { top: 1.1rem; }
.datos dd { font-weight: 600; font-size: 1.5rem; letter-spacing: 0; }
.precio { font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: 0; }
.plano .cota { font-weight: 500; letter-spacing: 0; font-size: var(--fs); }
.principios h3 { font-size: 1.15rem; text-transform: uppercase; font-weight: 700; }
.pie-cta h2 { font-size: clamp(1.9rem, 4.6vw, 3.8rem); font-weight: 500; }
.pie-marca { font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.25rem; }
.articulo header h1 { font-size: clamp(1.7rem, 3.6vw, 3rem); text-transform: none; line-height: 1.12; }
.cuerpo { font-size: 1.05rem; }
.cuerpo h2 { font-size: 1.35rem; text-transform: none; }
.lamina, .formulario input, .formulario select, .formulario textarea { border-radius: 0; }
.vivienda-promo .foto img { aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 62rem) {
  .cabecera { grid-template-columns: 1fr; justify-items: center; gap: 0.6rem; }
  .cabecera .marca { order: -1; }
  .cabecera nav, .cabecera nav.der { justify-content: center; gap: 0.2rem 1.3rem; }
  .portada h1 { top: 8.2rem; text-wrap: balance; font-size: clamp(2.6rem, 12vw, 5rem); }
  .portada .ficha { width: 8rem; }
}
.foto-grande .planta-foto { width: auto; max-width: 100%; max-height: 88vh; margin: 0 auto; }
.principios.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.banda.oscura .bloque.dos img { margin-top: 0; }
.banda.oscura .enlace { color: var(--crema); }
@media (max-width: 62rem) { .principios.tres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 38rem) { .principios.tres { grid-template-columns: minmax(0, 1fr); } }
.portada > img { object-position: 50% 82%; }
.portada::before { background: linear-gradient(to bottom, rgba(42, 29, 20, 0.30), rgba(42, 29, 20, 0.04) 40%, rgba(42, 29, 20, 0) 62%, rgba(42, 29, 20, 0.22)); }
figure { margin: 0; }
figure .nota { margin-top: 0.5rem; }

/* ===== Estilo 3: marca en marrón chocolate y crema, Inter, titulares en minúscula, botones redondeados ===== */
:root {
  --lino: #f6efe5; --crema: #fcf8f1; --arena: #ebe0cf; --nogal: #2b1b12; --topo: #7d6958; --laton: #a67c4e; --linea: rgba(43, 27, 18, 0.15);
  --serif: Inter, "Helvetica Neue", Arial, sans-serif; --sans: Inter, "Helvetica Neue", Arial, sans-serif; --cifra: Inter, "Helvetica Neue", Arial, sans-serif;
}
h1, h2 { text-transform: none; font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 500; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
img { border-radius: 14px !important; }
.portada > img, .visor img, .comparador img, .plano, .foto-grande .lamina-concepto { border-radius: 0 !important; }

.cabecera { grid-template-columns: auto 1fr auto; font-size: 0.95rem; padding: 1.3rem var(--margen); max-width: none; }
.cabecera nav { justify-content: center; gap: 0.3rem 2.2rem; }
.marca { display: flex; align-items: center; gap: 0.7rem; font-size: 1.15rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.marca svg { width: 28px; height: 28px; stroke: none; }
.marca svg rect { fill: currentColor; }
.marca svg path { fill: none; stroke: var(--lino); stroke-width: 1.8; stroke-linecap: round; }
.cabecera.sobre .marca svg path { stroke: var(--nogal); }
.acceso { display: flex; align-items: center; gap: 1.2rem; }
.acceso a { text-decoration: none; }
.contorno { border: 1px solid currentColor; border-radius: 12px; padding: 0.6rem 1.1rem; }
.contorno:hover { background: var(--nogal); color: var(--crema); border-color: var(--nogal); }
.cabecera.sobre { color: #f3e6d6; }
.cabecera.sobre .contorno:hover { background: #f3e6d6; color: var(--nogal); border-color: #f3e6d6; }

.portada { height: min(100vh, 58rem); min-height: 38rem; color: #f3e6d6; display: grid; grid-template-rows: 1fr auto; }
.portada > img { object-position: 50% 50%; }
.portada::before { background: linear-gradient(to bottom, rgba(33, 19, 11, 0.45), rgba(33, 19, 11, 0.25) 45%, rgba(33, 19, 11, 0.6)); }
.portada .centro { position: relative; z-index: 2; align-self: center; text-align: center; padding: 6rem var(--margen) 1rem; display: grid; justify-items: center; gap: 1.3rem; }
.portada h1 { position: static; font-size: clamp(2.4rem, 5.6vw, 4.8rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; max-width: 15em; margin: 0; }
.portada .centro p { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 32em; }
.portada .boton { margin-top: 0.6rem; font-size: 1.1rem; padding: 1.05rem 1.6rem; }
.hechos { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0 var(--margen) 2.4rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.hechos li { display: flex; align-items: center; justify-content: center; gap: 0.9rem; }
.hechos li + li { border-left: 1px solid rgba(243, 230, 214, 0.25); }
.hechos strong { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.hechos span { font-size: 0.85rem; line-height: 1.35; opacity: 0.85; }

.boton, .boton-linea { border-radius: 14px; text-transform: none; font-size: 0.98rem; font-weight: 500; letter-spacing: 0; padding: 0.95rem 1.5rem; }
.boton.claro { background: #f3e6d6; border-color: #f3e6d6; color: var(--nogal); }
.boton.claro:hover { background: #fff; border-color: #fff; }
.conmutador { border-radius: 12px; }
.conmutador button { text-transform: none; font-size: 0.9rem; font-weight: 500; letter-spacing: 0; }
.tarjeta h3, .tarjeta.grande h3, .principios h3 { text-transform: none; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }
.tarjeta .foto { border-radius: 14px; }
.matriz thead th { text-transform: none; font-weight: 600; font-size: 1.05rem; }
.lamina { border-radius: 14px; }
.formulario input, .formulario select, .formulario textarea { border-radius: 10px; border: 1px solid var(--linea); }
.pie, .banda.oscura { background: #2b1b12; }
.pie-cta h2 { font-weight: 500; text-transform: none; }
.pie-marca { letter-spacing: 0.08em; }
.manifiesto p { font-weight: 500; letter-spacing: -0.02em; }

@media (max-width: 62rem) {
  .cabecera { grid-template-columns: 1fr auto; justify-items: start; }
  .cabecera nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 0.2rem 1.2rem; font-size: 0.9rem; }
  .cabecera .marca { order: 0; }
  .portada { height: auto; }
  .portada .centro { padding-top: 9rem; padding-bottom: 2rem; }
  .portada h1 { top: auto; font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .hechos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; }
  .hechos li { justify-content: flex-start; }
  .hechos li + li { border-left: 0; }
}

/* portada en tono claro: texto marrón sobre la pared, velo crema abajo para los datos */
.portada { color: var(--nogal); }
.portada > img { object-position: 50% 100%; }
.portada::before { background: linear-gradient(to bottom, rgba(246, 239, 229, 0.42), rgba(246, 239, 229, 0.12) 38%, rgba(246, 239, 229, 0) 58%, rgba(246, 239, 229, 0.86) 92%); }
.portada .centro { align-self: start; padding-top: clamp(6.5rem, 15vh, 10rem); }
.cabecera.sobre { color: var(--nogal); }
.cabecera.sobre .marca svg path { stroke: var(--lino); }
.cabecera.sobre .contorno:hover { background: var(--nogal); color: var(--crema); border-color: var(--nogal); }
.hechos li + li { border-left-color: rgba(43, 27, 18, 0.22); }
.hechos span { opacity: 1; color: #4a3729; }
@media (max-width: 62rem) {
  .portada .centro { padding-top: 10.5rem; padding-bottom: 14rem; }
  .hechos { padding-bottom: 1.8rem; }
  .hechos li { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .hechos span br { display: none; }
  .portada::before { background: linear-gradient(to bottom, rgba(246, 239, 229, 0.6), rgba(246, 239, 229, 0.25) 40%, rgba(246, 239, 229, 0.1) 55%, rgba(246, 239, 229, 0.9) 78%); }
}
/* portada con interior claro: casi sin velo arriba */
.portada::before { background: linear-gradient(to bottom, rgba(246, 239, 229, 0.18), rgba(246, 239, 229, 0) 45%, rgba(246, 239, 229, 0) 70%, rgba(246, 239, 229, 0.8) 94%); }
.portada > img { object-position: 50% 78%; }
.comparador { border-radius: 14px; overflow: hidden; }
.comparador .tirador { top: 0; bottom: 0; }
/* anotaciones a mano sobre el dibujo: medidas y materiales reales del proyecto */
.notas-mano { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; font-family: Caveat, "Segoe Script", cursive; font-size: 50px; fill: #262423; }
.notas-mano path { fill: none; stroke: #262423; stroke-width: 2.6; stroke-linecap: round; }
.notas-mano marker path { stroke-width: 1.6; }
.notas-mano { font-size: 46px; font-weight: 600; fill: #1b1a19; }
.notas-mano text { paint-order: stroke; stroke: rgba(250, 248, 244, 0.9); stroke-width: 10px; stroke-linejoin: round; }
.notas-mano path { stroke: #1b1a19; stroke-width: 2.4; }
.notas-mano text { stroke: rgba(252, 250, 246, 0.95); stroke-width: 7px; }
.notas-mano path { stroke-width: 2; }
/* medidas dibujadas con el mismo lápiz que el boceto: trazo doble, grano de papel, cifras a mano */
.notas-mano { font-family: "Reenie Beanie", Caveat, cursive; font-size: 62px; font-weight: 400; fill: #2b2928; }
.notas-mano text { stroke: #2b2928; stroke-width: 0.8px; paint-order: normal; }
.notas-mano path { stroke: #2b2928; stroke-width: 1.9; }
.notas-mano { font-size: 72px; fill: #1f1d1c; }
.notas-mano text { stroke: #1f1d1c; stroke-width: 1.6px; }
.notas-mano path { stroke: #1f1d1c; stroke-width: 2.2; }

/* artículo: portada, cifras clave y láminas técnicas */
.art-portada { margin: 0 auto; padding: 0 var(--margen); max-width: calc(var(--ancho) + 2 * var(--margen)); }
.art-portada img { width: 100%; border-radius: 4px; }
.articulo .migas a { text-decoration: none; }
.articulo .migas a:hover { text-decoration: underline; }
.articulo header .entrada { margin-bottom: 1.2rem; }
.cifras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem 1.2rem; margin: 2.2rem 0; padding: 1.6rem 0; border-top: 1px solid var(--nogal); border-bottom: 1px solid var(--linea); }
.cifras div { border-left: 1px solid var(--laton); padding-left: 0.9rem; }
.cifras b { display: block; font-family: var(--cifra); font-weight: 500; font-size: 2.6rem; line-height: 1; letter-spacing: 0.02em; }
.cifras b small { font-size: 1.1rem; color: var(--topo); margin-left: 0.15em; }
.cifras span { display: block; font-size: 0.88rem; line-height: 1.35; color: var(--topo); margin-top: 0.45rem; }
.dibujo { margin: 2.6rem 0; }
.cuerpo .dibujo.ancha { margin-left: min(0px, calc((44rem - 64rem) / 2)); margin-right: min(0px, calc((44rem - 64rem) / 2)); }
.dibujo-hoja { background: var(--crema); border: 1px solid var(--linea); border-radius: 4px; padding: clamp(0.8rem, 2.5vw, 1.8rem); position: relative;
  background-image: linear-gradient(rgba(154, 119, 72, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(154, 119, 72, 0.07) 1px, transparent 1px); background-size: 22px 22px; }
.dibujo.dos-col .dibujo-hoja { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.6rem; align-items: end; }
.dibujo-celda { padding-top: 0.2rem; }
.dibujo-tit { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin: 0.2rem 0 0; text-align: center; }
.dibujo-svg { width: 100%; height: auto; font-family: var(--cifra); }
.dibujo-svg .muro { fill: #3a322c; }
.dibujo-svg .hueco { fill: var(--crema); }
.dibujo-svg .puerta { fill: none; stroke: var(--topo); stroke-width: 0.7; stroke-dasharray: 3 2.5; }
.dibujo-svg .mueble { stroke: var(--nogal); stroke-width: 0.9; }
.dibujo-svg .colgar { fill: #ead7ba; }
.dibujo-svg .baldas { fill: #f3e9d8; }
.dibujo-svg .cajones, .dibujo-svg .zocalo { fill: #e3d6c1; }
.dibujo-svg .alzado { fill: #f1e4cc; }
.dibujo-svg .barra { stroke: var(--nogal); stroke-width: 0.8; stroke-dasharray: 5 3; }
.dibujo-svg .percha { stroke: #b4946a; stroke-width: 0.55; }
.dibujo-svg .percha-ej { stroke: var(--nogal); stroke-width: 2.2; stroke-linecap: round; }
.dibujo-svg .aspa, .dibujo-svg .junta, .dibujo-svg .tapa { fill: none; stroke: var(--topo); stroke-width: 0.5; }
.dibujo-svg .paso { fill: rgba(154, 119, 72, 0.13); }
.dibujo-svg .dim, .dibujo-svg .ref { stroke: var(--laton); stroke-width: 0.7; }
.dibujo-svg .ref { stroke-width: 0.45; stroke-dasharray: 2 2; }
.dibujo-svg .tic { stroke: var(--laton); stroke-width: 1.3; }
.dibujo-svg .cota { font-size: calc(var(--fs) * 1.25); font-weight: 500; fill: var(--nogal); letter-spacing: 0.03em; paint-order: stroke; stroke: var(--crema); stroke-width: 3px; stroke-linejoin: round; }
.dibujo-svg .rotulo { paint-order: stroke; stroke: rgba(251, 248, 242, 0.8); stroke-width: 2.5px; }
.dibujo-svg .rotulo { font-family: var(--sans); font-size: calc(var(--fs) * 0.85); fill: var(--topo); letter-spacing: 0.04em; text-transform: uppercase; }
.dibujo-svg .suelo { stroke: var(--nogal); stroke-width: 1.6; }
.dibujo-svg .balda { stroke: var(--nogal); stroke-width: 1.2; }
.dibujo-svg .barra-al { stroke: var(--nogal); stroke-width: 2; stroke-linecap: round; }
.dibujo-svg .ropa { fill: rgba(111, 98, 87, 0.12); stroke: var(--topo); stroke-width: 0.5; stroke-dasharray: 2 2; }
.dibujo-svg .frente { fill: #e3d6c1; stroke: var(--nogal); stroke-width: 0.6; }
.dibujo figcaption { font-size: 0.9rem; color: var(--topo); margin-top: 0.7rem; }
.cuerpo h3 { font-size: 1.6rem; margin: 2rem 0 0.6rem; }
.cuerpo .faq { margin-top: 0.6rem; }
.cuerpo .faq details > *:not(summary) { padding-bottom: 1.2rem; margin: 0; }
@media (max-width: 40rem) {
  .cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dibujo.dos-col .dibujo-hoja { grid-template-columns: minmax(0, 1fr); }
  .dibujo-svg .cota { font-size: calc(var(--fs) * 1.6); }
  .dibujo-hoja { padding: 0.5rem; }
}

/* blog: portada con artículo destacado y rejilla con previsualizaciones */
.blog-cabeza { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem clamp(2rem, 6vw, 6rem); align-items: end; }
.blog-cabeza h1 { margin: 0; }
.blog-cabeza .entrada { margin: 0; }
.antetitulo, .etiqueta { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--laton); margin: 0 0 0.9rem; }
.blog-destacado-caja { padding-top: clamp(2rem, 4vw, 3.2rem); }
.blog-destacado-caja[hidden] { display: none; }
.blog-destacado { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); text-decoration: none; background: var(--crema); border: 1px solid var(--linea); border-radius: 14px; overflow: hidden; transition: box-shadow 0.25s; }
.blog-destacado:hover { box-shadow: 0 18px 40px -22px rgba(43, 36, 32, 0.35); }
.blog-destacado .foto { display: block; overflow: hidden; background: var(--arena); }
.blog-destacado img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-destacado:hover img, .blog-rejilla a:hover img { transform: scale(1.025); }
.blog-destacado .texto { display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(1.6rem, 3.5vw, 3rem); align-self: center; }
.blog-destacado .etiqueta { margin: 0; }
.blog-destacado .titulo { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.blog-destacado .resumen { color: var(--topo); font-size: 1.05rem; line-height: 1.55; }
.blog-destacado .meta, .blog-rejilla .meta { font-size: 0.85rem; color: var(--topo); font-variant-numeric: tabular-nums; }
.blog-destacado .leer { margin-top: 0.6rem; font-weight: 500; border-bottom: 1px solid var(--laton); align-self: flex-start; padding-bottom: 0.2rem; }
.blog-archivo { padding-top: clamp(2.5rem, 5vw, 4rem); }
.blog-filtros { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.8rem; }
.blog-filtros[hidden] { display: none; }
.blog-filtros button { font: 500 0.9rem/1 var(--sans); color: var(--nogal); background: transparent; border: 1px solid var(--linea); border-radius: 999px; padding: 0.65rem 1.05rem; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.blog-filtros button:hover { border-color: var(--nogal); }
.blog-filtros button[aria-pressed="true"] { background: var(--nogal); border-color: var(--nogal); color: var(--crema); }
.blog-rejilla { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3rem) clamp(1.2rem, 2.5vw, 2rem); }
.blog-rejilla li[hidden] { display: none; }
.blog-rejilla a { display: flex; flex-direction: column; gap: 0.55rem; text-decoration: none; height: 100%; }
.blog-rejilla .foto { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; background: var(--arena); margin-bottom: 0.5rem; }
.blog-rejilla img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-rejilla .etiqueta { margin: 0.2rem 0 0; font-size: 0.72rem; }
.blog-rejilla .titulo { font-size: 1.25rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.blog-rejilla a:hover .titulo { text-decoration: underline; text-decoration-color: var(--laton); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.blog-rejilla .resumen { color: var(--topo); font-size: 0.95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-rejilla .meta { margin-top: auto; padding-top: 0.3rem; }
.blog-rejilla a:focus-visible, .blog-destacado:focus-visible { outline: 2px solid var(--laton); outline-offset: 6px; }
/* autor al pie del artículo */
.autor { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4rem 1.1rem; align-items: center; margin-top: 3rem; padding: 1.4rem 1.5rem; background: var(--crema); border: 1px solid var(--linea); border-radius: 14px; }
.autor-sello { grid-row: span 2; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--nogal); display: grid; place-items: center; }
.autor-sello svg { width: 1.5rem; fill: none; stroke: var(--crema); stroke-width: 1.4; }
.autor b { font-weight: 600; }
.autor p { margin: 0; font-size: 0.95rem; color: var(--topo); }
@media (max-width: 60rem) {
  .blog-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-destacado, .blog-cabeza { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .blog-rejilla { grid-template-columns: minmax(0, 1fr); }
}

/* Vídeo de la entrada: fachada ligera, el reproductor se carga al pulsar */
.art-video { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 26rem); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; justify-content: center;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem); padding: 0 var(--margen); max-width: calc(var(--ancho) + 2 * var(--margen)); }
.art-video-play, .art-video-medio { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 6px; overflow: hidden; background: var(--nogal); position: relative; cursor: pointer; }
.art-video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.art-video-play:hover img { transform: scale(1.03); }
.art-video-boton { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: rgba(251,248,242,.92);
  display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.25); transition: scale .3s ease; }
.art-video-play:hover .art-video-boton { scale: 1.08; }
.art-video-boton svg { width: 1.6rem; height: 1.6rem; fill: var(--nogal); margin-left: .2rem; }
.art-video figcaption { display: flex; flex-direction: column; gap: .8rem; color: var(--topo); line-height: 1.55; }
.art-video-eti { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--laton); font-weight: 600; }
.art-video figcaption b { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; color: var(--nogal); line-height: 1.15; }
.art-video figcaption a { color: var(--nogal); }
@media (max-width: 720px) { .art-video { grid-template-columns: 1fr; } .art-video-play, .art-video-medio { max-width: 22rem; margin: 0 auto; } }

/* Соцсети в подвале */
.pie-info .redes { display: flex; gap: 0.6rem; columns: auto; margin: 1.2rem 0 0; }
.pie-info .redes li { margin: 0; }
.pie-info .redes a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid rgba(251, 248, 242, 0.3); border-radius: 50%; color: var(--crema); transition: background .2s, border-color .2s; }
.pie-info .redes a:hover { background: rgba(251, 248, 242, 0.12); border-color: var(--crema); }
