/* Oficina Virtual: acceso público inspirado en el nuevo arte de marca. */
.ccs-office-page .ccs-office-auth{
  grid-template-columns:minmax(680px,1.25fr) minmax(490px,.75fr);
  gap:clamp(18px,2.5vw,48px);
  min-height:calc(100vh - 82px);
  padding:clamp(18px,2.4vw,42px) clamp(24px,4vw,76px) clamp(28px,3.5vw,58px);
  box-sizing:border-box;
  background:radial-gradient(circle at 62% 34%,rgba(55,151,255,.16),transparent 30%),linear-gradient(135deg,#fff 0%,#f7fbff 54%,#eaf4ff 100%);
  color:#06234a;
  overflow:hidden;
}
.ccs-office-page .ccs-auth-story{
  display:grid;
  grid-template-columns:minmax(330px,.95fr) minmax(310px,.8fr);
  grid-template-rows:1fr auto;
  align-items:center;
  gap:18px 8px;
  min-width:0;
  padding:clamp(18px,2.5vw,44px) 0 0;
  overflow:visible;
  isolation:isolate;
}
.ccs-office-page .ccs-auth-story:before,.ccs-office-page .ccs-auth-story:after{display:none}
.ccs-auth-intro{position:relative;z-index:2;align-self:center;padding-bottom:8px}
.ccs-office-page .ccs-auth-story .ccs-kicker{color:#0878df;font-size:12px;font-weight:900;letter-spacing:.14em}
.ccs-office-page .ccs-auth-story h1{max-width:620px;margin:22px 0 27px;color:#052855;font-size:clamp(42px,3.6vw,72px);line-height:1.02;letter-spacing:-.055em}
.ccs-office-page .ccs-auth-story h1 em{display:block;color:#0879ec;font-style:normal}
.ccs-office-page .ccs-auth-story h1 em:after{content:"";display:block;width:74px;height:4px;margin:11px 0 0 5px;border-radius:4px;background:#22d0cc;transform:rotate(-5deg)}
.ccs-office-page .ccs-auth-story .ccs-auth-intro>p{max-width:620px;margin:0;color:#425f83;font-size:clamp(16px,1.15vw,21px);line-height:1.55}
.ccs-auth-benefits{display:grid;gap:13px;margin-top:27px}
.ccs-auth-benefits article{display:flex;align-items:center;gap:13px}
.ccs-auth-benefits article div{display:grid;gap:3px}
.ccs-auth-benefits strong{font-size:14px;color:#062a57}
.ccs-auth-benefits small{font-size:12px;color:#55708f}
.ccs-auth-benefit-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #dceaf8;border-radius:16px;background:#fff;color:#0b78ee;font-size:19px;box-shadow:0 9px 24px rgba(25,86,151,.12)}
.ccs-auth-benefit-icon.is-bell{color:#11a8e8}.ccs-auth-benefit-icon.is-family{color:#186bd4}
.ccs-auth-visual{position:relative;align-self:end;min-width:0;margin:0 -3% -1% -10%;z-index:1}
.ccs-auth-visual:before{content:"";position:absolute;inset:15% 4% 5% 7%;border-radius:50%;background:radial-gradient(circle,rgba(82,174,255,.28),rgba(82,174,255,.08) 48%,transparent 70%);filter:blur(12px);z-index:-1}
.ccs-auth-visual .ccs-auth-orbit{position:absolute;left:4%;top:7%;width:96%;aspect-ratio:1;border:1px solid rgba(37,150,244,.22);border-radius:50%;z-index:-1;box-shadow:0 0 0 28px rgba(37,150,244,.045),0 0 0 65px rgba(37,150,244,.025)}
.ccs-office-page .ccs-auth-story .ccs-auth-visual img{position:relative;right:auto;bottom:auto;display:block;width:100%;max-width:610px;height:auto;border-radius:0;box-shadow:none;opacity:1;z-index:auto;filter:drop-shadow(0 22px 28px rgba(20,86,154,.15))}
.ccs-auth-trust{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;padding:17px 22px;border:1px solid #dce9f7;border-radius:22px;background:rgba(255,255,255,.86);box-shadow:0 16px 42px rgba(20,67,117,.1);backdrop-filter:blur(12px)}
.ccs-auth-trust article{display:flex;align-items:center;gap:11px;min-width:0;padding:0 16px;border-right:1px solid #d7e3f0}.ccs-auth-trust article:first-child{padding-left:0}.ccs-auth-trust article:last-child{padding-right:0;border-right:0}
.ccs-auth-trust-icon{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:50%;background:linear-gradient(145deg,#0e75eb,#0646bc);color:#fff;font-size:18px;box-shadow:0 7px 16px rgba(9,89,201,.25)}
.ccs-auth-trust-icon.is-clock{background:linear-gradient(145deg,#20d5d2,#0a9fc1)}.ccs-auth-trust-icon.is-check{background:linear-gradient(145deg,#897aff,#4d58dc)}.ccs-auth-trust-icon.is-help{background:linear-gradient(145deg,#39afff,#096ecd)}
.ccs-auth-trust article div{display:grid;gap:3px;min-width:0}.ccs-auth-trust strong{font-size:13px}.ccs-auth-trust small{color:#4b6888;font-size:11px;line-height:1.35}
.ccs-office-page .ccs-auth-card{align-self:center;justify-self:stretch;max-width:650px;width:100%;margin:0;padding:clamp(30px,3vw,52px);box-sizing:border-box;border:1px solid rgba(211,226,242,.9);border-radius:34px;background:rgba(255,255,255,.96);color:#06264e;box-shadow:0 30px 70px rgba(28,76,126,.18);backdrop-filter:blur(16px)}
.ccs-auth-brand{display:grid;justify-items:center;gap:8px;margin-bottom:28px}.ccs-office-page .ccs-auth-logo{width:min(250px,62%);margin:0}.ccs-auth-brand small{color:#0876dd;font-weight:900;letter-spacing:.24em;font-size:11px}
.ccs-office-page .ccs-auth-tabs{margin-bottom:30px;padding:5px;border:1px solid #e5edf7;border-radius:14px;background:#eef4fb}.ccs-office-page .ccs-auth-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 7px;font-size:13px}.ccs-office-page .ccs-auth-tabs button i{width:17px;font-size:15px}.ccs-office-page .ccs-auth-tabs button.is-active{border:1px solid #a9d1f8;color:#086bd0;box-shadow:0 7px 18px rgba(20,91,164,.12)}
.ccs-office-page .ccs-auth-form h2{text-align:center;font-size:29px;letter-spacing:-.035em}.ccs-office-page .ccs-auth-form>p{text-align:center;margin:6px 0 27px}
.ccs-office-page .ccs-auth-form label{font-size:14px}.ccs-auth-input{position:relative;display:block}.ccs-auth-input>i{position:absolute;left:16px;top:50%;z-index:2;width:17px;transform:translateY(-50%);color:#617b9a;text-align:center}.ccs-office-page .ccs-auth-form .ccs-auth-input input{padding-left:46px;padding-right:45px}.ccs-password-toggle{position:absolute;right:10px;top:50%;display:grid;place-items:center;width:36px;height:36px;transform:translateY(-50%);border:0;background:transparent;color:#637b98;font-size:17px;cursor:pointer}
.ccs-auth-options{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-1px 0 19px}.ccs-office-page .ccs-auth-options .ccs-check{display:flex;align-items:center;gap:9px;margin:0;font-weight:600}.ccs-auth-options .ccs-check input{width:16px;height:16px;margin:0}.ccs-auth-link{border:0;background:none;color:#0870d6;font:800 13px inherit;cursor:pointer}
.ccs-office-page .ccs-auth-form .ccs-auth-submit{display:grid;grid-template-columns:auto 1fr auto;gap:12px;min-height:54px;border-radius:13px;background:linear-gradient(100deg,#0848b8,#0b80f2);box-shadow:0 13px 25px rgba(8,80,188,.22)}.ccs-auth-submit i{width:18px;font-size:16px}
.ccs-auth-separator{display:flex;align-items:center;gap:13px;margin:20px 0 15px;color:#7388a1;font-size:12px}.ccs-auth-separator:before,.ccs-auth-separator:after{content:"";height:1px;flex:1;background:#dce6f0}.ccs-auth-separator span{white-space:nowrap}
.ccs-google-entry{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:50px;border:1px solid #cbdbea;border-radius:13px;background:#fff;color:#092b55;font:800 14px inherit;cursor:pointer;transition:.2s}.ccs-google-entry:hover{border-color:#8ebce9;box-shadow:0 6px 18px rgba(20,80,143,.1)}.ccs-google-entry .fa-google{color:#4285f4;font-size:18px}
.ccs-office-page .ccs-auth-form .ccs-status{margin-top:13px;text-align:center;font-size:13px}.ccs-office-page .ccs-auth-help{margin-top:24px!important}
#ccs-register-form.is-active{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:13px}#ccs-register-form>h2,#ccs-register-form>p,#ccs-register-form>label:nth-of-type(3),#ccs-register-form>.ccs-check,#ccs-register-form>.ccs-hp,#ccs-register-form>.ccs-button,#ccs-register-form>.ccs-status{grid-column:1/-1}
@media(max-width:1450px){.ccs-office-page .ccs-office-auth{grid-template-columns:minmax(590px,1.1fr) minmax(450px,.8fr);padding-left:34px;padding-right:34px}.ccs-office-page .ccs-auth-story{grid-template-columns:minmax(310px,1fr) minmax(265px,.72fr)}.ccs-auth-trust{padding:15px}.ccs-auth-trust article{padding:0 10px}.ccs-auth-trust-icon{flex-basis:36px;width:36px;height:36px;font-size:16px}.ccs-auth-trust small{display:none}.ccs-office-page .ccs-auth-card{padding:35px}}
@media(max-width:1280px){.ccs-office-page .ccs-office-auth{grid-template-columns:1fr;overflow:visible}.ccs-office-page .ccs-auth-story{min-height:auto;grid-template-columns:minmax(320px,1fr) minmax(300px,.8fr);padding:40px 4vw 0}.ccs-auth-trust{margin-top:0}.ccs-office-page .ccs-auth-card{justify-self:center;margin:0 0 35px}.ccs-office-page .ccs-auth-story h1{font-size:clamp(43px,6vw,65px)}}
@media(max-width:720px){.ccs-office-page .ccs-office-auth{display:block;padding:12px 14px 30px}.ccs-office-page .ccs-auth-story{display:block;padding:38px 8px 24px;text-align:center}.ccs-office-page .ccs-auth-story h1{font-size:42px}.ccs-office-page .ccs-auth-story h1 em:after{margin-left:auto;margin-right:auto}.ccs-office-page .ccs-auth-story .ccs-auth-intro>p{font-size:16px}.ccs-auth-benefits{max-width:420px;margin:25px auto;text-align:left}.ccs-auth-visual{max-width:440px;margin:-15px auto -10px}.ccs-auth-trust{grid-template-columns:repeat(2,1fr);gap:15px;text-align:left}.ccs-auth-trust article,.ccs-auth-trust article:first-child,.ccs-auth-trust article:last-child{padding:0;border:0}.ccs-auth-trust small{display:block}.ccs-office-page .ccs-auth-card{padding:26px 20px;border-radius:25px}.ccs-office-page .ccs-auth-tabs button{font-size:11px;gap:4px}.ccs-auth-options{align-items:flex-start;flex-direction:column;gap:12px}.ccs-auth-link{padding:0}.ccs-office-page .ccs-auth-form h2{font-size:26px}#ccs-register-form.is-active{grid-template-columns:1fr}#ccs-register-form>h2,#ccs-register-form>p,#ccs-register-form>label{grid-column:1}}
@media(max-width:430px){.ccs-auth-trust{grid-template-columns:1fr}.ccs-auth-trust article{padding-bottom:11px;border-bottom:1px solid #e1ebf5}.ccs-auth-trust article:last-child{padding-bottom:0;border:0}.ccs-auth-benefit-icon{flex-basis:40px;width:40px;height:40px}.ccs-office-page .ccs-auth-story h1{font-size:36px}.ccs-office-page .ccs-auth-tabs button i{display:none}}

/* En escritorio el acceso ocupa exactamente el alto visible, sin desplazamiento. */
@media(min-width:1281px){
  body.ccs-office-login{overflow:hidden}
  body.ccs-office-login .ccs-site-main{height:calc(100vh - 78px);height:calc(100dvh - 78px);min-height:0;overflow:hidden}
  body.ccs-office-login .ccs-office-page,body.ccs-office-login .ccs-office-auth{height:100%;min-height:0}
  body.ccs-office-login .ccs-office-auth{grid-template-rows:minmax(0,1fr);overflow:hidden}
  body.ccs-office-login .ccs-auth-story{height:100%;grid-template-rows:minmax(0,1fr);min-height:0;padding-bottom:112px}
  body.ccs-office-login .ccs-office-page .ccs-auth-story .ccs-auth-visual img{display:block;width:auto;height:auto;max-width:100%;max-height:min(61vh,590px);margin:0 auto;object-fit:contain;aspect-ratio:auto}
  body.ccs-office-login .ccs-auth-trust{position:absolute;left:0;right:0;bottom:42px;z-index:5;width:100%;min-width:0}
}

/* Compactación automática para portátiles y pantallas de poca altura. */
@media(min-width:1281px) and (max-height:950px){
  .ccs-office-page .ccs-office-auth{gap:clamp(14px,2vw,32px);padding:12px clamp(26px,3.3vw,58px) 16px}
  .ccs-office-page .ccs-auth-story{grid-template-columns:minmax(320px,.95fr) minmax(285px,.78fr);gap:10px 2px;padding:10px 0 100px}
  .ccs-auth-intro{transform:translateY(clamp(-52px,-5vh,-32px))}
  .ccs-office-page .ccs-auth-story .ccs-kicker{font-size:11px;margin-bottom:0}
  .ccs-office-page .ccs-auth-story h1{margin:13px 0 17px;font-size:clamp(42px,3.15vw,58px);line-height:1}
  .ccs-office-page .ccs-auth-story h1 em:after{height:3px;margin-top:8px}
  .ccs-office-page .ccs-auth-story .ccs-auth-intro>p{font-size:clamp(14px,1vw,18px);line-height:1.45}
  .ccs-auth-benefits{gap:8px;margin-top:15px}
  .ccs-auth-benefits article{gap:10px}.ccs-auth-benefits article div{gap:1px}
  .ccs-auth-benefits strong{font-size:12px}.ccs-auth-benefits small{font-size:10px}
  .ccs-auth-benefit-icon{flex-basis:38px;width:38px;height:38px;border-radius:13px;font-size:16px}
  .ccs-auth-visual{margin:0 -2% -1% -7%;transform:translateY(clamp(-44px,-4vh,-26px))}.ccs-office-page .ccs-auth-story .ccs-auth-visual img{max-height:min(58vh,535px)}
  .ccs-auth-trust{padding:11px 14px;border-radius:18px}
  .ccs-auth-trust article{gap:8px;padding:0 10px}.ccs-auth-trust-icon{flex-basis:34px;width:34px;height:34px;font-size:14px}.ccs-auth-trust strong{font-size:11px}.ccs-auth-trust small{display:none}
  .ccs-office-page .ccs-auth-card{max-width:610px;padding:22px 32px;border-radius:27px}
  .ccs-auth-brand{gap:5px;margin-bottom:14px}.ccs-office-page .ccs-auth-logo{width:min(205px,52%)}.ccs-auth-brand small{font-size:9px}
  .ccs-office-page .ccs-auth-tabs{margin-bottom:15px;padding:4px}.ccs-office-page .ccs-auth-tabs button{padding:9px 6px;font-size:11px}
  .ccs-office-page .ccs-auth-form h2{font-size:25px}.ccs-office-page .ccs-auth-form>p{margin:4px 0 15px;font-size:13px}
  .ccs-office-page .ccs-auth-form label{gap:5px;margin-bottom:10px;font-size:12px}
  .ccs-office-page .ccs-auth-form input{padding:10px 13px;font-size:14px}.ccs-office-page .ccs-auth-form .ccs-auth-input input{padding-left:42px;padding-right:42px}
  .ccs-auth-options{margin:0 0 11px}.ccs-office-page .ccs-auth-options .ccs-check{font-size:12px}
  .ccs-office-page .ccs-auth-form .ccs-auth-submit{min-height:46px;border-radius:11px}
  .ccs-auth-separator{margin:11px 0 9px}.ccs-google-entry{min-height:42px;font-size:12px}
  .ccs-office-page .ccs-auth-form .ccs-status{margin-top:7px}.ccs-office-page .ccs-auth-help{margin-top:12px!important;font-size:11px}
}

@media(min-width:1281px) and (max-height:760px){
  .ccs-office-page .ccs-office-auth{padding-top:8px;padding-bottom:8px}
  .ccs-office-page .ccs-auth-story{padding-bottom:70px}
  .ccs-auth-intro{transform:translateY(-38px)}.ccs-auth-visual{transform:translateY(-32px)}
  .ccs-office-page .ccs-auth-story h1{font-size:clamp(38px,2.8vw,50px);margin:9px 0 11px}
  .ccs-office-page .ccs-auth-story .ccs-auth-intro>p{font-size:14px}
  .ccs-auth-benefits{margin-top:10px}.ccs-auth-benefits small{display:none}
  .ccs-auth-benefit-icon{flex-basis:34px;width:34px;height:34px;font-size:14px}
  body.ccs-office-login .ccs-auth-trust{bottom:18px}.ccs-auth-trust{display:grid;padding:6px 9px;border-radius:14px}.ccs-auth-trust article{gap:5px;padding:0 7px}.ccs-auth-trust-icon{flex-basis:27px;width:27px;height:27px;font-size:11px}.ccs-auth-trust strong{font-size:9px}
  .ccs-office-page .ccs-auth-story .ccs-auth-visual img{max-height:55vh}
  .ccs-office-page .ccs-auth-card{padding:16px 27px}
  .ccs-auth-brand{margin-bottom:9px}.ccs-office-page .ccs-auth-logo{width:175px}.ccs-auth-brand small{display:none}
  .ccs-office-page .ccs-auth-tabs{margin-bottom:10px}.ccs-office-page .ccs-auth-tabs button{padding:7px 5px}
  .ccs-office-page .ccs-auth-form h2{font-size:22px}.ccs-office-page .ccs-auth-form>p{margin-bottom:9px}
  .ccs-office-page .ccs-auth-form label{margin-bottom:7px}.ccs-office-page .ccs-auth-form input{padding-top:8px;padding-bottom:8px}
  .ccs-auth-options{margin-bottom:8px}.ccs-office-page .ccs-auth-form .ccs-auth-submit{min-height:42px}
  .ccs-auth-separator{margin:8px 0 6px}.ccs-google-entry{min-height:38px}
  .ccs-office-page .ccs-auth-help{margin-top:7px!important}
}
