:root{--rose:#E91E8C;--purple:#6A0DAD;--orange:#FF6B35;--teal:#00BFA5;--navy:#0D2137;--gold:#FFD700;--light:#FDF4FF}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Heebo',sans-serif;background:var(--light);color:var(--navy);overflow-x:hidden}

nav{position:sticky;top:0;z-index:100;background:rgba(255,255,255,0.97);backdrop-filter:blur(10px);padding:0.8rem 2rem;box-shadow:0 2px 20px rgba(0,0,0,0.08)}
.nav-inner{max-width:1000px;margin:0 auto;width:100%;display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:1rem}
.nav-logo{display:flex;align-items:center}
.nav-logo img{height:40px;object-fit:contain;cursor:pointer;transition:transform 0.2s}
.nav-logo img:hover{transform:scale(1.05)}
.nav-links{display:flex;gap:0.3rem;list-style:none;flex-wrap:wrap}
.nav-links a{text-decoration:none;color:var(--navy);font-weight:600;font-size:0.9rem;padding:0.4rem 0.9rem;border-radius:25px;transition:all 0.2s;cursor:pointer}
.nav-links a:hover,.nav-links a.active{background:var(--rose);color:white}

.page{display:none;animation:fadeIn 0.4s ease}
.page.active{display:block}
@keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

/* Scroll reveal */
.reveal{opacity:0;transform:translateY(24px);transition:opacity 0.9s cubic-bezier(.22,.61,.36,1),transform 0.9s cubic-bezier(.22,.61,.36,1);will-change:opacity,transform}
.reveal.is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){.reveal{opacity:1;transform:none;transition:none}}



