
/* =========================================================
   PRO SPORTS V31 — Visitor + Auth stabilization
   ========================================================= */
html{scroll-behavior:smooth}
#ubicacion,#contacto,#valoraciones,#agenda{scroll-margin-top:90px}

/* Testimonials: fixed grid, never carousel */
.ps31-reviews{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ps31-review{background:#fff;border:1px solid #dce5ef;border-radius:22px;padding:24px;box-shadow:0 12px 32px rgba(7,31,59,.05);min-width:0}
.ps31-review-stars{color:#f59e0b;letter-spacing:2px;font-size:18px;margin-bottom:14px}
.ps31-review p{margin:0 0 20px;color:#475569;line-height:1.65;font-size:14px}
.ps31-review-person{display:flex;align-items:center;gap:11px}
.ps31-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#071f3b;color:#fff;font-weight:900}
.ps31-review-person b,.ps31-review-person small{display:block}.ps31-review-person small{color:#8492a6;margin-top:2px}

/* Location / contact */
.ps31-contact-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:20px}
.ps31-map-card,.ps31-contact-card,.ps31-calendly-card{border:1px solid #dce5ef;border-radius:26px;background:#fff;overflow:hidden;box-shadow:0 14px 36px rgba(7,31,59,.06)}
.ps31-map{width:100%;height:420px;border:0;display:block}
.ps31-contact-card{padding:28px}
.ps31-contact-card h3{font-size:27px;margin:0 0 8px}
.ps31-contact-card p{color:#66758a;line-height:1.6}
.ps31-socials{display:grid;gap:10px;margin-top:20px}
.ps31-social{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #e3eaf2;border-radius:14px;text-decoration:none;color:#071f3b;font-weight:800;transition:.2s}
.ps31-social:hover{transform:translateY(-2px);border-color:#b7c8dd}
.ps31-social-icon{width:36px;height:36px;border-radius:10px;background:#eef3f8;display:grid;place-items:center;font-size:18px}
.ps31-calendly-card{margin-top:20px;padding:30px;display:flex;justify-content:space-between;gap:25px;align-items:center;background:linear-gradient(135deg,#071f3b,#0e3b68);color:#fff}
.ps31-calendly-card p{color:#c5d3e2;margin:7px 0 0}.ps31-calendly-card a{white-space:nowrap}

/* Survey */
.ps31-survey{margin-top:20px;border-radius:26px;padding:30px;background:#f5f8fc;border:1px solid #dce5ef}
.ps31-survey-top{display:flex;justify-content:space-between;gap:20px;align-items:start}
.ps31-rating{display:flex;gap:7px;margin:18px 0}.ps31-rating button{width:43px;height:43px;border:1px solid #d8e2ee;background:#fff;border-radius:12px;font-size:19px;cursor:pointer}.ps31-rating button.active{background:#071f3b;color:#fff;border-color:#071f3b}
.ps31-survey textarea{width:100%;min-height:95px;resize:vertical;border:1px solid #d8e2ee;border-radius:14px;padding:13px;font:inherit}
.ps31-survey-actions{display:flex;justify-content:flex-end;margin-top:10px}

/* Auth */
.ps31-google{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;height:50px;border:1px solid #d6dee8;background:#fff;border-radius:12px;font-weight:900;color:#172033;cursor:pointer}
.ps31-google svg{width:19px;height:19px}
.ps31-divider{display:flex;align-items:center;gap:12px;color:#98a2b3;font-size:11px;font-weight:800;margin:18px 0}
.ps31-divider:before,.ps31-divider:after{content:"";height:1px;background:#e1e7ef;flex:1}
.ps31-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ps31-help{font-size:11px;color:#8a98a8;margin-top:6px}
.ps31-otp-shell{display:none;text-align:center}
.ps31-otp-shell.active{display:block}
.ps31-otp-icon{width:72px;height:72px;border-radius:22px;margin:0 auto 18px;display:grid;place-items:center;background:#eef3ff;font-size:32px;animation:ps31Float 2.2s ease-in-out infinite}
@keyframes ps31Float{50%{transform:translateY(-6px)}}
.ps31-otp-boxes{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:24px 0}
.ps31-otp-boxes input{min-width:0;width:100%;height:58px;text-align:center;border:1px solid #d8e2ee;border-radius:13px;font-size:24px;font-weight:900;outline:0}
.ps31-otp-boxes input:focus{border-color:#326cff;box-shadow:0 0 0 3px #edf2ff}
.ps31-verify-state{display:none;padding:18px}.ps31-verify-state.active{display:block}
.ps31-spinner{width:50px;height:50px;border-radius:50%;border:4px solid #e7edf5;border-top-color:#326cff;margin:0 auto 15px;animation:ps31spin .8s linear infinite}
@keyframes ps31spin{to{transform:rotate(360deg)}}
.ps31-success{width:68px;height:68px;border-radius:50%;background:#e8fbf3;color:#087a56;display:grid;place-items:center;font-size:32px;margin:0 auto 15px;animation:ps31pop .45s ease}
@keyframes ps31pop{0%{transform:scale(.5);opacity:0}100%{transform:scale(1);opacity:1}}

/* Tracking safety */
.ps31-track-error{padding:24px;border:1px dashed #bdc9d8;border-radius:18px;background:#fff;text-align:center;color:#66758a}

/* Responsive */
@media(max-width:980px){
 .ps31-reviews{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ps31-contact-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
 .ps31-reviews{grid-template-columns:1fr}
 .ps31-contact-grid{grid-template-columns:1fr}
 .ps31-map{height:330px}
 .ps31-contact-card{padding:21px}
 .ps31-calendly-card{display:block;padding:24px}.ps31-calendly-card a{display:inline-flex;margin-top:18px}
 .ps31-survey{padding:22px 18px}.ps31-survey-top{display:block}
 .ps31-two{grid-template-columns:1fr}
 .ps31-otp-boxes{gap:5px}.ps31-otp-boxes input{height:52px;font-size:21px}
}

/* PRO SPORTS V32 — full homepage restored + embedded Calendly */
.ps32-contact-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:20px;align-items:start}
.ps32-calendly-wrap,.ps32-contact-card{background:#fff;border:1px solid #dce5ef;border-radius:26px;box-shadow:0 14px 36px rgba(7,31,59,.06);overflow:hidden}
.ps32-calendly-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 26px 12px}
.ps32-calendly-head h3,.ps32-contact-card h3{font-size:27px;margin:7px 0 0}
.ps32-live-pill{font-size:12px;font-weight:900;color:#1f64ed;background:#eef4ff;border:1px solid #dbe7ff;padding:9px 12px;border-radius:999px;white-space:nowrap}
.ps32-calendly-wrap .calendly-inline-widget{width:100%!important}
.ps32-contact-card{padding:25px}
.ps32-contact-card>p{color:#66758a;line-height:1.65}
.ps32-map-title{display:flex;justify-content:space-between;align-items:center;margin:22px 0 10px}.ps32-map-title span{color:#8492a6;font-size:13px}
.ps32-map{width:100%;height:260px;border:0;border-radius:17px;display:block}
@media(max-width:900px){
 .ps32-contact-grid{grid-template-columns:1fr}
 .ps32-contact-card{order:-1}
}
@media(max-width:600px){
 .ps32-calendly-head{display:block;padding:20px 18px 8px}
 .ps32-live-pill{display:inline-flex;margin-top:12px}
 .ps32-calendly-wrap .calendly-inline-widget{height:760px!important;min-width:0!important}
 .ps32-contact-card{padding:20px}
}

/* V33 social brand assets + temporary standard auth */
.ps33-brand{display:grid!important;place-items:center;overflow:hidden;background:#fff!important}
.ps33-brand img{width:30px;height:30px;object-fit:contain;border-radius:7px}
.ps33-email-card{margin-top:10px}
.ps33-inline-logo{width:20px;height:20px;object-fit:contain;vertical-align:middle;margin-left:7px}
.ps33-auth-note{margin:14px 0 0;padding:11px 13px;border-radius:12px;background:#f3f7ff;color:#53657d;font-size:13px;text-align:center}
