/* T8 · contacto, mapa, ROI, cotizar y estados. Sin cambios en sus contratos. */
.std [data-herramienta] { background: #fff; color: #1d1d1f; font: 400 1.0625rem/1.47 var(--std-fuente); }
.std [data-herramienta] :is(h1,h2,h3) { font-family: var(--std-fuente-display); font-weight: 600; color: #1d1d1f; letter-spacing: -.03em; }
.std [data-herramienta] h1 { font-size: clamp(2.5rem,5vw,3.5rem); line-height: 1.07; }
.std [data-herramienta] h2 { font-size: clamp(1.75rem,3vw,2.5rem); line-height: 1.14; }
.std [data-herramienta] h3 { font-size: 1.5rem; line-height: 1.2; }
.std [data-herramienta] :is(p,li) { line-height: 1.47; }
.std [data-herramienta] :is(.section,.map-header,.map-explorer) { padding: 80px max(24px, calc((100vw - 1120px)/2)); max-width: none; margin: 0; }
.std [data-herramienta] :is(.library,.map-explorer) { background: #f5f5f7; }
.std [data-herramienta] :is(.page-intro > p,.page-intro > div > p,.map-intro,.muted,.application-note p,.solution-body > p) { font-size: 1.0625rem; color: #333336; max-width: 65ch; }
.std [data-herramienta] :is(.eyebrow,.fineprint,.optional,.contact-address,.map-footnote,.map-source,.map-legend,.unmapped-note,.portfolio-note,.data-table > p,.solution-card summary small,.solution-card ul,.brief-box > p,.editorial-image figcaption,.editorial-image figcaption span) { font-size: .75rem; color: #333336; }
.std [data-herramienta] :is(a,.contact-links a,.under-link,.brief-actions a,.solution-actions a) { color: var(--accion); overflow-wrap: anywhere; }
.std [data-herramienta] :is(.primary,.solution-actions button,.brief-actions button,.empty-map button) { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 12px 20px; border: 0; border-radius: 980px; background: var(--accion-boton); color: #fff; font-size: .875rem; line-height: 1.47; }
.std [data-herramienta] :is(.primary,.solution-actions button,.brief-actions button,.empty-map button):hover { background: var(--accion); }
.std [data-herramienta] :is(a,button,summary) { min-height: 44px; }
.std [data-herramienta] :is(.contact-links a,.under-link,.brief-actions a,.solution-actions a) { display: inline-flex; align-items: center; }
.std [data-herramienta] :focus-visible { outline: 2px solid var(--accion-foco); outline-offset: 3px; }
.std [data-herramienta] .request-form { background: #f5f5f7; border: 1px solid #d2d2d7; border-radius: 18px; padding: 28px; min-width: 0; }
.std [data-herramienta] .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.std [data-herramienta] :is(.field,.map-field,.brief-box label,.map-filters legend) { font-size: .75rem; color: #1d1d1f; }
.std [data-herramienta] :is(.field input,.field select,.field textarea,.map-field select,.brief-box textarea) { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #6e6e73; border-radius: 12px; background: #fff; color: #1d1d1f; font: inherit; font-size: max(16px,1rem); padding: 12px; }
.std [data-herramienta] textarea { resize: vertical; }
.std [data-herramienta] input::placeholder,.std [data-herramienta] textarea::placeholder { color: #6e6e73; opacity: 1; }
.std [data-herramienta] :is(input,textarea,select):focus { border-color: var(--accion-foco); }
.std [data-herramienta] :is(input,textarea):user-invalid { border-color: #b42318; outline-color: #b42318; }
.std [data-herramienta] .check-line { color: #333336; font-size: .875rem; min-height: 44px; align-items: center; }
.std [data-herramienta] .check-line input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--accion-boton); }
.std [data-herramienta] .application-note { background: #fff; border: 1px solid #d2d2d7; border-radius: 18px; padding: 28px; }
.std [data-herramienta] #cost-result { display: block; color: #1d1d1f; font-size: 1.0625rem; line-height: 1.47; margin-top: 24px; }
.std [data-herramienta] .contact-layout { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; }
.std [data-herramienta] .contact-visual { background: #f5f5f7; padding: 0 max(24px, calc((100vw - 1120px)/2)) 56px; }
.std [data-herramienta="estado"] { min-height: 60vh; }
.std [data-herramienta="estado"].std-error { padding: 80px 24px; }
.std [data-herramienta="estado"] .page-intro { max-width: none; }
.std [data-herramienta="estado"] .page-intro > a { margin-right: 24px; }
/* Tabla de precios: mismo contenido y orden de la portada, en superficie clara. */
/* Mapa: geometría y datos congelados. Los filtros siguen siendo HTML nativo. */
.std [data-herramienta="mapa"] .map-filters { border-color: #d2d2d7; flex-wrap: wrap; }
.std [data-herramienta="mapa"] .map-field { min-width: 0; flex: 1 1 200px; }
.std [data-herramienta="mapa"] .scope-options { background: #fff; border: 1px solid #6e6e73; border-radius: 980px; }
.std [data-herramienta="mapa"] .scope-options label { min-height: 44px; display: flex; align-items: center; }
.std [data-herramienta="mapa"] .scope-options span { color: #1d1d1f; font-size: .75rem; }
.std [data-herramienta="mapa"] .scope-options input:checked + span { background: var(--accion-boton); color: #fff; }
.std [data-herramienta="mapa"] .scope-options label:focus-within { outline: 2px solid var(--accion-foco); outline-offset: 3px; border-radius: 980px; }
.std [data-herramienta="mapa"] #reset-map { color: var(--accion); background: #fff; border: 1px solid #6e6e73; border-radius: 980px; padding: 10px 16px; }
.std [data-herramienta="mapa"] .map-stats { flex-wrap: wrap; border-color: #d2d2d7; }
.std [data-herramienta="mapa"] .map-stats strong { color: #1d1d1f; font-size: 2.125rem; }
.std [data-herramienta="mapa"] .map-stats span { color: #333336; font-size: .75rem; }
.std [data-herramienta="mapa"] .map-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; }
.std [data-herramienta="mapa"] .region-shape { fill: #d2d2d7; stroke: #6e6e73; }
.std [data-herramienta="mapa"] .region-shape.has-data { fill: #0066cc; }
.std [data-herramienta="mapa"] .region-shape.selected { fill: #1d1d1f; }
.std [data-herramienta="mapa"] .region-line { stroke: #6e6e73; }
.std [data-herramienta="mapa"] .region-dot,.std [data-herramienta="mapa"] .map-legend i { fill: #1d1d1f; background: #0066cc; }
.std [data-herramienta="mapa"] .map-legend i.muted { background: #d2d2d7; }
.std [data-herramienta="mapa"] :is(.region-label,.region-label.zero,.region-label small,.ocean-label) { color: #333336; font-size: .75rem; }
.std [data-herramienta="mapa"] .region-label[aria-pressed="true"] { color: var(--accion); border-color: var(--accion); font-weight: 700; }
.std [data-herramienta="mapa"] .solution-list { max-height: none; overflow: visible; padding: 0; }
.std [data-herramienta="mapa"] .solution-card { background: #fff; border: 1px solid #d2d2d7; border-radius: 18px; padding: 24px; margin-bottom: 16px; }
.std [data-herramienta="mapa"] :is(.results-heading > p:last-child,.empty-map,.solution-card .expand) { color: #333336; font-size: .875rem; }
.std [data-herramienta="mapa"] .brief-box { background: #fff; border: 1px solid #d2d2d7; border-radius: 18px; padding: 28px; }
.std [data-herramienta="mapa"] .brief-box h3 { padding-right: 36px; }
.std [data-herramienta="mapa"] #close-brief { width: 44px; color: var(--accion); }
.std [data-herramienta="mapa"] :is(.data-table,.portfolio-note) { border-color: #d2d2d7; }
.std [data-herramienta="mapa"] .data-table summary { color: #1d1d1f; font-size: .875rem; padding-block: 12px; }
.std [data-herramienta="mapa"] :is(th,td) { color: #1d1d1f; border-color: #d2d2d7; font-size: .75rem; }
.std [data-herramienta="mapa"] thead th { background: #fff; }
@media (max-width: 900px) {
 .std [data-herramienta] .contact-layout { grid-template-columns: minmax(0,1fr); }
 .std [data-herramienta="mapa"] .map-layout { grid-template-columns: minmax(0,1fr); }
 /* Las etiquetas cartográficas absolutas se reemplazan por el select accesible existente. */
 .std [data-herramienta="mapa"] :is(.map-labels,.region-line) { display: none; }
}
@media (max-width: 640px) {
 .std [data-herramienta] :is(.section,.map-header,.map-explorer) { padding: 56px 16px; }
 .std [data-herramienta] :is(.request-form,.application-note,.solution-card,.brief-box) { padding: 20px; }
 .std [data-herramienta] .form-grid { grid-template-columns: minmax(0,1fr); }
 .std [data-herramienta] .map-field { flex-basis: 100%; }
 .std [data-herramienta="estado"].std-error { padding: 56px 16px; }
}

.std [data-herramienta] :is(.contact-layout > *, .form-grid > *, .map-layout > *) { min-width: 0; }
.std [data-herramienta] :is(h1 span,.breadcrumb,.breadcrumb span,.brief-box > p:last-child) { color: #333336; }
.std [data-herramienta] .breadcrumb a { color: var(--accion); }
/* Con teclado en un campo, los flotantes no cubren el formulario ni sus estados. */
.std:has([data-herramienta] :is(input,select,textarea):focus) :is(.abq-launcher,.whatsapp-float) { visibility: hidden; }
.std [data-herramienta] :is(input,select,textarea,button,a,summary) { scroll-margin-block: 120px; }
.std [data-herramienta="mapa"] .solution-card > summary { grid-template-columns: minmax(0,1fr) auto; }
.std [data-herramienta="mapa"] .solution-card > summary > div { min-width: 0; }
.std [data-herramienta="mapa"] .table-scroll { max-width: 100%; overflow: auto; }
.std [data-herramienta="mapa"] table { table-layout: fixed; overflow-wrap: anywhere; }
.std [data-herramienta] #precios { background: #fff; }
.std [data-herramienta] #precios :is(p,small,td,th,span) { color: #333336; }
.std [data-herramienta] #precios :is(table,td,th) { border-color: #d2d2d7; }
.std [data-herramienta="mapa"] .map-stats p { flex: 1 1 140px; min-width: 0; }
.std [data-herramienta="mapa"] .map-stats span { max-width: none; overflow-wrap: anywhere; }
.std [data-herramienta] .application-note strong { color: #1d1d1f; font-size: .875rem; }
.std [data-herramienta] a.std-pildora { color: #fff; background: var(--accion-boton); }
.std [data-herramienta="mapa"] .map-canvas { background: transparent; }
@media (min-width: 701px) and (max-width: 1100px) {
 .std [data-herramienta="mapa"] .map-layout { grid-template-columns: minmax(0,1fr); }
 .std [data-herramienta="mapa"] :is(.map-labels,.region-line) { display: none; }
 .std [data-herramienta="mapa"] .map-canvas { aspect-ratio: auto; height: 470px; max-width: 350px; margin: auto; }
}
