@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,600&display=swap');

:root{
  --red:#E63950;
  --orange:#FF6B4A;
  --gold:#FFA53E;
  --cream:#FFF7ED;
  --cream2:#FFF2E4;
  --peach:#FFE9D6;
  --peach-b:#FFD8B8;
  --card-b:#FFE7D6;
  --ink:#2B2140;
  --ink-strong:#12102A;
  --brown:#4A2A12;
  --muted:#8b7a6e;
  --white:#ffffff;
  --shadow: 0 10px 30px rgba(180,60,30,.10);
  --radius: 26px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; overflow-x:hidden; max-width:100%;}
body{
  margin:0;
  font-family:'Nunito', sans-serif;
  background:var(--cream);
  color:var(--ink);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  max-width:100%;
}
h1,h2,h3,.display{
  font-family:'Fredoka', sans-serif;
  color:var(--ink-strong);
  margin:0;
  line-height:1.15;
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.container{max-width:1180px; margin:0 auto; padding:0 28px; width:100%;}
.adv-grid > *, .rev-grid > *, .zoom-grid > *, .price-grid > *, .footer-grid > *,
.teach-grid > *, .hero-grid > *, .process-grid > * { min-width:0; }
section{padding:88px 0;}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Fredoka',sans-serif; font-weight:600; font-size:14px;
  letter-spacing:.4px; color:var(--red);
  background:#fff; border:2px solid var(--card-b); border-radius:999px;
  padding:7px 18px; margin-bottom:18px;
}
.h2{font-size:38px; font-weight:600; margin-bottom:14px;}
.lead{font-size:19px; color:#5c4f6a; max-width:620px;}
.center{text-align:center; margin-left:auto; margin-right:auto;}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:'Fredoka', sans-serif; font-weight:600; font-size:16px;
  padding:15px 28px; border-radius:999px; border:none; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{ background:linear-gradient(120deg,var(--red),var(--orange)); color:#fff; box-shadow:0 10px 24px rgba(230,57,80,.35);}
.btn-ghost{ background:#fff; color:var(--ink-strong); border:2px solid var(--card-b);}
.btn-outline-white{ background:transparent; color:#fff; border:2px solid rgba(255,255,255,.7);}
.btn-wa{ background:#25D366; color:#fff; }
.btn-tg{ background:#229ED9; color:#fff; }
.btn-block{width:100%;}

/* ---------- decorative bits ---------- */
.flag-badge, .nazar-badge{
  width:52px; height:52px; border-radius:50%; background:#fff;
  display:flex; align-items:center; justify-content:center; font-size:26px;
  box-shadow:0 6px 14px rgba(0,0,0,.15); border:2px solid var(--card-b);
}
.sparkle{position:absolute; opacity:.5; font-size:22px;}

/* ---------- header / nav ---------- */
header.site{
  position:sticky; top:0; z-index:50;
  background:rgba(255,247,237,.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--card-b);
  box-shadow:0 2px 18px rgba(180,60,30,.05);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:16px 0;}
.brand{display:flex; align-items:center; gap:10px; font-family:'Fredoka',sans-serif; font-weight:700; font-size:20px;}
.brand img{height:38px; width:auto; display:block;}
.brand .word{display:flex; flex-direction:column; line-height:1.05;}
.brand .word .tagline{font-size:10.5px; font-weight:600; color:var(--red); letter-spacing:.2px;}
.nav-links{display:flex; gap:26px; font-weight:700; font-size:15px;}
.nav-links a{opacity:.8;}
.nav-links a:hover{opacity:1; color:var(--red);}
.nav-cta{display:flex; gap:10px; align-items:center;}
.btn-sm{padding:11px 18px; font-size:14px;}

/* ---------- telegram banner ---------- */
.tg-banner{
  background:linear-gradient(95deg,var(--ink-strong) 0%, #2a2350 55%, var(--red) 130%);
  color:#fff; padding:14px 0;
}
.tg-banner .container{display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap;}
.tg-banner p{margin:0; font-size:15px; color:#EDE9FF;}
.tg-banner b{color:#fff;}
.tg-banner .btn{white-space:nowrap;}

/* ---------- hero ---------- */
.hero{padding:64px 0 40px 0; position:relative; overflow:hidden;}
.hero-grid{max-width:720px; margin:0 auto; text-align:center;}
.hero h1{font-size:54px;}
.hero .slogan{font-family:'Fredoka',sans-serif; font-size:22px; color:var(--red); font-weight:600; margin:0 0 4px 0;}
.hero .lead{margin:0 auto 30px auto; text-align:center;}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap; justify-content:center;}
.hero-note{font-size:14px; color:var(--muted); text-align:center;}

.signup-form{
  background:#fff; border:2px solid var(--card-b); border-radius:24px;
  padding:26px 28px; box-shadow:0 14px 34px rgba(230,57,80,.12);
  margin:28px 0 18px 0; text-align:center;
}
.signup-form .sf-title{
  font-family:'Fredoka',sans-serif; font-weight:600; font-size:16px; color:var(--red);
  margin-bottom:16px; display:flex; align-items:center; justify-content:center; gap:8px;
}
.signup-form .hero-ctas{margin-bottom:14px;}
.signup-form .hero-ctas:last-child{margin-bottom:0;}
.sub-btn-wrap{display:flex; flex-direction:column; align-items:center; gap:8px;}
.sub-badge{
  font-size:12px; font-weight:700; color:#B0432A; background:var(--peach);
  border-radius:999px; padding:5px 12px; white-space:nowrap;
}
.signup-form .divider{
  display:flex; align-items:center; gap:10px; color:var(--muted); font-size:12.5px;
  margin:14px 0; justify-content:center;
}
.signup-form .divider .l{flex:0 0 60px; height:1px; background:var(--card-b);}

/* ---------- section: founder ---------- */
.founder{background:#fff; border-top:1px solid var(--card-b); border-bottom:1px solid var(--card-b);}
.founder-grid{display:grid; grid-template-columns:.75fr 1.25fr; gap:56px; align-items:center;}
.founder-photo-wrap{position:relative;}
.founder-photo{
  border-radius:28px; overflow:hidden; box-shadow:var(--shadow);
  border:6px solid var(--cream); aspect-ratio:1/1;
}
.founder-photo img{width:100%; height:100%; object-fit:cover;}
.founder-ring{position:absolute; inset:-10px; border-radius:34px; border:3px dashed var(--peach-b); z-index:-1;}
.founder-badge{position:absolute; bottom:-16px; right:-16px;}
.founder h3{font-size:30px; margin-bottom:6px;}
.founder .role{color:var(--red); font-weight:700; font-family:'Fredoka',sans-serif; margin-bottom:16px;}
.founder p{margin:0 0 14px 0; color:#4a3f57;}

.hero-flagrow{display:flex; gap:8px; align-items:center; margin-bottom:12px;}

.hero h1{position:relative; display:inline-block;}
.hero .ornament{
  display:flex; align-items:center; justify-content:center; gap:12px;
  margin:16px 0 22px 0;
}
.hero .ornament .line{height:2px; width:56px; border-radius:3px;
  background:linear-gradient(90deg, transparent, var(--red)); }
.hero .ornament .line.right{background:linear-gradient(90deg, var(--gold), transparent);}
.hero .ornament .dot{
  width:38px; height:38px; border-radius:50%; background:#fff;
  border:2px solid var(--card-b); box-shadow:0 4px 12px rgba(180,60,30,.10);
  display:flex; align-items:center; justify-content:center; font-size:18px;
}
.hero .ornament .dot.big{width:44px; height:44px; font-size:20px;}

/* ---------- advantages ---------- */
.adv-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(230px,1fr)); gap:20px; margin-top:44px;}
.adv-card{
  background:#fff; border:2px solid var(--card-b); border-radius:22px; padding:28px;
  box-shadow:var(--shadow);
}
.adv-card .ic{width:52px;height:52px;border-radius:16px;background:var(--cream2);display:flex;align-items:center;justify-content:center;font-size:26px;margin-bottom:16px;}
.adv-card h3{font-size:20px; margin-bottom:8px;}
.adv-card p{margin:0; color:#5c4f6a; font-size:15.5px;}

/* ---------- format / steps ---------- */
.format{background:linear-gradient(180deg,#fff 0%, var(--cream2) 100%);}
.steps{
  margin-top:40px; display:flex; gap:18px; overflow-x:auto; padding:8px 4px 20px 4px;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
}
.steps::-webkit-scrollbar{height:8px;}
.steps::-webkit-scrollbar-thumb{background:var(--peach-b); border-radius:8px;}
.step-card{
  flex:0 0 auto; width:250px; background:#fff; border-radius:22px; border:2px solid var(--card-b);
  padding:26px 24px; position:relative; scroll-snap-align:start;
}
.steps-hint{text-align:center; font-size:13px; color:var(--muted); margin-top:-4px;}
.step-num{
  width:38px;height:38px;border-radius:50%; background:linear-gradient(120deg,var(--red),var(--orange));
  color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-family:'Fredoka',sans-serif;
  margin-bottom:14px;
}
.step-card h3{font-size:17px; margin-bottom:6px;}
.step-card p{margin:0; font-size:14.5px; color:#5c4f6a;}

/* ---------- materials gallery ---------- */
.gallery{
  display:flex; gap:16px; margin-top:40px; overflow-x:auto; padding:8px 4px 22px 4px;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
}
.gallery::-webkit-scrollbar{height:8px;}
.gallery::-webkit-scrollbar-thumb{background:var(--peach-b); border-radius:8px;}
.gal-item{
  flex:0 0 auto; width:150px; border-radius:18px; overflow:hidden; border:2px solid var(--card-b);
  box-shadow:var(--shadow); background:#fff; scroll-snap-align:start; display:block; cursor:pointer;
  transition:transform .15s ease;
}
.gal-item:hover{transform:translateY(-4px);}
.gal-item .imgwrap{aspect-ratio:3/4; overflow:hidden;}
.gal-item img{width:100%; height:100%; object-fit:cover; object-position:top;}
.gal-item .cap{padding:9px 10px; font-weight:700; font-size:12.5px; color:var(--brown); text-align:center;}
.gallery-hint{text-align:center; font-size:13px; color:var(--muted); margin-top:-6px;}

/* ---------- zoom mockup ---------- */
.zoom-wrap{
  margin-top:44px; background:#1c1730; border-radius:28px; padding:18px; box-shadow:var(--shadow);
}
.zoom-bar{display:flex; align-items:center; gap:8px; padding:4px 8px 14px 8px;}
.zoom-dot{width:10px;height:10px;border-radius:50%;}
.zoom-title{color:#cfc7e6; font-size:13px; margin-left:8px; font-family:'Fredoka',sans-serif;}
.zoom-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:12px;}
.zoom-tile{
  aspect-ratio:4/3; border-radius:14px; display:flex; align-items:center; justify-content:center;
  font-size:44px; position:relative; color:#fff; font-weight:700;
}
.zoom-tile .name{position:absolute; left:10px; bottom:8px; font-size:12px; background:rgba(0,0,0,.35); padding:3px 9px; border-radius:8px; font-family:'Nunito';}
.zoom-tile .mic{position:absolute; right:8px; bottom:8px; font-size:13px; opacity:.85;}
.zoom-photo{width:100%; border-radius:14px; display:block; box-shadow:0 8px 22px rgba(0,0,0,.35);}
.zoom-caption{text-align:center; color:#cfc7e6; font-size:13px; margin-top:14px; font-family:'Fredoka',sans-serif;}

/* ---------- process / chat mockup ---------- */
.process-grid{display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; margin-top:20px;}
.chat-mock{background:#E7F2E4; border-radius:24px; padding:20px; box-shadow:var(--shadow); border:2px solid #d3e8cf;}
.chat-header{display:flex; align-items:center; gap:10px; margin-bottom:14px;}
.chat-avatar{width:38px;height:38px;border-radius:50%; background:linear-gradient(120deg,var(--red),var(--gold)); display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-family:'Fredoka';}
.chat-name{font-weight:800; font-size:15px;}
.chat-sub{font-size:12px; color:#6a8a63;}
.bubble{max-width:78%; padding:10px 14px; border-radius:16px; margin-bottom:9px; font-size:14.5px; line-height:1.4;}
.bubble.in{background:#fff; border-bottom-left-radius:4px;}
.bubble.out{background:#DCF8C6; margin-left:auto; border-bottom-right-radius:4px;}
.bubble .t{font-size:10px; color:#8a8a8a; display:block; text-align:right; margin-top:4px;}
.process-steps{display:flex; flex-direction:column; gap:20px;}
.pstep{display:flex; gap:16px;}
.pstep .n{flex-shrink:0;width:40px;height:40px;border-radius:50%;background:var(--peach);border:2px solid var(--peach-b);display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--red);font-family:'Fredoka';}
.pstep h3{font-size:17px;margin-bottom:4px;}
.pstep p{margin:0;color:#5c4f6a;font-size:15px;}

/* ---------- teachers ---------- */
.teach-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:26px; margin-top:44px; max-width:820px; margin-left:auto; margin-right:auto;}
.teach-card{background:#fff; border:2px solid var(--card-b); border-radius:24px; padding:28px; text-align:center; box-shadow:var(--shadow);}
.teach-photo{
  width:132px; height:132px; border-radius:50%; margin:0 auto 18px auto; overflow:hidden;
  border:5px solid var(--cream); box-shadow:0 8px 20px rgba(180,60,30,.15);
}
.teach-photo img{width:100%; height:100%; object-fit:cover;}
.teach-card h3{font-size:19px; margin-bottom:4px;}
.teach-card .exp{color:var(--red); font-weight:700; font-size:13.5px; font-family:'Fredoka'; margin-bottom:12px;}
.teach-card p{font-size:14.5px; color:#5c4f6a; margin:0 0 8px 0; text-align:left;}
.teach-card .edu{font-size:12.5px; color:var(--muted); border-top:1px dashed var(--card-b); padding-top:10px; margin-top:10px;}

/* ---------- reviews ---------- */
.rev-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(260px,1fr)); gap:22px; margin-top:44px;}
.rev-card{background:#fff; border:2px solid var(--card-b); border-radius:22px; padding:26px; box-shadow:var(--shadow);}
.rev-top{display:flex; align-items:center; gap:12px; margin-bottom:12px;}
.rev-avatar{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-family:'Fredoka';overflow:hidden;}
.rev-avatar img{width:100%; height:100%; object-fit:cover;}
.rev-name{font-weight:800; font-size:15px;}
.rev-meta{font-size:12px; color:var(--muted);}
.stars{color:#FFA53E; font-size:14px; margin-bottom:10px;}
.rev-card p{font-size:14.5px; color:#4a3f57; margin:0;}
.rev-badge{display:inline-block; margin-top:12px; font-size:11.5px; color:#3a9a55; background:#E8F7EC; padding:3px 10px; border-radius:999px; font-weight:700;}

/* ---------- pricing ---------- */
.price-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:24px; margin-top:44px; max-width:820px; margin-left:auto; margin-right:auto;}
.price-card{background:#fff; border:2px solid var(--card-b); border-radius:26px; padding:34px; position:relative; box-shadow:var(--shadow);}
.price-card.popular{border-color:var(--red); box-shadow:0 16px 34px rgba(230,57,80,.20);}
.price-tag{position:absolute; top:-14px; right:26px; background:linear-gradient(120deg,var(--red),var(--orange)); color:#fff; font-family:'Fredoka'; font-weight:600; font-size:12.5px; padding:6px 14px; border-radius:999px;}
.price-name{font-family:'Fredoka'; font-weight:600; font-size:20px; margin-bottom:6px;}
.price-amount{font-family:'Fredoka'; font-weight:700; font-size:42px; color:var(--ink-strong);}
.price-amount span{font-size:16px; font-weight:600; color:var(--muted);}
.price-list{list-style:none; padding:0; margin:20px 0 26px 0;}
.price-list li{padding:8px 0; font-size:14.5px; color:#4a3f57; border-bottom:1px dashed var(--card-b);}
.price-list li:last-child{border-bottom:none;}
.price-stat{
  background:var(--cream2); border-radius:16px; padding:12px 16px; margin:14px 0 4px 0;
  font-family:'Fredoka'; font-weight:600; font-size:15px; color:var(--red); text-align:center;
}
.price-contact-note{
  max-width:820px; margin:34px auto 0 auto; text-align:center; border-top:1px dashed var(--card-b);
  padding-top:26px;
}
.price-contact-note p{color:#5c4f6a; font-size:15px; margin-bottom:16px;}
.price-contact-note .contact-btns{justify-content:center;}

/* ---------- telegram teaser (near footer) ---------- */
.tg-teaser{
  background:linear-gradient(120deg,#2a2350, var(--red) 140%);
  border-radius:32px; padding:44px; color:#fff; display:flex; align-items:center; justify-content:space-between;
  gap:24px; flex-wrap:wrap;
}
.tg-teaser h3{color:#fff; font-size:26px; margin-bottom:8px;}
.tg-teaser p{color:#EDE9FF; font-size:15.5px; max-width:520px; margin:0;}

/* ---------- FAQ ---------- */
.faq-item{background:#fff; border:2px solid var(--card-b); border-radius:18px; margin-bottom:12px; padding:4px 22px;}
.faq-item summary{cursor:pointer; font-weight:800; font-family:'Fredoka'; padding:16px 0; font-size:16px; list-style:none;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary:after{content:"+"; float:right; font-size:22px; color:var(--red);}
.faq-item[open] summary:after{content:"–";}
.faq-item p{margin:0 0 18px 0; color:#5c4f6a; font-size:15px;}

/* ---------- contacts ---------- */
.contact-wrap{
  background:linear-gradient(120deg,var(--red),var(--orange) 60%, var(--gold));
  border-radius:32px; padding:52px; color:#fff; display:grid; grid-template-columns:1.2fr .8fr; gap:30px; align-items:center;
}
.contact-wrap h2{color:#fff;}
.contact-wrap p{color:rgba(255,255,255,.92); font-size:17px;}
.curator{display:flex; align-items:center; gap:14px; margin:20px 0 26px 0;}
.curator-avatar{width:56px;height:56px;border-radius:50%; background:#fff; color:var(--red); display:flex; align-items:center; justify-content:center; font-weight:800; font-family:'Fredoka'; font-size:22px;}
.contact-btns{display:flex; gap:12px; flex-wrap:wrap;}
.contact-card{background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.35); border-radius:20px; padding:22px;}

/* ---------- footer ---------- */
footer.site{padding:50px 0 30px 0; border-top:1px solid var(--card-b);}
.footer-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:30px; margin-bottom:30px;}
.footer-brand{font-family:'Fredoka'; font-weight:700; font-size:19px; margin-bottom:10px; display:flex; align-items:center; gap:8px;}
.footer-col h4{font-family:'Fredoka'; font-size:14px; margin-bottom:12px; color:var(--red);}
.footer-col a, .footer-col p{display:block; font-size:14px; color:#5c4f6a; margin-bottom:8px;}
.legal-req{font-size:12.5px; color:var(--muted); line-height:1.7; border-top:1px solid var(--card-b); padding-top:20px;}

/* ---------- lightbox ---------- */
.lightbox-overlay{
  position:fixed; inset:0; background:rgba(20,14,10,0.82);
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  opacity:0; visibility:hidden; transition:opacity .28s ease;
  z-index:200; padding:40px 20px;
}
.lightbox-overlay.open{opacity:1; visibility:visible;}
.lightbox-img{
  max-width:min(900px, 92vw); max-height:78vh; border-radius:20px;
  box-shadow:0 30px 70px rgba(0,0,0,.5);
  transform:scale(.85); opacity:0; transition:transform .32s cubic-bezier(.2,.9,.3,1.2), opacity .28s ease;
  cursor:zoom-out;
}
.lightbox-overlay.open .lightbox-img{transform:scale(1); opacity:1;}
.lightbox-caption{
  color:#fff; font-family:'Fredoka',sans-serif; font-size:18px; margin-bottom:16px;
  opacity:0; transform:translateY(8px); transition:opacity .3s ease .05s, transform .3s ease .05s;
}
.lightbox-overlay.open .lightbox-caption{opacity:1; transform:translateY(0);}
.lightbox-close{
  position:absolute; top:22px; right:28px; color:#fff; font-size:26px; cursor:pointer;
  width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center; transition:background .2s ease;
}
.lightbox-close:hover{background:rgba(255,255,255,.22);}

/* ================= RESPONSIVE ================= */
@media (max-width: 1023px){
  .hero-grid{grid-template-columns:1fr;}
  .hero h1{font-size:40px;}
  .founder-grid{grid-template-columns:1fr; text-align:center;}
  .founder-photo-wrap{max-width:280px; margin:0 auto;}
  .zoom-grid{grid-template-columns:repeat(2,1fr);}
  .process-grid{grid-template-columns:1fr;}
  .contact-wrap{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .nav-links{display:none;}
  .tg-banner .container{flex-direction:column; text-align:center;}
}
@media (max-width: 640px){
  section{padding:56px 0;}
  .hero h1{font-size:34px;}
  .hero h1 .nazar-accent{width:34px;height:34px; font-size:17px; right:-24px; top:-10px;}
  .h2{font-size:26px;}
  .zoom-grid{grid-template-columns:1fr 1fr;}
  .teach-grid{grid-template-columns:1fr;}
  .price-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .contact-wrap{padding:30px;}
  .tg-teaser{padding:28px; flex-direction:column; text-align:center;}
  .brand .word .tagline{display:none;}

  .adv-grid{
    grid-template-columns:1fr; gap:0;
    background:#fff; border-radius:20px; border:2px solid var(--card-b); overflow:hidden;
  }
  .adv-card{
    display:grid; grid-template-columns:44px 1fr; align-items:start; column-gap:14px;
    text-align:left;
    border-radius:0; border:none; border-bottom:1px solid var(--card-b);
    box-shadow:none; padding:18px 20px;
  }
  .adv-card:last-child{border-bottom:none;}
  .adv-card .ic{
    width:44px; height:44px; font-size:20px; margin-bottom:0;
    grid-row:1 / 3;
  }
  .adv-card h3{font-size:15.5px; margin-bottom:4px; grid-column:2;}
  .adv-card p{font-size:13.5px; line-height:1.45; grid-column:2;}
}
