/* A modern layer for the original bilingual, four-step form. */
:root{--r:12px;--max:1180px}
body{background:#f2f6f8;color:#173047}
header.site{background:rgba(255,255,255,.96);backdrop-filter:blur(15px);box-shadow:0 7px 30px rgba(8,43,76,.06)}
header.site .wrap{min-height:82px}
.demo-bar{background:#092f53}
.hero{background:linear-gradient(115deg,#082b4c 8%,#0a3d6b 72%,#145980)}
.hero .wrap{padding-top:96px;padding-bottom:100px}
.hero h1{font-size:clamp(2.6rem,5vw,5.4rem);line-height:1.02;letter-spacing:-.055em;max-width:780px}
.hero p.lead{font-size:clamp(18px,1.7vw,23px);max-width:670px}
.hero .kicker,.hero h1,.hero p.lead,.hero .btn,.hero .meta{animation:cad-enter .7s cubic-bezier(.18,.7,.2,1) both}
.hero h1{animation-delay:.08s}.hero p.lead{animation-delay:.16s}.hero .btn{animation-delay:.25s}.hero .meta{animation-delay:.32s}
@keyframes cad-enter{from{opacity:0;transform:translateY(24px);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
section.block{padding:80px 0}
h2{font-size:clamp(2rem,3.5vw,3.7rem);letter-spacing:-.045em;line-height:1.08}
h3{letter-spacing:-.025em}
.card{border:1px solid #dce5ea;border-radius:16px;box-shadow:0 10px 30px rgba(8,43,76,.04);transition:transform .3s,box-shadow .3s,border-color .3s}
.card:hover{transform:translateY(-5px);box-shadow:0 20px 45px rgba(8,43,76,.12);border-color:#a9c3d3}
.cat-card{border-top:4px solid var(--azul)}
.btn{border-radius:9px;transition:background .2s,transform .2s,box-shadow .2s}
.btn:not([disabled]):hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(10,61,107,.13)}
#candidatura{background:linear-gradient(180deg,#e8eff3,#f6f9fa)}
#candidatura>.wrap>.kicker{margin-bottom:14px}
#candidatura>.wrap>h2{margin:0 0 28px;color:#082b4c}
.form-shell{border:1px solid #d7e2e8;border-radius:20px;overflow:hidden;box-shadow:0 28px 70px rgba(8,43,76,.12)}
.form-head{padding:22px 34px;background:#fff;gap:18px}
.form-head .tools{margin-left:auto}
.form-head .tools .btn{font-size:12px;padding:9px 12px}
.tag-study{border-radius:30px;background:#f8f0db;color:#664b10;padding:8px 13px}
.embed-lang{display:none}
.stepper{background:#f4f8fa;gap:8px;padding:16px 28px;border-bottom:1px solid #dce5ea}
.stepper li{border:0;border-radius:10px;padding:13px 12px;min-height:60px;font-size:12px;line-height:1.25;transition:background .25s,color .25s,transform .25s}
.stepper li[aria-current="step"]{background:#0a3d6b;color:#fff;box-shadow:0 8px 18px rgba(10,61,107,.18)}
.stepper li[aria-current="step"] .n{border-color:#fff;background:#fff;color:#0a3d6b}
.stepper li.done{color:#0a3d6b;background:#e4eef4}
.stepper .n{width:30px;height:30px;font-size:13px;border-color:#b6c8d3}
.panel{padding:40px 42px;animation:panel-enter .45s cubic-bezier(.2,.7,.2,1) both}
@keyframes panel-enter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.panel h3.step-title{font-size:clamp(1.5rem,2.2vw,2.1rem);color:#082b4c;margin:0 0 5px}
.panel .step-help{margin-bottom:28px}
fieldset{margin-bottom:27px}
legend{font-size:15px;color:#173047;margin-bottom:13px}
.row{gap:22px 24px}
.field{gap:8px}
input[type=text],input[type=email],input[type=tel],input[type=url],select,textarea{border:1.5px solid #b8cbd7;border-radius:10px;padding:13px 15px;background:#fbfdfe;transition:border-color .2s,box-shadow .2s,background .2s}
input[type=text]:focus,input[type=email]:focus,input[type=tel]:focus,input[type=url]:focus,select:focus,textarea:focus{border-color:#0a7fcc;background:#fff;box-shadow:0 0 0 4px rgba(10,127,204,.12);outline:none}
.choices.cats{grid-template-columns:repeat(2,minmax(0,1fr))}
.choice .box{border:1.5px solid #c4d4de;border-radius:13px;padding:18px;min-height:98px;background:#fbfdfe;transition:border-color .2s,background .2s,box-shadow .2s,transform .2s}
.choice:hover .box{transform:translateY(-3px);border-color:#0a7fcc;box-shadow:0 12px 24px rgba(8,43,76,.08)}
.choice input:checked+.box{border-color:#0a7fcc;background:#eaf5fc;box-shadow:inset 0 0 0 1px #0a7fcc,0 12px 25px rgba(10,127,204,.12)}
.choice .box b{font-size:15px}
.notice{border-radius:10px}
.drop{border-radius:12px;background:#f5f9fb;border-color:#9ebaca}
.nav-btns{padding:22px 34px;background:#f6f9fa;border-radius:0 0 20px 20px}
.nav-btns .btn-primary{margin-left:auto;padding:14px 26px}
.review .rv{border-radius:12px;overflow:hidden}
dialog{border-radius:16px}

html.embed body{background:transparent}
html.embed .skip,html.embed .demo-bar,html.embed .back-to-site,html.embed header.site,html.embed main>section:not(#candidatura),html.embed footer.site{display:none!important}
html.embed #candidatura{padding:0;background:transparent}
html.embed #candidatura>.wrap{max-width:none;padding:0}
html.embed .embed-lang{display:flex}
html.embed #candidatura>.wrap>h2{font-size:clamp(1.7rem,2.8vw,2.7rem)}
html.embed .form-shell{box-shadow:0 20px 55px rgba(8,43,76,.1)}
@media(max-width:980px){.stepper{padding:12px;gap:4px}.stepper li{padding:10px 8px}.form-head{padding:18px 22px}.panel{padding:30px 24px}}
@media(max-width:640px){header.site .wrap{min-height:65px}section.block{padding:60px 0}.hero .wrap{padding-top:64px;padding-bottom:72px}.hero h1{font-size:clamp(2.4rem,10vw,3.6rem)}.form-shell{border-radius:16px}.form-head{padding:16px;align-items:flex-start}.form-head .tools{margin-left:0;width:100%}.form-head .tools .btn{font-size:11px}.stepper{grid-template-columns:repeat(4,1fr);padding:10px 8px}.stepper li{min-height:46px;justify-content:center;padding:8px 3px}.stepper li[aria-current="step"] .lab{display:none}.stepper .n{width:28px;height:28px}.panel{padding:24px 18px}.choices.cats{grid-template-columns:1fr}.choice .box{min-height:76px;padding:15px}.nav-btns{padding:16px}.nav-btns .btn-primary{margin-left:0}html.embed #candidatura>.wrap>h2{font-size:2rem}}
@media(prefers-reduced-motion:reduce){.hero .kicker,.hero h1,.hero p.lead,.hero .btn,.hero .meta,.panel{animation:none}.card,.choice .box,.btn{transition:none}}
