*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--mist); font: 1rem/1.55 var(--font); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.25rem; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px var(--white); }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 2; background: var(--white); padding: var(--s3); transform: translateY(-150%); }
.skip:focus { transform: none; }
.button { min-height: 44px; display: inline-flex; gap: var(--s2); align-items: center; justify-content: center; padding: .6rem 1rem; border: 1px solid transparent; border-radius: var(--radius); font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background var(--fast), filter var(--fast), transform var(--fast); text-align: center; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button:is(.primary, .whatsapp) { box-shadow: 0 2px 5px #15151519; }
.primary { color: var(--ink); background: linear-gradient(180deg, #ffd958, #f3b81c); border-color: #dfa812; }
.primary:is(:hover, :focus-visible) { filter: brightness(1.025); }
@media (prefers-reduced-motion: no-preference) {
  .primary:is(:hover, :focus-visible):not(:active) { transform: translateY(-2px); }
}
.secondary { color: var(--ink); border-color: var(--field-border); background: var(--white); }
.secondary:hover { background: var(--mist); }
.whatsapp { color: var(--white); background: linear-gradient(180deg, #178225, #07651c); border-color: #127323; }
.whatsapp:hover { filter: brightness(.94); }
.button:disabled { color: var(--muted); background: var(--mist); border-color: var(--border); cursor: default; }
.panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1rem, 3vw, 2rem); min-width: 0; }
.panel h3 { margin-bottom: var(--s4); }
label { display: block; margin: var(--s3) 0 var(--s1); font-size: .875rem; font-weight: 700; }
input, select { width: 100%; min-height: 44px; padding: .5rem .75rem; background: var(--white); color: var(--ink); font: inherit; border: 1px solid var(--field-border); border-radius: var(--radius); }
select { appearance: none; padding-right: 2.5rem; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 17px center / 6px 6px no-repeat, linear-gradient(135deg, var(--ink) 50%, transparent 50%) right 11px center / 6px 6px no-repeat var(--white); }
[aria-invalid="true"] { border: 2px solid var(--ink); }
.note, .error { font-size: .875rem; margin-top: var(--s2); }
.note { color: var(--muted); }
.error { font-weight: 700; }
.error:empty { display: none; }
summary { cursor: pointer; font-weight: 700; }
.icon { display: inline-block; position: relative; width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; inset: 45% 10%; }
.plus::after { transform: rotate(90deg); }
.calc { border: 2px solid currentColor; border-radius: 3px; }
.calc::before { content: ""; position: absolute; inset: 3px 2px; border-top: 2px solid; background: radial-gradient(circle, currentColor 1px, transparent 1.5px) 0 3px / 5px 5px; }
.layers::before, .layers::after { content: ""; position: absolute; inset: 0 3px 6px; border: 2px solid; transform: rotate(45deg) skew(-10deg,-10deg); }
.layers::after { translate: 0 5px; border-top: 0; border-left: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
