*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font: var(--regular) var(--body)/var(--line) var(--font); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { line-height: 1.03; letter-spacing: -.06em; text-wrap: balance; }
h2 { font-size: var(--section-type); }
h3 { line-height: 1.23; }
.wrap { width: min(var(--content), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.eyebrow { margin-bottom: var(--space-2); font-size: var(--label); font-weight: var(--bold); letter-spacing: .14em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 4; top: 1rem; left: 1rem; padding: .65rem; background: var(--surface); transform: translateY(-200%); }
.skip:focus { transform: none; }

.header { background: var(--background); }
.header-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem var(--space-2); padding-block: .5rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; width: fit-content; font-size: 1.2rem; font-weight: var(--bold); letter-spacing: .1em; text-decoration: none; }
.logo img { border-radius: var(--radius); }
.header nav { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 0 clamp(.7rem, 3vw, 2rem); }
.header nav a, .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--small); font-weight: var(--bold); text-underline-offset: .25em; }
.header nav a { text-decoration: none; }
.header nav a:hover { text-decoration: underline; }

.button { display: inline-flex; width: fit-content; min-height: 48px; padding: .65rem .95rem; gap: .55rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: var(--radius); background: var(--action); color: var(--action-text); font-size: var(--small); font-weight: var(--bold); text-decoration: none; cursor: pointer; transition: background var(--duration); }
.button svg { flex: none; width: 18px; }
.button:hover { background: var(--action-hover); }
.button:active { background: var(--action-active); }
.button.secondary { background: transparent; border-color: currentColor; }
.button.secondary:hover { background: var(--surface); color: var(--inverse); }

.hero, .closing { background: var(--inverse); color: var(--text-inverse); }
.hero { position: relative; isolation: isolate; overflow: clip; }
.hero-scene { position: absolute; z-index: -2; inset: auto 0 0; height: 45%; }
.hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--inverse) 52%, transparent 74%); }
.hero-inner { display: flex; align-items: center; min-height: 38rem; padding-block: clamp(2rem, 6vw, 5rem) clamp(14rem, 68vw, 27rem); }
.hero h1 { font-size: var(--hero-type); text-wrap: initial; }
.hero h1 em { display: block; color: var(--hover); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 40ch; color: var(--sand); margin-top: var(--space-3); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-1) var(--space-2); margin-top: var(--space-3); }
.hero :focus-visible, .closing :focus-visible { outline-color: var(--hover); }
.hero .button, .closing .button { background: var(--brand-accent); color: var(--inverse); }
.hero .button:hover, .closing .button:hover { background: var(--hover); }

.editorial, .engineering-inner, .faq { display: grid; gap: var(--space-4); }
.method, .process ol { list-style: none; margin: 0; padding: 0; }
.method li, .process li { border-top: var(--rule); padding-block: var(--space-2); }
.method h3, .process h3 { color: var(--brand); }
.method p, .process p, .faq details p { color: var(--text-secondary); margin-top: .35rem; }
.comfort { background: var(--surface-subtle); }
.comfort-inner { width: 100%; display: grid; }
.comfort-inner > div { align-self: center; padding: var(--section-space) var(--gutter) var(--space-4); }
.comfort-inner h2 { font-size: var(--display-type); }
.comfort-inner p:not(.eyebrow), .scope p:not(.eyebrow), .engineering-copy p:not(.eyebrow) { margin-top: var(--space-2); max-width: 44ch; }
.comfort img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.engineering { background: var(--background); }
.engineering-copy { align-self: center; }
.fine { font-size: var(--small); color: var(--text-secondary); }
.explorer { min-inline-size: 0; margin: 0; border: 0; padding: 0; }
.explorer-image { position: relative; isolation: isolate; background: var(--surface-subtle); }
.explorer-image img { width: 100%; height: auto; }
.part-note { padding: var(--space-2) 0 0; border-top: var(--rule); }
.part-note p { color: var(--text-secondary); margin-top: .35rem; }


