/* ============ RESET & TOKENS ============ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --primary:#4338ca;
  --primary-2:#6366f1;
  --primary-dark:#312e81;
  --accent:#f59e0b;
  --accent-2:#fbbf24;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#e6eaf2;
  --soft:#f6f7fb;
  --white:#fff;
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 8px 28px rgba(15,23,42,.07);
  --shadow-lg:0 24px 60px rgba(15,23,42,.14);
  --max:1180px;
  --grad:linear-gradient(135deg,#4338ca 0%,#6366f1 55%,#8b5cf6 100%);
  --header-h:74px;
}

html{scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%}

body{
  font-family:'Plus Jakarta Sans','Hind Siliguri',system-ui,-apple-system,Segoe UI,sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.65;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

html[lang="bn"] body{font-family:'Hind Siliguri','Plus Jakarta Sans',system-ui,sans-serif;line-height:1.8}

img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none}

.container{width:min(100% - 2rem,var(--max));margin-inline:auto}

/* ============ HELPERS ============ */
.grad-text{
  background:var(--grad);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}
.section{padding:72px 0}
.section--soft{background:var(--soft)}

.sec-head{text-align:center;max-width:680px;margin:0 auto 44px}
.eyebrow{
  display:inline-block;
  font-size:.74rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--primary);background:#eef0ff;
  padding:6px 14px;border-radius:999px;margin-bottom:14px;
}
html[lang="bn"] .eyebrow{letter-spacing:.02em;font-size:.8rem}
.sec-head h2{font-size:clamp(1.6rem,4.6vw,2.4rem);line-height:1.22;font-weight:800;letter-spacing:-.02em}
html[lang="bn"] .sec-head h2{letter-spacing:0}
.sec-head p{color:var(--muted);margin-top:12px;font-size:1rem}

/* buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  padding:.85rem 1.5rem;border-radius:999px;
  font-weight:700;font-size:.94rem;line-height:1;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s;
  white-space:nowrap;
}
.btn svg{width:17px;height:17px;flex:none}
.btn--primary{background:var(--grad);color:#fff;box-shadow:0 10px 24px rgba(67,56,202,.32)}
.btn--primary:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(67,56,202,.42)}
.btn--ghost{background:#fff;color:var(--ink);border:1.5px solid var(--line)}
.btn--ghost:hover{border-color:var(--primary);color:var(--primary);transform:translateY(-2px)}
.btn--accent{background:linear-gradient(135deg,#f59e0b,#fbbf24);color:#3b2600;box-shadow:0 10px 24px rgba(245,158,11,.32)}
.btn--accent:hover{transform:translateY(-2px)}
.btn--block{width:100%}

/* reveal */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.3,1)}
.reveal.in{opacity:1;transform:none}

