@font-face {
  font-family: Geist;
  src: url('assets/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f7f5f0;
  --ink: #232323;
  --muted: #515650;
  --burg: #8e0038;
  --mint: #d3ebe5;
  --wa: #117440;
  --line: #d5d6cf;
  --serif: 'Fedra Serif', Georgia, 'Times New Roman', serif;
  --sans: 'FS Me', Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.5 var(--sans); -webkit-text-size-adjust: 100%; }
h1,h2,p,fieldset,legend { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible,button:focus-visible,iframe:focus-visible { outline: 3px solid var(--burg); outline-offset: 3px; }
.skip { position: absolute; left: .5rem; top: .5rem; z-index: 2; transform: translateY(-190%); padding: .6rem; background: white; }
.skip:focus { transform: none; }
.shell { width: min(1040px, calc(100% - 48px)); margin-inline: auto; }
header { background: #fff; border-bottom: 1px solid var(--line); }
.top-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.sender { display: flex; flex-direction: column; line-height: 1.14; }
.sender span { color: var(--muted); font-size: 12px; }
.sender strong { font-family: Geist, Arial, sans-serif; font-size: 23px; font-weight: 620; letter-spacing: -.045em; }
.whatsapp,.phone,.primary { display: inline-flex; gap: 7px; align-items: center; justify-content: center; min-height: 44px; border: 0; border-radius: 24px; padding: 9px 17px; color: #fff; font: 600 15px/1.2 var(--sans); text-decoration: none; }
.whatsapp { background: var(--wa); }
.whatsapp:hover { background: #0b5a30; }
.phone { background: white; border: 1px solid #91aaa1; color: var(--ink); }
.phone:hover { border-color: var(--ink); }
.primary { cursor: pointer; color: #fff; background: var(--burg); }
.primary:hover { background: #69002c; }
.chat-symbol { width: 23px; height: 23px; flex: none; }
main { padding: clamp(26px,4.1vw,53px) 0 clamp(32px,4vw,58px); }
h1 { font: 400 clamp(35px,4.1vw,49px)/1.1 var(--serif); letter-spacing: -.045em; }
h1 span { display: block; color: var(--burg); }
.availability { margin-top: clamp(16px,2vw,23px); padding: clamp(16px,2vw,23px); background: var(--mint); border-radius: 12px; }
.availability h2 { font: 600 clamp(17px,1.7vw,20px)/1.3 var(--sans); letter-spacing: -.02em; }
.availability p,.live p { margin-top: 5px; max-width: 65ch; }
.actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.paper { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: clamp(17px,3vw,32px); }
fieldset { padding: 0; border: 0; min-width: 0; }
legend,.live h2 { padding:0; font: 400 clamp(24px,3vw,32px)/1.15 var(--serif); letter-spacing: -.04em; }
.hint { margin:4px 0 13px; color:var(--muted); font-size:14px; }
.topic-grid,.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 14px; }
.topic-card { display:flex; align-items:center; gap:10px; padding: 12px; border: 1px solid #d1dad4; border-radius: 6px; background: #edf4f0; color: #414943; font-size: 15px; font-weight: 520; line-height:1.3; }
.topic-card input { width: 16px; height: 16px; margin: 0; flex: none; }
.personal { margin-top: 25px; }
.fields { gap: 14px 17px; }
.fields label { min-width: 0; font-size: 14px; font-weight: 550; }
.wide-field { grid-column: 1/-1; }
.field-hint { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.fields input { display:block; width:100%; min-width:0; min-height:43px; margin-top:5px; border:1px solid #c9cbc6; border-radius:5px; background:#f5f5f2; padding:8px 11px; color:#5a605c; font:400 16px/1.3 var(--sans); opacity:1; }
.fields input:disabled,.topic-card input:disabled { cursor:not-allowed; }
#start { margin-top: 15px; }
iframe { width:100%; height:max(75vh,740px); border:0; display:block; }
#live-widget:not(:empty) { margin-top:16px; }
#live-status:not(:empty) { font-size:14px; }
footer { background:white; border-top:1px solid var(--line); }
footer .shell { padding:24px 0; }
footer p { color:var(--muted); font-size:14px; }
footer strong { color:var(--ink); font-weight:560; }
footer nav { display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:14px; font-size:13px; }
@media(max-width:600px) {
  .shell { width:calc(100% - 30px); }
  .top-inner { min-height:59px; }
  .sender strong { font-size:19px; }
  .sender span { font-size:11px; }
  .top-inner .whatsapp { padding:7px 12px; font-size:13px; }
  h1 span { display:block; }
  .availability p { font-size:15px; }
  .fields { grid-template-columns:1fr; gap:12px; }
  .topic-grid { gap:7px; }
  .topic-card { align-items:flex-start; padding:10px; gap:7px; font-size:13px; }
  .topic-card input { width:14px; height:14px; margin-top:1px; }
  .phone,.actions .whatsapp { padding-inline:12px; font-size:14px; }
}
.live { padding: 0; overflow: hidden; }
.live>h2 { padding: clamp(18px,3vw,30px) clamp(18px,3vw,30px) 0; }
.live>.processing { margin: 6px clamp(18px,3vw,30px) 0; max-width: 56ch; color:var(--muted); }
#start { margin: 16px clamp(18px,3vw,30px) 24px; }
.primary { min-height:46px; padding-inline:20px; }
#live-status:not(:empty) { margin:14px clamp(18px,3vw,30px) 0; }
.footer-contact { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
@media(max-width:600px){.live>.processing{font-size:15px}}
#start { margin-bottom:12px; }
.privacy-details { margin:10px clamp(18px,3vw,30px) 19px; color:var(--muted); font-size:14px; }
.privacy-details summary { cursor:pointer; color:var(--ink); width:fit-content; }
.privacy-details summary:focus-visible { outline:3px solid var(--burg); outline-offset:3px; }
.privacy-details>p { margin-top:9px; }


.intro { display:grid;grid-template-columns:1fr minmax(280px,.86fr);align-items:center;gap:clamp(30px,5vw,62px);padding:clamp(24px,3.3vw,42px);border-radius:16px;background:#e4f1ed; }
.intro-copy { max-width:480px; }
.intro h1 { font-weight:700; font-size:clamp(39px,4.9vw,68px);line-height:1.04;letter-spacing:-.055em; }
.intro-copy p { max-width:36ch;margin-top:15px;font-size:clamp(16px,1.4vw,19px);line-height:1.46; }
.team { margin:0;position:relative;min-width:0; }
.team img { display:block;width:100%;height:auto;aspect-ratio:1500/1001;object-fit:contain;object-position:center;border-radius:0; }
.team figcaption { padding-top:6px;text-align:left;color:#48544f;font-size:13px;line-height:1.3; }
main { padding-top:clamp(17px,2.3vw,31px); }
.live { margin-top:16px; }
.live .processing { max-width:78ch; }
#live-widget iframe { width:100%;min-height:700px;border:0; }
@media(max-width:760px) and (min-width:601px) { .intro { grid-template-columns:1fr .9fr;gap:22px;padding:20px; }.intro h1{ font-size:38px; } }
@media(max-width:600px) {
  main { padding-top:14px; }
  .intro { grid-template-columns:1fr;gap:12px;padding:16px;border-radius:12px; }
  .intro h1 { font-size:clamp(31px,8.8vw,43px);line-height:1.03; }
  .intro h1 span { display:block; }
  .intro-copy p { margin-top:6px;font-size:14px;line-height:1.35; }
  .team img { aspect-ratio:1500/1001;object-fit:contain;object-position:center; }
  .team figcaption { font-size:12px;padding-top:4px; }
  .live { margin-top:12px; }
}
.native-panel { min-width:0; padding:clamp(18px,2.6vw,30px); border:1px solid var(--line); border-radius:12px; background:white; }
.test-note { margin-bottom:20px; padding:11px 14px; background:#fbf3f6; border-left:3px solid var(--burg); border-radius:4px; }
.test-note h2 { font:600 15px/1.35 var(--sans); letter-spacing:0; }
.test-note p { margin:4px 0 0; color:#4e3540; font-size:14px; }
.test-note strong { font-weight:600; }
.native-panel .topic-card { cursor:pointer; border-color:#afc9c0; background:#eef6f3; }
.native-panel .topic-card small { display:block; font-weight:400; }
.native-panel .topic-card:has(input:checked) { border-color:var(--burg); background:#f5e1eb; box-shadow:inset 0 0 0 1px var(--burg); }
.native-panel .topic-card:focus-within { outline:2px solid var(--burg); outline-offset:2px; }
.native-panel .topic-card input { accent-color:var(--burg); }
.native-panel .fields input { background:#fff; border-color:#a4ada7; color:var(--ink); }
.native-panel .fields input:focus-visible { outline:2px solid var(--burg); outline-offset:2px; }
.validate { margin-top:20px; }
.test-result:not(:empty) { margin-top:10px; padding:8px 10px; background:#f5e1eb; font-size:14px; }
.test-result.complete { background:var(--mint); }
.mode-preview .intro-copy p { display:none; }
@media(min-width:761px) {
  .mode-preview main { display:grid;grid-template-columns:minmax(250px,.72fr) minmax(0,1.28fr); gap:clamp(20px,2.6vw,35px);align-items:start; }
  .mode-preview .intro { display:flex; flex-direction:column; align-items:stretch; position:sticky; top:18px; padding:clamp(17px,2.5vw,30px); gap:18px; }
  .mode-preview .intro h1 { font-size:clamp(34px,3.3vw,47px); }
}
@media(max-width:760px) {
  .mode-preview .intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.94fr);align-items:center; gap:12px; padding:12px; }
  .mode-preview .intro h1 { font-size:clamp(24px,6.3vw,37px);line-height:1.08; }
  .mode-preview .team img { aspect-ratio:1500/1001; }
  .mode-preview .team figcaption { font-size:10px;line-height:1.2; }
  .native-panel { margin-top:11px; }
  .test-note { margin-bottom:15px; padding:12px; }
}

.intro { background:#d3ebe5; }
.native-panel .topic-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:9px; }
.native-panel .topic-card { min-height:56px;padding:11px 10px;line-height:1.3;gap:7px;color:#232323; }
.native-panel .topic-card.care { background:#d3ebe5;border-color:#87aea2; }
.native-panel .topic-card.replacement { background:#ccecef;border-color:#7ca8af; }
.native-panel .topic-card.immediate { background:#ffe0cb;border-color:#c89978; }
.native-panel .topic-card:hover { border-color:var(--burg); }
.native-panel .topic-card:has(input:checked) { border-color:var(--burg);background:#f5e1eb;box-shadow:inset 0 0 0 1px var(--burg); }
.native-panel .fields label { min-width:0; }
.native-panel .fields input { box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:46px;min-height:46px; }
.native-panel .fields input[type=date] { appearance:none;-webkit-appearance:none;display:block;text-align:left; }
.native-panel .fields input[type=date]::-webkit-date-and-time-value { text-align:left; }
.native-panel .fields input[type=date]::-webkit-datetime-edit { min-width:0;padding:0; }
.whatsapp { background:#086234;box-shadow:0 2px 0 #064628; }
.whatsapp:hover { background:#054d28; }
@media(max-width:900px) and (min-width:761px) { .native-panel .topic-grid{grid-template-columns:1fr;} }
@media(max-width:600px) {
  .native-panel .topic-grid { grid-template-columns:1fr;gap:6px; }
  .native-panel .topic-card { min-height:44px;align-items:center;padding:8px 12px;font-size:15px;gap:10px; }
  .native-panel .topic-card input { margin:0;width:16px;height:16px; }
  .top-inner .whatsapp { font-size:12px;line-height:1.2;max-width:162px;padding:7px 9px;text-align:left;gap:5px; }
  .top-inner .chat-symbol { width:21px;height:21px; }
  .top-inner .sender strong { font-size:17px; }
}

@media (max-width: 375px) {
  .mode-preview .intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, .55fr);
    gap: 9px;
  }
}
