/* TutoNaye v4.0 · presentación; API, D1 y Drive permanecen intactos */
:root{--purple:#6721b7;--purple-2:#7324c9;--purple-3:#a72bf0;--dark:#351064;--ink:#39145c;--lav:#e9d1ff;--lav-2:#f2e5ff;--lav-3:#fcf8ff;--gold:#ffc63a;--line:#e7ccfd;--shadow:0 20px 54px rgba(90,27,146,.15)}
html{scroll-behavior:smooth}
body{color:#3b195e;background:linear-gradient(180deg,#fff,#fcf8ff 55%,#f8efff)}
.site-header{background:linear-gradient(180deg,#f1dcffb0,#fff8);backdrop-filter:blur(18px);padding:9px 0 5px}
.header-inner{width:min(1370px,calc(100% - 42px));min-height:70px;border:1px solid #dfc6f6;box-shadow:0 12px 32px #5d259928;background:#fffefa;border-radius:999px;padding:8px 22px}
.brand{gap:9px}
.brand img{height:62px;width:62px;background:linear-gradient(160deg,#fff,#faeeff);border-radius:50%;box-shadow:0 0 0 1px #e5c7fa}
.brand strong{font-size:33px;letter-spacing:-.055em;color:#3a1068;line-height:1.03}
.brand .brand-star{color:#9b2ade}
.brand small{font-size:10px;color:#7944a0;letter-spacing:.015em}
.main-nav a{font-size:13px;min-height:38px;display:inline-flex;align-items:center}
.main-nav a.active,.main-nav a:hover{background:linear-gradient(170deg,#a51cf0,#540d97);box-shadow:0 9px 17px #5d189934;color:#fff}
.panel-nav{background:linear-gradient(130deg,#a922f4,#4b0e90)!important;min-height:44px;font-size:13px}
.btn-primary{background:linear-gradient(160deg,#ab1af5 0%,#7916c7 54%,#4b0c8b 100%);border-radius:17px;box-shadow:0 12px 24px #791dc83d}
.btn-primary:focus-visible,.carousel-circle:focus-visible,.carousel-dot:focus-visible{outline:3px solid #ffcb32;outline-offset:4px}
/* Slider: large hero, strong typographic hierarchy and luminous right-hand portrait */
.yomi-hero-carousel{background:radial-gradient(ellipse at 84% 25%,#d7a0f5 0,transparent 46%),radial-gradient(ellipse at 10% 88%,#efd6ff 0,transparent 40%),linear-gradient(115deg,#fff9ff,#f7ecff 52%,#e5b6ff);overflow:hidden;min-height:590px;padding:0 0 8px}
.yomi-hero-carousel:before{right:-12%;top:0;width:64%;height:94%;background:radial-gradient(circle at 65% 53%,#a846e8cc,#b95eea66 60%,transparent 80%);opacity:.8;transform:none}
.yomi-slide .hero-grid{min-height:508px;max-height:680px;grid-template-columns:1.06fr .94fr;padding:36px 0 4px;align-items:center;gap:10px}
.yomi-slide .hero-copy{max-width:710px}
.yomi-slide .hero-copy h1{font-size:clamp(42px,4.55vw,70px);line-height:1.17;letter-spacing:-.052em;margin:20px 0 19px;text-wrap:balance}
.yomi-slide .hero-copy h1 .brush-text{font-weight:800;line-height:1.18;background:linear-gradient(160deg,#b427f9,#7715c8 66%,#520e93);color:#fff!important;box-shadow:0 7px 0 #5a118f,0 16px 25px #9326c449;padding:2px 15px 5px;border-radius:24px;text-shadow:0 2px 2px #470b7e6b}
.yomi-slide .brush-text:before,.yomi-slide .brush-text:after{display:none}
.yomi-slide .hero-sub{font-size:clamp(16px,1.35vw,19px);color:#442165;line-height:1.72;max-width:555px}
.yomi-slide .hero-note{color:#8850aa;font-size:13px;margin-top:20px}
.eyebrow.pill{background:linear-gradient(90deg,#f1d5ff,#ce91fb);color:#57208e;font-size:11px;letter-spacing:.09em;padding:10px 17px;border-radius:99px;font-weight:900}
.yomi-slide .hero-actions{margin-top:26px;gap:12px}
.hero-actions .btn{min-height:53px}
.yomi-slide .hero-art{min-height:485px;overflow:visible;isolation:isolate}
.yomi-slide .hero-circle{inset:6% -2% 2% 8%;background:radial-gradient(circle at 53% 45%,#e9c8ff70,#9a39e8a8 58%,#7820cc33 70%,transparent 73%);border-radius:50%;transform:rotate(-4deg)}
.yomi-slide .hero-halo{inset:12% 7% 7% 14%;border:2px solid #ffffffac;box-shadow:0 0 26px #ffe0ffb0}
.yomi-slide[data-slide-index="0"] .hero-art{display:flex;align-items:center;justify-content:center}
.yomi-slide[data-slide-index="0"] .hero-people{height:auto;width:100%;max-width:650px;max-height:495px;position:relative;bottom:auto;right:auto;object-fit:contain;mask-image:none;filter:drop-shadow(0 14px 22px #57159a2a);border-radius:44% 44% 35% 35%/40% 40% 18% 18%;animation:tutonayeGentleFloat 5.8s ease-in-out infinite}
@keyframes tutonayeGentleFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.yomi-slide .float-card{box-shadow:0 12px 26px #6720ae35;border-radius:19px}
.yomi-slide[data-slide-index="0"] .float-card{display:none}
.yomi-slide[data-slide-index="0"] .hero-tutor-label{display:none}
.yomi-slide .slide-dog-topic,.yomi-slide .slide-dog-practice{object-fit:contain}
.yomi-hero-carousel .hero-wave{height:72px;bottom:-50px;background:linear-gradient(90deg,#d8a5f8,#ab5fed,#ddb1f4);opacity:.68}
.carousel-controls{padding:0 0 20px;gap:12px;min-height:47px}
.carousel-circle{height:36px;width:36px}
.carousel-play{height:36px;width:36px}
.carousel-timer{bottom:1px;width:min(390px,43%);height:6px;border:1px solid #c29bef;background:#f5e6ff}
.carousel-timer>span{background:linear-gradient(90deg,#bb32f4,#6714b0)}
.carousel-dot{height:10px;width:10px;background:#b595cc}.carousel-dot.is-current{width:26px;background:#7c24ca}
/* No duplicated home quick links: biography is the second part of the homepage */
#homeQuickLinks{display:none!important}
.tutor-profile{position:relative;display:grid;grid-template-columns:320px minmax(0,1fr);gap:35px;align-items:center;margin-top:28px;margin-bottom:65px;border:1px solid #e8ccfc;border-radius:35px;background:linear-gradient(130deg,#fffdfa,#fff 52%,#f7edff);padding:24px 30px 22px;box-shadow:0 17px 45px #5b179d1b;overflow:hidden;min-height:310px}
.tutor-profile:before{content:"";position:absolute;left:-130px;bottom:-135px;width:430px;height:350px;border-radius:50%;background:radial-gradient(circle,#cc8af2a8,#f3d6ff26 72%,transparent 73%);z-index:0}
.tuto-profile-photo{position:relative;z-index:1;width:100%;max-width:320px;aspect-ratio:1/.95;overflow:hidden;border-radius:45% 45% 26% 26%;box-shadow:0 15px 30px #5f2aa62a;background:linear-gradient(150deg,#e1b7ff,#fff)}
.tuto-profile-photo img{width:100%;height:100%;object-fit:cover;object-position:center 34%}
.tuto-profile-info{z-index:1;position:relative;min-width:0}
.tuto-profile-info h2{font-size:clamp(28px,3.3vw,45px);margin:4px 0 13px}
.tuto-profile-info h2 span{color:#ad2bfa;font-size:1.15em}
.tuto-profile-info>p:not(.eyebrow){font-size:15px;max-width:850px;line-height:1.72;color:#4d2c6d;margin:0 0 18px}
.tuto-profile-points{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tuto-profile-points>div{border:1px solid #e6c2fb;border-radius:17px;padding:13px 10px;text-align:center;background:linear-gradient(155deg,#fdf8ff,#f0dbff);min-height:101px;box-shadow:0 6px 12px #58269616;transition:transform .2s ease,box-shadow .2s ease}
.tuto-profile-points>div:hover{transform:translateY(-4px);box-shadow:0 11px 20px #6425aa22}
.tuto-profile-points span{display:block;font-size:23px;margin-bottom:2px}.tuto-profile-points strong{display:block;font-size:12px;color:#4a187e;line-height:1.25}.tuto-profile-points small{display:block;font-size:10px;line-height:1.35;color:#76548f;margin-top:4px}
.profile-cta{margin-top:16px;min-height:41px;padding:9px 17px;font-size:12px}
/* Student: only one folder navigator and no technical storage counters */
#classroomShortcuts,.classroom-shortcuts,.drive-stats,#sectionCount{display:none!important}
#studentTabs{display:none!important}
#classroomView .section-heading{display:none!important}
#classroomView .classroom-body{padding-top:17px}
#classroomView .drive-explorer-heading{margin-bottom:17px}
#classroomView .drive-explorer-heading h2{font-size:clamp(26px,3vw,38px)}
#classroomView .drive-browser-header{border:1px solid #c879f1;box-shadow:0 16px 38px #5416a732;background:linear-gradient(110deg,#981dec,#6513ba 62%,#9c2ce8)}
#classroomView .drive-browser-header h2{font-size:clamp(23px,2.4vw,34px)}
#classroomView .drive-folder-card{min-height:128px;border-radius:24px;background:linear-gradient(155deg,#fff 20%,#f4e6ff);border:1.5px solid #d8b0fc;box-shadow:0 8px 22px #621ea01c;display:flex;gap:12px;align-items:center;position:relative;padding:15px;transition:transform .2s, box-shadow .2s}
#classroomView .drive-folder-card strong{font-size:15px;line-height:1.25;color:#4a1584}
#classroomView .drive-folder-card small{display:none}
#classroomView .drive-folder-icon{background:linear-gradient(155deg,#efd6ff,#d5a8ff);width:63px;height:63px;min-width:63px;border-radius:17px;display:grid;place-items:center;font-size:30px}
#classroomView .drive-go{margin-left:auto;min-width:35px;min-height:35px;display:grid;place-items:center;background:linear-gradient(145deg,#a72ff1,#5f139f);color:white;border-radius:99px;box-shadow:0 8px 13px #52139b30}
#classroomView .classroom-banner{background:linear-gradient(125deg,#951de5,#6813b6 56%,#b12ded);border:1px solid #db9bff;border-radius:28px;box-shadow:0 14px 34px #5812a136}
#classroomView .classroom-banner h1{font-size:clamp(29px,3.2vw,44px)}
#classroomView .classroom-tutor-card{background:linear-gradient(160deg,#fff,#f2e1ff);border:1px solid #e4c7f9}
#classroomView .banner-visual img{animation:tutonayeGentleFloat 6s ease-in-out infinite}
#classroomView .banner-help{display:none}
#classroomView .banner-controls [data-action="show-folders"]{border-radius:14px;background:#fff;color:#5e159b}
#classroomView .banner-controls [data-action="go-about"]{border-radius:14px}
#classroomView .drive-explorer{scroll-margin-top:125px}
/* Attractive student reading cards and access form */
.access-bg{background:radial-gradient(ellipse at 82% 30%,#d6a2faac,transparent 50%),linear-gradient(115deg,#fdf9ff,#f1ddff 72%,#e3b9ff)}
.access-card{border-radius:32px;border:1px solid #dfb4f7;box-shadow:0 20px 50px #58179a25}
.access-card h2{font-size:clamp(28px,3vw,42px)}
.access-card form .btn{min-height:56px}
.access-bubbles .access-bubble{box-shadow:0 10px 25px #55129a18}
.admin-panel{border-radius:24px}
.footer{border-top:1px solid #e7d2f7}
.footer-brand img{width:52px;height:52px}
/* accessibility + responsive */
@media(max-width:1060px){
 .tutor-profile{grid-template-columns:255px 1fr;gap:20px}
 .tuto-profile-points{grid-template-columns:repeat(2,minmax(0,1fr))}
 .yomi-slide .hero-copy h1{font-size:clamp(39px,4.8vw,58px)}
}
@media(max-width:800px){
 .header-inner{width:calc(100% - 24px);padding:7px 12px;min-height:67px}
 .brand img{height:46px;width:46px}.brand strong{font-size:26px}.brand small{font-size:9px}
 .yomi-hero-carousel{min-height:unset}
 .yomi-slide .hero-grid{min-height:unset;max-height:none;grid-template-columns:1fr;padding-top:22px}
 .yomi-slide .hero-art{min-height:310px;height:310px}
 .yomi-slide[data-slide-index="0"] .hero-people{width:auto;max-width:100%;max-height:305px;object-fit:contain}
 .tutor-profile{grid-template-columns:1fr;text-align:center;margin-top:15px;padding:20px}
 .tuto-profile-photo{justify-self:center;max-width:290px}
 .tuto-profile-info>p:not(.eyebrow){margin-left:auto;margin-right:auto}
 .tuto-profile-points{grid-template-columns:repeat(2,1fr)}
 .profile-cta{margin-inline:auto}
}
@media(max-width:520px){
 .container{width:calc(100% - 24px)}
 .site-header{padding-top:5px}
 .header-inner{width:calc(100% - 18px);border-radius:25px}
 .brand img{width:40px;height:40px}.brand strong{font-size:23px}.brand small{font-size:8px}
 .panel-nav{padding:6px 12px;min-height:36px;font-size:11px}
 .yomi-slide .hero-grid{padding:20px 0 6px}
 .yomi-slide .hero-copy h1{font-size:clamp(31px,8.4vw,43px);margin:16px 0 17px}
 .yomi-slide .hero-copy h1 .brush-text{padding:2px 8px 4px;border-radius:14px;box-shadow:0 5px 0 #5a118f,0 12px 20px #9226c43e}
 .yomi-slide .hero-sub{font-size:14px;line-height:1.62}
 .yomi-slide .hero-art{height:245px;min-height:245px}
 .yomi-slide[data-slide-index="0"] .hero-people{max-height:242px;width:100%}
 .carousel-controls{gap:8px}.carousel-timer{width:42%}
 .tutor-profile{margin-top:12px;border-radius:25px;padding:17px 15px 19px}
 .tuto-profile-photo{max-width:240px}
 .tuto-profile-info h2{font-size:29px}
 .tuto-profile-points{gap:7px}.tuto-profile-points>div{min-height:99px;padding:10px 6px}
 #classroomView .drive-folder-card{min-height:93px;padding:11px;border-radius:17px}
 #classroomView .drive-folder-icon{width:52px;height:52px;min-width:52px;font-size:25px}
 #classroomView .drive-folder-card strong{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 .yomi-slide[data-slide-index="0"] .hero-people,.banner-visual img{animation:none!important}
 .tuto-profile-points>div,.drive-folder-card{transition:none!important}
}
/* Perfil siempre visible incluso antes del primer desplazamiento o en vistas previas. */
.tutor-profile.reveal-on-scroll{opacity:1!important;transform:none!important}