.scope { background: var(--brand-accent); color: var(--inverse); }
.scope-inner { display: grid; width: 100%; gap: 0; }
.scope-inner > div { align-self: center; padding: var(--space-4) var(--gutter) var(--section-space); }
.scope img { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; }
.scope .button { background: var(--inverse); color: var(--text-inverse); margin-top: var(--space-3); }
.scope .button:hover { background: var(--brand); }
.process ol { margin-top: var(--space-4); counter-reset: step; }
.process li { counter-increment: step; }
.process li::before { content: '0' counter(step); display: block; color: var(--action); font-size: 1.55rem; font-weight: var(--bold); line-height: 1; margin-bottom: var(--space-1); }

.closing .eyebrow { color: var(--hover); }
.notice { margin-top: var(--space-2); border-inline-start: 2px solid var(--brand-accent); padding-inline-start: .75rem; color: var(--sand); }
.request-form { background: var(--background); color: var(--text); border-radius: var(--radius); padding: clamp(.9rem, 3vw, 2rem); min-width: 0; }
.request-form :focus-visible { outline-color: var(--focus); }
.request-form h3 { margin-block: .35rem var(--space-2); font-size: 1.25rem; }
.request-form label { display: block; font-weight: var(--medium); margin-top: .7rem; }
.request-form label span { font-size: var(--small); font-weight: var(--regular); }
.request-form input, .request-form select, .request-form textarea { display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: .25rem; padding: .35rem .45rem; border: 1px solid var(--text-secondary); border-radius: var(--radius); background: var(--surface); color: var(--text); }
.equipment-row { min-inline-size: 0; padding: .35rem .75rem .75rem; margin: .85rem 0 0; border: var(--rule); border-radius: var(--radius); }
.equipment-row legend { padding-inline: .2rem; font-weight: var(--bold); }
.quiet { border: 0; background: transparent; color: var(--brand); min-height: 44px; padding: .3rem .25rem; font-size: var(--small); font-weight: var(--bold); text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.error { color: var(--error); font-size: var(--small); margin-top: .25rem; }
.request-form [aria-invalid="true"] { border-color: var(--error); }

details { border-top: var(--rule); }
details:last-child { border-bottom: var(--rule); }
summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; gap: .75rem; padding-block: .65rem; font-weight: var(--medium); cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--brand); font-size: 1.35rem; line-height: 1; }
details[open] summary::after { content: '−'; }
.faq details p { margin-bottom: var(--space-2); }
.closing { background: radial-gradient(ellipse at 105% 135%, var(--brand) 45%, var(--inverse) 45.5%); }
.closing .button { align-self: center; }
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding-block: var(--space-3); font-size: var(--small); }
.footer > a:last-child:not(.logo) { margin-inline-start: auto; min-height: 44px; display: inline-flex; align-items: center; }

