/* Modernização: proposta comercial ilustrada, com decisões por fase. */
.modernization-entry { display: flex; justify-content: space-between; align-items: center; gap: 44px; margin: 0; padding: 60px clamp(24px,6vw,92px); background: #4c0704; color: #fcfaf7; }
.modernization-entry > div { max-width: 750px; }
.modernization-entry .eyebrow { color: #d2af60; }
.modernization-entry h2 { font-size: clamp(1.7rem,2.7vw,2.5rem); line-height: 1.2; letter-spacing: -.035em; margin: 0 0 18px; font-weight: 600; }
.modernization-entry p:not(.eyebrow) { color: #dec9c1; font-size: .9rem; line-height: 1.75; margin: 0; }
.modernization-entry > a { flex: 0 0 auto; max-width: 320px; min-height: 58px; line-height: 1.5; padding-top: 12px; padding-bottom: 12px; }
.modern-page { --modern-max: 1240px; --modern-space: clamp(68px,7.5vw,110px); }
.modern-page .site-header { min-height: 86px; }
.modern-page .main-nav { gap: 28px; }
.modern-page .button { border-radius: 2px; min-height: 56px; line-height: 1.5; padding-top: 12px; padding-bottom: 12px; }
.modern-page a:focus-visible, .modern-page button:focus-visible, .modern-page input:focus-visible, .modern-page textarea:focus-visible, .modern-page summary:focus-visible, .modern-page [tabindex="0"]:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 5px; }
.modern-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px 65px; color: var(--paper-bright); padding: 156px max(24px,calc((100vw - 1240px) / 2)) 34px; background: #241411; position: relative; overflow: hidden; }
.modern-hero::before { content: ''; position: absolute; top: 100px; right: -150px; width: 650px; height: 650px; border: 1px solid #d2af6012; border-radius: 50%; box-shadow: 0 0 0 80px #d2af6005,0 0 0 160px #d2af6004; pointer-events: none; }
.modern-hero-copy, .modern-hero-art, .modern-hero-bottom { position: relative; z-index: 1; min-width: 0; }
.modern-hero h1 { font-size: clamp(2.8rem,4.4vw,5rem); letter-spacing: -.055em; font-weight: 650; line-height: 1.07; margin: 0; }
.modern-hero h1 em { color: var(--gold); font-style: normal; font-weight: 550; }
.modern-lead { max-width: 620px; font-size: 1rem; line-height: 1.8; color: #d8c9c0; margin: 28px 0 0; }
.modern-actions { display: flex; gap: 18px 24px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.modern-secondary { color: var(--paper-bright); font-size: .75rem; text-decoration: none; border-bottom: 1px solid #c2aa9d; padding: 10px 0; }
.modern-secondary span { margin-left: 12px; }
.hero-micro { color: #bba79b; font-size: .62rem; margin: 20px 0 0; line-height: 1.7; }
.modern-hero-art { align-self: center; padding-top: 8px; }
.modern-hero-art figure { margin: 0; }
.modern-hero-art img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; object-position: 50% center; }
.modern-hero-art figcaption { font-size: .56rem; color: #c1ab9e; padding-top: 10px; }
.operation-receipt { background: var(--paper-bright); color: var(--ink); margin: 25px 0 0 -25px; padding: 22px 24px; border-top: 3px solid var(--gold); box-shadow: 12px 12px 0 #130d0b70; }
.operation-receipt > p { margin: 0 0 20px; font-size: .68rem; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.receipt-dot { width: 7px; height: 7px; border-radius: 50%; background: #7b814e; flex: 0 0 7px; }
.receipt-route { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.receipt-route > span { font-size: .59rem; font-weight: 600; display: flex; flex-direction: column; gap: 8px; }
.receipt-route i { font-style: normal; font-size: .6rem; color: var(--gold-dark); }
.receipt-route > b { color: var(--gold-dark); font-weight: 400; }
.operation-receipt > small { display: block; color: var(--muted); font-size: .54rem; margin-top: 19px; padding-top: 14px; border-top: 1px solid var(--line); }
.modern-hero-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 40px; border-top: 1px solid #d2af6030; padding-top: 25px; font-size: .65rem; color: #cab7a9; }
.modern-hero-bottom span::before { content: '✓'; color: var(--gold); margin-right: 10px; }
.modern-section { padding: var(--modern-space) max(24px,calc((100vw - 1240px) / 2)); }
.modern-section h2 { font-size: clamp(2rem,3.35vw,3.6rem); line-height: 1.13; letter-spacing: -.045em; font-weight: 600; margin: 0; }
.modern-heading { margin-bottom: 44px; max-width: 1010px; }
.modern-heading > p:not(.eyebrow) { max-width: 700px; color: var(--muted); font-size: .95rem; line-height: 1.8; margin: 24px 0 0; }
.modern-section .eyebrow { margin-bottom: 19px; }
.leak-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 35px; }
.leak-grid article { min-width: 0; }
.leak-art { height: 130px; background: var(--paper); display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 24px; position: relative; }
.mini-sheet { width: 52px; height: 67px; display: grid; place-items: center; font-size: 2.8rem; line-height: 1; background: var(--paper-bright); color: var(--gold-dark); border: 1px solid #89671b50; box-shadow: 6px 6px 0 #d6c8b450; transform: rotate(-6deg); }
.mini-sheet:last-child { transform: rotate(6deg); }
.mini-arrow { color: var(--burgundy); font-size: 1.6rem; }
.mini-message { border: 1px solid #89671b65; background: var(--paper-bright); width: 75px; height: 49px; display: grid; place-items: center; font-size: 2rem; color: var(--burgundy); }
.mini-clock { font-size: 3.5rem; line-height: 1; color: var(--gold-dark); }
.mini-alert { position: absolute; top: 27px; right: calc(50% - 5px); color: var(--paper-bright); background: var(--burgundy); font-size: .65rem; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; }
.leak-art:has(.mini-person) { flex-direction: column; gap: 0; color: var(--gold-dark); }
.mini-person { font-size: 1.8rem; line-height: 1.4; }
.mini-branches { font-size: 1.9rem; letter-spacing: .2em; line-height: 1.1; }
.leak-grid h3 { font-size: 1.2rem; letter-spacing: -.025em; line-height: 1.35; font-weight: 600; margin: 0 0 14px; }
.leak-grid p { font-size: .85rem; line-height: 1.8; color: var(--muted); margin: 0; }
.effort-section { background: var(--paper); display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(36px,6vw,84px); }
.effort-copy > p:not(.eyebrow) { color: var(--muted); font-size: .92rem; line-height: 1.8; margin-top: 24px; }
.modern-caption { font-size: .7rem !important; line-height: 1.8; color: var(--muted); }
.effort-panel { min-width: 0; padding: 32px; background: var(--paper-bright); border: 1px solid #89671b40; box-shadow: 10px 10px 0 #e4dccf; }
.panel-kicker { color: var(--gold-dark); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; margin: 0 0 24px; }
.effort-inputs { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 15px; }
.effort-inputs label { display: block; color: var(--muted); font-size: .62rem; font-weight: 550; margin-bottom: 10px; min-height: 2.9em; line-height: 1.5; }
.effort-inputs input { min-width: 0; width: 100%; font: inherit; font-size: 1.2rem; font-weight: 550; padding: 12px 8px 12px 12px; background: white; border: 1px solid var(--line); border-bottom: 2px solid var(--gold-dark); color: var(--ink); border-radius: 0; }
.effort-results { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 24px; }
.effort-results > div { min-width: 0; }
.effort-results output { display: block; color: var(--burgundy); font-size: clamp(1.6rem,2.7vw,2.55rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.2; overflow-wrap: anywhere; }
.effort-results > div > span { display: block; font-size: .65rem; color: var(--muted); margin-top: 10px; line-height: 1.6; }
.effort-results [data-calc-formula] { grid-column: 1 / -1; font-size: .64rem; color: var(--muted); margin: 0; }
[data-calc-error] { grid-column: 1 / -1; color: var(--burgundy); font-size: .75rem; margin: 0; }
[data-calc-error]:empty { display: none; }
.effort-disclaimer { font-size: .65rem; margin: 20px 0 0; line-height: 1.8; color: var(--muted); padding-left: 12px; border-left: 2px solid var(--gold); }
.practice-section { color: var(--paper-bright); background: #211613; }
.practice-section .modern-heading > p:not(.eyebrow) { color: #c6b7ae; }
.operation-demo { background: #fcfaf7; color: var(--ink); border: 1px solid #d2af6070; }
.demo-toolbar { padding: 20px 26px; display: flex; justify-content: space-between; gap: 25px; align-items: center; border-bottom: 1px solid var(--line); background: #f2eee7; }
.scenario-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.scenario-tabs button { font: inherit; font-size: .72rem; font-weight: 600; border: 1px solid transparent; padding: 11px 15px; color: var(--muted); background: transparent; cursor: pointer; border-radius: 2px; }
.scenario-tabs button[aria-selected="true"] { background: var(--burgundy); color: var(--paper-bright); }
.scenario-tabs button:hover { border-color: var(--gold-dark); }
.motion-toggle { border: 0; border-bottom: 1px solid #89671b65; padding: 8px 0; background: transparent; color: var(--muted); font-size: .6rem; cursor: pointer; }
.motion-toggle:disabled { cursor: default; }
.motion-toggle[hidden], [data-flow-play][hidden] { display: none; }
.operation-panel { padding: 34px; }
.flow-problem { display: flex; align-items: baseline; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.flow-problem > span { flex: 0 0 160px; color: var(--burgundy); font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.flow-problem p { margin: 0; max-width: 750px; color: var(--muted); line-height: 1.8; font-size: .85rem; }
.flow-lane { list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 25px; padding: 35px 0; margin: 0; }
.flow-step { position: relative; padding: 0 0 14px; min-width: 0; border-bottom: 2px solid #e5ded2; transition: border-color .3s ease,background .3s ease; }
.flow-step:not(:last-child)::after { content: '→'; position: absolute; top: 24px; right: -21px; font-size: 1.3rem; color: #b9a26b; }
.flow-icon { width: 62px; height: 62px; margin-bottom: 25px; background: #ece6da; color: var(--gold-dark); display: grid; place-items: center; transition: background .3s ease,color .3s ease; }
.flow-icon svg { width: 39px; height: 39px; }
.flow-number { display: block; color: var(--gold-dark); font-size: .54rem; letter-spacing: .07em; font-weight: 600; }
.flow-step h3 { font-size: 1.07rem; line-height: 1.35; margin: 14px 0; font-weight: 600; letter-spacing: -.02em; }
.flow-step p { font-size: .74rem; line-height: 1.75; color: var(--muted); margin: 0; }
.flow-step.is-active { border-bottom-color: var(--burgundy); }
.flow-step.is-active .flow-icon { color: var(--paper-bright); background: var(--burgundy); }
.flow-step.is-done { border-bottom-color: var(--gold); }
.flow-step.is-done .flow-icon { color: var(--burgundy); background: #e8d8b1; }
.flow-footer { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding: 23px 25px; background: #ede4d2; }
.flow-footer > p { max-width: 700px; font-size: .8rem; line-height: 1.8; margin: 0; }
.flow-play { min-width: 160px; background: var(--burgundy); color: var(--paper-bright); font-size: .7rem; flex-shrink: 0; }
.flow-play:disabled { opacity: .55; cursor: default; transform: none; }
.demo-disclaimer { font-size: .62rem; line-height: 1.9; margin: 0; padding: 20px 34px; border-top: 1px solid var(--line); color: var(--muted); }
.demo-disclaimer a { display: block; color: var(--burgundy); text-underline-offset: 4px; margin-top: 8px; }
/* O visitante escolhe pela dor; o exemplo fica ao lado no desktop. */
.process-browser-label { margin: 0; color: var(--gold-dark); font-size: .61rem; line-height: 1.8; font-weight: 600; letter-spacing: .04em; }
.process-browser { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.process-picker { padding: 22px; background: #f4f0e8; align-self: stretch; border-right: 1px solid var(--line); min-width: 0; }
.operation-demo .scenario-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.operation-demo .scenario-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 15px 13px; min-height: 154px; background: #fcfaf7; border: 1px solid #ded5c6; text-align: left; border-radius: 0; line-height: 1.5; min-width: 0; }
.operation-demo .scenario-tabs button[aria-selected="true"] { color: var(--paper-bright); background: var(--burgundy); border-color: var(--burgundy); box-shadow: inset 0 3px 0 var(--gold); }
.operation-demo .scenario-tabs button:hover { border-color: var(--gold-dark); }
.process-card-index { display: block; font-size: .49rem; letter-spacing: .04em; color: var(--gold-dark); font-weight: 600; }
.scenario-tabs button[aria-selected="true"] .process-card-index { color: var(--gold); }
.operation-demo .scenario-tabs strong { font-size: .76rem; font-weight: 650; line-height: 1.35; color: var(--ink); overflow-wrap: break-word; }
.operation-demo .scenario-tabs button[aria-selected="true"] strong { color: var(--paper-bright); }
.process-card-pain { font-size: .68rem; line-height: 1.65; color: var(--muted); font-weight: 400; }
.scenario-tabs button[aria-selected="true"] .process-card-pain { color: #e6cfc5; }
.process-mobile-control { display: none; }
.process-browser .operation-panel { padding: 26px; min-width: 0; }
.process-selected-heading { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.process-selected-heading > p:first-child { margin: 0 0 12px; font-size: .6rem; letter-spacing: .04em; color: var(--gold-dark); font-weight: 600; }
.process-selected-heading h3 { font-size: clamp(1.45rem,2vw,1.9rem); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; margin: 0; }
.process-selected-pain { font-size: .82rem; color: var(--burgundy); line-height: 1.6; margin: 14px 0 0; }
.process-browser .flow-problem { flex-direction: column; gap: 10px; padding: 20px 0; }
.process-browser .flow-problem > span { flex: auto; font-size: .55rem; }
.process-browser .flow-problem p { font-size: .76rem; line-height: 1.75; }
.process-browser .flow-lane { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding: 24px 0; }
.process-browser .flow-icon { width: 44px; height: 44px; margin-bottom: 14px; }
.process-browser .flow-icon svg { width: 30px; height: 30px; }
.process-browser .flow-step:nth-child(2)::after { display: none; }
.process-browser .flow-step:not(:last-child)::after { top: 10px; }
.process-browser .flow-step h3 { font-size: .96rem; margin: 12px 0; overflow-wrap: anywhere; }
.process-browser .flow-step p { font-size: .71rem; }
.process-browser .flow-footer { flex-direction: column; align-items: flex-start; padding: 20px; gap: 15px; }
.process-browser .flow-footer p { font-size: .75rem; }
.process-browser .flow-play { min-height: 42px; min-width: 0; padding: 9px 14px; font-size: .65rem; }
.process-contact-link { display: inline-flex; gap: 12px; color: var(--burgundy); font-size: .72rem; font-weight: 600; line-height: 1.8; text-decoration: none; padding: 9px 0 5px; border-bottom: 1px solid currentColor; margin-top: 18px; }
.process-contact-link span { flex-shrink: 0; }
.phase-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.phase-card { display: flex; flex-direction: column; min-width: 0; padding: 32px; background: var(--paper); border: 1px solid var(--line); }
.phase-start { background: var(--burgundy); color: var(--paper-bright); border-color: var(--burgundy); }
.phase-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--gold-dark); font-size: .58rem; font-weight: 600; letter-spacing: .05em; }
.phase-start .phase-top { color: var(--gold); }
.phase-label { border: 1px solid #89671b55; padding: 5px 7px; font-size: .5rem; line-height: 1.5; letter-spacing: 0; }
.phase-start .phase-label { border-color: #d2af6070; }
.phase-card h3 { font-size: clamp(1.55rem,2.5vw,2.2rem); line-height: 1.12; letter-spacing: -.045em; margin: 34px 0 20px; font-weight: 600; }
.phase-card > p { font-size: .8rem; color: var(--muted); line-height: 1.8; margin: 0 0 24px; }
.phase-start > p { color: #dbbbb1; }
.phase-card ul { list-style: none; padding: 0; margin: 0 0 28px; font-size: .75rem; line-height: 1.8; }
.phase-card li { padding: 11px 0 11px 16px; border-bottom: 1px solid var(--line); position: relative; }
.phase-card li::before { content: '+'; color: var(--gold-dark); position: absolute; left: 0; top: 11px; }
.phase-start li { border-color: #ffffff25; }
.phase-start li::before { color: var(--gold); }
.phase-result { margin-top: auto; padding-top: 24px; border-top: 1px solid #89671b55; }
.phase-result small { color: var(--muted); font-size: .62rem; display: block; margin-bottom: 9px; }
.phase-result strong { font-size: .8rem; display: block; line-height: 1.6; font-weight: 600; }
.phase-start .phase-result { border-color: #d2af6070; }
.phase-start .phase-result small { color: #dbbbb1; }
.decision-gate { display: flex; align-items: center; gap: 22px; margin-top: 26px; padding: 22px 28px; background: #efe8da; }
.decision-gate > span { color: var(--gold-dark); font-size: 2rem; }
.decision-gate p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.9; }
.decision-gate strong { color: var(--ink); }
.entry-offer-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px,7vw,100px); align-items: center; background: var(--burgundy); color: var(--paper-bright); }
.entry-offer-copy > p:not(.eyebrow):not(.offer-terms) { margin: 26px 0; font-size: .9rem; line-height: 1.85; color: #dbc1b6; }
.offer-terms { color: #d8beb4; font-size: .67rem; line-height: 1.9; margin: 22px 0 0; max-width: 540px; }
.map-preview { padding: 32px; background: var(--paper-bright); color: var(--ink); transform: rotate(1.5deg); box-shadow: 15px 15px 0 #260d0a40; }
.map-preview-head { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: .6rem; letter-spacing: .07em; color: var(--gold-dark); font-weight: 650; }
.map-preview-head span:last-child { font-size: 1rem; }
.map-preview > p { font-size: 1.45rem; line-height: 1.35; font-weight: 450; letter-spacing: -.035em; margin: 28px 0; }
.map-preview > p strong { color: var(--burgundy); font-weight: 600; }
.map-line { display: flex; gap: 14px; padding: 23px 0; border-top: 1px solid var(--line); align-items: center; }
.map-line > span { font-size: .6rem; color: var(--gold-dark); align-self: flex-start; padding-top: 4px; }
.map-line > div { flex: 1; min-width: 0; }
.map-line strong { display: block; font-size: .78rem; font-weight: 600; }
.map-line small { display: block; font-size: .64rem; line-height: 1.75; color: var(--muted); margin-top: 6px; }
.map-line i { font-style: normal; color: var(--gold-dark); font-size: .8rem; }
.map-preview-foot { border-top: 1px solid var(--line); font-size: .56rem; color: var(--muted); padding-top: 20px; line-height: 1.8; }
.fit-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px,6vw,84px); align-items: center; }
.fit-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 45% center; }
.fit-photo p { font-size: .58rem; line-height: 1.8; margin: 12px 0 0; color: var(--muted); }
.fit-checks { list-style: none; padding: 0; margin: 28px 0; }
.fit-checks li { position: relative; font-size: .83rem; line-height: 1.8; padding: 12px 0 12px 25px; border-bottom: 1px solid var(--line); }
.fit-checks li::before { content: '✓'; color: var(--gold-dark); position: absolute; left: 0; }
.fit-limit { font-size: .72rem; line-height: 1.9; color: var(--muted); margin: 0; }
.combined-expertise { border-left: 2px solid var(--gold); padding-left: 20px; margin-top: 28px; }
.combined-expertise > span { font-size: .62rem; font-weight: 650; color: var(--burgundy); text-transform: uppercase; letter-spacing: .06em; }
.combined-expertise p { color: var(--muted); font-size: .76rem; line-height: 1.85; margin: 9px 0 0; }
.combined-expertise a { text-underline-offset: 3px; }
.objections-section { background: var(--paper); }
.modern-faq { max-width: 1000px; margin: 0 auto; border-top: 1px solid var(--line); }
.modern-faq details { border-bottom: 1px solid var(--line); }
.modern-faq summary { font-weight: 600; font-size: .91rem; line-height: 1.7; padding: 24px 30px 24px 0; position: relative; cursor: pointer; list-style: none; }
.modern-faq summary::-webkit-details-marker { display: none; }
.modern-faq summary::after { content: '+'; position: absolute; right: 4px; color: var(--gold-dark); font-size: 1.2rem; top: 20px; }
.modern-faq details[open] summary::after { content: '−'; }
.modern-faq p { max-width: 850px; margin: 0 0 26px; line-height: 1.9; color: var(--muted); font-size: .85rem; }
.modern-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,84px); align-items: start; background: #211613; color: var(--paper-bright); }
.modern-contact-copy > p:not(.eyebrow) { color: #cbb9ae; font-size: .9rem; line-height: 1.85; margin: 25px 0 0; }
.contact-next { padding: 0; list-style: none; margin: 30px 0 0; }
.contact-next li { display: flex; align-items: baseline; gap: 14px; font-size: .75rem; color: #cbb9ae; padding: 12px 0; line-height: 1.8; }
.contact-next li > span { font-size: .6rem; color: var(--gold); }
.modern-contact .contact-email { font-size: .74rem; color: var(--gold); }
.modern-contact .contact-form { background: var(--paper-bright); color: var(--ink); padding: 34px; gap: 22px; }
.contact-form-heading { grid-column: 1 / -1; }
.contact-form-heading .panel-kicker { margin-bottom: 12px; }
.contact-form-heading h3 { margin: 0; font-size: 1.7rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.contact-form-heading > p:last-child { font-size: .75rem; line-height: 1.8; color: var(--muted); margin-bottom: 0; }
.modern-contact .form-field label { font-size: .7rem; }
.modern-contact .form-field input, .modern-contact .form-field textarea { font-size: .8rem; padding: 13px; }
.modern-contact .contact-form > button { grid-column: 1 / -1; width: 100%; font-size: .76rem; }
.modern-contact .form-note { font-size: .65rem; }
.direct-contact { grid-column: 1 / -1; color: var(--burgundy); font-size: .71rem; line-height: 1.7; text-underline-offset: 4px; }
.modern-footer { padding-top: 55px; padding-bottom: 35px; }
.modern-footer > small { font-size: .6rem; line-height: 1.8; }
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.no-motion .reveal { opacity: 1 !important; transform: none !important; }
.no-motion .map-preview { transform: none; }
html:has(body.no-motion) { scroll-behavior: auto !important; }
.no-motion .reading-progress { display: none; }
@media (max-width: 1320px) { .modern-hero, .modern-section { padding-left: 5.5vw; padding-right: 5.5vw; } .modern-hero { gap: 36px 50px; } }
@media (max-width: 1100px) { .modern-hero { gap: 40px; grid-template-columns: 1.1fr .9fr; } .modern-hero h1 { font-size: 3.2rem; } .modern-lead { font-size: .9rem; } .phase-card { padding: 26px; } .phase-top { flex-direction: column; align-items: start; } .modernization-entry { align-items: flex-start; flex-direction: column; gap: 25px; } }
@media (max-width: 900px) {
  .process-browser { grid-template-columns: 1fr; }
  .process-picker { border-right: 0; border-bottom: 1px solid var(--line); }
  .operation-demo .scenario-tabs button { min-height: 130px; }
  .process-browser .flow-lane { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .process-browser .flow-step:nth-child(2)::after { display: block; }
  .modern-hero { grid-template-columns: 1fr; padding-top: 140px; }
  .modern-hero h1 { font-size: clamp(2.8rem,6.2vw,4.2rem); max-width: 790px; }
  .modern-lead { max-width: 720px; font-size: 1rem; }
  .modern-hero-art { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 20px; }
  .modern-hero-art img { aspect-ratio: 1.3; }
  .operation-receipt { margin: 0 0 0 -60px; position: relative; }
  .modern-hero-bottom { margin-top: 5px; gap: 12px 25px; }
  .effort-section, .entry-offer-section, .fit-section, .modern-contact { grid-template-columns: 1fr; gap: 38px; }
  .effort-copy { max-width: 700px; }
  .effort-results output { font-size: 2.5rem; }
  .leak-grid { gap: 22px; }
  .leak-grid h3 { font-size: 1.08rem; }
  .flow-lane { gap: 20px; }
  .flow-step h3 { font-size: .95rem; }
  .phase-grid { grid-template-columns: 1fr; gap: 18px; }
  .phase-card { display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 40px; padding: 32px; }
  .phase-top { grid-column: 1; flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; }
  .phase-card h3 { grid-column: 1; margin: 24px 0 15px; font-size: 2rem; }
  .phase-card > p { grid-column: 1; margin: 0; }
  .phase-card ul { grid-column: 2; grid-row: 1 / 4; margin: 0; align-self: start; }
  .phase-result { grid-column: 1 / -1; margin-top: 22px; padding-top: 18px; }
  .phase-result small { display: inline; margin-right: 12px; }
  .phase-result strong { display: inline; }
  .map-preview { max-width: 600px; width: calc(100% - 10px); justify-self: center; }
  .fit-photo { max-width: 680px; }
  .fit-photo img { aspect-ratio: 1.65; }
  .modern-contact-copy { max-width: 700px; }
  .modern-contact .contact-form { max-width: 760px; width: 100%; }
}
@media (max-width: 700px) {
  .js .operation-demo .scenario-tabs { display: none; }
  .js .process-mobile-control { display: block; }
  .process-mobile-control label { display: block; font-weight: 600; font-size: .74rem; margin-bottom: 12px; }
  .process-mobile-control select { width: 100%; min-width: 0; min-height: 52px; border: 1px solid var(--gold-dark); background: var(--paper-bright); color: var(--ink); font: inherit; font-size: .84rem; padding: 12px; border-radius: 0; }
  .process-mobile-control p { margin: 13px 0 0; font-size: .7rem; color: var(--muted); line-height: 1.8; }
  .process-browser .flow-lane { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-browser .flow-step:nth-child(2)::after { display: none; }
  .process-picker { padding: 22px; }
  .process-browser .operation-panel { padding: 24px; }
  .process-browser .flow-step h3 { font-size: .94rem; overflow-wrap: break-word; }
  html:not(.js) .operation-demo .scenario-tabs { grid-template-columns: 1fr; }
  html:not(.js) .operation-demo .scenario-tabs button { min-height: 0; }
  .modern-hero, .modern-section { padding-left: 24px; padding-right: 24px; }
  .modern-hero-art { display: block; }
  .modern-hero-art img { aspect-ratio: 1.6; }
  .operation-receipt { margin: 20px 0 0; box-shadow: 6px 6px 0 #130d0b70; }
  .leak-grid { grid-template-columns: 1fr; gap: 28px; }
  .leak-grid article { display: grid; grid-template-columns: 110px 1fr; gap: 10px 22px; align-items: center; }
  .leak-art { height: 110px; margin: 0; grid-row: span 2; gap: 7px; }
  .mini-sheet { width: 30px; height: 45px; font-size: 1.8rem; box-shadow: 3px 3px 0 #d6c8b450; }
  .mini-message { width: 40px; height: 32px; font-size: 1.3rem; }
  .mini-clock { font-size: 2.2rem; }
  .mini-alert { top: 30px; right: 40px; }
  .leak-grid h3 { margin: 0; align-self: end; }
  .leak-grid p { grid-column: 2; font-size: .78rem; align-self: start; }
  .demo-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
  .scenario-tabs { gap: 2px; width: 100%; flex-wrap: nowrap; }
  .scenario-tabs button { font-size: .65rem; padding: 11px; flex: 1; }
  .flow-problem { flex-direction: column; gap: 12px; padding-bottom: 24px; }
  .flow-problem > span { flex: auto; }
  .flow-lane { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 25px; padding: 28px 0; }
  .flow-step:nth-child(2)::after { display: none; }
  .flow-icon { margin-bottom: 18px; }
  .flow-footer { flex-direction: column; align-items: flex-start; gap: 22px; padding: 22px; }
  .operation-panel { padding: 24px; }
  .demo-disclaimer { padding: 20px 24px; }
  .modern-heading h2 br { display: none; }
  .modern-faq summary { font-size: .84rem; }
}
@media (max-width: 480px) {
  .process-browser-label { font-size: .55rem; }
  .process-picker { padding: 22px 18px; }
  .process-browser .operation-panel { padding: 24px 18px; }
  .process-browser .flow-lane { gap: 24px 20px; }
  .process-selected-heading h3 { font-size: 1.55rem; }
  .process-contact-link { font-size: .68rem; }
  .modern-page .site-header { min-height: 80px; }
  .modern-page .brand-logo { width: 175px; }
  .modern-hero { padding: 125px 20px 28px; gap: 32px; }
  .modern-hero .eyebrow { font-size: .55rem; letter-spacing: .05em; line-height: 1.8; }
  .modern-hero h1 { font-size: clamp(2.3rem,9.9vw,3rem); line-height: 1.08; }
  .modern-lead { font-size: .9rem; line-height: 1.8; margin-top: 23px; }
  .modern-actions { margin-top: 24px; gap: 15px; }
  .modern-actions .button { width: 100%; font-size: .76rem; }
  .hero-micro { font-size: .57rem; }
  .modern-hero-art img { aspect-ratio: 1.35; }
  .modern-hero-art figcaption { font-size: .53rem; }
  .operation-receipt { padding: 20px; }
  .operation-receipt > p { font-size: .61rem; }
  .receipt-route { gap: 6px; }
  .receipt-route > span { font-size: .52rem; }
  .modern-hero-bottom { flex-direction: column; font-size: .62rem; }
  .modern-section { padding-left: 20px; padding-right: 20px; }
  .modern-section h2 { font-size: clamp(1.85rem,7.7vw,2.5rem); }
  .modern-heading { margin-bottom: 32px; }
  .modern-heading > p:not(.eyebrow) { font-size: .87rem; }
  .modern-section .eyebrow { font-size: .59rem; letter-spacing: .06em; }
  .leak-grid article { grid-template-columns: 80px 1fr; gap: 10px 17px; }
  .leak-art { height: 90px; }
  .mini-sheet { width: 24px; height: 36px; font-size: 1.4rem; }
  .mini-arrow { font-size: 1rem; }
  .mini-message { width: 30px; }
  .mini-clock { font-size: 1.7rem; }
  .mini-alert { right: 29px; width: 13px; height: 13px; font-size: .5rem; }
  .mini-branches { font-size: 1.4rem; }
  .leak-grid h3 { font-size: 1rem; }
  .effort-panel { padding: 24px 20px; box-shadow: 6px 6px 0 #e4dccf; }
  .effort-inputs { grid-template-columns: 1fr; gap: 16px; }
  .effort-inputs > div { display: grid; grid-template-columns: 1.4fr 1fr; gap: 15px; align-items: center; }
  .effort-inputs label { min-height: 0; margin: 0; font-size: .68rem; }
  .effort-inputs input { font-size: 1rem; padding: 10px; }
  .effort-results { grid-template-columns: 1fr; gap: 22px; }
  .effort-results output { font-size: 2rem; }
  .effort-results > div > span { font-size: .64rem; margin-top: 5px; }
  .scenario-tabs button { font-size: .58rem; padding: 10px 8px; }
  .operation-panel { padding: 22px 18px; }
  .flow-lane { gap: 26px 20px; }
  .flow-icon { width: 52px; height: 52px; }
  .flow-icon svg { width: 34px; height: 34px; }
  .flow-step h3 { font-size: .9rem; overflow-wrap: break-word; }
  .flow-step p { font-size: .7rem; }
  .flow-number { font-size: .48rem; }
  .flow-step:not(:last-child)::after { right: -17px; top: 20px; font-size: 1.1rem; }
  .flow-footer { padding: 18px; }
  .demo-disclaimer { padding: 18px; }
  .phase-card { display: flex; padding: 27px; }
  .phase-top { flex-direction: row; align-items: center; }
  .phase-card h3 { margin: 25px 0 18px; font-size: 2rem; }
  .phase-card > p { margin-bottom: 22px; }
  .phase-card ul { margin-bottom: 22px; }
  .phase-result { margin-top: auto; }
  .phase-result small, .phase-result strong { display: block; }
  .phase-result small { margin-bottom: 8px; }
  .decision-gate { align-items: start; padding: 22px; gap: 15px; }
  .decision-gate p { font-size: .72rem; }
  .map-preview { padding: 26px 22px; transform: none; box-shadow: 6px 6px 0 #260d0a40; }
  .entry-offer-copy .button { width: 100%; font-size: .74rem; }
  .fit-photo img { aspect-ratio: 1.3; }
  .modern-contact .contact-form { padding: 28px 22px; }
  .contact-form-heading h3 { font-size: 1.5rem; }
  .modern-contact .contact-form > button { font-size: .7rem; padding-left: 13px; padding-right: 13px; }
  .modern-footer .brand-logo { width: 190px; }
  .modernization-entry { padding: 42px 20px; }
  .modernization-entry > a { width: 100%; max-width: none; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .modern-page *, .modern-page *::before, .modern-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .modern-page .reveal { opacity: 1 !important; transform: none !important; }
  .modern-page .map-preview { transform: none; }
}
