/* Biblioteca constructiva AluFeca. Estilos limitados al apartado técnico. */
.tech-page{--tech-accent:#b34d00;--tech-line:#e87519;--tech-paper:#f3f3f1;--tech-muted:#555;--tech-ink:#242424;color:var(--tech-ink);font-size:16px;line-height:1.8}
.tech-shell{max-width:1200px;padding:24px 20px 72px;margin:auto}
.tech-page h1,.tech-page h2,.tech-page h3{text-wrap:balance;letter-spacing:0}
.tech-page h1{font-size:clamp(32px,3.4vw,46px);line-height:1.15;margin:0;max-width:17ch}
.tech-page h2{font-size:clamp(25px,2.4vw,32px);line-height:1.3;margin:0 0 24px}
.tech-page h3{font-size:21px;line-height:1.4;margin:0 0 14px}
.tech-page p{margin:0 0 18px;max-width:72ch}
.tech-page a{text-underline-offset:5px}
.tech-page a:focus-visible,.tech-table-wrap:focus-visible{outline:2px solid var(--tech-line);outline-offset:5px}
.tech-page ::selection{background:#ffd6b5;color:#111}
.tech-breadcrumb{font-size:12px;color:var(--tech-muted);line-height:1.7}
.tech-breadcrumb a:hover{text-decoration:underline}
.tech-page .tech-nav{display:flex;flex-wrap:wrap;gap:0 26px;border-bottom:1px solid var(--tech-line);margin:20px 0 0;padding:0;align-items:stretch}
.tech-nav a{display:flex;align-items:center;min-height:48px;padding:10px 0;font-size:14px;color:var(--tech-muted);border-bottom:3px solid transparent;transition:color 160ms ease,border-color 160ms ease}
.tech-nav a[aria-current=page]{color:var(--tech-ink);border-color:var(--tech-line);font-weight:650}
.tech-nav a:hover{color:var(--tech-accent);border-color:var(--tech-line)}
.tech-intro{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:start;padding:58px 0 48px}
.tech-intro p{font-size:18px;line-height:1.75;margin:0 0 24px}
.tech-page .button{min-height:48px;line-height:1.5;white-space:normal}
.tech-section{padding:42px 0;border-top:1px solid var(--tech-line);scroll-margin-top:130px}
.tech-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px}
.tech-principles p{margin-bottom:0}
.tech-guide-list{display:grid;grid-template-columns:1fr 1fr;gap:0 48px}
.tech-guide{display:block;padding:28px 0;border-top:1px solid #ccc;transition:color 160ms ease}
.tech-guide h3{font-size:24px}
.tech-guide p{color:var(--tech-ink);font-size:16px;margin-bottom:14px}
.tech-guide span{display:inline-block;color:var(--tech-accent);text-decoration:underline;text-underline-offset:5px;font-size:14px;min-height:28px}
.tech-guide:hover h3{color:var(--tech-accent)}
.tech-note{background:var(--tech-paper);padding:26px 30px;margin:0 0 36px}
.tech-note strong{display:block;font-weight:650;font-size:17px;margin-bottom:8px}
.tech-note p{margin:0}
.tech-family-nav{display:flex;flex-wrap:wrap;gap:10px 24px;margin:0 0 38px}
.tech-family-nav a{min-height:44px;display:inline-flex;align-items:center;font-size:14px;text-decoration:underline;text-decoration-color:var(--tech-line)}
.tech-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px}
.tech-detail-card{background:var(--tech-paper);padding:24px;display:flex;flex-direction:column;align-items:start;min-width:0}
.tech-detail-card h3{font-size:22px}.tech-detail-card h3 a:hover{color:var(--tech-accent)}
.tech-detail-card p{font-size:14px}.tech-detail-card>.text-link{margin-top:auto;padding-top:10px;min-height:44px}
.tech-page .tech-status{font-size:12px;color:var(--tech-muted);margin:0 0 12px}
.tech-family-row{display:grid;grid-template-columns:1.2fr 1fr;gap:10%;align-items:start}
.tech-family-row p{margin-bottom:8px}.tech-family-row .tech-status{font-size:14px}
.tech-page .text-link{color:var(--tech-accent);text-decoration:underline;display:inline-block;min-height:36px}
.tech-two-col{display:grid;grid-template-columns:1fr 1fr;gap:7%}
.tech-checklist{padding-left:24px;margin:18px 0 0;max-width:84ch}
.tech-checklist li{padding-left:6px;margin:0 0 14px}.tech-checklist li::marker{color:var(--tech-accent)}
.tech-checklist strong{font-weight:650}
.tech-table-wrap{overflow-x:auto;max-width:100%;margin:24px 0 0;scrollbar-color:var(--tech-accent) var(--tech-paper)}
.tech-table-wrap table{width:100%;min-width:900px;border-collapse:collapse;font-size:14px;line-height:1.75}
.tech-table-wrap caption{text-align:left;font-size:16px;font-weight:600;padding-bottom:18px;color:var(--tech-ink)}
.tech-table-wrap th,.tech-table-wrap td{padding:18px 20px;text-align:left;vertical-align:top;border-bottom:1px solid #d5d5d5;min-width:165px}
.tech-table-wrap thead{background:#222;color:white}
.tech-table-wrap th{font-weight:600}.tech-table-wrap tbody th{min-width:150px}
.tech-table-wrap tbody tr:nth-child(even){background:var(--tech-paper)}
.tech-page .tech-scroll-hint{font-size:12px;color:var(--tech-muted)}
.tech-definitions{margin:0}.tech-definitions>div{display:grid;grid-template-columns:230px 1fr;gap:32px;padding:24px 0;border-bottom:1px solid #ddd}
.tech-definitions dt{font-size:19px;font-weight:550}.tech-definitions dd{margin:0;max-width:72ch}
.tech-document-state{background:var(--tech-paper);padding:30px}
.tech-next{display:grid;grid-template-columns:1fr 1fr;gap:28px;border-top:1px solid var(--tech-line);padding-top:28px;font-size:14px}
.tech-next>a:last-child{text-align:right}
.tech-back{margin-top:24px!important;font-size:14px}.tech-back+.tech-intro{padding-top:20px}
.tech-contact{border-top:1px solid var(--tech-line);padding:38px 0 0;margin-top:20px;display:flex;justify-content:space-between;align-items:center;gap:30px}
.tech-contact h2{font-size:26px;margin-bottom:10px}.tech-contact p{margin:0}.tech-contact .button{flex-shrink:0}
@media(max-width:900px){.tech-detail-grid{grid-template-columns:1fr 1fr}.tech-principles{gap:24px}.tech-intro{gap:5%}.tech-principles h3{font-size:19px}.tech-page h1{font-size:36px}}
@media(max-width:600px){.tech-shell{padding:20px 20px 45px}.tech-page{font-size:16px}.tech-page .tech-nav{gap:0 19px;margin-top:12px}.tech-nav a{font-size:13px;min-height:44px}.tech-intro{grid-template-columns:1fr;gap:24px;padding:34px 0}.tech-page h1{font-size:33px;max-width:100%}.tech-intro p{font-size:17px;margin-bottom:20px}.tech-section{padding:30px 0}.tech-principles,.tech-guide-list,.tech-two-col,.tech-family-row{grid-template-columns:1fr;gap:22px}.tech-guide-list{gap:0}.tech-guide{padding:24px 0}.tech-guide h3{font-size:22px}.tech-note{padding:22px;margin-bottom:28px}.tech-detail-grid{grid-template-columns:1fr;gap:14px}.tech-detail-card{padding:22px}.tech-definitions>div{grid-template-columns:1fr;gap:10px;padding:22px 0}.tech-document-state{padding:22px}.tech-next{grid-template-columns:1fr;gap:14px}.tech-next>a:last-child{text-align:left}.tech-contact{display:block}.tech-contact .button{margin-top:24px}.tech-family-nav{gap:4px 20px}}
@media(prefers-reduced-motion:reduce){.tech-page *{transition:none!important;scroll-behavior:auto!important}}

/* La navegación de lectura permanece en el flujo, también en móvil. */
.tech-page .tech-nav,.tech-page .tech-family-nav{position:static;inset:auto;flex-direction:row;max-height:none;width:auto;overflow:visible;background:transparent;box-shadow:none;transform:none;visibility:visible;opacity:1}
.tech-page .tech-nav{align-items:stretch}
.tech-page .tech-family-nav{align-items:center;display:flex;padding:0;border:0}
.tech-page .tech-nav>a{padding:10px 0}

/* Guías de ventilación y humedad: navegación en flujo y lectura por capas. */
.tech-page .tech-nav a[aria-current=true]{color:var(--tech-ink);border-color:var(--tech-line);font-weight:650}
.tech-page .tech-subnav{display:flex;position:static;inset:auto;flex-direction:row;align-items:stretch;flex-wrap:wrap;gap:0 24px;width:auto;max-height:none;overflow:visible;margin:0;padding:10px 0;background:var(--tech-paper);box-shadow:none;border-bottom:1px solid #ddd}
.tech-subnav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;font-size:13px;color:var(--tech-ink);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:6px;transition:text-decoration-color 160ms ease}
.tech-subnav a[aria-current=page],.tech-subnav a:hover{text-decoration-color:var(--tech-accent)}
.tech-feature-link{padding:4px 0 38px;max-width:80ch}.tech-feature-link h2{margin-bottom:12px}
.tech-layer-figure{margin:28px 0;background:var(--tech-paper);padding:28px}
.tech-layer-figure figcaption{font-size:18px;font-weight:600;margin-bottom:20px}
.tech-layers{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.tech-layers li{display:grid;grid-template-columns:1fr 1.2fr;gap:24px;background:#fff;padding:16px 20px;border:1px solid #ccc}
.tech-layers strong{font-weight:600}.tech-layers span{font-size:14px}
.tech-layers .tech-layer-air{background:#e8f0f4;border:1px solid #697f8c}
.tech-layer-figure>p{font-size:12px;color:var(--tech-muted);margin:18px 0 0}
@media(max-width:600px){.tech-page .tech-subnav{gap:0 8px;padding:8px}.tech-subnav a{padding:8px;min-height:44px}.tech-layer-figure{padding:20px}.tech-layers li{grid-template-columns:1fr;gap:6px;padding:15px}.tech-feature-link{padding-bottom:28px}}