@media (min-width: 48rem) {
  .header-inner { grid-template-columns: 1fr auto 1fr; min-height: 68px; }
  .header-inner > .button { justify-self: end; }
  .header nav { grid-column: auto; grid-row: auto; }
  .hero-inner { min-height: clamp(31rem, 46vw, 47rem); padding-block: clamp(3rem, 5vw, 5rem); }
  .hero-copy { max-width: 46%; }
  .hero-scene { inset: 0; height: 100%; }
  .hero::after { background: linear-gradient(90deg, color-mix(in srgb, var(--inverse) 62%, transparent), color-mix(in srgb, var(--inverse) 37%, transparent) 44%, transparent 63%); }
  .editorial, .faq { grid-template-columns: 1fr 1.15fr; gap: 8%; }
  .comfort-inner, .scope-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comfort-inner > div, .scope-inner > div { padding-block: var(--section-space); padding-inline: max(var(--gutter), (100vw - var(--content)) / 2) var(--gutter); }
  .scope-inner > div { padding-inline: var(--gutter) max(var(--gutter), (100vw - var(--content)) / 2); }
  .comfort img, .scope img { height: 100%; aspect-ratio: auto; max-height: 34rem; }
  .engineering-inner { grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr); gap: 6%; }
  .engineering-copy { grid-column: 2; grid-row: 1; }
  .explorer { grid-column: 1; grid-row: 1; }
  .process ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
  .equipment-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .65rem; }
  .equipment-row .quiet { justify-self: start; }
  .closing .button { justify-self: end; }
}
@media (min-width: 64rem) {
  .hero-copy { max-width: 51%; }
  .method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-scene img { animation: settle var(--motion-hero) cubic-bezier(.15,.65,.2,1) both; }
  .hero-scene::after {
    content: "";
    position: absolute;
    inset: 52% 9% 0 16%;
    background: radial-gradient(ellipse at 60% 40%, color-mix(in srgb, var(--sand) 18%, transparent), transparent 52%);
    pointer-events: none;
    animation: airflow var(--motion-airflow) ease-out both;
  }
}
@keyframes settle { from { transform: scale(1.04) translate(-.4%, .2%); } to { transform: none; } }
@keyframes airflow {
  from { opacity: 0; transform: translate(8%, -8%); }
  35% { opacity: .85; }
  to { opacity: 0; transform: translate(-12%, 12%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* B03: editorial refinements */
.header { position: sticky; top: 0; z-index: 10; transition: transform var(--motion-context); }
.header-away:not(:focus-within) { transform: translateY(-100%); }
.header .button { background: var(--brand); color: var(--text-inverse); }
.menu-toggle { min-height: 44px; background: transparent; color: var(--brand); border: var(--rule); border-radius: var(--radius); }
section[id] { scroll-margin-top: 90px; }
.method-end { font-weight: var(--bold); color: var(--brand); }
.object-svg { display: block; width: 100%; height: auto; }
.object-svg [data-component] { cursor: pointer; transition: opacity var(--duration), filter var(--duration); }
.object-svg [data-component]:hover, .object-svg [data-component]:focus-visible, .object-svg .active { filter: drop-shadow(0 0 4px #F07A24); }
.object-svg .dim { opacity: .35; }
.offers { display: grid; gap: 1rem; }
.offer { padding: clamp(1rem, 3vw, 2rem); background: var(--surface-subtle); display: grid; gap: 1rem; align-content: center; }
.offer h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.offer.preventivo { background: var(--brand); color: var(--text-inverse); }
.offer.preventivo .button { background: var(--brand-accent); color: var(--inverse); }
.offer-help { grid-column: 1 / -1; }
.report { display: grid; gap: 2rem; align-items: center; }
.report-sheet { background: white; padding: 2rem; border: var(--rule); box-shadow: 8px 8px 0 var(--surface-subtle); }
.report-sheet p { margin-top: .75rem; }
.process { background: var(--surface-subtle); }
.process .button { margin-top: 1.5rem; }
.closing { background-color: var(--inverse); background-image: repeating-radial-gradient(ellipse at 110% 120%, transparent 0 28px, #ffffff12 29px 30px, transparent 31px 45px); }
.closing em { color: var(--brand-accent); font-style: normal; }
.closing p { margin-top: 1rem; }
.footer { flex-wrap: wrap; gap: 1rem; }
@media (min-width: 48rem) {
  .offers { grid-template-columns: 1.1fr 1fr; }
  .offer.preventivo { grid-column: 1; grid-row: 1 / 3; }
  .offer.limpieza { grid-column: 2; grid-row: 1; }
  .offer.correctivo { grid-column: 2; grid-row: 2; }
  .report { grid-template-columns: 1fr 1fr; }
  .engineering-copy { grid-column: 2; grid-row: 1; }
  .explorer { grid-column: 1; grid-row: 1; }
}
@media (max-width: 47.99rem) {
  .header-inner { grid-template-columns: 1fr auto auto; gap: .35rem; }
  .header-inner .button { grid-column: 2; grid-row: 1; padding-inline: .5rem; }
  .menu-toggle { grid-column: 3; grid-row: 1; }
  .header .logo { font-size: .95rem; gap: .3rem; }
  .header .logo img { width: 30px; height: 30px; }
  .hero-inner { min-height: 0; padding-block: 2rem clamp(10rem, 52vw, 20rem); }
  .hero-scene { height: 40%; }
  .comfort img { grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) { .header, .object-svg [data-component] { transition: none; } }

/* B03-R: photographic parts and editorial assets. */
.object-svg [data-component] .hit { pointer-events: all; stroke: transparent; stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.object-svg [data-component]:hover .hit, .object-svg [data-component]:focus-visible .hit, .object-svg [data-component].active .hit { stroke: var(--brand-accent); }
.method-icon { display: block; width: 76px; height: 76px; margin-bottom: .5rem; }
.offer-photo, .evidence-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.offer .eyebrow { margin: 0; }
.report-visual { display: grid; gap: .75rem; min-width: 0; }
.report-icon { display: inline-block; vertical-align: middle; margin-right: .5rem; }
.report-values { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.report-values span { display: flex; align-items: center; gap: .5rem; font-size: .875rem; }
.report-values img { flex: none; }
@media (min-width: 48rem) { .offer:not(.preventivo) { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-content: start; } .offer:not(.preventivo) .offer-photo { grid-row: 1 / 5; height: 100%; object-fit: cover; } .offer:not(.preventivo) > :not(.offer-photo) { grid-column: 2; } }

/* Stable explorer layout: all notes contribute their intrinsic height. */
.explorer-ready .part-notes { display: grid; }
.explorer-ready .part-note { grid-area: 1 / 1; align-self: start; min-width: 0; }
.explorer-ready .part-note[hidden] { display: block !important; visibility: hidden; }

/* B03-R: compact evidence composition and stable FAQ alignment. */
.report { align-items: start; gap: clamp(1.5rem, 4vw, 3rem); }
.report-copy > p:not(.eyebrow) { margin-top: 1rem; max-width: 44ch; }
.report-visual { background: var(--surface-subtle); padding: clamp(.75rem, 2vw, 1.5rem); gap: 1rem; }
.report-photo { margin: 0; }
.report-photo figcaption { margin-top: .35rem; }
.report-sheet { padding: clamp(1rem, 2vw, 1.5rem); box-shadow: none; }
.report-sheet h3 { display: flex; align-items: center; gap: .5rem; }
.report-icon { flex: none; margin: 0; }
.report-values { display: grid; gap: .5rem; }
.faq { align-items: start; }
.faq > div { min-width: 0; }
.faq details p { padding-inline-end: 1.5rem; }
@media (min-width: 48rem) {
  .report { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .report-copy { align-self: center; }
  .report-visual { grid-template-columns: minmax(0, 1fr); }
  .report-photo .evidence-photo { aspect-ratio: 16 / 9; object-position: center; }
}

/* Final editorial refinement: contextual navigation and report-first evidence. */
.header { background: var(--inverse); color: var(--text-inverse); transition: transform var(--motion-context), background-color var(--motion-context), color var(--motion-context); }
.header .button { background: var(--brand-accent); color: var(--inverse); }
.header .menu-toggle { color: inherit; border-color: currentColor; }
.header :focus-visible { outline-color: var(--hover); }
.header.header-scrolled { background: var(--background); color: var(--text); }
.header.header-scrolled .button { background: var(--brand); color: var(--text-inverse); }
.header.header-scrolled :focus-visible { outline-color: var(--focus); }
.skip { z-index: 20; }
.report-visual { padding: clamp(.75rem, 3vw, 2rem); }
.report-sheet { min-width: 0; padding: clamp(1rem, 3vw, 2rem); box-shadow: 0 8px 24px #092e2410; }
.report-masthead { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-bottom: .75rem; border-bottom: 2px solid var(--brand); color: var(--brand); font-weight: var(--bold); }
.report-masthead img { width: 30px; height: 30px; border-radius: .25rem; }
.report-masthead span:last-child { margin-inline-start: auto; font-size: var(--label); text-transform: uppercase; }
.report-example { color: var(--action); font-size: var(--label); font-weight: var(--bold); }
.report-sheet h3 { margin-top: .5rem; font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
.report-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-block: 1rem; }
.report-facts dt { color: var(--text-secondary); font-size: var(--label); }
.report-facts dd { margin: 0; font-weight: var(--medium); }
.report-block { border-top: var(--rule); padding-block: .85rem; }
.report-block h4 { margin: 0 0 .5rem; color: var(--brand); font-size: var(--small); }
.report-checks { list-style: none; padding: 0; margin: 0; font-size: var(--small); }
.report-checks li::before { content: '✓'; color: var(--brand); margin-inline-end: .5rem; font-weight: var(--bold); }
.report-reading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); align-items: center; gap: .75rem; font-size: var(--small); }
.report-reading p { margin: 0; }
.report-reading strong { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--brand); }
.report-reading small { font-size: var(--small); }
.report-reading img { border-radius: .25rem; }
.report-finding { background: var(--surface-subtle); padding: .75rem; border: 0; font-size: var(--small); }
.report-finding p { margin: 0; }
.report-disclaimer { font-size: var(--label); }
.offers { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.report { padding-top: clamp(2rem, 4vw, 3.5rem); }
.offer .button { align-self: start; }
.offer:not(.preventivo) .button { background: transparent; color: var(--brand); border-color: var(--brand); }
.offer:not(.preventivo) .button:hover { background: var(--brand); color: var(--text-inverse); }
.footer nav { display: flex; flex-wrap: wrap; gap: .25rem .8rem; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 25rem) { .report-reading { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .header { transition: none; } }

/* Interaction and accessibility */
.skip { z-index: 20; color: var(--text); }
.menu-toggle { min-width: 44px; }
main[id], section[id] { scroll-margin-top: 90px; }
.object-svg [data-component]:focus-visible .hit { stroke: var(--focus); stroke-dasharray: 5 3; stroke-width: 4; }
.object-svg [data-component]:focus-visible { opacity: 1; }
.object-svg [data-component].active .hit { stroke: var(--brand-accent); }
.object-svg [data-component].active:focus-visible .hit { stroke: var(--focus); }
@media (hover: none) { .object-svg [data-component]:not(.active):not(:focus-visible):hover .hit { stroke: transparent; } }
@media (max-width: 23rem) { .header-inner { gap: .25rem; } .header .logo { letter-spacing: 0; } .header .logo img { width: 24px; height: 24px; } }

.request-header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem; padding-block:1rem; }
.request-main { max-width: 46rem; padding-block: 2rem 4rem; }
.request-main h1 { font-size:clamp(2rem,6vw,3.5rem); color:var(--brand); margin-bottom:1rem; }
.request-contact { margin-block:1rem; }
.request-page .notice, .process .notice { color:var(--text-secondary); }
.request-form { padding:0; }
.request-form section { border-top:var(--rule); padding-block:1.5rem; }
.request-form h2 { font-size:1.4rem; letter-spacing:-.02em; color:var(--brand); }
.request-summary { padding:1rem; background:var(--surface-subtle); margin-block:1rem; }
.request-actions { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; margin-bottom:1rem; }
.process .button + .button { margin-inline-start:.5rem; }

.privacy-main h2 { font-size: clamp(1.2rem, 3vw, 1.65rem); margin-block: var(--space-4) var(--space-1); }
.privacy-main p { overflow-wrap: anywhere; }
