/* NEUROLAB Edu — estilo basado en el diseño EduPress: claro, aireado, naranja de marca. */
:root {
  --brand: #ff5a00;
  --brand-dark: #e04e00;
  --brand-soft: #fff1e8;
  --ink: #111111;
  --ink-2: #555b66;
  --ink-3: #8d929b;
  --bg: #ffffff;
  --grey: #f4f4f4;
  --line: #e9eaee;
  --radius: 16px;
  --shadow: 0 12px 34px -14px rgba(17, 17, 17, .22);
  --wrap: 1200px;
  --font-head: 'Exo 2', 'Jost', system-ui, sans-serif;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.18em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; white-space: nowrap; padding: .7em 1.6em; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--font-body); font-weight: 500; font-size: .95rem; line-height: 1.2; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 10px 22px -10px rgba(255, 90, 0, .8); }
.btn-outline { border-color: #cfd2d8; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-o { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline-o:hover { background: var(--brand); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.admin-bar .site-header { top: 32px; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; }
.brand-text strong em { font-style: normal; color: var(--brand); }
.brand-text small { margin-top: 3px; font-size: .58rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.primary-nav { display: flex; align-items: center; gap: 26px; flex: 1; justify-content: space-between; margin-left: 34px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list li { position: relative; }
.nav-list a { display: flex; align-items: center; gap: 4px; padding: 0 16px; height: 80px; font-size: .92rem; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.nav-list a:hover, .nav-list a.is-active, .nav-list .current-menu-item > a { background: var(--grey); color: var(--brand); }
.nav-list .caret { width: .85em; height: .85em; }
.nav-list .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border-radius: 0 0 14px 14px; box-shadow: var(--shadow); padding: 8px; border-top: 3px solid var(--brand); }
.nav-list li:hover > .sub-menu, .nav-list li:focus-within > .sub-menu, .nav-list li.open > .sub-menu { display: block; }
.nav-list .sub-menu a { height: auto; padding: 10px 14px; border-radius: 8px; }
.nav-right { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.nav-right .sep { color: var(--ink-3); }
.login-link:hover { color: var(--brand); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--brand); border-radius: 50%; background: #fff; color: var(--brand); transition: all .2s; margin-left: 6px; }
.icon-btn:hover { background: var(--brand); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; width: 44px; height: 44px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.search-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(17, 17, 17, .94); display: grid; place-items: center; padding: 24px; }
.search-overlay[hidden] { display: none; }
.search-overlay form { width: min(720px, 100%); color: #fff; }
.search-overlay label { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 18px; }
.search-row { display: flex; gap: 12px; }
.search-row input { flex: 1; padding: 16px 22px; border-radius: 999px; border: 0; font: inherit; font-size: 1.05rem; }
.search-close { position: absolute; right: 24px; top: 24px; margin: 0; }

/* Hero / slider */
.slider { position: relative; overflow: hidden; }
.slides { position: relative; min-height: 560px; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; overflow: hidden; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.tone-1 { background: linear-gradient(110deg, #fdf3c4 0%, #eef6c9 45%, #c9f3e3 100%); }
.tone-2 { background: linear-gradient(110deg, #ffe3d1 0%, #fbe7e1 45%, #e6dcfb 100%); }
.tone-3 { background: linear-gradient(110deg, #d5f1fb 0%, #dcf3e8 50%, #fff0c9 100%); }
.ghost { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 15vw, 13rem); line-height: .9; color: rgba(255, 255, 255, .55); letter-spacing: -.02em; white-space: nowrap; pointer-events: none; user-select: none; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.b1 { width: 380px; height: 380px; left: -130px; bottom: -150px; background: rgba(255, 90, 0, .12); }
.b2 { width: 300px; height: 300px; right: 6%; top: -140px; background: rgba(255, 255, 255, .55); }
.slide-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; min-height: 560px; }
.slide-copy { align-self: center; padding: 40px 0 60px; max-width: 540px; }
.slide-copy h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; margin-bottom: .45em; }
.lead { font-size: 1.05rem; color: var(--ink-2); max-width: 480px; margin-bottom: 1.6em; }
.slide-person { justify-self: center; align-self: end; max-height: 540px; width: auto; filter: drop-shadow(0 18px 24px rgba(17, 17, 17, .12)); }
.slide.is-active .slide-copy > * { animation: rise .8s both; }
.slide.is-active .slide-copy > *:nth-child(2) { animation-delay: .12s; }
.slide.is-active .slide-copy > *:nth-child(3) { animation-delay: .24s; }
.slide.is-active .slide-person { animation: rise .9s .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.sl-arrow { position: absolute; top: 50%; z-index: 5; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 1.5px solid rgba(17, 17, 17, .2); background: rgba(255, 255, 255, .7); color: var(--ink); display: grid; place-items: center; transition: all .2s; }
.sl-arrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.sl-prev { left: 20px; } .sl-prev .ic { transform: rotate(180deg); }
.sl-next { right: 20px; }
.sl-dots { position: absolute; z-index: 5; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 8px; }
.sl-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(17, 17, 17, .25); transition: all .3s; }
.sl-dots button[aria-selected="true"] { width: 30px; background: var(--brand); }

/* Sections */
.section { padding: 80px 0; }
.section.tight { padding: 28px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: .1em; }
.sec-head p { margin: 0; color: var(--ink-2); }
.center-head { justify-content: center; text-align: center; }
.page-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .6em; }
.crumbbar { background: var(--grey); padding: 10px 0; font-size: .85rem; color: var(--ink-3); }
.crumbbar span { margin: 0 10px; }
.crumbbar a:hover { color: var(--brand); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 34px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: all .25s; }
.cat-box .ic { width: 34px; height: 34px; color: var(--brand); margin-bottom: 8px; }
.cat-box strong { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; }
.cat-box span { color: var(--ink-3); font-size: .85rem; }
.cat-box:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat-box:hover strong { color: var(--brand); }

.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s; height: 100%; }
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.course-img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.course-card:hover .course-img img { transform: scale(1.05); }
.tag { position: absolute; left: 14px; top: 14px; background: #000; color: #fff; padding: .25em .9em; border-radius: 6px; font-size: .78rem; font-weight: 500; }
.course-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.by { font-size: .82rem; color: var(--ink-2); margin-bottom: 4px; }
.course-body h3 { font-size: 1.08rem; min-height: 2.5em; margin-bottom: .6em; }
.course-body h3 a:hover { color: var(--brand); }
.course-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .82rem; color: var(--ink-2); margin-bottom: 14px; flex: 1; }
.course-meta .ic { color: var(--brand); margin-right: 6px; }
.course-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.price { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: #e11d2e; }
.more { font-weight: 500; font-size: .9rem; }
.more:hover { color: var(--brand); }

/* Banners */
.banner { position: relative; overflow: hidden; border-radius: 22px; padding: 56px clamp(24px, 5vw, 64px); }
.banner small { display: block; letter-spacing: .08em; font-size: .8rem; color: var(--ink-2); margin-bottom: 8px; font-weight: 500; }
.banner h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.banner p { color: var(--ink-2); max-width: 520px; }
.banner-mint { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; background: linear-gradient(110deg, #bff5de 0%, #dfe5d6 55%, #fbc7c4 100%); }
.banner-art { position: relative; min-height: 220px; }
.chip-app { position: absolute; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; color: #fff; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.chip-app .ic { width: 28px; height: 28px; }
.c1 { background: #7c3aed; right: 6%; top: 0; transform: rotate(10deg); }
.c2 { background: #0ea5e9; right: 36%; top: -6px; animation-delay: -1s; transform: rotate(-8deg); }
.c3 { background: #22c55e; right: 2%; bottom: 8px; animation-delay: -2s; transform: rotate(8deg); }
.c4 { background: var(--brand); right: 34%; bottom: -6px; animation-delay: -3s; transform: rotate(-10deg); }
@keyframes bob { 50% { translate: 0 -8px; } }
.bubble-demo { position: absolute; left: 4%; right: 24%; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.msg { margin: 0; padding: 11px 15px; border-radius: 16px; font-size: .86rem; line-height: 1.45; background: #fff; color: var(--ink); box-shadow: 0 6px 18px -10px rgba(17, 17, 17, .3); max-width: 100%; }
.msg.me { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; justify-self: end; }
.msg.bot { border-bottom-left-radius: 4px; }
.banner-peach { background: linear-gradient(110deg, #fdd3d6 0%, #f8e4d9 50%, #d3e4fa 100%); }
.banner-center { text-align: center; }
.banner-center p { margin-inline: auto; }
.banner-lilac { background: linear-gradient(110deg, #c9e4fb 0%, #dcd6fb 60%, #ebd5fb 100%); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px clamp(24px, 4vw, 48px); }
.cta-band h2 { margin: 0; font-size: 1.4rem; flex: 1; }
.cta-ic { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #fff; color: var(--brand); box-shadow: var(--shadow); }
.cta-ic .ic { width: 34px; height: 34px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: var(--grey); border-radius: var(--radius); text-align: center; padding: 34px 16px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; color: var(--brand); line-height: 1.2; }
.stat > span { font-weight: 500; font-size: .95rem; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; padding-bottom: 50px; }
.about-media img { border-radius: var(--radius); object-fit: cover; }
.about-media img:first-child { width: 78%; aspect-ratio: 4 / 5; }
.about-media .second { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1; border: 8px solid #fff; box-shadow: var(--shadow); }
.about-grid h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.checks { margin: 20px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks .ic { margin-top: 4px; color: var(--brand); stroke-width: 3; }

.grad-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grad-card { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; position: relative; background: #ddd; }
.grad-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.grad-card::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; color: #fff; background: rgba(255, 90, 0, .5); opacity: 0; transition: opacity .3s; }
.grad-card:hover img { transform: scale(1.08); }
.grad-card:hover::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .9); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; max-width: 94vw; border-radius: 12px; }

.news-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: all .25s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.news-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 18px 20px 22px; }
.news-body h3 { font-size: 1.08rem; margin-bottom: .4em; }
.news-body h3 a:hover { color: var(--brand); }
.meta { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--ink-3); margin-bottom: 8px; }
.meta .ic { color: var(--brand); }
.news-body p { color: var(--ink-2); font-size: .92rem; margin: 6px 0 0; }
.pager { margin-top: 40px; text-align: center; }
.pager .page-numbers { display: inline-block; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); margin: 0 2px; }
.pager .current { background: #000; border-color: #000; color: #fff; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-grid h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 22px; }
.faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 500; padding: 18px 28px 18px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* Contact / forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 22px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .ic { color: var(--brand); }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.card-form h2 { margin: 0; font-size: 1.4rem; }
.card-form label { font-size: .85rem; font-weight: 500; display: grid; gap: 6px; }
.card-form input, .card-form textarea { padding: 12px 16px; border: 1px solid #cfd2d8; border-radius: 10px; font: inherit; background: #fff; }
.card-form input:focus, .card-form textarea:focus { border-color: var(--brand); outline: 0; }
.err-code { font-family: var(--font-head); font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; color: var(--brand); line-height: 1; margin: 0 0 8px; }
.entry { font-size: 1.05rem; }
.entry h2 { margin-top: 1.6em; }
.entry img { border-radius: 12px; }
.entry a { color: var(--brand-dark); text-decoration: underline; }
.entry-thumb { width: 100%; margin: 0 0 24px; border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--grey); color: var(--ink-2); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: var(--ink); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1.1em; }
.foot-about { margin: 16px 0 0; font-size: .92rem; max-width: 320px; }
.foot-links, .foot-contact { display: grid; gap: 10px; margin-bottom: 18px; font-size: .92rem; }
.foot-links a:hover, .foot-contact a:hover { color: var(--brand); }
.foot-social { display: flex; gap: 14px; }
.foot-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); transition: color .2s; }
.foot-social a:hover { color: var(--brand); }
.foot-bottom { border-top: 1px solid #dcdde1; padding: 20px 0; text-align: center; font-size: .88rem; }
.to-top { position: fixed; right: 22px; bottom: 90px; z-index: 80; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #000; color: #fff; transition: background .2s; }
.to-top:hover { background: var(--brand); }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .7); }
.wa-float .ic { width: 28px; height: 28px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .courses, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .grad-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .faq-grid, .contact-grid, .banner-mint { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; background: #fff; padding: 8px 16px 22px; box-shadow: var(--shadow); display: none; margin: 0; }
  .primary-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list a { height: auto; padding: 12px 10px; }
  .nav-list .sub-menu { position: static; display: block; box-shadow: none; border-top: 0; padding: 0 0 0 14px; }
  .nav-right { padding: 8px 10px; }
  .slide-in { grid-template-columns: 1fr; text-align: left; }
  .slide-person { max-height: 360px; }
  .slides, .slide-in { min-height: 640px; }
  .ghost { font-size: 22vw; top: 62%; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .courses, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-box { padding: 24px 10px; }
  .sl-arrow { display: none; }
  .search-row { flex-direction: column; }
  .brand-text small { display: none; }
  .bubble-demo { position: static; transform: none; margin-top: 8px; }
  .banner-art { min-height: 0; }
  .chip-app { display: none; }
  .cta-band { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