/* HERO */
.hero{min-height:100vh;background:linear-gradient(135deg,#1C0A2E 0%,#4A0080 50%,#E91E8C 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:4rem 2rem;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 20% 50%,rgba(255,107,53,0.15) 0%,transparent 60%),radial-gradient(ellipse at 80% 20%,rgba(0,191,165,0.1) 0%,transparent 50%)}
.hero-logo{margin-bottom:2rem;position:relative;z-index:2}
.hero-logo img{height:50px;object-fit:contain;filter:drop-shadow(0 4px 25px rgba(0,0,0,0.35))}
.hero h1{font-family:'Fredoka One',cursive;font-size:clamp(1.8rem,4vw,3.5rem);color:white;margin-bottom:0.8rem;position:relative;z-index:2}
.hero p{font-size:1.1rem;color:rgba(255,255,255,0.8);margin-bottom:3rem;max-width:600px;position:relative;z-index:2;line-height:1.7}

.sites-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:1.5rem;max-width:1000px;width:100%;margin:0 auto;position:relative;z-index:2}
.site-card{border-radius:24px;overflow:hidden;cursor:pointer;transition:transform 0.3s,box-shadow 0.3s;text-decoration:none;display:block}
.site-card:hover{transform:translateY(-8px);box-shadow:0 20px 50px rgba(0,0,0,0.3)}
.card-inner{padding:2.5rem;color:white;text-align:center;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.card-inner .icon{font-size:3.5rem;margin-bottom:1rem}
.card-inner h2{font-family:'Fredoka One',cursive;font-size:1.7rem;margin-bottom:0.5rem}
.card-inner p{font-size:0.9rem;opacity:0.9;line-height:1.6}
.card-btn{display:inline-block;background:rgba(255,255,255,0.2);border:2px solid rgba(255,255,255,0.4);color:white;padding:0.5rem 1.3rem;border-radius:25px;font-weight:700;font-size:0.85rem;margin-top:auto;padding-top:0.5rem;transition:all 0.2s}
.site-card:hover .card-btn{background:white;color:var(--navy)}
.card-playup{background:linear-gradient(135deg,#FF6B35,#FF3CA0)}
.card-edu{background:linear-gradient(135deg,#00BFA5,#1565C0)}
.card-courses{background:linear-gradient(135deg,#E91E8C,#6A0DAD)}
.card-way{background:linear-gradient(135deg,#7B1E3D,#E0A458)}

/* PAGE HEADER */
.page-header{background:linear-gradient(135deg,var(--navy),#3A0060);color:white;padding:3rem 2rem;text-align:center}
.page-header h1{font-family:'Fredoka One',cursive;font-size:clamp(2rem,5vw,3rem);margin-bottom:0.5rem}
.page-header p{opacity:0.8;font-size:1rem}

/* ABOUT */
.about-wrap{max-width:900px;margin:0 auto;padding:4rem 2rem}
.about-card{background:white;border-radius:20px;padding:2.5rem;box-shadow:0 4px 20px rgba(0,0,0,0.07);margin-bottom:2rem}
.about-card h3{font-family:'Fredoka One',cursive;font-size:1.5rem;margin-bottom:1rem;color:var(--navy)}
.about-card p{line-height:1.85;color:#444;margin-bottom:0.8rem;font-size:1rem}
.highlight{background:linear-gradient(135deg,rgba(233,30,140,0.07),rgba(106,13,173,0.07));border-right:4px solid var(--rose);padding:1rem 1.5rem;border-radius:0 12px 12px 0;font-style:italic;margin:1rem 0;color:#333}
.creds{display:flex;flex-wrap:wrap;gap:0.7rem;margin-top:1rem}
.cred{background:linear-gradient(135deg,var(--rose),var(--purple));color:white;padding:0.4rem 1rem;border-radius:25px;font-size:0.82rem;font-weight:600}

/* GALLERY */
.gallery-wrap{max-width:1200px;margin:0 auto;padding:3rem 2rem}
.gal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:0.8rem}
.gal-item{border-radius:12px;overflow:hidden;aspect-ratio:4/3;cursor:pointer;transition:transform 0.3s,box-shadow 0.3s}
.gal-item:hover{transform:scale(1.03);box-shadow:0 8px 25px rgba(0,0,0,0.2)}
.gal-item img{width:100%;height:100%;object-fit:cover;display:block}

/* LIGHTBOX */
.lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.92);z-index:1000;align-items:center;justify-content:center}
.lightbox.open{display:flex}
.lightbox img{max-width:90vw;max-height:90vh;border-radius:12px;object-fit:contain}
.lightbox-close{position:absolute;top:1rem;right:1rem;color:white;font-size:2.5rem;cursor:pointer;background:rgba(255,255,255,0.1);border:none;border-radius:50%;width:50px;height:50px;display:flex;align-items:center;justify-content:center}

/* CATALOG */
.catalog-wrap{max-width:900px;margin:0 auto;padding:4rem 2rem;text-align:center}
.catalog-box{background:white;border-radius:20px;padding:4rem 2rem;box-shadow:0 4px 20px rgba(0,0,0,0.07)}
.catalog-box .big-icon{font-size:5rem;margin-bottom:1rem}
.catalog-box h3{font-family:'Fredoka One',cursive;font-size:1.8rem;margin-bottom:0.5rem;color:var(--navy)}
.catalog-box p{color:#888;font-size:1rem;margin-bottom:2rem}
.catalog-btn{display:inline-block;background:linear-gradient(135deg,var(--orange),var(--rose));color:white;padding:1rem 2.5rem;border-radius:50px;font-weight:700;font-size:1rem;cursor:pointer;border:none;font-family:'Heebo',sans-serif;transition:transform 0.2s;text-decoration:none}
.catalog-btn:hover{transform:scale(1.05)}

/* CONTACT */
.contact-wrap{max-width:700px;margin:0 auto;padding:4rem 2rem}
.contact-chips{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:2rem}
.contact-chip{display:flex;align-items:center;gap:0.5rem;background:linear-gradient(135deg,var(--rose),var(--purple));color:white;padding:0.8rem 1.5rem;border-radius:50px;text-decoration:none;font-weight:700;font-size:0.95rem;transition:transform 0.2s}
.contact-chip:hover{transform:scale(1.05)}
.contact-form{background:white;border-radius:20px;padding:2.5rem;box-shadow:0 4px 20px rgba(0,0,0,0.08)}
.form-group{margin-bottom:1.2rem;text-align:right}
.form-group label{display:block;font-weight:600;margin-bottom:0.4rem;font-size:0.95rem}
.form-group input,.form-group select,.form-group textarea{width:100%;padding:0.9rem 1.2rem;border-radius:12px;border:2px solid #E5E5E5;font-family:'Heebo',sans-serif;font-size:1rem;outline:none;transition:border-color 0.3s;background:#FAFAFA}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--rose)}
.form-group textarea{height:100px;resize:vertical}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.submit-btn{width:100%;background:linear-gradient(135deg,#25D366,#128C7E);color:white;border:none;padding:1.1rem;border-radius:12px;font-family:'Heebo',sans-serif;font-weight:700;font-size:1.1rem;cursor:pointer;transition:transform 0.2s;display:flex;align-items:center;justify-content:center;gap:0.7rem;margin-top:0.5rem}
.submit-btn:hover{transform:translateY(-2px)}

footer{background:var(--navy);color:rgba(255,255,255,0.6);padding:2rem;text-align:center;font-size:0.85rem;margin-top:3rem}
footer span{color:var(--gold)}

@media(max-width:768px){
  nav{padding:0.6rem 0.8rem}
  .nav-inner{flex-wrap:wrap;justify-content:center;gap:0.5rem}
  .nav-logo img{height:36px}
  .nav-links{justify-content:center;width:100%;gap:0.2rem}
  .nav-links a{font-size:0.72rem;padding:0.3rem 0.55rem}
  .hero{min-height:auto;padding:2.5rem 1rem 3rem}
  .hero-logo{margin-bottom:1.2rem}
  .hero-logo img{height:50px}
  .hero h1{font-size:1.6rem;margin-bottom:0.5rem}
  .hero p{font-size:0.95rem;margin-bottom:2rem;padding:0 0.5rem}
  .sites-grid{grid-template-columns:1fr;gap:1rem}
  .card-inner{padding:1.8rem 1.5rem}
  .card-inner .icon{font-size:2.8rem}
  .card-inner h2{font-size:1.4rem}
  .page-header{padding:2rem 1rem}
  .about-wrap,.contact-wrap,.gallery-wrap,.catalog-wrap{padding:2rem 1rem}
  .about-card{padding:1.5rem}
  .about-card h3{font-size:1.25rem}
  .about-card p{font-size:0.92rem}
  .form-row{grid-template-columns:1fr;gap:0}
  .contact-form{padding:1.5rem}
  .contact-chips{justify-content:center;gap:0.6rem}
  .contact-chip{padding:0.65rem 1.1rem;font-size:0.85rem}
  .gal-grid{grid-template-columns:repeat(2,1fr);gap:0.5rem}
  .catalog-box{padding:2.5rem 1.2rem}
  .catalog-box .big-icon{font-size:3.5rem}
  .catalog-box h3{font-size:1.4rem}
  footer{padding:1.5rem 1rem;font-size:0.78rem}
  .a11y-fab{width:48px;height:48px;bottom:14px;right:14px}
  .a11y-panel{bottom:72px;right:10px;left:10px;width:auto;max-width:none}
}
@media(max-width:380px){
  .nav-links a{font-size:0.68rem;padding:0.25rem 0.45rem}
  .gal-grid{grid-template-columns:1fr}
}

/* FOOTER LEGAL LINKS */
.footer-legal{margin-top:0.7rem;display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.footer-legal a{color:var(--gold);text-decoration:none;font-size:0.82rem;opacity:0.85;transition:opacity 0.2s}
.footer-legal a:hover{opacity:1;text-decoration:underline}

/* ACCESSIBILITY WIDGET */
.a11y-fab{position:fixed;bottom:20px;right:20px;z-index:9999;width:54px;height:54px;border-radius:50%;border:none;cursor:pointer;background:linear-gradient(135deg,var(--rose),var(--purple));color:white;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(106,13,173,0.35);transition:transform 0.2s}
.a11y-fab:hover{transform:scale(1.08)}
.a11y-fab:focus{outline:3px solid var(--gold);outline-offset:3px}
.a11y-panel{position:fixed;bottom:88px;right:20px;z-index:9999;width:min(92vw,340px);max-height:80vh;overflow-y:auto;background:white;border-radius:18px;padding:1rem;box-shadow:0 12px 40px rgba(13,33,55,0.25);border:2px solid var(--rose);font-family:'Heebo',sans-serif;color:var(--navy)}
.a11y-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:0.8rem;padding-bottom:0.6rem;border-bottom:1px solid #eee}
.a11y-panel-head h2{font-family:'Fredoka One',cursive;font-size:1.1rem;color:var(--purple);margin:0}
.a11y-close{background:transparent;border:none;cursor:pointer;color:var(--navy);padding:4px;border-radius:6px}
.a11y-close:hover{background:#f3f3f3}
.a11y-font-box{border:1px solid #eee;border-radius:12px;padding:0.7rem;margin-bottom:0.7rem}
.a11y-font-row{display:flex;justify-content:space-between;align-items:center;font-size:0.9rem;margin-bottom:0.5rem;font-weight:600}
.a11y-font-row span{display:flex;align-items:center;gap:0.3rem}
.a11y-font-row strong{color:var(--rose)}
.a11y-font-ctrls{display:flex;gap:0.4rem;justify-content:space-between}
.a11y-font-ctrls button{flex:1;padding:0.5rem;border-radius:8px;border:1.5px solid var(--rose);background:white;color:var(--rose);font-family:inherit;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.15s;font-size:0.8rem}
.a11y-font-ctrls button:hover{background:var(--rose);color:white}
.a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:0.4rem}
.a11y-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.25rem;padding:0.55rem 0.3rem;border-radius:10px;border:1.5px solid #e5e5e5;background:white;color:var(--navy);font-family:inherit;font-size:0.72rem;font-weight:600;cursor:pointer;transition:all 0.15s;text-align:center;line-height:1.15;min-height:64px}
.a11y-toggle:hover{border-color:var(--rose)}
.a11y-toggle.active{background:linear-gradient(135deg,var(--rose),var(--purple));border-color:var(--purple);color:white}
.a11y-reset{margin-top:0.7rem;width:100%;padding:0.6rem;border-radius:10px;border:none;background:linear-gradient(135deg,var(--orange),var(--rose));color:white;font-family:inherit;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:0.4rem;font-size:0.9rem;transition:transform 0.15s}
.a11y-reset:hover{transform:translateY(-1px)}
.a11y-note{margin-top:0.7rem;font-size:0.72rem;line-height:1.5;color:#666;text-align:center}

/* A11Y MODES */
:root{--a11y-font-scale:1}
html.a11y-contrast-high body,html.a11y-contrast-high body *{background:#000 !important;color:#fff !important;border-color:#fff !important}
html.a11y-contrast-high a,html.a11y-contrast-high a *{color:#FFD700 !important}
html.a11y-contrast-inverted{filter:invert(1) hue-rotate(180deg)}
html.a11y-contrast-inverted img,html.a11y-contrast-inverted video{filter:invert(1) hue-rotate(180deg)}
html.a11y-grayscale{filter:grayscale(1)}
html.a11y-highlight-links a{background:#FFD700 !important;color:#000 !important;padding:1px 4px;border-radius:3px}
html.a11y-underline-links a{text-decoration:underline !important}
html.a11y-readable-font,html.a11y-readable-font *{font-family:Arial,Helvetica,sans-serif !important}
html.a11y-big-cursor,html.a11y-big-cursor *{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='black' stroke='white' stroke-width='1.5'><path d='M3 2l7 18 2-8 8-2z'/></svg>") 0 0,auto !important}
html.a11y-stop-animations *,html.a11y-stop-animations *::before,html.a11y-stop-animations *::after{animation:none !important;transition:none !important}
body{font-size:calc(1rem * var(--a11y-font-scale,1))}

/* 404 PAGE (custom, matches site branding) */
.notfound-wrap{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center}
.notfound-wrap h1{font-family:'Fredoka One',cursive;font-size:5rem;color:var(--rose)}
.notfound-wrap h2{font-family:'Fredoka One',cursive;font-size:1.4rem;margin-top:1rem;color:var(--navy)}
.notfound-wrap p{color:#666;margin-top:0.6rem}
.notfound-wrap a{display:inline-block;margin-top:2rem;background:linear-gradient(135deg,var(--orange),var(--rose));color:white;padding:0.9rem 2rem;border-radius:50px;text-decoration:none;font-weight:700}

/* FOOTER SOCIAL LINKS */
.footer-social{margin-top:0.9rem;display:flex;gap:0.6rem;justify-content:center;flex-wrap:wrap}
.footer-social a{display:inline-flex;align-items:center;gap:0.35rem;color:#fff;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.18);padding:0.35rem 0.85rem;border-radius:999px;text-decoration:none;font-size:0.8rem;font-weight:600;transition:background 0.2s,border-color 0.2s}
.footer-social a:hover{background:linear-gradient(135deg,var(--rose),var(--purple));border-color:transparent}
.footer-social .ig-handle{direction:ltr;unicode-bidi:isolate}
@media(max-width:768px){.footer-social a{font-size:0.74rem;padding:0.3rem 0.7rem}}

/* ABOUT PAGE PORTRAIT */
.about-portrait{float:left;width:230px;margin:0 1.6rem 1rem 0;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(13,33,55,0.18);aspect-ratio:4/5}
.about-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 20%;display:block}
.about-card::after{content:'';display:block;clear:both}
@media(max-width:640px){
  .about-portrait{float:none;width:100%;max-width:280px;margin:0 auto 1.2rem;aspect-ratio:4/5}
}

/* GUIDES / ARTICLES */
.article-wrap{max-width:820px;margin:0 auto;padding:3rem 2rem}
.article-lead{font-size:1.12rem;line-height:1.9;color:#3a3a3a;background:white;border-radius:20px;padding:2rem 2.2rem;box-shadow:0 4px 20px rgba(0,0,0,0.07);margin-bottom:1.6rem}
.article-toc{background:linear-gradient(135deg,rgba(233,30,140,0.06),rgba(106,13,173,0.06));border:1px solid rgba(233,30,140,0.18);border-radius:16px;padding:1.2rem 1.6rem;margin-bottom:1.8rem}
.article-toc h2{font-size:1rem;color:var(--purple);margin-bottom:0.6rem;font-family:'Heebo',sans-serif;font-weight:700}
.article-toc ol{margin:0;padding-inline-start:1.2rem}
.article-toc li{margin:0.28rem 0;font-size:0.95rem}
.article-toc a{color:var(--navy);text-decoration:none;border-bottom:1px solid transparent}
.article-toc a:hover{color:var(--rose);border-bottom-color:var(--rose)}
.article-card{background:white;border-radius:20px;padding:2rem 2.2rem;box-shadow:0 4px 20px rgba(0,0,0,0.07);margin-bottom:1.5rem;scroll-margin-top:90px}
.article-card h2{font-family:'Fredoka One',cursive;font-size:1.45rem;color:var(--navy);margin-bottom:0.9rem;line-height:1.4}
.article-card h3{font-size:1.08rem;font-weight:700;color:var(--purple);margin:1.3rem 0 0.5rem}
.article-card p{line-height:1.9;color:#444;margin-bottom:0.9rem}
.article-card ul,.article-card ol{margin:0.6rem 1.2rem 1rem;padding-inline-start:0.6rem}
.article-card li{line-height:1.85;color:#444;margin-bottom:0.45rem}
.article-card li strong{color:var(--navy)}
.age-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:1rem;margin:1rem 0}
.age-box{background:var(--light);border-radius:14px;padding:1.1rem 1.3rem;border-right:4px solid var(--rose)}
.age-box h4{font-weight:700;color:var(--navy);margin-bottom:0.35rem;font-size:1rem}
.age-box p{font-size:0.92rem;line-height:1.7;margin:0;color:#555}
.signs-box{background:#FFF8F3;border:1px solid #F5DCC9;border-radius:14px;padding:1.2rem 1.5rem;margin:1rem 0}
.signs-box h4{font-weight:700;color:#B35C1E;margin-bottom:0.5rem}
.signs-box ul{margin:0.4rem 1rem 0}
.signs-box li{font-size:0.95rem;color:#5a4636}
.article-cta{background:linear-gradient(135deg,var(--rose),var(--purple));border-radius:20px;padding:2rem 2.2rem;text-align:center;color:white;margin-top:2rem}
.article-cta h2{font-family:'Fredoka One',cursive;font-size:1.4rem;margin-bottom:0.6rem;color:white}
.article-cta p{opacity:0.94;line-height:1.8;margin-bottom:1.2rem}
.article-cta .btns{display:flex;gap:0.8rem;justify-content:center;flex-wrap:wrap}
.article-cta a{background:white;color:var(--purple);padding:0.75rem 1.7rem;border-radius:50px;text-decoration:none;font-weight:700;font-size:0.95rem;transition:transform 0.2s}
.article-cta a:hover{transform:translateY(-2px)}
.article-cta a.ghost{background:rgba(255,255,255,0.15);color:white;border:2px solid rgba(255,255,255,0.5)}
.guides-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:1.3rem;max-width:1000px;margin:0 auto;padding:3rem 2rem}
.guide-card{background:white;border-radius:20px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,0.08);text-decoration:none;display:flex;flex-direction:column;transition:transform 0.3s,box-shadow 0.3s}
.guide-card:hover{transform:translateY(-6px);box-shadow:0 16px 40px rgba(0,0,0,0.14)}
.guide-card .top{padding:1.6rem;color:white}
.guide-card .top .icon{font-size:2.2rem;display:block;margin-bottom:0.5rem}
.guide-card .top h2{font-family:'Fredoka One',cursive;font-size:1.25rem;line-height:1.4}
.guide-card .body{padding:1.3rem 1.6rem 1.6rem}
.guide-card .body p{color:#555;font-size:0.94rem;line-height:1.75}
.guide-card .more{margin-top:0.9rem;color:var(--rose);font-weight:700;font-size:0.9rem}
.g-social{background:linear-gradient(135deg,#E91E8C,#6A0DAD)}
.g-learning{background:linear-gradient(135deg,#00BFA5,#1565C0)}
.g-innovation{background:linear-gradient(135deg,#FF6B35,#C2185B)}
.g-prep{background:linear-gradient(135deg,#7B2FBE,#00BFA5)}
.g-sheets{background:linear-gradient(135deg,#0D2137,#E91E8C)}
@media(max-width:640px){
  .article-wrap{padding:2rem 1rem}
  .article-lead,.article-card,.article-cta{padding:1.4rem 1.3rem}
  .guides-grid{padding:2rem 1rem}
}
