:root{color-scheme:light;--black:#151719;--burgundy:#890013;--red:#ad0a19;--text:#1e2228;--sub:#566170;--line:#e3e3e6;--bg:#f5f6f8;--card:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:var(--bg);min-width:280px}.container{width:min(1170px,calc(100% - 42px));margin:auto}
.hero{background:linear-gradient(118deg,#161718 0%,#1d1d20 45%,#29080d 86%,#8f0319);color:#fff;position:relative;isolation:isolate;overflow:hidden;min-height:316px}
.hero-photo{position:absolute;z-index:-2;right:0;top:0;width:43%;height:100%;background-image:linear-gradient(70deg,rgba(61,0,14,.55),rgba(141,0,23,.58)),url('/assets/edificio-fiuna.webp');background-position:center center;background-size:cover;clip-path:polygon(10% 0,100% 0,100% 100%,0 100%);filter:contrast(1.08) saturate(.8)}
.hero-accent{position:absolute;z-index:-1;right:0;top:0;height:100%;width:55%;background:linear-gradient(125deg,transparent 15%,rgba(187,7,35,.09) 65%,rgba(157,4,28,.25));pointer-events:none}
.hero:before{content:"";position:absolute;top:0;left:0;width:110px;height:115px;background:linear-gradient(145deg,#b40521,#7c0013);clip-path:polygon(0 0,100% 0,0 100%);opacity:.9}
.hero-inner{position:relative;padding:21px 0 38px}.institution{display:flex;align-items:center;gap:23px;max-width:875px}.seal{object-fit:contain;width:106px;height:106px;flex:none}.institution-text{min-width:0;padding:12px 0 17px 25px;border-left:1px solid rgba(255,255,255,.55)}.institution-name{font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:clamp(24px,3vw,39px);margin:0 0 2px;letter-spacing:-.015em;line-height:1.12}.institution-subtitle{font-size:10px;letter-spacing:.16em;font-weight:700;line-height:1.65;color:#f4f0ef;margin:0}
.intro{border-top:1px solid rgba(255,255,255,.24);max-width:790px;margin-left:130px;padding-top:18px}.eyebrow{font-size:11px;font-weight:760;letter-spacing:.19em;margin:0 0 7px;color:#f8f4f2;display:flex;align-items:center;gap:13px}.red-bar{display:block;flex:none;width:5px;height:16px;background:#ec1631}.intro h1{font-size:clamp(30px,4.1vw,51px);line-height:1.12;letter-spacing:-.025em;font-family:Georgia,"Times New Roman",serif;margin:0 0 8px;font-weight:700}.hero-description{max-width:590px;font-size:15px;line-height:1.5;color:#f2e9e9;margin:0}.hero-caption{font-size:13px;font-style:italic;color:#e9d8da;margin:10px 0 0}
.main-content{padding-top:22px;padding-bottom:24px}.layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:18px;align-items:start}.card{background:var(--card);border:1px solid #e1e1e6;border-radius:18px;box-shadow:0 10px 28px rgba(26,25,33,.07)}.consultation{padding:26px 28px}.section-heading{display:flex;align-items:start;gap:14px}.section-heading svg{flex:none;width:31px;height:31px;fill:none;stroke:var(--burgundy);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.section-heading h2{margin:0 0 4px;line-height:1.24;font-size:22px;letter-spacing:-.025em}.section-heading p{color:var(--sub);font-size:13px;line-height:1.5;margin:0}form{margin-top:20px}.field{margin:0 0 19px;padding:0;border:0;min-width:0}.field legend,.input-label{display:block;font-size:13px;font-weight:750;margin-bottom:8px}.subjects{display:grid;grid-template-columns:1fr 1fr;gap:10px}.subject-option{position:relative;min-width:0;display:grid;place-items:center;border:1.5px solid #cfd4da;border-radius:10px;padding:12px 7px;cursor:pointer;min-height:47px;text-align:center;color:#323945;font-size:13px;font-weight:680;transition:background .15s,border-color .15s}.subject-option:has(input:checked){background:#fcf0f2;border-color:#b10c25;color:#830016;box-shadow:inset 0 0 0 .5px #b10c25}.subject-option:hover{border-color:#b10c25}.subject-option input{position:absolute;opacity:0;pointer-events:none}.subject-option:has(input:focus-visible){outline:3px solid #db8b97;outline-offset:3px}.id-entry{display:flex;border:1.5px solid #cfd4da;border-radius:9px;overflow:hidden;align-items:center}.id-entry:focus-within{border-color:#b10c25;box-shadow:0 0 0 3px rgba(177,12,37,.10)}.id-entry span{background:#f1f2f4;border-right:1px solid #dadddf;color:#5b6771;padding:13px 16px;font-size:13px;font-weight:750;align-self:stretch;display:grid;place-items:center}.id-entry input{font-size:16px;line-height:1.2;font-family:inherit;min-width:0;flex:1;padding:12px 13px;height:46px;border:0;outline:none;background:transparent;color:var(--text)}.id-entry input::placeholder{color:#9aa1a9}.field-help{margin:5px 0 0;color:var(--sub);font-size:12px}.submit{width:100%;min-height:48px;border:none;border-radius:9px;background:linear-gradient(95deg,#800013,#a2001b);color:#fff;font-family:inherit;font-size:15px;font-weight:730;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:13px;transition:filter .15s}.submit:hover{filter:brightness(1.12)}.submit:focus-visible{outline:3px solid #c96678;outline-offset:3px}.submit:disabled{opacity:.65;cursor:wait}
.notice{border:1px solid #e8b7b9;background:#fff2f2;color:#832c31;padding:12px 14px;margin:17px 0 0;border-radius:10px;line-height:1.45;font-size:13px}.notice[hidden],.result[hidden],.preview-notice[hidden]{display:none!important}.result{border:1px solid #e9d4d8;border-radius:13px;padding:19px 20px;margin-top:18px;background:linear-gradient(125deg,#fffafa,#fcf8f9)}.result-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.result-label{font-size:10px;font-weight:800;letter-spacing:.17em;color:#970019;margin:0 0 5px}.result h3{font-size:19px;line-height:1.2;margin:0;color:#1c2025}.result .secondary{font-size:13px;color:var(--sub);margin:5px 0 0}.cycle{font-size:12px;font-weight:750;padding:5px 12px;border-radius:99px;border:1px solid #e6b7be;background:#fdf0f2;color:#8b001a;white-space:nowrap}.grade-row{display:flex;align-items:center;gap:24px;margin-top:14px;padding-bottom:16px;border-bottom:1px solid #dfd8dd}.grade{font-size:70px;line-height:1;font-weight:820;color:#910019;letter-spacing:-.08em;font-variant-numeric:tabular-nums}.grade-desc{border-left:1px solid #c1b6bd;padding-left:24px;font-size:14px;color:var(--sub);line-height:1.45}.grade-desc strong{display:block;font-size:17px;color:#20232a}.grade-desc span{display:block}.detail{font-size:13px;color:var(--text);padding-top:13px}.detail summary{color:#92001b;font-weight:720;cursor:pointer}.detail dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;margin:14px 0 0}.detail dt{color:var(--sub)}.detail dd{margin:0;font-weight:760;text-align:right}.result-disclaimer{font-size:11px;color:var(--sub);margin:18px 0 0;line-height:1.5}.help{padding:26px 24px}.help-heading{align-items:center}.help-heading svg{width:30px;height:30px}.help-heading h2{margin:0}.steps{list-style:none;counter-reset:none;padding:0 0 14px 8px;margin:20px 0 0}.steps li{display:flex;align-items:center;gap:14px;line-height:1.35;font-size:13px;color:#38414b;margin:0 0 12px}.steps li span{display:grid;place-items:center;background:#f9e9ec;color:#920017;border-radius:99px;width:27px;height:27px;flex:none;font-weight:780}.info-block{display:flex;align-items:flex-start;gap:14px;border-top:1px solid #e1e3e7;padding:17px 0 0;margin-top:4px}.info-block+ .info-block{margin-top:18px}.info-block svg{width:22px;height:22px;flex:none;stroke:#940019;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.info-block p{color:#4e5561;font-size:12px;line-height:1.6;margin:0}.info-block strong{color:#24262c}.preview-notice{background:#fff5f2;border:1px solid #efc8bd;padding:12px 17px;border-radius:10px;color:#513f3c;font-size:13px;margin-bottom:16px}.preview-notice strong{color:var(--burgundy)}
.footer{border-top:1px solid #9e0018;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:13px;padding-bottom:25px;color:#6b717b;font-size:11px;line-height:1.5}
@media(max-width:850px){.hero-photo{width:51%;opacity:.7}.intro{margin-left:0;max-width:650px}.institution{max-width:620px}.hero{min-height:330px}.layout{grid-template-columns:1fr}.help{padding:22px 24px}.main-content{padding-top:17px}}
@media(max-width:580px){.container{width:calc(100% - 28px)}.hero{min-height:350px}.hero-inner{padding-top:19px;padding-bottom:26px}.hero-photo{width:63%;height:81%;top:auto;bottom:0;opacity:.42;clip-path:polygon(41% 0,100% 0,100% 100%,0 100%)}.hero:before{width:64px;height:70px}.institution{gap:9px;align-items:center}.seal{width:73px;height:73px}.institution-text{padding:8px 0 8px 12px}.institution-name{font-size:22px}.institution-subtitle{font-size:8px;letter-spacing:.08em;line-height:1.4}.intro{margin:10px 0 0;padding-top:18px}.eyebrow{font-size:9px;letter-spacing:.1em;gap:8px}.intro h1{font-size:34px;max-width:360px;margin-bottom:9px}.hero-description{font-size:13px;max-width:360px}.hero-caption{font-size:12px;margin-top:9px}.main-content{padding-top:15px}.consultation{padding:21px 18px}.section-heading{gap:10px}.section-heading svg{width:27px;height:27px}.section-heading h2{font-size:21px}.subject-option{font-size:12px;line-height:1.25;min-height:51px}.subjects{gap:8px}.result{padding:16px}.result h3{font-size:16px}.grade{font-size:65px}.grade-row{gap:17px}.grade-desc{padding-left:18px}.cycle{font-size:11px}.footer{display:block;text-align:center}.footer span{display:block;margin-top:4px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
