@charset "utf-8";
/* Brintage onboarding — versión refinada */

#welcome{
    position:fixed; inset:0; z-index:99; display:flex; flex-direction:column;
    overflow:hidden; box-sizing:border-box; color:#24324a;
    background:
      radial-gradient(circle at 16% 11%,rgba(109,166,255,.15) 0,rgba(109,166,255,.07) 19%,transparent 39%),
      radial-gradient(circle at 92% 6%,rgba(255,210,124,.20) 0,rgba(255,210,124,.08) 17%,transparent 35%),
      linear-gradient(145deg,#fbfdff 0%,#fff 48%,#f5f9ff 100%);
    isolation:isolate;
}
#welcome::before,#welcome::after{
    content:""; position:absolute; z-index:-1; pointer-events:none;
    border-radius:46% 54% 58% 42% / 52% 48% 52% 48%;
}
#welcome::before{width:420px;height:420px;left:-175px;bottom:-190px;background:rgba(116,169,255,.12);transform:rotate(18deg)}
#welcome::after{width:360px;height:360px;right:-145px;bottom:-155px;background:rgba(148,187,255,.11);transform:rotate(-12deg)}

.we-top{position:relative;flex:0 0 auto;padding:34px 24px 10px;text-align:center;z-index:3}
.we-brand{display:inline-block;color:#2f84f6;font-family:"Lucida Handwriting","Segoe Script",cursive;font-size:34px;line-height:1;font-weight:400;letter-spacing:-1px;text-shadow:0 5px 16px rgba(47,132,246,.10)}
.we-middle{position:relative;flex:1 1 auto;min-height:0;padding:10px 24px 8px;overflow:hidden}
.fixed-web{width:min(970px,calc(100% - 40px));margin-left:auto;margin-right:auto}

.we-fixed{position:absolute;top:46%;left:150%;width:min(620px,calc(100% - 48px));box-sizing:border-box;transform:translate(-50%,-50%)}
.fixed-wem .we-fixed{width:min(620px,calc(100% - 48px))}
.w0{left:50%}.w1{left:150%}
.we-intro{width:min(760px,calc(100% - 48px))}
.we-congra{position:relative;width:min(680px,62vw);height:clamp(220px,34vh,390px);margin:0 auto 4px;background:url(../icos/welcome-brintage-hero.webp) center/contain no-repeat;filter:drop-shadow(0 18px 28px rgba(52,111,190,.08))}
.we-title{margin-top:-2px;color:#116fc1;text-align:center;font-size:clamp(27px,2.35vw,38px);line-height:1.14;letter-spacing:-.7px}
.we-title strong{font-weight:750}
.we-subtitle{max-width:650px;margin:12px auto 0;color:#56657d;text-align:center;font-size:clamp(16px,1.35vw,21px);line-height:1.5;font-weight:400}

/* Tarjetas de formulario, compactas y perfectamente centradas */
.we-form-card,.we-photo-card,.we-finish{
    max-width:570px;padding:28px 30px;border:1px solid rgba(160,191,230,.30);
    border-radius:28px;background:rgba(255,255,255,.86);
    box-shadow:0 22px 60px rgba(49,87,139,.10);
    backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.we-birthday-card{max-width:520px;padding-top:25px;padding-bottom:25px}
.we-form-card{display:flex;flex-direction:column;align-items:center}
.we-step-icon{
    width:46px;height:46px;margin:0 auto 12px;border-radius:16px;background:linear-gradient(145deg,#edf5ff,#fff5e9);
    box-shadow:0 9px 24px rgba(55,101,165,.10);position:relative;
}
.we-step-icon::before,.we-step-icon::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.we-step-icon.is-calendar::before{width:20px;height:17px;border:2px solid #4086e9;border-radius:4px}
.we-step-icon.is-calendar::after{width:12px;height:2px;background:#4086e9;box-shadow:0 -6px 0 #4086e9}
.we-step-icon.is-location::before{width:16px;height:20px;border:2px solid #4086e9;border-radius:12px 12px 12px 2px;transform:translate(-50%,-55%) rotate(-45deg)}
.we-step-icon.is-location::after{width:5px;height:5px;border-radius:50%;background:#4086e9}
.we-step-icon.is-web::before{width:22px;height:22px;border:2px solid #4086e9;border-radius:50%}
.we-step-icon.is-web::after{width:16px;height:2px;background:#4086e9;box-shadow:0 -6px 0 rgba(64,134,233,.7),0 6px 0 rgba(64,134,233,.7)}
.we-step-icon.is-about::before{width:22px;height:16px;border:2px solid #4086e9;border-radius:6px}
.we-step-icon.is-about::after{width:8px;height:8px;border-left:2px solid #4086e9;border-bottom:2px solid #4086e9;left:41%;top:66%;transform:rotate(-45deg)}

.we-text{color:#526078;text-align:center;font-size:20px;line-height:1.45}
.we-form-card .we-text,.we-photo-card .we-text{margin-bottom:15px;color:#116fc1;font-size:23px;font-weight:700}
.we-field-wrap{position:relative;width:min(100%,500px);margin:0 auto;box-sizing:border-box}
#welcome .se-input,#welcome .se-text{
    display:block!important;width:100%!important;margin:0!important;box-sizing:border-box!important;
    border:1px solid #dce7f6!important;border-radius:17px!important;background:#fff!important;
    color:#27364d!important;outline:none!important;box-shadow:0 7px 22px rgba(60,99,151,.045)!important;
    transition:border-color .2s ease,box-shadow .2s ease!important;
}
#welcome .se-input{height:58px!important;min-height:58px!important;padding:0 18px!important;font-size:16px!important}
#welcome .se-text{min-height:132px!important;padding:16px 18px 34px!important;font-size:16px!important;line-height:1.48!important;overflow:auto}
#welcome .se-input:focus,#welcome .se-text:focus{border-color:#79b4fa!important;box-shadow:0 0 0 4px rgba(47,132,246,.10)!important}
.we-counter{position:absolute;right:14px;bottom:10px;color:#8b97aa;font-size:12px;line-height:1;pointer-events:none}
.we-about-card{max-width:600px}

/* Foto de perfil: acción profesional y compacta */
.we-photo-card{text-align:center;max-width:540px;padding:31px 34px 30px}
.we-photo{
    position:relative;width:132px;height:132px;margin:0 auto 19px;border:6px solid #fff;border-radius:50%;
    background-position:center;background-size:cover;background-repeat:no-repeat;
    box-shadow:0 16px 40px rgba(39,76,127,.15),0 0 0 1px rgba(143,183,235,.25);
}
.we-upload{
    position:absolute;right:-2px;bottom:4px;width:40px;height:40px;border:4px solid #fff;border-radius:50%;
    background:#2f84f6;box-shadow:0 8px 20px rgba(47,132,246,.28);cursor:pointer;
}
.we-upload::before,.we-upload::after{content:"";position:absolute;left:50%;top:50%;background:#fff;transform:translate(-50%,-50%);border-radius:2px}
.we-upload::before{width:17px;height:3px}.we-upload::after{width:3px;height:17px}
.we-upload.is-delete{background:#f0636a}
.we-upload.is-delete::after{display:none}
.we-photo-card .we-text strong{display:block;font-size:23px;color:#116fc1}
.we-photo-card .we-text small{display:block;margin-top:5px;color:#738096;font-size:14px;font-weight:400}
.we-photo-button{
    display:flex;align-items:center;justify-content:center;gap:9px;width:min(100%,310px);height:50px;margin:17px auto 0;
    border-radius:15px;background:linear-gradient(135deg,#2f7df6,#3e91ff);color:#fff!important;
    text-decoration:none;box-shadow:0 11px 24px rgba(47,125,246,.20);cursor:pointer;font-weight:700
}
.we-camera-mini{width:18px;height:14px;border:2px solid currentColor;border-radius:4px;position:relative}
.we-camera-mini::before{content:"";position:absolute;width:5px;height:5px;border:2px solid currentColor;border-radius:50%;left:4px;top:2px}
.we-camera-mini::after{content:"";position:absolute;width:7px;height:3px;background:currentColor;border-radius:3px 3px 0 0;left:3px;top:-5px}

/* Cierre distinto de la bienvenida: muestra el perfil configurado */
.we-finish{max-width:620px;padding:25px 34px 24px;text-align:center;overflow:visible}
.we-profile-ready{
    position:relative;width:min(100%,465px);margin:0 auto 20px;padding:24px 24px 19px;box-sizing:border-box;
    border:1px solid #e0eaf7;border-radius:24px;background:linear-gradient(160deg,#fff,#f8fbff);
    box-shadow:0 16px 38px rgba(54,89,135,.09)
}
.we-final-avatar{
    position:relative;width:104px;height:104px;margin:-7px auto 10px;border-radius:50%;border:5px solid #fff;
    background-position:center;background-size:cover;background-repeat:no-repeat;
    box-shadow:0 12px 28px rgba(51,91,146,.16)
}
.we-ready-check{
    position:absolute;right:-4px;bottom:2px;width:31px;height:31px;display:flex;align-items:center;justify-content:center;
    border:4px solid #fff;border-radius:50%;background:#2f84f6;color:#fff;font-size:16px;font-weight:900;
    box-shadow:0 6px 16px rgba(47,132,246,.25)
}
.we-final-name{display:block;color:#1d2b43;font-size:22px;line-height:1.15}
.we-final-user{display:block;margin-top:4px;color:#2f84f6;font-size:14px;font-weight:650}
.we-ready-features{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid #edf1f7}
.we-ready-features span{display:flex;flex-direction:column;align-items:center;gap:5px;color:#65738a;font-size:11px;line-height:1.2}
.we-ready-features i{width:28px;height:28px;border-radius:9px;background:#edf5ff;position:relative}
.rf-profile::before{content:"";position:absolute;width:8px;height:8px;border:2px solid #3d85ee;border-radius:50%;left:8px;top:5px}
.rf-profile::after{content:"";position:absolute;width:14px;height:7px;border:2px solid #3d85ee;border-radius:9px 9px 5px 5px;left:5px;bottom:4px}
.rf-share::before{content:"♥";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#ec7e8c;font-style:normal;font-size:17px}
.rf-connect::before{content:"•••";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#e7a63f;font-style:normal;font-weight:900;letter-spacing:1px}
.we-final-title{color:#116fc1;font-size:29px;line-height:1.1}
.we-final-subtitle{max-width:470px;margin:8px auto 0;color:#66758d;font-size:15px;line-height:1.45}
.we-final-deco{position:absolute;border-radius:50%;pointer-events:none}
.we-final-deco.d1{width:12px;height:12px;left:32px;top:48px;background:#ffba6d;box-shadow:24px 32px 0 -3px #93baff}
.we-final-deco.d2{width:9px;height:9px;right:34px;bottom:62px;background:#8ed0c9;box-shadow:-27px -28px 0 -2px #f59bb2}
.we-error{margin:13px auto 0;padding:10px 14px;border:1px solid #f3c3c7;border-radius:12px;background:#fff5f5;color:#c34852;font-size:13px;max-width:430px}

.we-progress{position:relative;z-index:4;flex:0 0 auto;display:flex;justify-content:center;align-items:center;gap:9px;min-height:28px;margin:0 auto 7px}
.we-dot{width:8px;height:8px;border-radius:999px;background:#dce6f3;transition:width .25s ease,background .25s ease}
.we-dot.active{width:22px;background:#2f84f6}
.we-bottom{
    position:relative;z-index:4;flex:0 0 auto;display:flex;width:min(970px,calc(100% - 40px));min-height:70px;
    margin:0 auto 25px;padding:0;overflow:hidden;border:1px solid rgba(171,194,225,.28);border-radius:36px;
    background:rgba(255,255,255,.92);box-shadow:0 16px 42px rgba(46,78,121,.11);backdrop-filter:blur(15px)
}
.we-bottom::after{content:"";position:absolute;left:50%;top:19px;bottom:19px;width:1px;background:#dce5f1;transform:translateX(-.5px)}
#welcome .we-bottom .can,#welcome .we-bottom .ace{
    position:relative;z-index:1;flex:1 1 50%;display:flex;align-items:center;justify-content:center;padding:0 24px;
    text-decoration:none;font-size:17px;font-weight:650;cursor:pointer;color:#67748a!important
}
#welcome .we-bottom .ace{color:#2f84f6!important}
#welcome .we-bottom a[aria-disabled="true"]{pointer-events:none;opacity:.55}

.we-busy-layer{position:absolute;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background:rgba(249,252,255,.60);backdrop-filter:blur(3px)}
.we-busy-layer .loading{display:flex;align-items:center;justify-content:center;width:66px;height:66px;border-radius:50%;background:#fff;box-shadow:0 16px 40px rgba(39,76,127,.14)}

@media(max-width:760px){
 .we-top{padding:22px 18px 5px}.we-brand{font-size:29px}.we-middle{padding:3px 12px}
 .we-fixed,.fixed-wem .we-fixed{width:calc(100% - 26px);top:46%}.we-intro{width:calc(100% - 22px)}
 .we-congra{width:min(430px,94vw);height:clamp(185px,30vh,290px)}.we-title{font-size:26px}.we-subtitle{font-size:15px;margin-top:8px}
 .we-form-card,.we-photo-card,.we-finish{max-width:none;padding:22px 18px;border-radius:23px}
 .we-step-icon{width:42px;height:42px;margin-bottom:10px}.we-form-card .we-text,.we-photo-card .we-text{font-size:19px}
 #welcome .se-input{height:54px!important;min-height:54px!important}.we-photo{width:116px;height:116px}
 .we-profile-ready{padding:19px 14px 15px}.we-final-avatar{width:88px;height:88px}.we-ready-features{gap:4px}.we-ready-features span{font-size:10px}
 .we-final-title{font-size:25px}.we-final-subtitle{font-size:14px}
 .we-progress{gap:7px;min-height:23px;margin-bottom:4px}.we-bottom{width:calc(100% - 22px);min-height:61px;margin-bottom:max(12px,env(safe-area-inset-bottom));border-radius:31px}
 #welcome .we-bottom .can,#welcome .we-bottom .ace{font-size:15px;padding:0 10px}
}
@media(max-height:690px){
 .we-top{padding-top:15px}.we-congra{height:clamp(150px,27vh,220px)}.we-form-card,.we-photo-card,.we-finish{padding-top:19px;padding-bottom:19px}
 .we-profile-ready{margin-bottom:12px;padding-top:15px;padding-bottom:13px}.we-final-avatar{width:78px;height:78px}
 .we-ready-features{margin-top:11px;padding-top:10px}.we-bottom{min-height:56px;margin-bottom:10px}.we-progress{min-height:19px}
}
@media(prefers-reduced-motion:reduce){.we-dot{transition:none}}
