*{box-sizing:border-box}html{min-width:320px;background:#fff}body{margin:0;color:#124d3b;font-family:Arial,Helvetica,sans-serif;font-size:16px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.landing{min-height:100vh;display:flex;flex-direction:column;overflow:hidden}.site-header{height:190px;display:flex;align-items:flex-start;justify-content:space-between;padding:42px 4.6% 0;position:relative;z-index:1}.site-header img{height:auto;object-fit:contain}.convention-logo{width:350px}.soc-logo{width:260px;margin-top:0}.hero{position:relative;isolation:isolate;flex:1;min-height:620px;padding:96px 5% 54px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;background-image:url('imagenes/BANNER-1%20GENERAL.png');background-position:center bottom;background-size:100% 100%;background-repeat:no-repeat}.event-grid{width:min(100%,1300px);display:flex;justify-content:space-around;align-items:flex-start;gap:40px}.event{width:50%;display:flex;align-items:center;flex-direction:column}.event img{height:190px;max-width:92%;width:auto;object-fit:contain}.event-date{min-height:72px;display:flex;align-items:center;justify-content:center;margin:28px 0 0;padding:8px 35px;border:5px solid #49cf79;border-radius:40px;background:#fff;color:#006e4e;font-size:30px;font-weight:700;text-align:center}.button{display:inline-flex;justify-content:center;align-items:center;min-height:54px;padding:13px 24px;border:0;border-radius:8px;text-decoration:none;font-weight:700;cursor:pointer;transition:transform .15s,background .15s,box-shadow .15s}.button:hover{transform:translateY(-2px)}.button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f68145;outline-offset:3px}.button-orange{background:#ff8047;color:#fff;box-shadow:0 8px 22px rgba(157,79,38,.14)}.button-orange:hover{background:#f27138}.register-trigger{font-size:44px;line-height:1;min-width:435px;min-height:94px;border-radius:55px;margin-top:36px}.code-dialog{width:min(480px,calc(100% - 32px));border:0;border-radius:20px;padding:0;background:transparent;overflow:visible}.code-dialog::backdrop{background:rgba(4,36,28,.62);backdrop-filter:blur(4px)}.code-card{position:relative;display:flex;flex-direction:column;gap:18px;background:#fff;border-radius:20px;padding:44px;box-shadow:0 25px 80px rgba(0,0,0,.2)}.code-card h1,.code-card p{margin:0}.code-card>p:not(.eyebrow){color:#65746d;line-height:1.55}.dialog-close{position:absolute;right:14px;top:10px;background:none;border:0;color:#687b72;font-size:32px;cursor:pointer}.code-card input,.stack-form input,.stack-form textarea,.registration-form input,.registration-form select{width:100%;min-height:48px;padding:11px 13px;border:1px solid #cbd9d2;border-radius:8px;background:#fff;color:#173d31}.code-card>input{font-size:17px;letter-spacing:.4px}.button-primary{background:#007453;color:#fff}.button-primary:hover{background:#005e43}.eyebrow{margin:0 0 8px;color:#168258;font-size:12px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.notice{padding:13px 15px;border-radius:9px;margin:14px 0;line-height:1.45}.notice-error{color:#8c2d24;background:#fff0ee;border:1px solid #ffd1cb}.notice-success{color:#176442;background:#eaf8f0;border:1px solid #bce8ce}.form-shell,.admin-shell{width:min(100% - 40px,980px);margin:0 auto;padding:34px 0 70px}.back-link{display:inline-block;color:#007453;font-weight:700;text-decoration:none}.form-heading{padding:34px 0 22px}.form-heading h1,.admin-shell h1{font-size:38px;line-height:1.12;margin:0 0 12px;color:#064f39}.form-heading>p:last-child,.admin-shell p{color:#667970}.registration-form,.panel{background:#fff;border:1px solid #e0ebe5;border-radius:16px;box-shadow:0 14px 44px rgba(10,66,47,.06)}.registration-form{padding:30px}.form-section{padding:0 0 27px;margin:0 0 27px;border-bottom:1px solid #e7eee9}.form-section h2,.tab-panel h2{font-size:20px;margin:0 0 20px;color:#07593f}.form-grid{display:flex;flex-wrap:wrap;gap:18px}.form-grid>label{display:flex;flex:1 1 calc(50% - 18px);min-width:240px;flex-direction:column;gap:8px;font-size:14px;font-weight:700;color:#355a4b}.form-grid .span-two{flex-basis:100%}.registration-form input,.registration-form select{font-weight:400}.race-options{display:flex;gap:14px}.race-option{flex:1;display:flex;align-items:center;gap:12px;padding:17px;border:1px solid #cbd9d2;border-radius:10px;cursor:pointer}.race-option:has(input:checked){border-color:#16966b;background:#f0faf5;box-shadow:inset 0 0 0 1px #16966b}.race-option input{width:18px;min-height:18px;accent-color:#087452}.race-option span{display:flex;flex-direction:column;gap:5px;color:#15553e}.race-option small{color:#687b72}.submit-button{min-width:250px}.confirmation{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(150deg,#effaf4,#fff 55%,#e9f8fa)}.confirmation-card{width:min(100%,560px);text-align:center;padding:55px 35px;background:#fff;border-radius:20px;box-shadow:0 18px 55px rgba(12,80,56,.1)}.confirmation-card h1{font-size:38px;margin:10px 0;color:#07593f}.confirmation-card p:not(.eyebrow){color:#667970;line-height:1.6}.checkmark{width:70px;height:70px;margin:0 auto 24px;display:grid;place-items:center;border-radius:50%;background:#e1f7e9;color:#087452;font-size:42px;font-weight:700}.admin-body{min-height:100vh;background:#f3f8f5}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.brand-small{font-size:21px;font-weight:800;color:#007453;text-decoration:none}.brand-small span{font-size:14px;font-weight:500;color:#718078}.button-quiet{background:#e5f0ea;color:#175b42}.panel{padding:32px}.login-panel{max-width:520px;margin:12vh auto 0}.login-panel h1,.admin-panel h1{margin-bottom:12px}.stack-form{display:flex;flex-direction:column;gap:18px;margin-top:24px}.stack-form label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:700}.stack-form textarea{resize:vertical;min-height:130px}.tabs{display:flex;gap:6px;border-bottom:1px solid #dfebe4;margin-top:28px}.tab{padding:13px 17px;border:0;background:transparent;color:#61756b;font-weight:700;cursor:pointer;border-bottom:3px solid transparent}.tab.is-active{color:#087452;border-color:#087452}.tab-panel{padding:26px 0 4px}.download-grid{display:flex;gap:14px;flex-wrap:wrap}.download-grid .button{min-width:240px}.tab-panel[hidden]{display:none}@media(max-width:900px){.site-header{height:160px;padding-top:34px}.convention-logo{width:300px}.soc-logo{width:220px}.hero{padding:74px 4% 48px;min-height:570px}.event img{height:160px}.event-date{font-size:24px;padding:8px 20px;margin-top:22px}.register-trigger{font-size:38px;min-width:360px;min-height:82px}}@media(max-width:600px){.site-header{height:112px;align-items:flex-start;padding:20px 18px 0}.convention-logo{width:min(55%,210px)}.soc-logo{width:min(36%,145px);margin-top:6px}.hero{min-height:0;padding:38px 18px 30px;background-size:auto 100%;background-position:center bottom}.event-grid{flex-direction:column;align-items:center;gap:35px}.event{width:100%;gap:12px}.event img{height:auto;width:min(86%,330px);max-height:118px}.event-date{min-height:54px;margin:5px 0 0;padding:7px 17px;border-width:3px;font-size:20px}.register-trigger{min-width:0;width:min(100%,340px);min-height:68px;margin-top:44px;font-size:32px}.code-card{padding:40px 24px 27px}.form-shell,.admin-shell{width:min(100% - 28px,980px);padding-top:22px}.form-heading{padding:26px 0 16px}.form-heading h1,.admin-shell h1{font-size:31px}.registration-form,.panel{padding:21px}.form-grid>label{flex-basis:100%;min-width:100%}.race-options{flex-direction:column}.submit-button{width:100%}.login-panel{margin-top:7vh}.admin-top{margin-bottom:18px}.tabs{gap:0}.tab{flex:1;padding:12px 6px;font-size:13px}.download-grid{flex-direction:column}.download-grid .button{width:100%}.confirmation-card{padding:42px 22px}.confirmation-card h1{font-size:31px}}@media(max-width:380px){.site-header{padding-left:12px;padding-right:12px}.event-date{font-size:18px}.form-shell,.admin-shell{width:calc(100% - 22px)}.registration-form,.panel{padding:16px}}

.consent-section{padding:0 0 27px;margin:0 0 27px;border-bottom:1px solid #e7eee9}.consent-section h2{font-size:20px;margin:0 0 9px;color:#07593f}.consent-section>p{color:#667970;margin:0 0 16px}.consent-control{display:grid;grid-template-columns:22px 1fr;gap:8px 11px;align-items:start;padding:16px;border:1px solid #cbd9d2;border-radius:10px;background:#f8fbf9}.consent-control input[type=checkbox]{grid-column:1;grid-row:1;width:20px;height:20px;min-height:20px;margin:1px 0 0;accent-color:#087452;cursor:pointer}.consent-control label{grid-column:2;grid-row:1;color:#355a4b;font-size:14px;line-height:1.5;cursor:pointer}.terms-link{grid-column:2;justify-self:start;padding:3px 0;border:0;background:none;color:#087452;font-weight:700;text-decoration:underline;cursor:pointer}.submit-button:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}.terms-dialog{width:min(850px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 36px);padding:0;border:0;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.28)}.terms-dialog::backdrop{background:rgba(4,36,28,.7);backdrop-filter:blur(4px)}.terms-card{display:flex;flex-direction:column;max-height:calc(100vh - 36px);color:#294b3e}.terms-header{padding:26px 30px 18px;border-bottom:1px solid #e4ece7}.terms-header h2{margin:0 0 13px;color:#07593f;font-size:23px;line-height:1.25}.terms-header>p:last-child{margin:0;color:#665b3a;font-size:13px;font-weight:800;line-height:1.5}.terms-content{overflow-y:auto;padding:22px 30px;line-height:1.65}.terms-content p{margin:0 0 16px}.terms-content h3{margin:24px 0 12px;color:#07593f;font-size:17px;line-height:1.35}.terms-actions{display:flex;justify-content:flex-end;gap:12px;padding:15px 30px 20px;border-top:1px solid #e4ece7;background:#fff}.terms-actions .button{min-width:130px}@media(max-width:600px){.consent-control{padding:13px}.terms-dialog{width:calc(100% - 18px);max-height:calc(100vh - 18px);border-radius:14px}.terms-card{max-height:calc(100vh - 18px)}.terms-header{padding:20px 19px 14px}.terms-header h2{font-size:19px}.terms-content{padding:18px 19px;font-size:14px}.terms-content h3{font-size:15px}.terms-actions{padding:12px 18px 16px}.terms-actions .button{flex:1;min-width:0}}
/* Compacta la interfaz según el espacio disponible. */
@media(max-width:760px){.form-shell,.admin-shell{width:calc(100% - 32px);padding:24px 0 44px}.form-heading{padding:24px 0 16px}.form-heading h1,.admin-shell h1{font-size:30px}.registration-form,.panel{border-radius:13px}.registration-form{padding:22px}.form-section{padding-bottom:21px;margin-bottom:21px}.form-section h2,.tab-panel h2,.consent-section h2{font-size:18px;margin-bottom:15px}.form-grid{gap:13px}.form-grid>label{flex-basis:calc(50% - 13px);min-width:0;gap:6px;font-size:13px}.registration-form input,.registration-form select{min-height:44px;padding:9px 11px;font-size:14px}.race-options{gap:10px}.race-option{padding:13px;gap:9px}.race-option strong{font-size:14px}.race-option small{font-size:12px}.submit-button{min-height:48px;padding:11px 18px}.consent-section{padding-bottom:21px;margin-bottom:21px}.consent-control{gap:7px 9px;padding:13px}.consent-control label,.terms-link{font-size:13px}}
@media(max-width:600px){.site-header{height:94px;padding:16px 15px 0}.convention-logo{width:min(49vw,185px)}.soc-logo{width:min(33vw,130px);margin-top:4px}.hero{min-height:0;padding:27px 14px 23px}.event-grid{gap:27px}.event{gap:8px}.event img{width:min(78%,290px);max-height:88px}.event-date{min-height:44px;margin:2px 0 0;padding:6px 14px;border-width:2px;font-size:17px}.register-trigger{width:min(100%,285px);min-height:58px;margin-top:30px;font-size:27px}.form-shell,.admin-shell{width:calc(100% - 24px);padding:17px 0 32px}.form-heading{padding:20px 0 13px}.form-heading h1,.admin-shell h1{font-size:26px;margin-bottom:8px}.form-heading>p:last-child{font-size:14px}.registration-form,.panel{padding:16px;border-radius:11px}.form-grid{gap:11px}.form-grid>label{flex-basis:100%;min-width:0}.form-section{padding-bottom:18px;margin-bottom:18px}.form-section h2,.tab-panel h2,.consent-section h2{font-size:17px;margin-bottom:12px}.registration-form input,.registration-form select{min-height:42px;padding:8px 10px;font-size:14px}.race-options{flex-direction:column;gap:9px}.race-option{padding:11px}.submit-button{width:100%;min-height:46px;font-size:14px}.consent-section{padding-bottom:18px;margin-bottom:18px}.consent-section>p{font-size:13px;margin-bottom:11px}.consent-control{padding:11px;grid-template-columns:19px 1fr;gap:7px 8px}.consent-control input[type=checkbox]{width:18px;height:18px;min-height:18px}.consent-control label,.terms-link{font-size:12px}.terms-dialog{width:calc(100% - 14px);max-height:calc(100vh - 14px);border-radius:12px}.terms-card{max-height:calc(100vh - 14px)}.terms-header{padding:16px 16px 12px}.terms-header .eyebrow{font-size:10px;margin-bottom:5px}.terms-header h2{font-size:16px;margin-bottom:9px}.terms-header>p:last-child{font-size:11px}.terms-content{padding:14px 16px;font-size:12px;line-height:1.55}.terms-content p{margin-bottom:12px}.terms-content h3{font-size:13px;margin:18px 0 9px}.terms-actions{gap:8px;padding:10px 13px 13px}.terms-actions .button{min-height:42px;padding:9px 12px;font-size:13px}.confirmation-card{padding:34px 20px}.confirmation-card h1{font-size:26px}.button{min-height:46px}}
@media(max-width:380px){.site-header{height:84px;padding:13px 12px 0}.hero{padding:22px 12px 19px}.event-grid{gap:23px}.event img{max-height:78px}.event-date{font-size:16px;min-height:41px}.register-trigger{min-height:54px;font-size:25px;margin-top:25px}.form-shell,.admin-shell{width:calc(100% - 20px)}.registration-form,.panel{padding:13px}.form-heading h1,.admin-shell h1{font-size:24px}.form-grid{gap:10px}.form-section{padding-bottom:16px;margin-bottom:16px}}
@media(max-width:600px){.register-trigger{min-height:58px}.stack-form input{min-height:42px;padding:9px 10px;font-size:14px}.stack-form textarea{min-height:108px;padding:9px 10px;font-size:14px}.tab{padding:10px 5px;font-size:12px}.code-card{gap:14px;padding:30px 19px 22px}.code-card input{min-height:43px}.login-panel{margin-top:5vh}}
@media(max-width:380px){.register-trigger{min-height:54px}}

/* Los campos mantienen un único borde que cambia de gris a naranja al recibir foco. */
.code-card input:focus,.stack-form input:focus,.stack-form textarea:focus,.registration-form input:focus,.registration-form select:focus{outline:none!important;outline-offset:0!important;border:1px solid #f68145!important;box-shadow:none!important}

/* Ajustes móviles: CTA siempre accesible y términos dentro del alto visible. */
@media(max-width:600px){
  .register-trigger{position:fixed;z-index:20;left:50%;bottom:calc(18px + env(safe-area-inset-bottom,0px));margin:0;transform:translateX(-50%);box-shadow:0 7px 24px rgba(0,70,49,.28)}
  .register-trigger:hover{transform:translate(-50%,-2px)}
  .terms-dialog{height:calc(100vh - 24px);height:calc(100dvh - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);margin:auto}
  .terms-card{height:100%;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);min-height:0}
  .terms-header,.terms-actions{flex:0 0 auto}
  .terms-content{flex:1 1 auto;min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .terms-actions{padding-bottom:calc(13px + env(safe-area-inset-bottom,0px))}
}
@media(min-width:1000px){.landing{height:100vh;height:100dvh;min-height:0;overflow:hidden}.site-header{flex:0 0 clamp(76px,15vh,132px);height:auto;padding:clamp(10px,1.8vh,20px) 4.6% 0;align-items:flex-start}.convention-logo{height:clamp(50px,13vh,108px);width:auto;max-width:40vw}.soc-logo{height:clamp(42px,11vh,91px);width:auto;max-width:30vw;margin-top:0}.hero{flex:1 1 auto;min-height:0;padding:clamp(18px,3.5vh,42px) 4% clamp(16px,3vh,34px);justify-content:space-between}.event-grid{flex:1 1 auto;min-height:0;width:min(100%,1220px);align-items:center;gap:clamp(20px,4vw,58px)}.event{width:50%;min-width:0}.event img{height:clamp(78px,17vh,168px);max-width:92%}.event-date{min-height:clamp(42px,7vh,62px);margin-top:clamp(8px,1.8vh,18px);padding:6px clamp(14px,2vw,28px);border-width:clamp(2px,.35vh,4px);font-size:clamp(18px,2.55vw,28px);white-space:nowrap}.register-trigger{flex:0 0 auto;width:clamp(250px,30vw,390px);min-width:0;min-height:clamp(50px,9vh,80px);margin-top:clamp(10px,2vh,22px);font-size:clamp(26px,3.3vw,40px)}}
/* Ajuste fino de la portada de escritorio al diseño de referencia. */
@media(min-width:1000px){.site-header{flex-basis:clamp(76px,14vh,118px);padding-top:clamp(8px,1.6vh,16px)}.site-header img.convention-logo{display:block;height:clamp(48px,13vh,88px);width:auto;max-width:34vw}.site-header img.soc-logo{display:block;height:clamp(38px,9.5vh,68px);width:auto;max-width:24vw}.hero{justify-content:flex-start;padding-top:clamp(18px,5vh,42px);padding-bottom:clamp(10px,2.4vh,23px)}.event-grid{flex:0 0 auto;align-items:flex-start;margin-top:clamp(18px,8.5vh,65px)}.event img{height:clamp(88px,19vh,158px)}.event-date{min-height:clamp(40px,6.2vh,52px);margin-top:clamp(10px,2.2vh,18px);padding:5px clamp(12px,1.5vw,20px);font-size:clamp(16px,1.8vw,21px);border-width:2px}.register-trigger{width:clamp(230px,22vw,300px);min-height:clamp(48px,8.5vh,70px);margin:auto 0 clamp(9px,3.5vh,30px);font-size:clamp(25px,2.8vw,34px)}}
@media(min-width:1000px){.site-header{padding-right:3.2%}.event-grid{width:72%;margin-left:16%;gap:0}}
@media(min-width:1000px){.event-grid{align-self:stretch;width:100%;margin-left:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12% 0 16%}.event{width:auto}.event-date{min-height:clamp(42px,6.5vh,52px)}.register-trigger{padding:8px 16px}}
@media(min-width:1000px){.hero{background-size:cover;background-position:center bottom}.register-trigger{margin:auto 0 clamp(12px,9vh,70px)}}