/* ============ TOP BAR ============ */
.topbar{background:var(--primary-dark);color:#c7d2fe;font-size:.8rem}
.topbar__in{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:38px}
.topbar a{display:inline-flex;align-items:center;gap:.4rem;transition:color .2s}
.topbar a:hover{color:#fff}
.topbar svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.topbar__left,.topbar__right{display:flex;align-items:center;gap:1.1rem}
.topbar__right span{display:inline-flex;align-items:center;gap:.4rem}
.topbar__right span svg{width:13px;height:13px}
@media(max-width:900px){ .topbar{display:none} }

/* ============ HEADER ============ */
.header{
  position:sticky;top:0;z-index:120;
  background:rgba(255,255,255,.88);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s;
}
.header.scrolled{box-shadow:0 8px 26px rgba(15,23,42,.08)}
.header__in{display:flex;align-items:center;gap:1rem;height:var(--header-h)}

/* ------ BRAND (larger icon) ------ */
.brand{display:flex;align-items:center;gap:.75rem;flex:none}
.brand img{
  width:56px;height:56px;               /* ← larger icon */
  object-fit:contain;border-radius:14px;
  transition:transform .3s;
}
.brand:hover img{transform:scale(1.04)}
.brand__txt{display:flex;flex-direction:column;line-height:1.1}
.brand__name{font-weight:800;font-size:1.15rem;letter-spacing:-.02em}
.brand__sub{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:600}
html[lang="bn"] .brand__sub{letter-spacing:0;text-transform:none;font-size:.74rem}

@media(max-width:600px){
  .brand img{width:48px;height:48px;border-radius:12px}
  .brand__name{font-size:1.02rem}
}
@media(max-width:380px){
  .brand img{width:42px;height:42px;border-radius:11px}
  .brand__sub{display:none}
}

.nav{display:none;margin-left:auto;align-items:center;gap:.35rem}
.nav a{
  padding:.55rem .95rem;border-radius:999px;font-weight:600;font-size:.92rem;color:#334155;
  transition:background .2s,color .2s;position:relative;
}
.nav a:hover{color:var(--primary);background:#f1f2fb}
.nav a.active{color:var(--primary);background:#eef0ff}

.header__actions{display:flex;align-items:center;gap:.6rem;margin-left:auto}
@media(min-width:1000px){ .header__actions{margin-left:.4rem} }

/* language switch */
.lang{
  display:flex;align-items:center;
  background:#eef0f6;border-radius:999px;padding:3px;gap:2px;
}
.lang__btn{
  padding:.38rem .7rem;border-radius:999px;font-size:.78rem;font-weight:800;
  color:#64748b;transition:.25s;line-height:1;
}
.lang__btn.is-active{background:#fff;color:var(--primary);box-shadow:0 2px 8px rgba(15,23,42,.12)}

.header__enroll{display:none}
@media(min-width:640px){ .header__enroll{display:inline-flex;padding:.7rem 1.15rem;font-size:.86rem} }

/* burger */
.burger{
  width:42px;height:42px;border-radius:12px;background:#f1f2f8;
  display:grid;place-items:center;gap:0;flex:none;
}
.burger span{display:block;width:19px;height:2px;background:var(--ink);border-radius:2px;transition:.3s}
.burger span+span{margin-top:4.5px}
.burger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
@media(min-width:1000px){ .burger{display:none} .nav{display:flex} }

/* mobile drawer */
.drawer{position:fixed;inset:0;z-index:200;pointer-events:none}
.drawer__bg{
  position:absolute;inset:0;background:rgba(15,23,42,.5);
  opacity:0;transition:opacity .3s;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
}
.drawer__panel{
  position:absolute;top:0;right:0;height:100%;width:min(84vw,340px);
  background:#fff;padding:1.4rem 1.3rem;
  transform:translateX(102%);transition:transform .35s cubic-bezier(.3,.8,.3,1);
  display:flex;flex-direction:column;gap:.35rem;overflow-y:auto;
  box-shadow:-20px 0 60px rgba(15,23,42,.2);
}
.drawer.open{pointer-events:auto}
.drawer.open .drawer__bg{opacity:1}
.drawer.open .drawer__panel{transform:none}
.drawer__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}
.drawer__head .brand img{width:48px;height:48px;border-radius:12px}
.drawer__close{
  width:38px;height:38px;border-radius:11px;background:#f1f2f8;
  display:grid;place-items:center;font-size:1.3rem;color:#475569;line-height:1;
}
.drawer__panel a.dlink{
  padding:.85rem 1rem;border-radius:13px;font-weight:700;color:#1e293b;
  display:flex;align-items:center;justify-content:space-between;transition:.2s;
}
.drawer__panel a.dlink:hover{background:#f1f2fb;color:var(--primary)}
.drawer__panel .btn{margin-top:1rem}
.drawer__foot{margin-top:auto;padding-top:1.4rem;border-top:1px solid var(--line);font-size:.85rem;color:var(--muted)}
.drawer__foot a{display:flex;align-items:center;gap:.5rem;padding:.35rem 0}

/* ============ HERO ============ */
.hero{
  position:relative;overflow:hidden;
  padding:56px 0 68px;
  background:
    radial-gradient(900px 420px at 88% -10%, #e6e6ff 0%, transparent 62%),
    radial-gradient(700px 400px at 0% 100%, #fff4e0 0%, transparent 60%),
    #fff;
}
.hero__grid{display:grid;gap:2.6rem;align-items:center}
@media(min-width:960px){
  .hero{padding:76px 0 92px}
  .hero__grid{grid-template-columns:1.05fr .95fr;gap:3rem}
}

.badge{
  display:inline-flex;align-items:center;gap:.5rem;
  background:#fff;border:1px solid #e0e3f5;
  padding:7px 15px;border-radius:999px;
  font-size:.79rem;font-weight:700;color:var(--primary-dark);
  box-shadow:0 6px 18px rgba(67,56,202,.09);
}
.badge .dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.18);animation:pulse 1.8s infinite}
@keyframes pulse{50%{box-shadow:0 0 0 8px rgba(34,197,94,.05)}}

.hero h1{
  font-size:clamp(2rem,7.4vw,3.35rem);
  line-height:1.13;font-weight:800;letter-spacing:-.035em;
  margin:1.1rem 0 1rem;
}
html[lang="bn"] .hero h1{letter-spacing:-.01em;line-height:1.3;font-size:clamp(1.75rem,6.4vw,2.9rem)}
.hero p.lead{color:#475569;font-size:1.02rem;max-width:520px}
.hero__cta{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.8rem}

.hero__stats{
  display:grid;grid-template-columns:repeat(2,1fr);gap:1rem 1.4rem;
  margin-top:2.4rem;padding-top:1.8rem;border-top:1px dashed #d9deec;
  max-width:520px;
}
@media(min-width:640px){ .hero__stats{grid-template-columns:repeat(4,1fr)} }
.stat b{display:block;font-size:1.4rem;font-weight:800;letter-spacing:-.02em;color:var(--primary-dark);line-height:1.1}
.stat span{font-size:.78rem;color:var(--muted);font-weight:600}

.hero__media{position:relative}
.hero__media img{
  width:100%;border-radius:26px;object-fit:cover;
  box-shadow:0 30px 70px rgba(49,46,129,.22);
  aspect-ratio:4/3.4;
}
.hero__media::before{
  content:"";position:absolute;inset:-14px -14px auto auto;width:150px;height:150px;
  background:var(--grad);opacity:.14;border-radius:32px;z-index:-1;
}
.float-card{
  position:absolute;background:#fff;border-radius:15px;
  box-shadow:0 16px 38px rgba(15,23,42,.16);
  padding:.7rem .9rem;display:flex;align-items:center;gap:.6rem;
  font-size:.78rem;font-weight:700;line-height:1.25;
  animation:floaty 5s ease-in-out infinite;
}
.float-card .ic{
  width:32px;height:32px;border-radius:10px;display:grid;place-items:center;flex:none;
}
.float-card .ic svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.float-card small{display:block;font-weight:600;color:var(--muted);font-size:.68rem}
.fc-1{top:6%;left:-6%;background:linear-gradient(135deg,#4338ca,#6366f1)}
.fc-1 .ic{background:rgba(255,255,255,.22)}
.fc-1,.fc-1 small{color:#fff}
.fc-2{bottom:9%;right:-4%;animation-delay:1.4s}
.fc-2 .ic{background:linear-gradient(135deg,#f59e0b,#fbbf24)}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-11px)}}
@media(max-width:520px){
  .float-card{padding:.55rem .7rem;font-size:.7rem}
  .fc-1{left:-2%}
  .fc-2{right:-1%}
}

/* ============ MARQUEE STRIP ============ */
.strip{background:var(--grad);color:#fff;padding:14px 0;overflow:hidden}
.strip__track{display:flex;gap:3rem;white-space:nowrap;animation:slide 26s linear infinite;font-weight:700;font-size:.86rem;letter-spacing:.02em}
.strip__track span{display:inline-flex;align-items:center;gap:.6rem;opacity:.95}
.strip__track span::before{content:"★";color:var(--accent-2)}
@keyframes slide{to{transform:translateX(-50%)}}

/* ============ COURSES ============ */
.courses{display:grid;gap:1.1rem;grid-template-columns:1fr}
@media(min-width:640px){ .courses{grid-template-columns:repeat(2,1fr)} }
@media(min-width:980px){ .courses{grid-template-columns:repeat(3,1fr)} }

.course{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.5rem 1.35rem;position:relative;overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.course::after{
  content:"";position:absolute;inset:auto -30% -60% auto;width:180px;height:180px;border-radius:50%;
  background:var(--grad);opacity:0;transition:opacity .35s;filter:blur(30px);
}
.course:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:#dcdffb}
.course:hover::after{opacity:.12}
.course__ic{
  width:50px;height:50px;border-radius:14px;display:grid;place-items:center;margin-bottom:1rem;
  background:linear-gradient(135deg,#eef0ff,#e0e7ff);color:var(--primary);
}
.course__ic svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.course h3{font-size:1.08rem;font-weight:800;letter-spacing:-.01em;margin-bottom:.4rem}
.course p{font-size:.9rem;color:var(--muted);min-height:2.6em}
.course ul{list-style:none;margin-top:1rem;display:grid;gap:.45rem}
.course li{font-size:.845rem;color:#475569;display:flex;gap:.5rem;align-items:flex-start}
.course li::before{
  content:"";width:16px;height:16px;flex:none;margin-top:3px;border-radius:50%;
  background:#eef0ff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338ca' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/10px no-repeat;
}

/* ============ ABOUT / WHY US ============ */
.about__grid{display:grid;gap:2.4rem;align-items:center}
@media(min-width:960px){ .about__grid{grid-template-columns:.95fr 1.05fr;gap:3.4rem} }
.about__media{position:relative}
.about__media img{border-radius:24px;box-shadow:var(--shadow-lg);aspect-ratio:4/3.2;object-fit:cover;width:100%}
.about__badge{
  position:absolute;bottom:-18px;right:14px;background:#fff;border-radius:16px;
  padding:.9rem 1.1rem;box-shadow:0 18px 40px rgba(15,23,42,.16);
  display:flex;align-items:center;gap:.7rem;
}
.about__badge b{font-size:1.5rem;font-weight:800;color:var(--primary);line-height:1}
.about__badge span{font-size:.74rem;color:var(--muted);font-weight:600;line-height:1.25}
.about__h2{font-size:clamp(1.55rem,4.4vw,2.2rem);font-weight:800;letter-spacing:-.02em;line-height:1.25;margin-bottom:.9rem}
.about__lead{color:var(--muted);font-size:.96rem;margin-bottom:1.4rem}
.feature{display:flex;gap:.9rem;padding:.85rem 0}
.feature__ic{
  width:44px;height:44px;border-radius:13px;flex:none;display:grid;place-items:center;
  background:linear-gradient(135deg,#eef0ff,#e0e7ff);color:var(--primary);
}
.feature__ic svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.feature h4{font-size:1rem;font-weight:800;margin-bottom:.15rem}
.feature p{font-size:.88rem;color:var(--muted)}

/* ============ GALLERY ============ */
.gallery{display:grid;gap:.85rem;grid-template-columns:repeat(2,1fr)}
@media(min-width:760px){ .gallery{grid-template-columns:repeat(3,1fr);gap:1rem} }
.gitem{
  position:relative;border-radius:16px;overflow:hidden;background:#eef0f6;
  aspect-ratio:1/1;box-shadow:var(--shadow);cursor:pointer;
}
.gitem:nth-child(1){grid-column:span 2;aspect-ratio:2/1.05}
@media(min-width:760px){
  .gitem:nth-child(1){grid-column:span 2;grid-row:span 2;aspect-ratio:auto}
}
.gitem img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.3,1)}
.gitem:hover img{transform:scale(1.07)}
.gitem__ov{
  position:absolute;inset:auto 0 0 0;
  background:linear-gradient(transparent,rgba(15,23,42,.82));
  color:#fff;padding:1.6rem .9rem .8rem;font-size:.82rem;font-weight:700;
  transform:translateY(100%);opacity:0;transition:.35s;
}
.gitem:hover .gitem__ov{transform:none;opacity:1}

/* ============ CTA BAND ============ */
.cta-band{
  background:var(--grad);border-radius:26px;color:#fff;
  padding:2.4rem 1.6rem;text-align:center;position:relative;overflow:hidden;
}
.cta-band::before,.cta-band::after{
  content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.09);
}
.cta-band::before{width:230px;height:230px;top:-110px;left:-70px}
.cta-band::after{width:290px;height:290px;bottom:-160px;right:-90px}
.cta-band h2{font-size:clamp(1.4rem,4.4vw,2rem);font-weight:800;letter-spacing:-.02em;position:relative}
.cta-band p{opacity:.9;margin:.7rem auto 1.6rem;max-width:520px;position:relative;font-size:.95rem}
.cta-band .btn{position:relative}

/* ============ CONTACT ============ */
.contact__grid{display:grid;gap:1.6rem}
@media(min-width:960px){ .contact__grid{grid-template-columns:.9fr 1.1fr;gap:2rem} }
.info-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.25rem;display:flex;gap:.9rem;align-items:flex-start;
  transition:.28s;margin-bottom:.85rem;
}
.info-card:hover{border-color:#c7cbf5;box-shadow:var(--shadow);transform:translateY(-3px)}
.info-card__ic{
  width:44px;height:44px;border-radius:13px;flex:none;display:grid;place-items:center;
  background:linear-gradient(135deg,#4338ca,#6366f1);color:#fff;
}
.info-card__ic svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.info-card h4{font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:800;margin-bottom:.2rem}
html[lang="bn"] .info-card h4{letter-spacing:0;text-transform:none;font-size:.85rem}
.info-card p,.info-card a{font-size:.94rem;font-weight:600;color:var(--ink);word-break:break-word}
.info-card a:hover{color:var(--primary)}

.map{
  border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);
  box-shadow:var(--shadow);min-height:340px;height:100%;
}
.map iframe{width:100%;height:100%;min-height:340px;border:0;display:block}

/* ============ FOOTER ============ */
.footer{background:#0b1120;color:#94a3b8;padding:56px 0 0;margin-top:0}
.footer__grid{display:grid;gap:2rem;grid-template-columns:1fr}
@media(min-width:760px){ .footer__grid{grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:2.2rem} }
.footer h4{color:#fff;font-size:.95rem;font-weight:800;margin-bottom:1rem}
.footer p{font-size:.88rem;line-height:1.75}
.footer ul{list-style:none;display:grid;gap:.6rem}
.footer ul a{font-size:.88rem;transition:.2s}
.footer ul a:hover{color:#fff;padding-left:4px}
.footer__brand{display:flex;align-items:center;gap:.7rem;margin-bottom:1rem}
.footer__brand img{width:52px;height:52px;border-radius:13px;background:#fff;padding:4px;object-fit:contain}
.footer__brand b{color:#fff;font-size:1.15rem;font-weight:800;display:block;line-height:1.2}
.footer__brand span{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:#818cf8;font-weight:700}
.footer__addr{font-size:.88rem}
.socials{display:flex;gap:.55rem;margin-top:1.1rem}
.socials a{
  width:38px;height:38px;border-radius:11px;display:grid;place-items:center;
  background:rgba(255,255,255,.07);color:#cbd5e1;transition:.25s;
}
.socials a:hover{background:var(--primary);color:#fff;transform:translateY(-3px)}
.socials svg{width:17px;height:17px;fill:currentColor}
.footer__bottom{
  margin-top:2.6rem;border-top:1px solid rgba(255,255,255,.09);
  padding:1.3rem 0;font-size:.82rem;display:flex;flex-wrap:wrap;gap:.6rem;
  justify-content:space-between;align-items:center;
}
.footer__bottom a:hover{color:#fff}

/* ============ FLOATING WHATSAPP ============ */
.wa-float{
  position:fixed;right:16px;bottom:18px;z-index:110;
  width:52px;height:52px;border-radius:50%;
  background:#25d366;display:grid;place-items:center;
  box-shadow:0 12px 30px rgba(37,211,102,.45);
  transition:transform .25s;
}
.wa-float:hover{transform:scale(1.08)}
.wa-float svg{width:26px;height:26px;fill:#fff}

/* ============ MODAL / ENROLL FORM ============ */
.modal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:1rem;pointer-events:none}
.modal.open{pointer-events:auto}
.modal__bg{
  position:absolute;inset:0;background:rgba(10,15,35,.62);
  -webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);
  opacity:0;transition:opacity .3s;
}
.modal.open .modal__bg{opacity:1}
.modal__panel{
  position:relative;width:min(100%,540px);max-height:92vh;overflow-y:auto;
  background:#fff;border-radius:22px;padding:1.7rem 1.4rem 1.5rem;
  box-shadow:0 40px 90px rgba(0,0,0,.35);
  transform:translateY(26px) scale(.97);opacity:0;
  transition:transform .35s cubic-bezier(.2,.8,.3,1),opacity .3s;
}
.modal.open .modal__panel{transform:none;opacity:1}
@media(min-width:560px){ .modal__panel{padding:2rem 1.9rem} }

.modal__close{
  position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:11px;
  background:#f1f2f8;display:grid;place-items:center;font-size:1.3rem;color:#475569;line-height:1;
  transition:.2s;
}
.modal__close:hover{background:#e2e5f0;color:#0f172a}
.modal__head{margin-bottom:1.3rem;padding-right:2.4rem}
.modal__head h3{font-size:1.3rem;font-weight:800;letter-spacing:-.02em;line-height:1.25}
.modal__head p{font-size:.86rem;color:var(--muted);margin-top:.35rem}

.form-grid{display:grid;gap:.9rem}
@media(min-width:520px){ .form-grid{grid-template-columns:1fr 1fr} .span-2{grid-column:span 2} }
.field{display:flex;flex-direction:column;gap:.35rem}
.field label{font-size:.79rem;font-weight:700;color:#334155}
.field label .req{color:#ef4444}
.field input,.field select,.field textarea{
  width:100%;padding:.72rem .9rem;border:1.5px solid var(--line);border-radius:12px;
  background:#fbfcfe;font-size:.9rem;transition:.2s;outline:none;
}
.field textarea{resize:vertical;min-height:82px}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--primary-2);background:#fff;box-shadow:0 0 0 4px rgba(99,102,241,.13);
}
.field select{appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat:no-repeat;background-position:right .8rem center;background-size:15px;padding-right:2.3rem;
}
.form-submit{margin-top:1.1rem}
.form-note{font-size:.76rem;color:var(--muted);text-align:center;margin-top:.85rem;line-height:1.5}

.form-msg{
  display:none;margin-top:1rem;padding:.85rem 1rem;border-radius:12px;
  font-size:.86rem;font-weight:600;text-align:center;
}
.form-msg.ok{display:block;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.form-msg.err{display:block;background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}

.spinner{
  width:16px;height:16px;border:2.5px solid rgba(255,255,255,.35);
  border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

body.no-scroll{overflow:hidden}

/* lightbox */
.lightbox{
  position:fixed;inset:0;z-index:320;background:rgba(8,12,28,.93);
  display:grid;place-items:center;padding:1.2rem;opacity:0;pointer-events:none;transition:opacity .3s;
}
.lightbox.open{opacity:1;pointer-events:auto}
.lightbox img{max-width:min(100%,960px);max-height:86vh;border-radius:16px;object-fit:contain}
.lightbox__close{
  position:absolute;top:18px;right:18px;width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.14);color:#fff;font-size:1.6rem;display:grid;place-items:center;
}